Skip to content

Instantly share code, notes, and snippets.

@sebastiano-guerriero
Created July 16, 2018 16:06
Show Gist options
  • Select an option

  • Save sebastiano-guerriero/de43e712d741c788d6dc559ee772f464 to your computer and use it in GitHub Desktop.

Select an option

Save sebastiano-guerriero/de43e712d741c788d6dc559ee772f464 to your computer and use it in GitHub Desktop.
:root {
/* typography */
--color-text: var(--gray-10);
--color-text-heading: var(--black);
--color-text-subtle: var(--gray-6);
--color-link: var(--color-primary);
--color-link-visited: var(--color-primary-dark);
}
.theme--dark {
// not supported yet, but soon!
--color-text: var(--gray-1);
--color-text-heading: var(--white);
--color-text-subtle: var(--gray-4);
--color-link: var(--color-accent);
}
.theme--dark {
// what we can do for now
color: var(--gray-1);
h1, h2, h3, h4 {
color: var(--white);
}
.text--subtle {
color: var(--gray-4);
}
a {
color: var(--color-accent);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment