diff options
| author | Jieiku | 2023-05-22 23:12:14 -0700 |
|---|---|---|
| committer | Jieiku | 2023-05-22 23:12:14 -0700 |
| commit | f81a42045e29cc396af78b5d87ead874ba26fa18 (patch) | |
| tree | 6d73c8fcad4da03d2e8d5d7485079a38adc83a8e /sass/_colors.scss | |
| parent | 9543caf10ffdbcc2cea462a8bcb64cee29d406d5 (diff) | |
| download | abridge-f81a42045e29cc396af78b5d87ead874ba26fa18.tar.gz abridge-f81a42045e29cc396af78b5d87ead874ba26fa18.tar.bz2 abridge-f81a42045e29cc396af78b5d87ead874ba26fa18.zip | |
All Variables Easy Override
Diffstat (limited to 'sass/_colors.scss')
| -rw-r--r-- | sass/_colors.scss | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/sass/_colors.scss b/sass/_colors.scss new file mode 100644 index 0000000..46a21db --- /dev/null +++ b/sass/_colors.scss @@ -0,0 +1,50 @@ +@mixin dark( + $f1: #ccc, + $f2: #ddd, + $c1: #111, + $c2: #222, + $c3: #333, + $c4: #888, + $a1: #f90, + $a2: #fb0, + $a3: #f90, + $cg: #593, + $cr: #e33 +) { + #{--f1}: $f1;// Font Color Primary (ccc) + #{--f2}: $f2;// Font Color Headers (ddd) + #{--c1}: $c1;// Background Color Primary (111) + #{--c2}: $c2;// Background Color Secondary (222) + #{--c3}: $c3;// Table Rows, Block quote edge, Borders (333) + #{--c4}: $c4;// Disabled Buttons, Borders, mark background (888) + #{--a1}: $a1;// link color (f90) + #{--a2}: $a2;// link hover/focus color (fb0) + #{--a3}: $a3;// link h1-h2 hover/focus color (f90) + #{--cg}: $cg;// ins green, success (593) + #{--cr}: $cr;// del red, errors (e33) +} +@mixin light( + $f1: #333, + $f2: #222, + $c1: #fff, + $c2: #eee, + $c3: #ddd, + $c4: #555, + $a1: #c40, + $a2: #e60, + $a3: #f90, + $cg: #373, + $cr: #d33 +) { + #{--f1}: $f1;// Font Color Primary (444) + #{--f2}: $f2;// Font Color Headers (333) + #{--c1}: $c1;// Background Color Primary (fff) + #{--c2}: $c2;// Background Color Secondary (eee) + #{--c3}: $c3;// Table Rows, Block quote edge, Borders (ddd) + #{--c4}: $c4;// Disabled Buttons, Borders, mark background (677) + #{--a1}: $a1;// link color (c40) + #{--a2}: $a2;// link hover/focus color (e60) + #{--a3}: $a3;// link h1-h2 hover/focus color (f90) + #{--cg}: $cg;// ins green, success (373) + #{--cr}: $cr;// del red, errors (d33) +} |
