change colors
This commit is contained in:
Vendored
+5
-3
@@ -1,11 +1,13 @@
|
||||
/* src/base.css */
|
||||
#home-page {
|
||||
--surface: hsla(0, 0%, 100%, 50%);
|
||||
--surface-hover: hsla(0, 0%, 91%, 50%);
|
||||
--surface-active: hsla(0, 0%, 78%, 50%);
|
||||
--background-transparent: hsla(0, 0%, 100%, 40%);
|
||||
--surface: hsla(0, 0%, 100%, 40%);
|
||||
--surface-hover: hsla(0, 0%, 91%, 40%);
|
||||
--surface-active: hsla(0, 0%, 78%, 40%);
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#home-page {
|
||||
--background-transparent: hsla(0, 0%, 5%, 30%);
|
||||
--surface: hsla(0, 0%, 5%, 30%);
|
||||
--surface-hover: hsla(0, 0%, 20%, 30%);
|
||||
--surface-active: hsla(0, 0%, 44%, 30%);
|
||||
|
||||
+9
-7
@@ -1,11 +1,13 @@
|
||||
#home-page {
|
||||
--surface: hsla(0, 0%, 100%, 50%);
|
||||
--surface-hover: hsla(0, 0%, 91%, 50%);
|
||||
--surface-active: hsla(0, 0%, 78%, 50%);
|
||||
--background-transparent: hsla(0, 0%, 100%, 40%);
|
||||
--surface: hsla(0, 0%, 100%, 40%);
|
||||
--surface-hover: hsla(0, 0%, 91%, 40%);
|
||||
--surface-active: hsla(0, 0%, 78%, 40%);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#home-page {
|
||||
--background-transparent: hsla(0, 0%, 5%, 30%);
|
||||
--surface: hsla(0, 0%, 5%, 30%);
|
||||
--surface-hover: hsla(0, 0%, 20%, 30%);
|
||||
--surface-active: hsla(0, 0%, 44%, 30%);
|
||||
@@ -40,10 +42,10 @@
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#background {
|
||||
background-image: linear-gradient(
|
||||
120deg,
|
||||
hsla(210, 100%, 50%, 25%),
|
||||
hsla(210, 100%, 50%, 15%),
|
||||
transparent 70%
|
||||
120deg,
|
||||
hsla(210, 100%, 50%, 25%),
|
||||
hsla(210, 100%, 50%, 15%),
|
||||
transparent 70%
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user