Skip to content

Commit 2a0f07f

Browse files
committed
More dark scheme adaptions
1 parent 14b3eb0 commit 2a0f07f

1 file changed

Lines changed: 30 additions & 12 deletions

File tree

assets/red-grey-55a9a912e87b11eea4d4325096b39f47.css

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
--vstdev-vst-icon-light-blue-02: #9fb4c4;
1111
--vstdev-vst-icon-light-blue-03: #6d879b;
1212
--vstdev-vst-icon-dark-blue-01: #648094;
13+
--vstdev-vst-icon-dark-blue-015: #465D6F;
1314
--vstdev-vst-icon-dark-blue-02: #273a4a;
1415

1516
/* Make the navbar a bit more high */
@@ -19,8 +20,10 @@
1920

2021
@media (prefers-color-scheme: light) {
2122
:root {
23+
/* bulma main scheme */
24+
--bulma-scheme-main: white;
25+
2226
/* navbar */
23-
--vstdev-navbar-background-color: white;
2427
--vstdev-navbar-border-bottom-color: #ebeaeb;
2528
--vstdev-navbar-brand-font-color: var(--vstdev-vst-icon-dark-blue-02);
2629
--vstdev-navbar-item-link-color: var(--vstdev-vst-icon-dark-blue-02);
@@ -29,7 +32,7 @@
2932
--vstdev-navbar-button-hover-color: var(--vstdev-vst-logo-old-middle-lighter-color);
3033
--vstdev-navbar-button-text-color: var(--bulma-title-color);
3134
/* hero */
32-
--vstdev-hero-background-color: white;
35+
--vstdev-hero-background-color: var(--bulma-scheme-main);
3336
--vstdev-hero-strong-color: var(--bulma-title-color);
3437
--vstdev-hero-link-color: var(--bulma-title-color);
3538
--vstdev-hero-link-hover-color: var(--vstdev-vst-icon-light-blue-03);
@@ -45,44 +48,59 @@
4548
/* burger */
4649
--vstdev-navbar-burger-color: var(--vstdev-vst-icon-dark-blue-02);
4750
--vstdev-navbar-burger-hover-background-color: var(--vstdev-vst-icon-light-blue-01);
51+
52+
--vstdev-text-primary-00: var(--vstdev-vst-icon-dark-blue-02);
53+
--vstdev-text-secondary-00: #767676;
4854
}
4955
}
5056

5157
@media (prefers-color-scheme: dark) {
5258
:root {
59+
/* bulma main scheme */
60+
--bulma-scheme-main: #1a1a1a;
61+
5362
/* navbar */
54-
--vstdev-navbar-background-color: #1a1a1a;
5563
--vstdev-navbar-border-bottom-color: #353535;
5664
--vstdev-navbar-brand-font-color: var(--vstdev-vst-icon-light-blue-02);
57-
--vstdev-navbar-item-link-color: var(--vstdev-vst-icon-light-blue-02);
58-
--vstdev-navbar-item-link-hover-color: var(--vstdev-vst-icon-light-blue-01);
65+
--vstdev-navbar-item-link-color: #979797;
66+
--vstdev-navbar-item-link-hover-color: var(--vstdev-vst-icon-light-blue-02);
5967
--vstdev-navbar-button-background-color: var(--vstdev-vst-icon-light-blue-01);
6068
--vstdev-navbar-button-hover-color: var(--vstdev-vst-logo-old-middle-lighter-color);
6169
--vstdev-navbar-button-text-color: var(--bulma-title-color);
6270
/* hero */
63-
--vstdev-hero-background-color: #1a1a1a;
71+
--vstdev-hero-background-color: var(--bulma-scheme-main);
6472
--vstdev-hero-strong-color: var(--bulma-title-color);
6573
--vstdev-hero-link-color: var(--bulma-title-color);
66-
--vstdev-hero-link-hover-color: var(--vstdev-vst-icon-light-blue-03);
74+
--vstdev-hero-link-hover-color: var(--vstdev-vst-icon-light-blue-02);
6775
--vstdev-hero-button-background-color: var(--vstdev-vst-icon-dark-blue-02);
68-
--vstdev-hero-button-text-color: white;
69-
--vstdev-hero-button-hover-color: var(--vstdev-vst-icon-dark-blue-01);
76+
--vstdev-hero-button-text-color: var(--vstdev-vst-icon-light-blue-01);
77+
--vstdev-hero-button-hover-color: var(--vstdev-vst-icon-dark-blue-015);
7078
/* footer */
7179
--vstdev-footer-strong-color: #e2e2e2;
7280
--vstdev-footer-background-color: #2f2f2f;
7381
--vstdev-footer-link-color: #969696;
7482
--vstdev-footer-link-hover-color: #969696;
7583
--vstdev-footer-paragraph-color: #969696;
7684
/* burger */
77-
--vstdev-navbar-burger-color: var(--vstdev-vst-icon-dark-blue-02);
78-
--vstdev-navbar-burger-hover-background-color: var(--vstdev-vst-icon-light-blue-01);
85+
--vstdev-navbar-burger-color: var(--vstdev-vst-icon-light-blue-02);
86+
--vstdev-navbar-burger-hover-background-color: var(--vstdev-vst-icon-dark-blue-02);
87+
88+
--vstdev-text-primary-00: var(--vstdev-vst-icon-light-blue-02);
89+
--vstdev-text-secondary-00: #979797;
7990
}
8091
}
8192

93+
.vstdev-has-text-primary {
94+
color: var(--vstdev-text-primary-00);
95+
}
96+
97+
.vstdev-has-text-secondary {
98+
color: var(--vstdev-text-secondary-00);
99+
}
100+
82101
/* Put a small 1px line on the bottom to separate the navbar from the hero */
83102
.vstdev-navbar {
84103
border-bottom: 1px solid var(--vstdev-navbar-border-bottom-color);
85-
background-color: var(--vstdev-navbar-background-color);
86104
}
87105

88106
.vstdev-navbar .vstdev-vst-logo {

0 commit comments

Comments
 (0)