mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-17 17:19:30 -07:00
regional forecast font cleanup
This commit is contained in:
12
server/styles/scss/shared/_colors.scss
Normal file
12
server/styles/scss/shared/_colors.scss
Normal file
@@ -0,0 +1,12 @@
|
||||
$title-color: yellow;
|
||||
$date-time: white;
|
||||
$text-shadow: black;
|
||||
$column-header-text: yellow;
|
||||
$column-header: rgb(32, 0, 87);
|
||||
|
||||
$gradient-main-background-1: #102080;
|
||||
$gradient-main-background-2: #001040;
|
||||
|
||||
$extended-low: #8080FF;
|
||||
|
||||
$blue-box: #26235a;
|
||||
17
server/styles/scss/shared/_utils.scss
Normal file
17
server/styles/scss/shared/_utils.scss
Normal file
@@ -0,0 +1,17 @@
|
||||
@use 'colors'as c;
|
||||
|
||||
@mixin text-shadow($offset: 3px, $outline: 1.5px) {
|
||||
/* eventually, when chrome supports paint-order for html elements */
|
||||
/* -webkit-text-stroke: 2px black; */
|
||||
/* paint-order: stroke fill; */
|
||||
text-shadow:
|
||||
$offset $offset 0 c.$text-shadow,
|
||||
(-$outline) (-$outline) 0 c.$text-shadow,
|
||||
0 (-$outline) 0 c.$text-shadow,
|
||||
$outline (-$outline) 0 c.$text-shadow,
|
||||
$outline 0 0 c.$text-shadow,
|
||||
$outline $outline 0 c.$text-shadow,
|
||||
0 $outline 0 c.$text-shadow,
|
||||
(-$outline) $outline 0 c.$text-shadow,
|
||||
(-$outline) 0 0 c.$text-shadow;
|
||||
}
|
||||
Reference in New Issue
Block a user