Skip to content

Use less harsh colors in SRFI main page dark mode#79

Open
mcgoron-peter wants to merge 11 commits intoscheme-requests-for-implementation:masterfrom
mcgoron-peter:patch-1
Open

Use less harsh colors in SRFI main page dark mode#79
mcgoron-peter wants to merge 11 commits intoscheme-requests-for-implementation:masterfrom
mcgoron-peter:patch-1

Conversation

@mcgoron-peter
Copy link
Copy Markdown
Contributor

Updated dark mode styles for better readability.

In the future the colors for final/draft/withdrawn/selected should also be changed but I don't know what to change those to.

@mcgoron-peter
Copy link
Copy Markdown
Contributor Author

The CSS is currently pretty bad style, I will fix it soon. But they will work if you load it into your browser and I'd like some comments on the color choices. I tried to make things follow the contrast of the light theme (for instance, withdrawn SRFIs are in a dark grey in the dark theme).

@mcgoron-peter
Copy link
Copy Markdown
Contributor Author

Now with CSS variables. Should be much easier for people to tinker with the colors.

@aartaka
Copy link
Copy Markdown
Contributor

aartaka commented Mar 23, 2026

Looks cool, with the exception of Dark Slate for withdrawn SRFIs. I’d make it slightly lighter.

I didn’t go forth with either variables of better colors to minimize changes and bikeshedding. I didn’t know what the procedure for theming was. But it’s good the process is that open! Thanks for this PR!

@mcgoron-peter
Copy link
Copy Markdown
Contributor Author

mcgoron-peter commented Mar 23, 2026

Looks cool, with the exception of Dark Slate for withdrawn SRFIs. I’d make it slightly lighter.

I didn’t go forth with either variables of better colors to minimize changes and bikeshedding. I didn’t know what the procedure for theming was. But it’s good the process is that open! Thanks for this PR!

Here it is with LightSlateGrey:
Screenshot 2026-03-23 at 11-00-46 Scheme Requests for Implementation
DarkSlateGrey (current):
Screenshot 2026-03-23 at 11-03-06 Scheme Requests for Implementation

@mcgoron-peter
Copy link
Copy Markdown
Contributor Author

I have set up a preview of the current CSS branch here: https://florida.moe/tmp/srfi-color-test/
You can switch to dark mode in Inspect Element.

@mcgoron-peter
Copy link
Copy Markdown
Contributor Author

mcgoron-peter commented Mar 27, 2026

This is not a part of the current patch series, but I have tried the colors that I have in this patch series on an SRFI page. The files look pretty good for an SRFI that just uses the defaults:

Screenshot 2026-03-27 at 09-47-51 SRFI 267 Raw String Syntax

[merge from srfi-common/master] Fix embarrassing typo.
the LightSlateGrey was too similar in hue to MediumPurple.
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.

2 participants