add initial contrast theme

This commit is contained in:
tmshv committed 2022-10-12 13:30:39 +06:00
1 parent c4e13e8e1b
commit 3fa99b28de
15 files changed
+168 -20

No files matched your search

+45
View File
@@ -34,6 +34,7 @@
--color-back-opposite: hsl(0, 0%, 15%);
--color-shadow: rgba(27, 51, 88, 0.25);
--color-hover: none;
/* SIZE */
--size-xs: 0.35rem;
@@ -44,6 +45,7 @@
/* EFFECTS */
--radius: 16px;
--radius-small: 12px;
--shadow:
0 2px 4px rgba(27, 51, 88, 0.2),
0 4px 8px -8px rgba(0, 0, 0, 0.2),
@@ -51,6 +53,7 @@
--shadow-active:
0 12px 24px -8px rgba(27, 51, 88, 0.25),
0 8px 16px -8px rgba(0, 0, 0, 0.3);
--border: none;
/* SPECIAL */
--article-line-height: 1.5em;
@@ -191,3 +194,45 @@ h3 {
--shadow-active: none;
}
}
/* CONTRAST THEME */
.theme-contrast {
/* FONTS */
--title-font: 'Roboto', Helvetica, sans-serif;
--text-font: 'Roboto', Helvetica, sans-serif;
/* TEXT COLOR */
--color-text: black;
--color-text-second: black;
--color-text-opposite: white;
--color-back-main: white;
--color-back: white;
--color-back-active: hsl(240, 10%, 20%);
/* --color-back-opposite: hsl(240, 10%, 80%); */
--color-back-opposite: black;
--color-link: hsl(240, 10%, 40%);
--color-link-opposite: hsl(240, 10%, 60%);
--color-hover: white;
--color-hover-back: black;
/* EFFECTS */
/* --radius: 0px; */
--shadow: none;
--shadow-active: none;
/* FONTS */
--font-size-default: 14pt;
--font-size-accent: 24pt;
--font-size-second: 12pt;
--font-size-h1: 5rem;
--font-size-h2: 3rem;
--font-size-h3: 1.5rem;
/* OTHER */
--radius: 0;
--radius-small: 0;
--border: 5px solid var(--color-back-opposite);
}