Commit fb22459f authored by Laura Kalbag's avatar Laura Kalbag
Browse files

Remove redundant (unused) colour variables

parent f9540d8c
......@@ -129,27 +129,6 @@
}
}
/* --text-highlight
- - - - - - - - - - - - - - - - - - - - - */
/* light mode (site darkmode is set to auto or never) */
[data-darkmode="auto"],
[data-darkmode="never"] {
--text-highlight: var(--mono80);
}
/* dark mode (site) */
[data-darkmode="always"] {
--text-highlight: var(--mono15);
}
/* when the browser wants darkmode and site darkmode is set to auto */
@media (prefers-color-scheme: dark) {
[data-darkmode="auto"] {
--text-highlight: var(--mono15);
}
}
/* --text-secondary
- - - - - - - - - - - - - - - - - - - - - */
......@@ -171,27 +150,6 @@
}
}
/* --text-secondary-highlight
- - - - - - - - - - - - - - - - - - - - - */
/* light mode (site darkmode is set to auto or never) */
[data-darkmode="auto"],
[data-darkmode="never"] {
--text-secondary-highlight: var(--mono70);
}
/* dark mode (site) */
[data-darkmode="always"] {
--text-secondary-highlight: var(--mono20);
}
/* when the browser wants darkmode and site darkmode is set to auto */
@media (prefers-color-scheme: dark) {
[data-darkmode="auto"] {
--text-secondary-highlight: var(--mono20);
}
}
/* --text-strong
- - - - - - - - - - - - - - - - - - - - - */
......@@ -213,27 +171,6 @@
}
}
/* --text-strong-highlight
- - - - - - - - - - - - - - - - - - - - - */
/* light mode (site darkmode is set to auto or never) */
[data-darkmode="auto"],
[data-darkmode="never"] {
--text-strong-highlight: var(--colour65);
}
/* dark mode (site) */
[data-darkmode="always"] {
--text-strong-highlight: var(--colour25);
}
/* when the browser wants darkmode and site darkmode is set to auto */
@media (prefers-color-scheme: dark) {
[data-darkmode="auto"] {
--text-strong-highlight: var(--colour25);
}
}
/* --text-subtle
- - - - - - - - - - - - - - - - - - - - - */
......@@ -255,27 +192,6 @@
}
}
/* --text-subtle-highlight
- - - - - - - - - - - - - - - - - - - - - */
/* light mode (site darkmode is set to auto or never) */
[data-darkmode="auto"],
[data-darkmode="never"] {
--text-subtle-highlight: var(--colour60);
}
/* dark mode (site) */
[data-darkmode="always"] {
--text-subtle-highlight: var(--colour30);
}
/* when the browser wants darkmode and site darkmode is set to auto */
@media (prefers-color-scheme: dark) {
[data-darkmode="auto"] {
--text-subtle-highlight: var(--colour30);
}
}
/* --text-heading
- - - - - - - - - - - - - - - - - - - - - */
......@@ -339,26 +255,6 @@
}
}
/* --background-button-highlight
- - - - - - - - - - - - - - - - - - - - - */
/* light mode (site darkmode is set to auto or never) */
[data-darkmode="auto"],
[data-darkmode="never"] {
--background-button-highlight: var(--colour30);
}
/* dark mode (site) */
[data-darkmode="always"] {
--background-button-highlight: var(--colour30);
}
/* when the browser wants darkmode and site darkmode is set to auto */
@media (prefers-color-scheme: dark) {
[data-darkmode="auto"] {
--background-button-highlight: var(--colour30);
}
}
/* --background-button-strong
- - - - - - - - - - - - - - - - - - - - - */
......@@ -381,27 +277,6 @@
}
}
/* --background-button-strong-highlight
- - - - - - - - - - - - - - - - - - - - - */
/* light mode (site darkmode is set to auto or never) */
[data-darkmode="auto"],
[data-darkmode="never"] {
--background-button-strong-highlight: var(--colour40);
}
/* dark mode (site) */
[data-darkmode="always"] {
--background-button-strong-highlight: var(--colour40);
}
/* when the browser wants darkmode and site darkmode is set to auto */
@media (prefers-color-scheme: dark) {
[data-darkmode="auto"] {
--background-button-strong-highlight: var(--colour40);
}
}
/* --background-button-subtle
- - - - - - - - - - - - - - - - - - - - - */
......@@ -423,27 +298,6 @@
}
}
/* --background-button-subtle-highlight
- - - - - - - - - - - - - - - - - - - - - */
/* light mode (site darkmode is set to auto or never) */
[data-darkmode="auto"],
[data-darkmode="never"] {
--background-button-subtle-highlight: var(--colour35);
}
/* dark mode (site) */
[data-darkmode="always"] {
--background-button-subtle-highlight: var(--colour35);
}
/* when the browser wants darkmode and site darkmode is set to auto */
@media (prefers-color-scheme: dark) {
[data-darkmode="auto"] {
--background-button-subtle-highlight: var(--colour35);
}
}
/* --text-button
- - - - - - - - - - - - - - - - - - - - - */
......@@ -465,27 +319,6 @@
}
}
/* --text-button-highlight
- - - - - - - - - - - - - - - - - - - - - */
/* light mode (site darkmode is set to auto or never) */
[data-darkmode="auto"],
[data-darkmode="never"] {
--text-button-highlight: var(--colour90);
}
/* dark mode (site) */
[data-darkmode="always"] {
--text-button-highlight: var(--colour90);
}
/* when the browser wants darkmode and site darkmode is set to auto */
@media (prefers-color-scheme: dark) {
[data-darkmode="auto"] {
--text-button-highlight: var(--colour90);
}
}
/* --border
- - - - - - - - - - - - - - - - - - - - - */
......@@ -570,7 +403,7 @@
}
}
/* --shadow: rgba(0,
/* --shadow:
- - - - - - - - - - - - - - - - - - - - - */
/* light mode (site darkmode is set to auto or never) */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment