Skip to content

Commit aa18936

Browse files
committed
fix dark theme
1 parent bb58e50 commit aa18936

1 file changed

Lines changed: 18 additions & 19 deletions

File tree

src/custom-theme.scss

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ $light-theme: (
1515
);
1616

1717
$custom-dark-theme: (
18-
background: #121212,
19-
text: #e0e0e0,
18+
background: #323436,
19+
text: #e8e8e8,
2020
link: #66bb6a,
2121
);
2222

@@ -112,22 +112,22 @@ body.dark-theme {
112112
@include apply-theme($custom-dark-theme);
113113
@include mat.all-component-themes($DSOMM-dark-theme);
114114

115-
--surface-base: #121212;
115+
--surface-base: #323436;
116116
/* page background */
117-
--surface-01: #1e1e1e;
117+
--surface-01: #383A3C;
118118
/* cards, panels */
119-
--surface-02: #242424;
119+
--surface-02: #3E4042;
120120
/* elevated cards */
121-
--surface-03: #2c2c2c;
121+
--surface-03: #444648;
122122
/* dialogs, dropdowns */
123-
--surface-04: #333333;
123+
--surface-04: #2C2E30;
124124
/* hover states */
125125
--border-subtle: rgba(255, 255, 255, 0.08);
126126
--border-medium: rgba(255, 255, 255, 0.12);
127127

128-
--text-primary: #f0f0f0;
129-
--text-secondary: #aaaaaa;
130-
--text-tertiary: #666666;
128+
--text-primary: #e8e8e8;
129+
--text-secondary: #a0a0a0;
130+
--text-tertiary: #616161;
131131
--background-primary: var(--surface-base);
132132
--background-secondary: var(--surface-01);
133133
--background-tertiary: var(--surface-02);
@@ -141,11 +141,11 @@ body.dark-theme {
141141
--heatmap-cursor-hover: #145e14;
142142
--heatmap-cursor-selected: #232323;
143143

144-
--dependency-link: #bbbbbb;
145-
--dependency-border: #0e1b0e;
144+
--dependency-link: #8a8a8a;
145+
--dependency-border: #1a2e1a;
146146
--dependency-mainnode-fill: rgb(107, 190, 107);
147-
--dependency-predecessor-fill: rgb(172, 206, 172);
148-
--dependency-successor-fill: rgb(192, 192, 192);
147+
--dependency-predecessor-fill: rgb(160, 200, 160);
148+
--dependency-successor-fill: rgb(185, 185, 185);
149149

150150
background-color: var(--surface-base);
151151
color: var(--text-primary);
@@ -210,7 +210,7 @@ body.dark-theme {
210210

211211
//navbar
212212
.mat-toolbar {
213-
background-color: var(--surface-01) !important;
213+
background-color: var(--surface-01) ;
214214
border-bottom: 1px solid var(--border-subtle);
215215
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
216216
}
@@ -219,7 +219,7 @@ body.dark-theme {
219219
// Toolbar / Navbar
220220
// ----------------------------------------------
221221
.mat-toolbar {
222-
background-color: var(--surface-01) !important;
222+
background-color: var(--surface-01) ;
223223
border-bottom: 1px solid var(--border-subtle);
224224
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
225225
}
@@ -272,14 +272,14 @@ body.dark-theme {
272272
background-color: var(--surface-01);
273273
color: var(--text-primary);
274274
border: 1px solid var(--border-subtle);
275-
border-radius: 8px !important;
275+
border-radius: 8px ;
276276

277277
.mat-expansion-panel-header {
278278
background-color: var(--surface-02);
279279
border-radius: 8px;
280280

281281
&:hover {
282-
background-color: var(--surface-04) !important;
282+
background-color: var(--surface-04);
283283
}
284284
}
285285
}
@@ -401,7 +401,6 @@ body.dark-theme {
401401
}
402402
}
403403

404-
@include mat.all-component-themes($DSOMM-dark-theme);
405404

406405
.button-container {
407406
display: flex;

0 commit comments

Comments
 (0)