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

@ -25,7 +25,7 @@ export class RowButton implements Component<RowButtonAttrs> {
const attrs = vnode.attrs
const label = lang.getTranslationText(attrs.label)
const text = lang.getTranslationText(attrs.text ?? attrs.label)
const color = attrs.selected ? theme.content_button_selected : theme.content_button
const color = attrs.selected ? theme.primary : theme.on_surface_variant
return m(BaseButton, {
label: attrs.label,
text: m(