mirror of
https://github.com/tutao/tutanota.git
synced 2025-10-19 16:03:43 +00:00
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:
parent
16fa5341fb
commit
98294f085b
118 changed files with 589 additions and 685 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue