Skip to content

Commit 09ab2ff

Browse files
committed
Fix after rebase
- Update color tokens for chips - Remove duplicated `outline_variant` color token
1 parent 254325e commit 09ab2ff

File tree

4 files changed

+2
-7
lines changed

4 files changed

+2
-7
lines changed

src/common/gui/base/FilterChip.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export class FilterChip implements Component<FilterChipAttrs> {
3232
selectors += ".pr-vpad-m"
3333
}
3434

35-
const contentColor = selected ? on_secondary_fixed : theme.content_fg
35+
const contentColor = selected ? on_secondary_fixed : theme.on_surface
3636
return m(
3737
selectors,
3838
{

src/common/gui/builtinThemes.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ export const themes = (): Themes => {
144144
experimental_tertiary: RED_FIGHTER,
145145
highlight_bg: highlight,
146146
highlight_fg: black,
147-
outline_variant: grey_lighter_1,
148147
})
149148
const darkRed = Object.freeze<Theme>({
150149
themeId: !isCalendarApp ? "dark" : "dark_secondary",
@@ -173,7 +172,6 @@ export const themes = (): Themes => {
173172
experimental_tertiary: RED_FIGHTER,
174173
highlight_bg: highlight,
175174
highlight_fg: black,
176-
outline_variant: grey_darker_0,
177175
})
178176
const lightBlue = Object.freeze<Theme>({
179177
themeId: isCalendarApp ? "light" : "light_secondary",
@@ -203,7 +201,6 @@ export const themes = (): Themes => {
203201
experimental_tertiary: BLUE_FIGHTER,
204202
highlight_bg: highlight,
205203
highlight_fg: black,
206-
outline_variant: grey_lighter_1,
207204
})
208205
const darkBlue = Object.freeze<Theme>({
209206
themeId: isCalendarApp ? "dark" : "dark_secondary",
@@ -232,7 +229,6 @@ export const themes = (): Themes => {
232229
experimental_tertiary: BLUE_FIGHTER,
233230
highlight_bg: highlight,
234231
highlight_fg: black,
235-
outline_variant: grey_darker_0,
236232
})
237233

238234
return {

src/common/gui/main-styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1428,7 +1428,7 @@ styles.registerStyle("main", () => {
14281428
outline: "none",
14291429
},
14301430
".state-bg-2::before": {
1431-
"background-color": `var(--state-bg-color, ${theme.content_fg})`,
1431+
"background-color": `var(--state-bg-color, ${theme.on_surface})`,
14321432
opacity: "0",
14331433
transition: "opacity 0.6s",
14341434
content: "''",

src/common/gui/theme.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ export type Theme = {
4848
experimental_primary_container: string
4949
experimental_on_primary_container: string
5050
experimental_tertiary: string
51-
outline_variant: string
5251
}
5352

5453
const themeSingleton = {}

0 commit comments

Comments
 (0)