1
0
Fork 0

Color scheme support #1

Closed
opened 2023-01-15 23:27:32 +01:00 by n · 0 comments
Owner

css should detect color scheme, like so:

:root {--body-bg:#99CCFF;--body-color:black;--main-inside-color:white;--link-color: #0000FF;}
@media (prefers-color-scheme: dark) {:root { --body-bg:#191b22;--body-color: #fcfcfc;--main-inside-color: #212529;--link-color: #3ca1f8;}}
body{background-color:var(--body-bg);color:var(--body-color);}

we may need to adapt images too (so long, kiwis background?)

css should detect color scheme, like so: ```css :root {--body-bg:#99CCFF;--body-color:black;--main-inside-color:white;--link-color: #0000FF;} @media (prefers-color-scheme: dark) {:root { --body-bg:#191b22;--body-color: #fcfcfc;--main-inside-color: #212529;--link-color: #3ca1f8;}} body{background-color:var(--body-bg);color:var(--body-color);} ``` we may need to adapt images too (so long, kiwis background?)
n referenced this issue from a commit 2023-01-16 18:28:54 +01:00
n referenced this issue from a commit 2023-01-16 18:33:01 +01:00
n closed this issue 2023-01-16 18:39:30 +01:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: n/dokuwiki-theme-redmine-kiwi#1
No description provided.