refactor(theme)!: introduce new color tokens

Replaced old color tokens with new tokens that follow the Material 3 Design system.
This commit is contained in:
yoy 2025-04-04 09:59:49 +02:00
parent 16fa5341fb
commit 98294f085b
118 changed files with 589 additions and 685 deletions

View file

@ -188,7 +188,7 @@ export class ConversationViewer implements Component<ConversationViewerAttrs> {
".font-weight-600.center.mt-l" + "." + responsiveCardHMargin(),
{
style: {
color: theme.content_button,
color: theme.on_surface_variant,
},
},
lang.get("loading_msg"),
@ -213,7 +213,7 @@ export class ConversationViewer implements Component<ConversationViewerAttrs> {
class: responsiveCardHMargin(),
key: elementIdPart(mailViewerViewModel.mail.conversationEntry),
style: {
backgroundColor: theme.content_bg,
backgroundColor: theme.surface,
marginTop: px(position == null || position === 0 ? 0 : conversationCardMargin),
// column resize element takes some space, reduce margin to make the gap smaller
marginLeft: styles.isSingleColumnLayout() ? undefined : px(size.hpad_large - size.column_resize_element_width),