Skip to content

Commit a961553

Browse files
committed
final reformatting and improved body.dark-theme nesting in scss; also fixed my GPG key signature for contribution - Manny
1 parent e035bb3 commit a961553

File tree

1 file changed

+10
-23
lines changed

1 file changed

+10
-23
lines changed

src/custom-theme.scss

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ body {
8585
--heatmap-cursor-selected:var(--heatmap-cursor);
8686
--heatmap-cursor-hover: transparent;
8787

88-
89-
9088
@include mat.all-component-themes($DSOMM-light-theme);
9189
}
9290

@@ -97,12 +95,19 @@ body.dark-theme {
9795
@include apply-theme($custom-dark-theme);
9896
@include mat.all-component-themes($DSOMM-dark-theme);
9997

98+
--heatmap-filled: #007700;
99+
--heatmap-disabled: #666666;
100+
--heatmap-cursor: green;
101+
--heatmap-background: #bbbbbb;
102+
--heatmap-stroke: #000000;
103+
--heatmap-cursor-selected:var(--heatmap-cursor);
104+
--heatmap-cursor-hover: transparent;
105+
100106
.title-button,
101107
h1, h2, h3, h4, h5, h6 {
102108
color: map-get($custom-dark-theme, text);
103-
104-
105109
}
110+
106111
// General properties
107112
p, li, tr {
108113
color: #e0e0e0;
@@ -139,29 +144,16 @@ body.dark-theme {
139144
}
140145
}
141146

142-
143147
// Circular heatmap (radar chart)
144148
.circular-heat text,
145149
.labels.segment text {
146150
fill: #ffffff;
147151
}
148152

149-
150153
.circular-heat line,
151154
.circular-heat path {
152155
stroke: var(--heatmap-stroke);
153156
}
154-
}
155-
156-
body.dark-theme {
157-
--heatmap-filled: #007700;
158-
--heatmap-disabled: #666666;
159-
--heatmap-cursor: green;
160-
--heatmap-background: #bbbbbb;
161-
--heatmap-stroke: #000000;
162-
--heatmap-cursor-selected:var(--heatmap-cursor);
163-
--heatmap-cursor-hover: transparent;
164-
165157

166158
.mat-chip.mat-standard-chip {
167159
color: #ababab;
@@ -172,11 +164,7 @@ body.dark-theme {
172164
}
173165
}
174166

175-
176-
177-
178-
@include mat.all-component-themes($DSOMM-dark-theme);
179-
167+
@include mat.all-component-themes($DSOMM-dark-theme);
180168

181169
.button-container {
182170
display: flex;
@@ -198,4 +186,3 @@ svg .cursors #selected {
198186
stroke: var(--heatmap-cursor-selected, #000000); // optional fallback
199187
stroke-width: 7px;
200188
}
201-

0 commit comments

Comments
 (0)