Repository navigation
Theme CSS is amazing: raise its limit to 50,000 characters #36651
pouyarezvani
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
First, thank you for theme CSS. It is GOATED. With one theme file, and no code changes, I restyled nearly the whole app to my taste: one corner radius and one border color across every surface and menu, consistent inputs and buttons, Codex-style changed-files cards, the sidebar color on the right panel, recolored git status colors, swapped icons, and a matching font weight. It feels like a different app, and it is exactly what I was asking for in several earlier ideas.
The only thing holding it back is the 20,000-character limit on a theme's CSS. My theme is already about 15,500 characters after stripping every comment and space, and each embedded icon costs another 500 to 1,500 characters, so I am close to the ceiling.
Could you raise the limit to 50,000 characters, or remove it? I have opened #36650 for the limit and #36656, a small PR that raises it to 50,000 and lifts the server's theme file caps to match. If you prefer another number, or would rather make the change yourselves, that works too.
All reactions