diff --git a/lib/generated/tokens/semantics.g.dart b/lib/generated/tokens/semantics.g.dart index 8498e081..14e9f0a0 100644 --- a/lib/generated/tokens/semantics.g.dart +++ b/lib/generated/tokens/semantics.g.dart @@ -4,367 +4,250 @@ import 'primitives.g.dart'; // This file is automatically generated by the zeta repository // DO NOT MODIFY -/// The semantic tokens for +/// Semantic tokens for Colors. abstract interface class ZetaSemanticColors { - /// The primitives for the colors + /// Primitives used to construct semantic colors ZetaPrimitives get primitives; - /// Border - ZetaSemanticBorderColors get border; + /// Main Default color + Color get mainDefault; - /// Main - ZetaSemanticMainColors get main; + /// Main Subtle color + Color get mainSubtle; - /// State - ZetaSemanticStateColors get state; + /// Main Primary color + Color get mainPrimary; - /// Surface - ZetaSemanticSurfaceColors get surface; -} - -/// The semantic tokens for Border -abstract interface class ZetaSemanticBorderColors { - /// The primitives for the colors - ZetaPrimitives get primitives; - - /// Default Color - Color get defaultColor; - - /// Disabled - Color get disabled; - - /// Hover - Color get hover; - - /// Info - Color get info; - - /// Negative - Color get negative; - - /// Positive - Color get positive; + /// Main Secondary color + Color get mainSecondary; - /// Primary - Color get primary; + /// Main Positive color + Color get mainPositive; - /// Primary Main - Color get primaryMain; - - /// Pure - Color get pure; - - /// Secondary - Color get secondary; - - /// Selected - Color get selected; - - /// Subtle - Color get subtle; - - /// Warning - Color get warning; -} - -/// The semantic tokens for Main -abstract interface class ZetaSemanticMainColors { - /// The primitives for the colors - ZetaPrimitives get primitives; + /// Main Warning color + Color get mainWarning; - /// Default Color - Color get defaultColor; + /// Main Negative color + Color get mainNegative; - /// Disabled - Color get disabled; + /// Main Info color + Color get mainInfo; - /// Info - Color get info; + /// Main Disabled color + Color get mainDisabled; - /// Inverse - Color get inverse; + /// Main Light color + Color get mainLight; - /// Light - Color get light; + /// Main Inverse color + Color get mainInverse; - /// Negative - Color get negative; + /// Border Default color + Color get borderDefault; - /// Positive - Color get positive; - - /// Primary - Color get primary; - - /// Secondary - Color get secondary; - - /// Subtle - Color get subtle; - - /// Warning - Color get warning; -} - -/// The semantic tokens for State -abstract interface class ZetaSemanticStateColors { - /// The primitives for the colors - ZetaPrimitives get primitives; - - /// Inverse - ZetaSemanticInverseColors get inverse; - - /// Default - ZetaSemanticDefaultColors get defaultColor; - - /// Disabled - ZetaSemanticDisabledColors get disabled; - - /// Info - ZetaSemanticInfoColors get info; - - /// Negative - ZetaSemanticNegativeColors get negative; - - /// Positive - ZetaSemanticPositiveColors get positive; - - /// Primary - ZetaSemanticPrimaryColors get primary; - - /// Secondary - ZetaSemanticSecondaryColors get secondary; -} + /// Border Selected color + Color get borderSelected; -/// The semantic tokens for Inverse -abstract interface class ZetaSemanticInverseColors { - /// The primitives for the colors - ZetaPrimitives get primitives; + /// Border Hover color + Color get borderHover; - /// Enabled - Color get enabled; + /// Border Subtle color + Color get borderSubtle; - /// Focus - Color get focus; + /// Border Disabled color + Color get borderDisabled; - /// Hover - Color get hover; + /// Border Pure color + Color get borderPure; - /// Selected - Color get selected; -} + /// Border Primary Main color + Color get borderPrimaryMain; -/// The semantic tokens for Default -abstract interface class ZetaSemanticDefaultColors { - /// The primitives for the colors - ZetaPrimitives get primitives; + /// Border Primary color + Color get borderPrimary; - /// Enabled - Color get enabled; + /// Border Secondary color + Color get borderSecondary; - /// Focus - Color get focus; + /// Border Positive color + Color get borderPositive; - /// Hover - Color get hover; + /// Border Warning color + Color get borderWarning; - /// Selected - Color get selected; -} + /// Border Negative color + Color get borderNegative; -/// The semantic tokens for Disabled -abstract interface class ZetaSemanticDisabledColors { - /// The primitives for the colors - ZetaPrimitives get primitives; + /// Border Info color + Color get borderInfo; - /// Disabled - Color get disabled; -} + /// Surface Default color + Color get surfaceDefault; -/// The semantic tokens for Info -abstract interface class ZetaSemanticInfoColors { - /// The primitives for the colors - ZetaPrimitives get primitives; + /// Surface Default Inverse color + Color get surfaceDefaultInverse; - /// Enabled - Color get enabled; + /// Surface Hover color + Color get surfaceHover; - /// Focus - Color get focus; + /// Surface Selected color + Color get surfaceSelected; - /// Hover - Color get hover; + /// Surface Selected Hover color + Color get surfaceSelectedHover; - /// Selected - Color get selected; -} + /// Surface Disabled color + Color get surfaceDisabled; -/// The semantic tokens for Negative -abstract interface class ZetaSemanticNegativeColors { - /// The primitives for the colors - ZetaPrimitives get primitives; + /// Surface Cool color + Color get surfaceCool; - /// Enabled - Color get enabled; + /// Surface Warm color + Color get surfaceWarm; - /// Focus - Color get focus; + /// Surface Primary color + Color get surfacePrimary; - /// Hover - Color get hover; + /// Surface Primary Subtle color + Color get surfacePrimarySubtle; - /// Selected - Color get selected; -} + /// Surface Secondary color + Color get surfaceSecondary; -/// The semantic tokens for Positive -abstract interface class ZetaSemanticPositiveColors { - /// The primitives for the colors - ZetaPrimitives get primitives; + /// Surface Avatar Blue color + Color get surfaceAvatarBlue; - /// Enabled - Color get enabled; + /// Surface Avatar Green color + Color get surfaceAvatarGreen; - /// Focus - Color get focus; + /// Surface Avatar Orange color + Color get surfaceAvatarOrange; - /// Hover - Color get hover; + /// Surface Avatar Pink color + Color get surfaceAvatarPink; - /// Selected - Color get selected; -} + /// Surface Avatar Purple color + Color get surfaceAvatarPurple; -/// The semantic tokens for Primary -abstract interface class ZetaSemanticPrimaryColors { - /// The primitives for the colors - ZetaPrimitives get primitives; + /// Surface Avatar Teal color + Color get surfaceAvatarTeal; - /// Enabled - Color get enabled; + /// Surface Avatar Yellow color + Color get surfaceAvatarYellow; - /// Focus - Color get focus; + /// Surface Secondary Subtle color + Color get surfaceSecondarySubtle; - /// Hover - Color get hover; + /// Surface Positive color + Color get surfacePositive; - /// Selected - Color get selected; -} + /// Surface Positive Subtle color + Color get surfacePositiveSubtle; -/// The semantic tokens for Secondary -abstract interface class ZetaSemanticSecondaryColors { - /// The primitives for the colors - ZetaPrimitives get primitives; + /// Surface Warning color + Color get surfaceWarning; - /// Enabled - Color get enabled; + /// Surface Warning Subtle color + Color get surfaceWarningSubtle; - /// Focus - Color get focus; + /// Surface Negative color + Color get surfaceNegative; - /// Hover - Color get hover; + /// Surface Negative Subtle color + Color get surfaceNegativeSubtle; - /// Selected - Color get selected; -} + /// Surface Info color + Color get surfaceInfo; -/// The semantic tokens for Surface -abstract interface class ZetaSemanticSurfaceColors { - /// The primitives for the colors - ZetaPrimitives get primitives; + /// Surface Info Subtle color + Color get surfaceInfoSubtle; - /// Avatar - ZetaSemanticAvatarColors get avatar; + /// State Disabled Disabled color + Color get stateDisabledDisabled; - /// Cool - Color get cool; + /// State Default Enabled color + Color get stateDefaultEnabled; - /// Default Color - Color get defaultColor; + /// State Default Hover color + Color get stateDefaultHover; - /// Default Inverse - Color get defaultInverse; + /// State Default Selected color + Color get stateDefaultSelected; - /// Disabled - Color get disabled; + /// State Default Focus color + Color get stateDefaultFocus; - /// Hover - Color get hover; + /// State Primary Enabled color + Color get statePrimaryEnabled; - /// Info - Color get info; + /// State Primary Hover color + Color get statePrimaryHover; - /// Info Subtle - Color get infoSubtle; + /// State Primary Selected color + Color get statePrimarySelected; - /// Negative - Color get negative; + /// State Primary Focus color + Color get statePrimaryFocus; - /// Negative Subtle - Color get negativeSubtle; + /// State Secondary Enabled color + Color get stateSecondaryEnabled; - /// Positive - Color get positive; + /// State Secondary Hover color + Color get stateSecondaryHover; - /// Positive Subtle - Color get positiveSubtle; + /// State Secondary Selected color + Color get stateSecondarySelected; - /// Primary - Color get primary; + /// State Secondary Focus color + Color get stateSecondaryFocus; - /// Primary Subtle - Color get primarySubtle; + /// State Negative Enabled color + Color get stateNegativeEnabled; - /// Secondary - Color get secondary; + /// State Negative Hover color + Color get stateNegativeHover; - /// Secondary Subtle - Color get secondarySubtle; + /// State Negative Selected color + Color get stateNegativeSelected; - /// Selected - Color get selected; + /// State Negative Focus color + Color get stateNegativeFocus; - /// Selected Hover - Color get selectedHover; + /// State Info Enabled color + Color get stateInfoEnabled; - /// Warm - Color get warm; + /// State Info Hover color + Color get stateInfoHover; - /// Warning - Color get warning; + /// State Info Selected color + Color get stateInfoSelected; - /// Warning Subtle - Color get warningSubtle; -} + /// State Info Focus color + Color get stateInfoFocus; -/// The semantic tokens for Avatar -abstract interface class ZetaSemanticAvatarColors { - /// The primitives for the colors - ZetaPrimitives get primitives; + /// State Inverse Enabled color + Color get stateInverseEnabled; - /// Blue - Color get blue; + /// State Inverse Hover color + Color get stateInverseHover; - /// Green - Color get green; + /// State Inverse Selected color + Color get stateInverseSelected; - /// Orange - Color get orange; + /// State Inverse Focus color + Color get stateInverseFocus; - /// Pink - Color get pink; + /// State Positive Enabled color + Color get statePositiveEnabled; - /// Purple - Color get purple; + /// State Positive Hover color + Color get statePositiveHover; - /// Teal - Color get teal; + /// State Positive Selected color + Color get statePositiveSelected; - /// Yellow - Color get yellow; + /// State Positive Focus color + Color get statePositiveFocus; } /// Semantic tokens for Size. @@ -445,708 +328,340 @@ abstract interface class ZetaRadiiSemantics { BorderRadius get full; } -/// Implementation of ZetaSemanticColors -final class ZetaSemanticColorsAA implements ZetaSemanticColors { +/// The semantic colors for AA +class ZetaSemanticColorsAA implements ZetaSemanticColors { /// Constructor for ZetaSemanticColorsAA const ZetaSemanticColorsAA({required this.primitives}); - - /// The primitives for this sizes - @override - final ZetaPrimitives primitives; - - /// Border - @override - ZetaSemanticBorderColors get border => ZetaSemanticBorderColorsAA(primitives: primitives); - - /// Main - @override - ZetaSemanticMainColors get main => ZetaSemanticMainColorsAA(primitives: primitives); - - /// State - @override - ZetaSemanticStateColors get state => ZetaSemanticStateColorsAA(primitives: primitives); - - /// Surface - @override - ZetaSemanticSurfaceColors get surface => ZetaSemanticSurfaceColorsAA(primitives: primitives); -} - -/// Implementation of ZetaSemanticBorderColors -final class ZetaSemanticBorderColorsAA implements ZetaSemanticBorderColors { - /// Constructor for ZetaSemanticBorderColorsAA - const ZetaSemanticBorderColorsAA({required this.primitives}); - - /// The primitives for this sizes @override final ZetaPrimitives primitives; @override - Color get defaultColor => primitives.cool.shade40; - @override - Color get disabled => primitives.cool.shade20; - @override - Color get hover => primitives.cool.shade90; - @override - Color get info => primitives.purple.shade50; - @override - Color get negative => primitives.red.shade50; - @override - Color get positive => primitives.green.shade50; - @override - Color get primary => primitives.blue.shade50; - @override - Color get primaryMain => primitives.blue.shade60; + Color get mainDefault => primitives.cool.shade90; @override - Color get pure => primitives.pure.shade0; + Color get mainSubtle => primitives.cool.shade70; @override - Color get secondary => primitives.yellow.shade50; + Color get mainPrimary => primitives.blue.shade60; @override - Color get selected => primitives.cool.shade90; - @override - Color get subtle => primitives.cool.shade30; - @override - Color get warning => primitives.orange.shade50; -} - -/// Implementation of ZetaSemanticMainColors -final class ZetaSemanticMainColorsAA implements ZetaSemanticMainColors { - /// Constructor for ZetaSemanticMainColorsAA - const ZetaSemanticMainColorsAA({required this.primitives}); - - /// The primitives for this sizes - @override - final ZetaPrimitives primitives; + Color get mainSecondary => primitives.yellow.shade60; @override - Color get defaultColor => primitives.cool.shade90; - @override - Color get disabled => primitives.cool.shade50; - @override - Color get info => primitives.purple.shade60; - @override - Color get inverse => primitives.cool.shade20; - @override - Color get light => primitives.cool.shade30; - @override - Color get negative => primitives.red.shade60; - @override - Color get positive => primitives.green.shade60; - @override - Color get primary => primitives.blue.shade60; - @override - Color get secondary => primitives.yellow.shade60; - @override - Color get subtle => primitives.cool.shade70; - @override - Color get warning => primitives.orange.shade60; -} - -/// Implementation of ZetaSemanticStateColors -final class ZetaSemanticStateColorsAA implements ZetaSemanticStateColors { - /// Constructor for ZetaSemanticStateColorsAA - const ZetaSemanticStateColorsAA({required this.primitives}); - - /// The primitives for this sizes - @override - final ZetaPrimitives primitives; - - /// Inverse + Color get mainPositive => primitives.green.shade60; @override - ZetaSemanticInverseColors get inverse => ZetaSemanticInverseColorsAA(primitives: primitives); - - /// Default + Color get mainWarning => primitives.orange.shade60; @override - ZetaSemanticDefaultColors get defaultColor => ZetaSemanticDefaultColorsAA(primitives: primitives); - - /// Disabled + Color get mainNegative => primitives.red.shade60; @override - ZetaSemanticDisabledColors get disabled => ZetaSemanticDisabledColorsAA(primitives: primitives); - - /// Info + Color get mainInfo => primitives.purple.shade60; @override - ZetaSemanticInfoColors get info => ZetaSemanticInfoColorsAA(primitives: primitives); - - /// Negative + Color get mainDisabled => primitives.cool.shade50; @override - ZetaSemanticNegativeColors get negative => ZetaSemanticNegativeColorsAA(primitives: primitives); - - /// Positive + Color get mainLight => primitives.cool.shade30; @override - ZetaSemanticPositiveColors get positive => ZetaSemanticPositiveColorsAA(primitives: primitives); - - /// Primary + Color get mainInverse => primitives.cool.shade20; @override - ZetaSemanticPrimaryColors get primary => ZetaSemanticPrimaryColorsAA(primitives: primitives); - - /// Secondary + Color get borderDefault => primitives.cool.shade40; @override - ZetaSemanticSecondaryColors get secondary => ZetaSemanticSecondaryColorsAA(primitives: primitives); -} - -/// Implementation of ZetaSemanticInverseColors -final class ZetaSemanticInverseColorsAA implements ZetaSemanticInverseColors { - /// Constructor for ZetaSemanticInverseColorsAA - const ZetaSemanticInverseColorsAA({required this.primitives}); - - /// The primitives for this sizes + Color get borderSelected => primitives.cool.shade90; @override - final ZetaPrimitives primitives; + Color get borderHover => primitives.cool.shade90; @override - Color get enabled => primitives.cool.shade100; + Color get borderSubtle => primitives.cool.shade30; @override - Color get focus => primitives.cool.shade100; + Color get borderDisabled => primitives.cool.shade20; @override - Color get hover => primitives.cool.shade90; + Color get borderPure => primitives.pure.shade0; @override - Color get selected => primitives.cool.shade100; -} - -/// Implementation of ZetaSemanticDefaultColors -final class ZetaSemanticDefaultColorsAA implements ZetaSemanticDefaultColors { - /// Constructor for ZetaSemanticDefaultColorsAA - const ZetaSemanticDefaultColorsAA({required this.primitives}); - - /// The primitives for this sizes + Color get borderPrimaryMain => primitives.blue.shade60; @override - final ZetaPrimitives primitives; + Color get borderPrimary => primitives.blue.shade50; @override - Color get enabled => primitives.pure.shade0; + Color get borderSecondary => primitives.yellow.shade50; @override - Color get focus => primitives.pure.shade0; + Color get borderPositive => primitives.green.shade50; @override - Color get hover => primitives.cool.shade20; + Color get borderWarning => primitives.orange.shade50; @override - Color get selected => primitives.blue.shade10; -} - -/// Implementation of ZetaSemanticDisabledColors -final class ZetaSemanticDisabledColorsAA implements ZetaSemanticDisabledColors { - /// Constructor for ZetaSemanticDisabledColorsAA - const ZetaSemanticDisabledColorsAA({required this.primitives}); - - /// The primitives for this sizes + Color get borderNegative => primitives.red.shade50; @override - final ZetaPrimitives primitives; + Color get borderInfo => primitives.purple.shade50; @override - Color get disabled => primitives.cool.shade30; -} - -/// Implementation of ZetaSemanticInfoColors -final class ZetaSemanticInfoColorsAA implements ZetaSemanticInfoColors { - /// Constructor for ZetaSemanticInfoColorsAA - const ZetaSemanticInfoColorsAA({required this.primitives}); - - /// The primitives for this sizes + Color get surfaceDefault => primitives.pure.shade0; @override - final ZetaPrimitives primitives; + Color get surfaceDefaultInverse => primitives.warm.shade100; @override - Color get enabled => primitives.purple.shade60; + Color get surfaceHover => primitives.cool.shade20; @override - Color get focus => primitives.purple.shade60; + Color get surfaceSelected => primitives.blue.shade10; @override - Color get hover => primitives.purple.shade50; + Color get surfaceSelectedHover => primitives.blue.shade20; @override - Color get selected => primitives.purple.shade70; -} - -/// Implementation of ZetaSemanticNegativeColors -final class ZetaSemanticNegativeColorsAA implements ZetaSemanticNegativeColors { - /// Constructor for ZetaSemanticNegativeColorsAA - const ZetaSemanticNegativeColorsAA({required this.primitives}); - - /// The primitives for this sizes + Color get surfaceDisabled => primitives.cool.shade30; @override - final ZetaPrimitives primitives; + Color get surfaceCool => primitives.cool.shade10; @override - Color get enabled => primitives.red.shade60; + Color get surfaceWarm => primitives.warm.shade10; @override - Color get focus => primitives.red.shade60; + Color get surfacePrimary => primitives.blue.shade60; @override - Color get hover => primitives.red.shade50; + Color get surfacePrimarySubtle => primitives.blue.shade10; @override - Color get selected => primitives.red.shade70; -} - -/// Implementation of ZetaSemanticPositiveColors -final class ZetaSemanticPositiveColorsAA implements ZetaSemanticPositiveColors { - /// Constructor for ZetaSemanticPositiveColorsAA - const ZetaSemanticPositiveColorsAA({required this.primitives}); - - /// The primitives for this sizes + Color get surfaceSecondary => primitives.yellow.shade60; @override - final ZetaPrimitives primitives; + Color get surfaceAvatarBlue => primitives.blue.shade80; @override - Color get enabled => primitives.green.shade60; + Color get surfaceAvatarGreen => primitives.green.shade60; @override - Color get focus => primitives.green.shade60; + Color get surfaceAvatarOrange => primitives.orange.shade50; @override - Color get hover => primitives.green.shade50; + Color get surfaceAvatarPink => primitives.pink.shade80; @override - Color get selected => primitives.green.shade70; -} - -/// Implementation of ZetaSemanticPrimaryColors -final class ZetaSemanticPrimaryColorsAA implements ZetaSemanticPrimaryColors { - /// Constructor for ZetaSemanticPrimaryColorsAA - const ZetaSemanticPrimaryColorsAA({required this.primitives}); - - /// The primitives for this sizes + Color get surfaceAvatarPurple => primitives.purple.shade80; @override - final ZetaPrimitives primitives; + Color get surfaceAvatarTeal => primitives.teal.shade80; @override - Color get enabled => primitives.blue.shade60; + Color get surfaceAvatarYellow => primitives.yellow.shade50; @override - Color get focus => primitives.blue.shade60; + Color get surfaceSecondarySubtle => primitives.yellow.shade10; @override - Color get hover => primitives.blue.shade50; + Color get surfacePositive => primitives.green.shade60; @override - Color get selected => primitives.blue.shade70; -} - -/// Implementation of ZetaSemanticSecondaryColors -final class ZetaSemanticSecondaryColorsAA implements ZetaSemanticSecondaryColors { - /// Constructor for ZetaSemanticSecondaryColorsAA - const ZetaSemanticSecondaryColorsAA({required this.primitives}); - - /// The primitives for this sizes + Color get surfacePositiveSubtle => primitives.green.shade10; @override - final ZetaPrimitives primitives; + Color get surfaceWarning => primitives.orange.shade60; @override - Color get enabled => primitives.yellow.shade40; + Color get surfaceWarningSubtle => primitives.orange.shade10; @override - Color get focus => primitives.yellow.shade40; + Color get surfaceNegative => primitives.red.shade60; @override - Color get hover => primitives.yellow.shade30; + Color get surfaceNegativeSubtle => primitives.red.shade10; @override - Color get selected => primitives.yellow.shade50; -} - -/// Implementation of ZetaSemanticSurfaceColors -final class ZetaSemanticSurfaceColorsAA implements ZetaSemanticSurfaceColors { - /// Constructor for ZetaSemanticSurfaceColorsAA - const ZetaSemanticSurfaceColorsAA({required this.primitives}); - - /// The primitives for this sizes + Color get surfaceInfo => primitives.purple.shade60; @override - final ZetaPrimitives primitives; - - /// Avatar + Color get surfaceInfoSubtle => primitives.purple.shade10; @override - ZetaSemanticAvatarColors get avatar => ZetaSemanticAvatarColorsAA(primitives: primitives); + Color get stateDisabledDisabled => primitives.cool.shade30; @override - Color get cool => primitives.cool.shade10; + Color get stateDefaultEnabled => primitives.pure.shade0; @override - Color get defaultColor => primitives.pure.shade0; + Color get stateDefaultHover => primitives.cool.shade20; @override - Color get defaultInverse => primitives.warm.shade100; + Color get stateDefaultSelected => primitives.blue.shade10; @override - Color get disabled => primitives.cool.shade30; + Color get stateDefaultFocus => primitives.pure.shade0; @override - Color get hover => primitives.cool.shade20; + Color get statePrimaryEnabled => primitives.blue.shade60; @override - Color get info => primitives.purple.shade60; + Color get statePrimaryHover => primitives.blue.shade50; @override - Color get infoSubtle => primitives.purple.shade10; + Color get statePrimarySelected => primitives.blue.shade70; @override - Color get negative => primitives.red.shade60; + Color get statePrimaryFocus => primitives.blue.shade60; @override - Color get negativeSubtle => primitives.red.shade10; + Color get stateSecondaryEnabled => primitives.yellow.shade40; @override - Color get positive => primitives.green.shade60; + Color get stateSecondaryHover => primitives.yellow.shade30; @override - Color get positiveSubtle => primitives.green.shade10; + Color get stateSecondarySelected => primitives.yellow.shade50; @override - Color get primary => primitives.blue.shade60; + Color get stateSecondaryFocus => primitives.yellow.shade40; @override - Color get primarySubtle => primitives.blue.shade10; + Color get stateNegativeEnabled => primitives.red.shade60; @override - Color get secondary => primitives.yellow.shade60; + Color get stateNegativeHover => primitives.red.shade50; @override - Color get secondarySubtle => primitives.yellow.shade10; + Color get stateNegativeSelected => primitives.red.shade70; @override - Color get selected => primitives.blue.shade10; + Color get stateNegativeFocus => primitives.red.shade60; @override - Color get selectedHover => primitives.blue.shade20; + Color get stateInfoEnabled => primitives.purple.shade60; @override - Color get warm => primitives.warm.shade10; + Color get stateInfoHover => primitives.purple.shade50; @override - Color get warning => primitives.orange.shade60; + Color get stateInfoSelected => primitives.purple.shade70; @override - Color get warningSubtle => primitives.orange.shade10; -} - -/// Implementation of ZetaSemanticAvatarColors -final class ZetaSemanticAvatarColorsAA implements ZetaSemanticAvatarColors { - /// Constructor for ZetaSemanticAvatarColorsAA - const ZetaSemanticAvatarColorsAA({required this.primitives}); - - /// The primitives for this sizes + Color get stateInfoFocus => primitives.purple.shade60; @override - final ZetaPrimitives primitives; + Color get stateInverseEnabled => primitives.cool.shade100; @override - Color get blue => primitives.blue.shade80; + Color get stateInverseHover => primitives.cool.shade90; @override - Color get green => primitives.green.shade60; + Color get stateInverseSelected => primitives.cool.shade100; @override - Color get orange => primitives.orange.shade50; + Color get stateInverseFocus => primitives.cool.shade100; @override - Color get pink => primitives.pink.shade80; + Color get statePositiveEnabled => primitives.green.shade60; @override - Color get purple => primitives.purple.shade80; + Color get statePositiveHover => primitives.green.shade50; @override - Color get teal => primitives.teal.shade80; + Color get statePositiveSelected => primitives.green.shade70; @override - Color get yellow => primitives.yellow.shade50; + Color get statePositiveFocus => primitives.green.shade60; } -/// Implementation of ZetaSemanticColors -final class ZetaSemanticColorsAAA implements ZetaSemanticColors { +/// The semantic colors for AAA +class ZetaSemanticColorsAAA implements ZetaSemanticColors { /// Constructor for ZetaSemanticColorsAAA const ZetaSemanticColorsAAA({required this.primitives}); - - /// The primitives for this sizes - @override - final ZetaPrimitives primitives; - - /// Border - @override - ZetaSemanticBorderColors get border => ZetaSemanticBorderColorsAAA(primitives: primitives); - - /// Main - @override - ZetaSemanticMainColors get main => ZetaSemanticMainColorsAAA(primitives: primitives); - - /// State - @override - ZetaSemanticStateColors get state => ZetaSemanticStateColorsAAA(primitives: primitives); - - /// Surface - @override - ZetaSemanticSurfaceColors get surface => ZetaSemanticSurfaceColorsAAA(primitives: primitives); -} - -/// Implementation of ZetaSemanticBorderColors -final class ZetaSemanticBorderColorsAAA implements ZetaSemanticBorderColors { - /// Constructor for ZetaSemanticBorderColorsAAA - const ZetaSemanticBorderColorsAAA({required this.primitives}); - - /// The primitives for this sizes @override final ZetaPrimitives primitives; @override - Color get defaultColor => primitives.cool.shade100; - @override - Color get disabled => primitives.cool.shade20; - @override - Color get hover => primitives.cool.shade90; - @override - Color get info => primitives.purple.shade70; - @override - Color get negative => primitives.red.shade70; - @override - Color get positive => primitives.green.shade70; - @override - Color get primary => primitives.blue.shade70; - @override - Color get primaryMain => primitives.blue.shade80; - @override - Color get pure => primitives.pure.shade0; - @override - Color get secondary => primitives.yellow.shade70; - @override - Color get selected => primitives.cool.shade90; - @override - Color get subtle => primitives.cool.shade80; - @override - Color get warning => primitives.orange.shade70; -} - -/// Implementation of ZetaSemanticMainColors -final class ZetaSemanticMainColorsAAA implements ZetaSemanticMainColors { - /// Constructor for ZetaSemanticMainColorsAAA - const ZetaSemanticMainColorsAAA({required this.primitives}); - - /// The primitives for this sizes - @override - final ZetaPrimitives primitives; - @override - Color get defaultColor => primitives.cool.shade100; - @override - Color get disabled => primitives.cool.shade60; - @override - Color get info => primitives.purple.shade80; - @override - Color get inverse => primitives.pure.shade0; - @override - Color get light => primitives.pure.shade0; - @override - Color get negative => primitives.red.shade80; + Color get mainDefault => primitives.cool.shade100; @override - Color get positive => primitives.green.shade80; + Color get mainSubtle => primitives.cool.shade90; @override - Color get primary => primitives.blue.shade80; + Color get mainPrimary => primitives.blue.shade80; @override - Color get secondary => primitives.yellow.shade80; + Color get mainSecondary => primitives.yellow.shade80; @override - Color get subtle => primitives.cool.shade90; + Color get mainPositive => primitives.green.shade80; @override - Color get warning => primitives.orange.shade80; -} - -/// Implementation of ZetaSemanticStateColors -final class ZetaSemanticStateColorsAAA implements ZetaSemanticStateColors { - /// Constructor for ZetaSemanticStateColorsAAA - const ZetaSemanticStateColorsAAA({required this.primitives}); - - /// The primitives for this sizes + Color get mainWarning => primitives.orange.shade80; @override - final ZetaPrimitives primitives; - - /// Inverse + Color get mainNegative => primitives.red.shade80; @override - ZetaSemanticInverseColors get inverse => ZetaSemanticInverseColorsAAA(primitives: primitives); - - /// Default + Color get mainInfo => primitives.purple.shade80; @override - ZetaSemanticDefaultColors get defaultColor => ZetaSemanticDefaultColorsAAA(primitives: primitives); - - /// Disabled + Color get mainDisabled => primitives.cool.shade60; @override - ZetaSemanticDisabledColors get disabled => ZetaSemanticDisabledColorsAAA(primitives: primitives); - - /// Info + Color get mainLight => primitives.pure.shade0; @override - ZetaSemanticInfoColors get info => ZetaSemanticInfoColorsAAA(primitives: primitives); - - /// Negative + Color get mainInverse => primitives.pure.shade0; @override - ZetaSemanticNegativeColors get negative => ZetaSemanticNegativeColorsAAA(primitives: primitives); - - /// Positive + Color get borderDefault => primitives.cool.shade100; @override - ZetaSemanticPositiveColors get positive => ZetaSemanticPositiveColorsAAA(primitives: primitives); - - /// Primary + Color get borderSelected => primitives.cool.shade90; @override - ZetaSemanticPrimaryColors get primary => ZetaSemanticPrimaryColorsAAA(primitives: primitives); - - /// Secondary + Color get borderHover => primitives.cool.shade90; @override - ZetaSemanticSecondaryColors get secondary => ZetaSemanticSecondaryColorsAAA(primitives: primitives); -} - -/// Implementation of ZetaSemanticInverseColors -final class ZetaSemanticInverseColorsAAA implements ZetaSemanticInverseColors { - /// Constructor for ZetaSemanticInverseColorsAAA - const ZetaSemanticInverseColorsAAA({required this.primitives}); - - /// The primitives for this sizes + Color get borderSubtle => primitives.cool.shade80; @override - final ZetaPrimitives primitives; - @override - Color get enabled => primitives.pure.shade1000; + Color get borderDisabled => primitives.cool.shade20; @override - Color get focus => primitives.pure.shade1000; + Color get borderPure => primitives.pure.shade0; @override - Color get hover => primitives.cool.shade90; - @override - Color get selected => primitives.pure.shade1000; -} - -/// Implementation of ZetaSemanticDefaultColors -final class ZetaSemanticDefaultColorsAAA implements ZetaSemanticDefaultColors { - /// Constructor for ZetaSemanticDefaultColorsAAA - const ZetaSemanticDefaultColorsAAA({required this.primitives}); - - /// The primitives for this sizes + Color get borderPrimaryMain => primitives.blue.shade80; @override - final ZetaPrimitives primitives; + Color get borderPrimary => primitives.blue.shade70; @override - Color get enabled => primitives.pure.shade0; + Color get borderSecondary => primitives.yellow.shade70; @override - Color get focus => primitives.pure.shade0; + Color get borderPositive => primitives.green.shade70; @override - Color get hover => primitives.cool.shade20; + Color get borderWarning => primitives.orange.shade70; @override - Color get selected => primitives.blue.shade10; -} - -/// Implementation of ZetaSemanticDisabledColors -final class ZetaSemanticDisabledColorsAAA implements ZetaSemanticDisabledColors { - /// Constructor for ZetaSemanticDisabledColorsAAA - const ZetaSemanticDisabledColorsAAA({required this.primitives}); - - /// The primitives for this sizes + Color get borderNegative => primitives.red.shade70; @override - final ZetaPrimitives primitives; + Color get borderInfo => primitives.purple.shade70; @override - Color get disabled => primitives.cool.shade30; -} - -/// Implementation of ZetaSemanticInfoColors -final class ZetaSemanticInfoColorsAAA implements ZetaSemanticInfoColors { - /// Constructor for ZetaSemanticInfoColorsAAA - const ZetaSemanticInfoColorsAAA({required this.primitives}); - - /// The primitives for this sizes + Color get surfaceDefault => primitives.pure.shade0; @override - final ZetaPrimitives primitives; + Color get surfaceDefaultInverse => primitives.pure.shade1000; @override - Color get enabled => primitives.purple.shade80; + Color get surfaceHover => primitives.cool.shade20; @override - Color get focus => primitives.purple.shade80; + Color get surfaceSelected => primitives.blue.shade10; @override - Color get hover => primitives.purple.shade70; + Color get surfaceSelectedHover => primitives.blue.shade20; @override - Color get selected => primitives.purple.shade90; -} - -/// Implementation of ZetaSemanticNegativeColors -final class ZetaSemanticNegativeColorsAAA implements ZetaSemanticNegativeColors { - /// Constructor for ZetaSemanticNegativeColorsAAA - const ZetaSemanticNegativeColorsAAA({required this.primitives}); - - /// The primitives for this sizes + Color get surfaceDisabled => primitives.cool.shade30; @override - final ZetaPrimitives primitives; + Color get surfaceCool => primitives.cool.shade10; @override - Color get enabled => primitives.red.shade80; + Color get surfaceWarm => primitives.warm.shade10; @override - Color get focus => primitives.red.shade80; + Color get surfacePrimary => primitives.blue.shade80; @override - Color get hover => primitives.red.shade70; + Color get surfacePrimarySubtle => primitives.blue.shade10; @override - Color get selected => primitives.red.shade90; -} - -/// Implementation of ZetaSemanticPositiveColors -final class ZetaSemanticPositiveColorsAAA implements ZetaSemanticPositiveColors { - /// Constructor for ZetaSemanticPositiveColorsAAA - const ZetaSemanticPositiveColorsAAA({required this.primitives}); - - /// The primitives for this sizes + Color get surfaceSecondary => primitives.yellow.shade80; @override - final ZetaPrimitives primitives; + Color get surfaceAvatarBlue => primitives.blue.shade80; @override - Color get enabled => primitives.green.shade80; + Color get surfaceAvatarGreen => primitives.green.shade60; @override - Color get focus => primitives.green.shade80; + Color get surfaceAvatarOrange => primitives.orange.shade50; @override - Color get hover => primitives.green.shade70; + Color get surfaceAvatarPink => primitives.pink.shade80; @override - Color get selected => primitives.green.shade90; -} - -/// Implementation of ZetaSemanticPrimaryColors -final class ZetaSemanticPrimaryColorsAAA implements ZetaSemanticPrimaryColors { - /// Constructor for ZetaSemanticPrimaryColorsAAA - const ZetaSemanticPrimaryColorsAAA({required this.primitives}); - - /// The primitives for this sizes + Color get surfaceAvatarPurple => primitives.purple.shade80; @override - final ZetaPrimitives primitives; + Color get surfaceAvatarTeal => primitives.teal.shade80; @override - Color get enabled => primitives.blue.shade80; + Color get surfaceAvatarYellow => primitives.yellow.shade50; @override - Color get focus => primitives.blue.shade80; + Color get surfaceSecondarySubtle => primitives.yellow.shade10; @override - Color get hover => primitives.blue.shade70; + Color get surfacePositive => primitives.green.shade80; @override - Color get selected => primitives.blue.shade90; -} - -/// Implementation of ZetaSemanticSecondaryColors -final class ZetaSemanticSecondaryColorsAAA implements ZetaSemanticSecondaryColors { - /// Constructor for ZetaSemanticSecondaryColorsAAA - const ZetaSemanticSecondaryColorsAAA({required this.primitives}); - - /// The primitives for this sizes + Color get surfacePositiveSubtle => primitives.green.shade10; @override - final ZetaPrimitives primitives; + Color get surfaceWarning => primitives.orange.shade80; @override - Color get enabled => primitives.yellow.shade80; + Color get surfaceWarningSubtle => primitives.orange.shade10; @override - Color get focus => primitives.yellow.shade80; + Color get surfaceNegative => primitives.red.shade80; @override - Color get hover => primitives.yellow.shade70; + Color get surfaceNegativeSubtle => primitives.red.shade10; @override - Color get selected => primitives.yellow.shade90; -} - -/// Implementation of ZetaSemanticSurfaceColors -final class ZetaSemanticSurfaceColorsAAA implements ZetaSemanticSurfaceColors { - /// Constructor for ZetaSemanticSurfaceColorsAAA - const ZetaSemanticSurfaceColorsAAA({required this.primitives}); - - /// The primitives for this sizes + Color get surfaceInfo => primitives.purple.shade80; @override - final ZetaPrimitives primitives; - - /// Avatar + Color get surfaceInfoSubtle => primitives.purple.shade10; @override - ZetaSemanticAvatarColors get avatar => ZetaSemanticAvatarColorsAAA(primitives: primitives); + Color get stateDisabledDisabled => primitives.cool.shade30; @override - Color get cool => primitives.cool.shade10; + Color get stateDefaultEnabled => primitives.pure.shade0; @override - Color get defaultColor => primitives.pure.shade0; + Color get stateDefaultHover => primitives.cool.shade20; @override - Color get defaultInverse => primitives.pure.shade1000; + Color get stateDefaultSelected => primitives.blue.shade10; @override - Color get disabled => primitives.cool.shade30; + Color get stateDefaultFocus => primitives.pure.shade0; @override - Color get hover => primitives.cool.shade20; + Color get statePrimaryEnabled => primitives.blue.shade80; @override - Color get info => primitives.purple.shade80; + Color get statePrimaryHover => primitives.blue.shade70; @override - Color get infoSubtle => primitives.purple.shade10; + Color get statePrimarySelected => primitives.blue.shade90; @override - Color get negative => primitives.red.shade80; + Color get statePrimaryFocus => primitives.blue.shade80; @override - Color get negativeSubtle => primitives.red.shade10; + Color get stateSecondaryEnabled => primitives.yellow.shade80; @override - Color get positive => primitives.green.shade80; + Color get stateSecondaryHover => primitives.yellow.shade70; @override - Color get positiveSubtle => primitives.green.shade10; + Color get stateSecondarySelected => primitives.yellow.shade90; @override - Color get primary => primitives.blue.shade80; + Color get stateSecondaryFocus => primitives.yellow.shade80; @override - Color get primarySubtle => primitives.blue.shade10; + Color get stateNegativeEnabled => primitives.red.shade80; @override - Color get secondary => primitives.yellow.shade80; + Color get stateNegativeHover => primitives.red.shade70; @override - Color get secondarySubtle => primitives.yellow.shade10; + Color get stateNegativeSelected => primitives.red.shade90; @override - Color get selected => primitives.blue.shade10; + Color get stateNegativeFocus => primitives.red.shade80; @override - Color get selectedHover => primitives.blue.shade20; + Color get stateInfoEnabled => primitives.purple.shade80; @override - Color get warm => primitives.warm.shade10; + Color get stateInfoHover => primitives.purple.shade70; @override - Color get warning => primitives.orange.shade80; + Color get stateInfoSelected => primitives.purple.shade90; @override - Color get warningSubtle => primitives.orange.shade10; -} - -/// Implementation of ZetaSemanticAvatarColors -final class ZetaSemanticAvatarColorsAAA implements ZetaSemanticAvatarColors { - /// Constructor for ZetaSemanticAvatarColorsAAA - const ZetaSemanticAvatarColorsAAA({required this.primitives}); - - /// The primitives for this sizes + Color get stateInfoFocus => primitives.purple.shade80; @override - final ZetaPrimitives primitives; + Color get stateInverseEnabled => primitives.pure.shade1000; @override - Color get blue => primitives.blue.shade80; + Color get stateInverseHover => primitives.cool.shade90; @override - Color get green => primitives.green.shade60; + Color get stateInverseSelected => primitives.pure.shade1000; @override - Color get orange => primitives.orange.shade50; + Color get stateInverseFocus => primitives.pure.shade1000; @override - Color get pink => primitives.pink.shade80; + Color get statePositiveEnabled => primitives.green.shade80; @override - Color get purple => primitives.purple.shade80; + Color get statePositiveHover => primitives.green.shade70; @override - Color get teal => primitives.teal.shade80; + Color get statePositiveSelected => primitives.green.shade90; @override - Color get yellow => primitives.yellow.shade50; + Color get statePositiveFocus => primitives.green.shade80; } /// The semantic sizes for AA