Skip to content

Commit 4cd5e5c

Browse files
committed
fix(themes): add toolbar bg
1 parent 1e9874d commit 4cd5e5c

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

core/src/themes/md/dark.tokens.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ export const darkTheme: DarkTheme = {
99
textColor: '#ffffff',
1010
textColorRgb: '255, 255, 255',
1111

12+
// TODO(FW-6864): Remove once IonToolbar themes are added
13+
toolbar: {
14+
background: '#1f1f1f',
15+
},
16+
1217
backgroundColorStep: {
1318
50: '#1e1e1e',
1419
100: '#2a2a2a',

core/src/themes/md/high-contrast-dark.tokens.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ export const highContrastDarkTheme: HighContrastDarkTheme = {
77
backgroundColor: '#121212',
88
textColor: '#000000',
99

10+
// TODO(FW-6864): Remove once IonToolbar themes are added
11+
toolbar: {
12+
background: '#1f1f1f',
13+
},
14+
1015
backgroundColorStep: {
1116
50: '#1e1e1e',
1217
100: '#2a2a2a',

core/src/themes/themes.interfaces.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ export type BaseTheme = {
1717
[key: string]: string;
1818
};
1919

20+
// TODO(FW-6864): Remove once IonToolbar themes are added
21+
toolbar?: any;
22+
2023
// SPACE TOKENS
2124
spacing?: {
2225
0?: string;

0 commit comments

Comments
 (0)