@@ -21,6 +21,8 @@ class KatjasKleurplaat extends ThemeExtension<KatjasKleurplaat> implements Kleur
2121 this .secondaryFill,
2222 this .tertiary,
2323 this .tertiaryFill,
24+ this .accent,
25+ this .accentFill,
2426 });
2527
2628 @override
@@ -41,6 +43,12 @@ class KatjasKleurplaat extends ThemeExtension<KatjasKleurplaat> implements Kleur
4143 @override
4244 final ColorGroup ? tertiaryFill;
4345
46+ @override
47+ final ColorGroup ? accent;
48+
49+ @override
50+ final ColorGroup ? accentFill;
51+
4452 @override
4553 final ColorGroup content;
4654
@@ -73,6 +81,8 @@ class KatjasKleurplaat extends ThemeExtension<KatjasKleurplaat> implements Kleur
7381 ColorGroup ? secondaryFill,
7482 ColorGroup ? tertiary,
7583 ColorGroup ? tertiaryFill,
84+ ColorGroup ? accent,
85+ ColorGroup ? accentFill,
7686 ColorGroup ? content,
7787 ColorGroup ? contentFill,
7888 ColorGroup ? error,
@@ -88,6 +98,8 @@ class KatjasKleurplaat extends ThemeExtension<KatjasKleurplaat> implements Kleur
8898 secondaryFill: secondaryFill ?? this .secondaryFill,
8999 tertiary: tertiary ?? this .tertiary,
90100 tertiaryFill: tertiaryFill ?? this .tertiaryFill,
101+ accent: accent ?? this .accent,
102+ accentFill: accentFill ?? this .accentFill,
91103 content: content ?? this .content,
92104 contentFill: contentFill ?? this .contentFill,
93105 error: error ?? this .error,
@@ -109,6 +121,8 @@ class KatjasKleurplaat extends ThemeExtension<KatjasKleurplaat> implements Kleur
109121 secondaryFill: secondaryFill? .lerp (other.secondaryFill, t),
110122 tertiary: tertiary? .lerp (other.tertiary, t),
111123 tertiaryFill: tertiaryFill? .lerp (other.tertiaryFill, t),
124+ accent: accent? .lerp (other.accent, t),
125+ accentFill: accentFill? .lerp (other.accentFill, t),
112126 content: content.lerp (other.content, t),
113127 contentFill: contentFill.lerp (other.contentFill, t),
114128 error: error.lerp (other.error, t),
@@ -133,6 +147,8 @@ class KatjasKleurplaat extends ThemeExtension<KatjasKleurplaat> implements Kleur
133147 secondaryFixedDim: secondaryFill? .color,
134148 tertiaryFixed: tertiary? .color,
135149 tertiaryFixedDim: tertiaryFill? .color,
150+ onTertiaryFixed: accent? .color,
151+ onTertiaryFixedVariant: accentFill? .color,
136152 onSecondary: content.onColorContrast,
137153 onSecondaryContainer: content.onColorContrast,
138154 tertiary: error.color,
0 commit comments