-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use theme builder for #2 instead of provided bare, much easier for da…
…rk/light mode
- Loading branch information
1 parent
5181231
commit b1fc780
Showing
6 changed files
with
119 additions
and
12 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@use 'sass:color'; | ||
|
||
@use '@material/theme/color-palette'; | ||
|
||
// Svelte Colors! | ||
@use '@material/theme/index' as theme with ( | ||
$primary: #006eff, | ||
$secondary: hsl(241, 79%, 44%), | ||
$surface: #fff, | ||
$background: #fff, | ||
$error: color-palette.$red-900 | ||
); | ||
|
||
html, | ||
body { | ||
background-color: theme.$surface; | ||
color: theme.$on-surface; | ||
} | ||
|
||
a { | ||
color: #40b3ff; | ||
} | ||
a:visited { | ||
color: color.scale(#40b3ff, $lightness: -35%); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@use 'sass:color'; | ||
|
||
@use '@material/theme/color-palette'; | ||
|
||
// Svelte Colors! (Dark Theme) | ||
@use '@material/theme/index' as theme with ( | ||
$primary: #ff3e00, | ||
$secondary: color.scale(#676778, $whiteness: -10%), | ||
$surface: color.adjust(color-palette.$grey-900, $blue: +4), | ||
$background: #000, | ||
$error: color-palette.$red-700 | ||
); | ||
|
||
html, | ||
body { | ||
background-color: #000; | ||
color: theme.$on-surface; | ||
} | ||
|
||
a { | ||
color: #40b3ff; | ||
} | ||
a:visited { | ||
color: color.scale(#40b3ff, $lightness: -35%); | ||
} |