You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Allow to inject custom CSS to webUI via config #23886
I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
I reviewed the Discussions, and have a new and useful enhancement to share.
Feature Description
Please allow to inject custom CSS into WebUI at runtime, without rebuilding it.
Motivation
Even slightly customizing llama.cpp webUI (like changing colors) requires cloning the repo, installing node.js packages and rebuilding the Svelte app, then rebuilding llama.cpp. There is no way to easily customize downloaded prebuilt llama.cpp binary.
Possible Implementation
It could be done e.g. by adding customCSS property to the config object passed to --webui-config or --webui-config-file.
Other projects are doing this, and it's creating a community for sharing CSS hacks. Here's a functionally (but not visually) identical example from another project:
Activity
ServeurpersoCom commentedon May 30, 2026
It's a great idea for llama-ui!
Other projects are doing this, and it's creating a community for sharing CSS hacks. Here's a functionally (but not visually) identical example from another project:
ServeurpersoCom commentedon May 30, 2026
demo-css.mp4
Example of overriding the default Dark and Light settings with a bluish tint :
Green hacky one for cut/paste demo inside Custom CSS field :