File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,16 @@ The development server includes:
2727- ** Hot reload** : Changes to content trigger automatic rebuild
2828- ** BrowserSync disabled notifications** : Cleaner development experience
2929
30+ ## Features
31+
32+ ### Dark Mode
33+
34+ The site automatically respects user system preferences for dark mode using CSS ` prefers-color-scheme ` media queries. No JavaScript required.
35+
36+ - ** Light mode** : Soft beige background (#f8efde) with dark text
37+ - ** Dark mode** : Dark background with light text, automatically enabled for users with dark mode system preferences
38+ - ** Enhanced contrast** : Accent colors are adjusted for better visibility in each mode
39+
3040## Deployment
3141
3242Having produced a build in ` _site ` , the entire directory is pushed up on a ` gh-pages ` branch to GitHub, and hosted exactly as-is.
Original file line number Diff line number Diff line change 2222 --hard : # 231f1e ;
2323}
2424
25+ @media (prefers-color-scheme : dark) {
26+ : root {
27+ --accent : # ff5470 ;
28+ --soft : # 231f1e ;
29+ --hard : # f8efde ;
30+ }
31+ }
32+
2533* {
2634 box-sizing : border-box;
2735 max-width : var (--measure );
You can’t perform that action at this time.
0 commit comments