Skip to content

Theme support - #231

Open
aryxs3m wants to merge 1 commit into
jdan:mainfrom
aryxs3m:feat/themes
Open

Theme support#231
aryxs3m wants to merge 1 commit into
jdan:mainfrom
aryxs3m:feat/themes

Conversation

@aryxs3m

@aryxs3m aryxs3m commented Jul 29, 2026

Copy link
Copy Markdown

I'm working on a browser game with 98.css and tried to find a way to let users customize their desktop.

I disabled postcss-css-variables to get variables back in the build, then i added classes to the themes.css based on the default color schemes from a Windows 98 SE VM.

image

The results can be seen here; try the theme selector. High contrast themes are not perfect but the other ones are pretty close to the originals. Enabling a theme is just as easy as adding a CSS class to the body/html tag, e.g. theme-brick.

For coloring the controls I removed some of the default fills from the SVGs and added extra background color CSS.

@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the jdan's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant