Skip to content

Commit be216cd

Browse files
authored
SF-3876 Fix new draft component theme in dark mode (#4057)
1 parent ab39994 commit be216cd

2 files changed

Lines changed: 7 additions & 9 deletions

File tree

src/SIL.XForge.Scripture/ClientApp/src/app/translate/draft-generation/new-draft/draft-pending-updates/draft-pending-updates.component.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@use 'src/variables';
2-
31
.pending-project-rows {
42
display: flex;
53
flex-direction: column;
@@ -39,7 +37,7 @@
3937
}
4038

4139
.wait-for-sync {
42-
color: variables.$lighterTextColor;
40+
color: var(--mat-sys-on-surface-variant);
4341
font-size: 0.85em;
4442
margin: 8px 0 0;
4543
}

src/SIL.XForge.Scripture/ClientApp/src/app/translate/draft-generation/new-draft/new-draft.component.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212

1313
.loading-text {
1414
text-align: center;
15-
color: variables.$lighterTextColor;
15+
color: var(--mat-sys-on-surface-variant);
1616
}
1717

1818
.empty-state {
19-
color: variables.$lighterTextColor;
19+
color: var(--mat-sys-on-surface-variant);
2020
}
2121

2222
.abort-screen {
@@ -73,7 +73,7 @@ app-copyright-banner {
7373
}
7474

7575
.step-indicator {
76-
color: variables.$lighterTextColor;
76+
color: var(--mat-sys-on-surface-variant);
7777
font-size: 0.85em;
7878
margin: 0 0 1em;
7979
}
@@ -111,7 +111,7 @@ app-copyright-banner {
111111
}
112112

113113
.summary-subtitle {
114-
color: variables.$lighterTextColor;
114+
color: var(--mat-sys-on-surface-variant);
115115
margin: 0;
116116
}
117117

@@ -143,7 +143,7 @@ app-copyright-banner {
143143
td {
144144
text-align: start;
145145
padding: 0.75em 0.5em;
146-
border-bottom: 1px solid variables.$border-color;
146+
border-bottom: 1px solid var(--sf-border-color);
147147
}
148148

149149
th {
@@ -152,7 +152,7 @@ app-copyright-banner {
152152
}
153153

154154
.summary-empty {
155-
color: variables.$greyLight;
155+
color: var(--mat-sys-on-surface-variant);
156156
font-style: italic;
157157
}
158158

0 commit comments

Comments
 (0)