Skip to content

Instantly share code, notes, and snippets.

@searls
Created March 12, 2024 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save searls/d1b64fcd343562b34577c4071c852e33 to your computer and use it in GitHub Desktop.
Save searls/d1b64fcd343562b34577c4071c852e33 to your computer and use it in GitHub Desktop.
:root,
.light {
--accent: 183 64 233;
--accent-bright: 183 64 233;
--accent-light: 217 155 244;
--bg-primary: 249 249 249;
--bg-secondary: 230 230 230;
--border-primary: 17 24 39;
--border-secondary: 55 65 81;
--border-tertiary: 215 215 215;
--text-primary: 58 58 58;
--text-secondary: 103 103 103;
}
@media (prefers-color-scheme: dark) {
:root,
.dark {
--accent: 112 24 150;
--accent-bright: 202 148 234;
--accent-light: 235 201 249;
--bg-primary: 0 0 0;
--bg-secondary: 50 50 51;
--border-primary: 249 250 251;
--border-secondary: 209 213 219;
--border-tertiary: 96 96 96;
--text-primary: 239 239 239;
--text-secondary: 215 215 215;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment