@webpros/mui-theme 0.3.10 → 0.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.json +1 -1
- package/dist/src/components/feedback/Alert/Alert.theme.d.ts +1 -1
- package/dist/src/components/inputs/Checkbox/Checkbox.theme.js +20 -0
- package/dist/src/shared/viewContext/viewContext.d.ts +1 -1
- package/dist/src/tokens/ThemeColorTokens.d.ts +5 -1
- package/dist/src/tokens/ThemeColorTokens.js +9 -1
- package/dist/src/tokens/colors/Dark.d.ts +8 -0
- package/dist/src/tokens/colors/Dark.js +64 -0
- package/dist/src/tokens/colors/Light.d.ts +8 -0
- package/dist/src/tokens/colors/Light.js +64 -0
- package/dist/src/tokens/colors/index.d.ts +4 -2
- package/dist/src/tokens/colors/index.js +2 -2
- package/dist/src/tokens/colors/onPrimarySchemes.d.ts +12 -0
- package/dist/src/tokens/colors/onPrimaryStateLayers.d.ts +33 -0
- package/dist/src/utils/getMUIPalette.d.ts +5 -2
- package/dist/src/utils/getMUIPalette.js +4 -1
- package/dist/src/utils/getMUIThemeCustoimzationType.d.ts +7 -1
- package/dist/src/utils/getStateLayerColor.d.ts +5 -4
- package/dist/src/utils/getStateLayerColor.js +1 -0
- package/package.json +1 -1
- package/dist/src/tokens/colors/inverseSchemas.d.ts +0 -40
- package/dist/src/tokens/colors/schemas.d.ts +0 -111
- /package/dist/src/tokens/colors/{inverseSchemas.js → onPrimarySchemes.js} +0 -0
- /package/dist/src/tokens/colors/{schemas.js → onPrimaryStateLayers.js} +0 -0
package/dist/package.json
CHANGED
|
@@ -63,6 +63,26 @@ export const getCheckbox = (theme) => {
|
|
|
63
63
|
},
|
|
64
64
|
},
|
|
65
65
|
},
|
|
66
|
+
{
|
|
67
|
+
props: { viewContext: 'onPrimary' },
|
|
68
|
+
style: {
|
|
69
|
+
'&.Mui-disabled': {
|
|
70
|
+
color: colors.onPrimaryStateLayers.surfaces.onSurfaceVariant.opacity28,
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
props: { color: 'default', viewContext: 'onPrimary' },
|
|
76
|
+
style: {
|
|
77
|
+
color: colors.onPrimarySchemes.base.primary,
|
|
78
|
+
'&.Mui-checked': {
|
|
79
|
+
color: colors.onPrimarySchemes.base.primary,
|
|
80
|
+
},
|
|
81
|
+
'&.MuiCheckbox-indeterminate': {
|
|
82
|
+
color: colors.onPrimarySchemes.base.primary,
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
},
|
|
66
86
|
],
|
|
67
87
|
},
|
|
68
88
|
};
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { Schemes, SchemesGenerated, StateLayers, StateLayersGenerated, InverseSchemes, InverseSchemesGenerated, InverseStateLayers, InverseStateLayersGenerated } from '../tokens/colors';
|
|
1
|
+
import { Schemes, SchemesGenerated, StateLayers, StateLayersGenerated, InverseSchemes, InverseSchemesGenerated, InverseStateLayers, InverseStateLayersGenerated, OnPrimarySchemes, OnPrimarySchemesGenerated, OnPrimaryStateLayers, OnPrimaryStateLayersGenerated } from '../tokens/colors';
|
|
2
2
|
export type ThemeColorTokens = {
|
|
3
3
|
schemes: Schemes;
|
|
4
4
|
stateLayers: StateLayers;
|
|
5
5
|
inverseSchemes: InverseSchemes;
|
|
6
6
|
inverseStateLayers: InverseStateLayers;
|
|
7
|
+
onPrimarySchemes: OnPrimarySchemes;
|
|
8
|
+
onPrimaryStateLayers: OnPrimaryStateLayers;
|
|
7
9
|
generatedSchemes: SchemesGenerated;
|
|
8
10
|
generatedStateLayers: StateLayersGenerated;
|
|
9
11
|
generatedInverseSchemes: InverseSchemesGenerated;
|
|
10
12
|
generatedInverseStateLayers: InverseStateLayersGenerated;
|
|
13
|
+
generatedOnPrimarySchemes: OnPrimarySchemesGenerated;
|
|
14
|
+
generatedOnPrimaryStateLayers: OnPrimaryStateLayersGenerated;
|
|
11
15
|
};
|
|
12
16
|
export declare const LightTokensDefault: ThemeColorTokens;
|
|
13
17
|
export declare const DarkTokensDefault: ThemeColorTokens;
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
// Copyright 2025 WebPros International GmbH. All rights reserved.
|
|
2
|
-
import { DarkSchemes, DarkSchemesGenerated, DarkStateLayers, DarkStateLayersGenerated, DarkInverseSchemes, DarkInverseSchemesGenerated, DarkInverseStateLayers, DarkInverseStateLayersGenerated, LightSchemes, LightSchemesGenerated, LightStateLayers, LightStateLayersGenerated, LightInverseSchemes, LightInverseSchemesGenerated, LightInverseStateLayers, LightInverseStateLayersGenerated, } from '../tokens/colors';
|
|
2
|
+
import { DarkSchemes, DarkSchemesGenerated, DarkStateLayers, DarkStateLayersGenerated, DarkInverseSchemes, DarkInverseSchemesGenerated, DarkInverseStateLayers, DarkInverseStateLayersGenerated, DarkOnPrimarySchemes, DarkOnPrimarySchemesGenerated, DarkOnPrimaryStateLayers, DarkOnPrimaryStateLayersGenerated, LightSchemes, LightSchemesGenerated, LightStateLayers, LightStateLayersGenerated, LightInverseSchemes, LightInverseSchemesGenerated, LightInverseStateLayers, LightInverseStateLayersGenerated, LightOnPrimarySchemes, LightOnPrimarySchemesGenerated, LightOnPrimaryStateLayers, LightOnPrimaryStateLayersGenerated, } from '../tokens/colors';
|
|
3
3
|
// reference
|
|
4
4
|
export const LightTokensDefault = {
|
|
5
5
|
schemes: LightSchemes,
|
|
6
6
|
stateLayers: LightStateLayers,
|
|
7
7
|
inverseSchemes: LightInverseSchemes,
|
|
8
8
|
inverseStateLayers: LightInverseStateLayers,
|
|
9
|
+
onPrimarySchemes: LightOnPrimarySchemes,
|
|
10
|
+
onPrimaryStateLayers: LightOnPrimaryStateLayers,
|
|
9
11
|
generatedSchemes: LightSchemesGenerated,
|
|
10
12
|
generatedStateLayers: LightStateLayersGenerated,
|
|
11
13
|
generatedInverseSchemes: LightInverseSchemesGenerated,
|
|
12
14
|
generatedInverseStateLayers: LightInverseStateLayersGenerated,
|
|
15
|
+
generatedOnPrimarySchemes: LightOnPrimarySchemesGenerated,
|
|
16
|
+
generatedOnPrimaryStateLayers: LightOnPrimaryStateLayersGenerated,
|
|
13
17
|
};
|
|
14
18
|
// reference
|
|
15
19
|
// https://www.figma.com/design/RPLeGa2LdhKElQQ0xIXtSh/WebPros-dashboard?node-id=53699-35493&t=pvKyGGnGRUL3kYn8-1
|
|
@@ -18,8 +22,12 @@ export const DarkTokensDefault = {
|
|
|
18
22
|
stateLayers: DarkStateLayers,
|
|
19
23
|
inverseSchemes: DarkInverseSchemes,
|
|
20
24
|
inverseStateLayers: DarkInverseStateLayers,
|
|
25
|
+
onPrimarySchemes: DarkOnPrimarySchemes,
|
|
26
|
+
onPrimaryStateLayers: DarkOnPrimaryStateLayers,
|
|
21
27
|
generatedSchemes: DarkSchemesGenerated,
|
|
22
28
|
generatedStateLayers: DarkStateLayersGenerated,
|
|
23
29
|
generatedInverseSchemes: DarkInverseSchemesGenerated,
|
|
24
30
|
generatedInverseStateLayers: DarkInverseStateLayersGenerated,
|
|
31
|
+
generatedOnPrimarySchemes: DarkOnPrimarySchemesGenerated,
|
|
32
|
+
generatedOnPrimaryStateLayers: DarkOnPrimaryStateLayersGenerated,
|
|
25
33
|
};
|
|
@@ -2,15 +2,23 @@ import { Schemes } from './schemes';
|
|
|
2
2
|
import { StateLayers } from './stateLayers';
|
|
3
3
|
import { InverseSchemes } from './inverseSchemes';
|
|
4
4
|
import { InverseStateLayers } from './inverseStateLayers';
|
|
5
|
+
import { OnPrimarySchemes } from './onPrimarySchemes';
|
|
6
|
+
import { OnPrimaryStateLayers } from './onPrimaryStateLayers';
|
|
5
7
|
import { SchemesGenerated } from './schemes';
|
|
6
8
|
import { StateLayersGenerated } from './stateLayers';
|
|
7
9
|
import { InverseSchemesGenerated } from './inverseSchemes';
|
|
8
10
|
import { InverseStateLayersGenerated } from './inverseStateLayers';
|
|
11
|
+
import { OnPrimarySchemesGenerated } from './onPrimarySchemes';
|
|
12
|
+
import { OnPrimaryStateLayersGenerated } from './onPrimaryStateLayers';
|
|
9
13
|
export declare const DarkSchemes: Schemes;
|
|
10
14
|
export declare const DarkStateLayers: StateLayers;
|
|
11
15
|
export declare const DarkInverseSchemes: InverseSchemes;
|
|
12
16
|
export declare const DarkInverseStateLayers: InverseStateLayers;
|
|
17
|
+
export declare const DarkOnPrimarySchemes: OnPrimarySchemes;
|
|
18
|
+
export declare const DarkOnPrimaryStateLayers: OnPrimaryStateLayers;
|
|
13
19
|
export declare const DarkSchemesGenerated: SchemesGenerated;
|
|
14
20
|
export declare const DarkStateLayersGenerated: StateLayersGenerated;
|
|
15
21
|
export declare const DarkInverseSchemesGenerated: InverseSchemesGenerated;
|
|
16
22
|
export declare const DarkInverseStateLayersGenerated: InverseStateLayersGenerated;
|
|
23
|
+
export declare const DarkOnPrimarySchemesGenerated: OnPrimarySchemesGenerated;
|
|
24
|
+
export declare const DarkOnPrimaryStateLayersGenerated: OnPrimaryStateLayersGenerated;
|
|
@@ -801,6 +801,45 @@ export const DarkInverseStateLayers = {
|
|
|
801
801
|
},
|
|
802
802
|
},
|
|
803
803
|
};
|
|
804
|
+
export const DarkOnPrimarySchemes = {
|
|
805
|
+
base: {
|
|
806
|
+
primary: 'rgba(255, 255, 255, 1)',
|
|
807
|
+
},
|
|
808
|
+
surfaces: {
|
|
809
|
+
surface: 'rgba(176, 155, 239, 1)',
|
|
810
|
+
onSurfaceVariant: 'rgba(255, 255, 255, 1)',
|
|
811
|
+
},
|
|
812
|
+
};
|
|
813
|
+
export const DarkOnPrimaryStateLayers = {
|
|
814
|
+
base: {
|
|
815
|
+
primary: {
|
|
816
|
+
opacity08: 'rgba(255, 255, 255, 0.08)',
|
|
817
|
+
opacity12: 'rgba(255, 255, 255, 0.12)',
|
|
818
|
+
opacity16: 'rgba(255, 255, 255, 0.2)',
|
|
819
|
+
opacity64: 'rgba(255, 255, 255, 0.64)',
|
|
820
|
+
},
|
|
821
|
+
},
|
|
822
|
+
surfaces: {
|
|
823
|
+
onSurface: {
|
|
824
|
+
opacity08: 'rgba(245, 239, 247, 0.08)',
|
|
825
|
+
opacity12: 'rgba(245, 239, 247, 0.12)',
|
|
826
|
+
opacity16: 'rgba(245, 239, 247, 0.16)',
|
|
827
|
+
opacity28: 'rgba(245, 239, 247, 0.28)',
|
|
828
|
+
opacity38: 'rgba(245, 239, 247, 0.38)',
|
|
829
|
+
opacity48: 'rgba(245, 239, 247, 0.48)',
|
|
830
|
+
opacity64: 'rgba(245, 239, 247, 0.64)',
|
|
831
|
+
opacity10: 'rgba(245, 239, 247, 0.1)',
|
|
832
|
+
},
|
|
833
|
+
onSurfaceVariant: {
|
|
834
|
+
opacity08: 'rgba(255, 255, 255, 0.08)',
|
|
835
|
+
opacity12: 'rgba(255, 255, 255, 0.12)',
|
|
836
|
+
opacity16: 'rgba(255, 255, 255, 0.16)',
|
|
837
|
+
opacity28: 'rgba(255, 255, 255, 0.28)',
|
|
838
|
+
opacity48: 'rgba(255, 255, 255, 0.48)',
|
|
839
|
+
opacity64: 'rgba(255, 255, 255, 0.64)',
|
|
840
|
+
},
|
|
841
|
+
},
|
|
842
|
+
};
|
|
804
843
|
export const DarkSchemesGenerated = {
|
|
805
844
|
'schemes.base.primary': { r: 176, g: 155, b: 239, a: 1 },
|
|
806
845
|
'schemes.base.onPrimary': { r: 25, g: 19, b: 45, a: 1 },
|
|
@@ -1430,3 +1469,28 @@ export const DarkInverseStateLayersGenerated = {
|
|
|
1430
1469
|
'inverseStateLayers.status.warning.opacity28': { r: 242, g: 154, b: 66, a: 0.28 },
|
|
1431
1470
|
'inverseStateLayers.status.warning.opacity38': { r: 242, g: 154, b: 66, a: 0.38 },
|
|
1432
1471
|
};
|
|
1472
|
+
export const DarkOnPrimarySchemesGenerated = {
|
|
1473
|
+
'onPrimarySchemes.base.primary': { r: 255, g: 255, b: 255, a: 1 },
|
|
1474
|
+
'onPrimarySchemes.surfaces.surface': { r: 176, g: 155, b: 239, a: 1 },
|
|
1475
|
+
'onPrimarySchemes.surfaces.onSurfaceVariant': { r: 255, g: 255, b: 255, a: 1 },
|
|
1476
|
+
};
|
|
1477
|
+
export const DarkOnPrimaryStateLayersGenerated = {
|
|
1478
|
+
'onPrimaryStateLayers.base.primary.opacity08': { r: 255, g: 255, b: 255, a: 0.08 },
|
|
1479
|
+
'onPrimaryStateLayers.base.primary.opacity12': { r: 255, g: 255, b: 255, a: 0.12 },
|
|
1480
|
+
'onPrimaryStateLayers.base.primary.opacity16': { r: 255, g: 255, b: 255, a: 0.2 },
|
|
1481
|
+
'onPrimaryStateLayers.base.primary.opacity64': { r: 255, g: 255, b: 255, a: 0.64 },
|
|
1482
|
+
'onPrimaryStateLayers.surfaces.onSurface.opacity08': { r: 245, g: 239, b: 247, a: 0.08 },
|
|
1483
|
+
'onPrimaryStateLayers.surfaces.onSurface.opacity12': { r: 245, g: 239, b: 247, a: 0.12 },
|
|
1484
|
+
'onPrimaryStateLayers.surfaces.onSurface.opacity16': { r: 245, g: 239, b: 247, a: 0.16 },
|
|
1485
|
+
'onPrimaryStateLayers.surfaces.onSurface.opacity28': { r: 245, g: 239, b: 247, a: 0.28 },
|
|
1486
|
+
'onPrimaryStateLayers.surfaces.onSurface.opacity38': { r: 245, g: 239, b: 247, a: 0.38 },
|
|
1487
|
+
'onPrimaryStateLayers.surfaces.onSurface.opacity48': { r: 245, g: 239, b: 247, a: 0.48 },
|
|
1488
|
+
'onPrimaryStateLayers.surfaces.onSurface.opacity64': { r: 245, g: 239, b: 247, a: 0.64 },
|
|
1489
|
+
'onPrimaryStateLayers.surfaces.onSurface.opacity10': { r: 245, g: 239, b: 247, a: 0.1 },
|
|
1490
|
+
'onPrimaryStateLayers.surfaces.onSurfaceVariant.opacity08': { r: 255, g: 255, b: 255, a: 0.08 },
|
|
1491
|
+
'onPrimaryStateLayers.surfaces.onSurfaceVariant.opacity12': { r: 255, g: 255, b: 255, a: 0.12 },
|
|
1492
|
+
'onPrimaryStateLayers.surfaces.onSurfaceVariant.opacity16': { r: 255, g: 255, b: 255, a: 0.16 },
|
|
1493
|
+
'onPrimaryStateLayers.surfaces.onSurfaceVariant.opacity28': { r: 255, g: 255, b: 255, a: 0.28 },
|
|
1494
|
+
'onPrimaryStateLayers.surfaces.onSurfaceVariant.opacity48': { r: 255, g: 255, b: 255, a: 0.48 },
|
|
1495
|
+
'onPrimaryStateLayers.surfaces.onSurfaceVariant.opacity64': { r: 255, g: 255, b: 255, a: 0.64 },
|
|
1496
|
+
};
|
|
@@ -2,15 +2,23 @@ import { Schemes } from './schemes';
|
|
|
2
2
|
import { StateLayers } from './stateLayers';
|
|
3
3
|
import { InverseSchemes } from './inverseSchemes';
|
|
4
4
|
import { InverseStateLayers } from './inverseStateLayers';
|
|
5
|
+
import { OnPrimarySchemes } from './onPrimarySchemes';
|
|
6
|
+
import { OnPrimaryStateLayers } from './onPrimaryStateLayers';
|
|
5
7
|
import { SchemesGenerated } from './schemes';
|
|
6
8
|
import { StateLayersGenerated } from './stateLayers';
|
|
7
9
|
import { InverseSchemesGenerated } from './inverseSchemes';
|
|
8
10
|
import { InverseStateLayersGenerated } from './inverseStateLayers';
|
|
11
|
+
import { OnPrimarySchemesGenerated } from './onPrimarySchemes';
|
|
12
|
+
import { OnPrimaryStateLayersGenerated } from './onPrimaryStateLayers';
|
|
9
13
|
export declare const LightSchemes: Schemes;
|
|
10
14
|
export declare const LightStateLayers: StateLayers;
|
|
11
15
|
export declare const LightInverseSchemes: InverseSchemes;
|
|
12
16
|
export declare const LightInverseStateLayers: InverseStateLayers;
|
|
17
|
+
export declare const LightOnPrimarySchemes: OnPrimarySchemes;
|
|
18
|
+
export declare const LightOnPrimaryStateLayers: OnPrimaryStateLayers;
|
|
13
19
|
export declare const LightSchemesGenerated: SchemesGenerated;
|
|
14
20
|
export declare const LightStateLayersGenerated: StateLayersGenerated;
|
|
15
21
|
export declare const LightInverseSchemesGenerated: InverseSchemesGenerated;
|
|
16
22
|
export declare const LightInverseStateLayersGenerated: InverseStateLayersGenerated;
|
|
23
|
+
export declare const LightOnPrimarySchemesGenerated: OnPrimarySchemesGenerated;
|
|
24
|
+
export declare const LightOnPrimaryStateLayersGenerated: OnPrimaryStateLayersGenerated;
|
|
@@ -801,6 +801,45 @@ export const LightInverseStateLayers = {
|
|
|
801
801
|
},
|
|
802
802
|
},
|
|
803
803
|
};
|
|
804
|
+
export const LightOnPrimarySchemes = {
|
|
805
|
+
base: {
|
|
806
|
+
primary: 'rgba(255, 255, 255, 1)',
|
|
807
|
+
},
|
|
808
|
+
surfaces: {
|
|
809
|
+
surface: 'rgba(95, 77, 152, 1)',
|
|
810
|
+
onSurfaceVariant: 'rgba(255, 255, 255, 1)',
|
|
811
|
+
},
|
|
812
|
+
};
|
|
813
|
+
export const LightOnPrimaryStateLayers = {
|
|
814
|
+
base: {
|
|
815
|
+
primary: {
|
|
816
|
+
opacity08: 'rgba(255, 255, 255, 0.08)',
|
|
817
|
+
opacity12: 'rgba(255, 255, 255, 0.12)',
|
|
818
|
+
opacity16: 'rgba(255, 255, 255, 0.2)',
|
|
819
|
+
opacity64: 'rgba(255, 255, 255, 0.64)',
|
|
820
|
+
},
|
|
821
|
+
},
|
|
822
|
+
surfaces: {
|
|
823
|
+
onSurface: {
|
|
824
|
+
opacity08: 'rgba(255, 255, 255, 0.08)',
|
|
825
|
+
opacity12: 'rgba(255, 255, 255, 0.12)',
|
|
826
|
+
opacity16: 'rgba(255, 255, 255, 0.16)',
|
|
827
|
+
opacity28: 'rgba(255, 255, 255, 0.28)',
|
|
828
|
+
opacity38: 'rgba(255, 255, 255, 0.38)',
|
|
829
|
+
opacity48: 'rgba(255, 255, 255, 0.48)',
|
|
830
|
+
opacity64: 'rgba(255, 255, 255, 0.64)',
|
|
831
|
+
opacity10: 'rgba(255, 255, 255, 0.1)',
|
|
832
|
+
},
|
|
833
|
+
onSurfaceVariant: {
|
|
834
|
+
opacity08: 'rgba(255, 255, 255, 0.08)',
|
|
835
|
+
opacity12: 'rgba(255, 255, 255, 0.12)',
|
|
836
|
+
opacity16: 'rgba(255, 255, 255, 0.16)',
|
|
837
|
+
opacity28: 'rgba(255, 255, 255, 0.28)',
|
|
838
|
+
opacity48: 'rgba(255, 255, 255, 0.48)',
|
|
839
|
+
opacity64: 'rgba(255, 255, 255, 0.64)',
|
|
840
|
+
},
|
|
841
|
+
},
|
|
842
|
+
};
|
|
804
843
|
export const LightSchemesGenerated = {
|
|
805
844
|
'schemes.base.primary': { r: 95, g: 77, b: 152, a: 1 },
|
|
806
845
|
'schemes.base.onPrimary': { r: 255, g: 255, b: 255, a: 1 },
|
|
@@ -1400,3 +1439,28 @@ export const LightInverseStateLayersGenerated = {
|
|
|
1400
1439
|
'inverseStateLayers.status.warning.opacity28': { r: 222, g: 144, b: 66, a: 0.28 },
|
|
1401
1440
|
'inverseStateLayers.status.warning.opacity38': { r: 222, g: 144, b: 66, a: 0.38 },
|
|
1402
1441
|
};
|
|
1442
|
+
export const LightOnPrimarySchemesGenerated = {
|
|
1443
|
+
'onPrimarySchemes.base.primary': { r: 255, g: 255, b: 255, a: 1 },
|
|
1444
|
+
'onPrimarySchemes.surfaces.surface': { r: 95, g: 77, b: 152, a: 1 },
|
|
1445
|
+
'onPrimarySchemes.surfaces.onSurfaceVariant': { r: 255, g: 255, b: 255, a: 1 },
|
|
1446
|
+
};
|
|
1447
|
+
export const LightOnPrimaryStateLayersGenerated = {
|
|
1448
|
+
'onPrimaryStateLayers.base.primary.opacity08': { r: 255, g: 255, b: 255, a: 0.08 },
|
|
1449
|
+
'onPrimaryStateLayers.base.primary.opacity12': { r: 255, g: 255, b: 255, a: 0.12 },
|
|
1450
|
+
'onPrimaryStateLayers.base.primary.opacity16': { r: 255, g: 255, b: 255, a: 0.2 },
|
|
1451
|
+
'onPrimaryStateLayers.base.primary.opacity64': { r: 255, g: 255, b: 255, a: 0.64 },
|
|
1452
|
+
'onPrimaryStateLayers.surfaces.onSurface.opacity08': { r: 255, g: 255, b: 255, a: 0.08 },
|
|
1453
|
+
'onPrimaryStateLayers.surfaces.onSurface.opacity12': { r: 255, g: 255, b: 255, a: 0.12 },
|
|
1454
|
+
'onPrimaryStateLayers.surfaces.onSurface.opacity16': { r: 255, g: 255, b: 255, a: 0.16 },
|
|
1455
|
+
'onPrimaryStateLayers.surfaces.onSurface.opacity28': { r: 255, g: 255, b: 255, a: 0.28 },
|
|
1456
|
+
'onPrimaryStateLayers.surfaces.onSurface.opacity38': { r: 255, g: 255, b: 255, a: 0.38 },
|
|
1457
|
+
'onPrimaryStateLayers.surfaces.onSurface.opacity48': { r: 255, g: 255, b: 255, a: 0.48 },
|
|
1458
|
+
'onPrimaryStateLayers.surfaces.onSurface.opacity64': { r: 255, g: 255, b: 255, a: 0.64 },
|
|
1459
|
+
'onPrimaryStateLayers.surfaces.onSurface.opacity10': { r: 255, g: 255, b: 255, a: 0.1 },
|
|
1460
|
+
'onPrimaryStateLayers.surfaces.onSurfaceVariant.opacity08': { r: 255, g: 255, b: 255, a: 0.08 },
|
|
1461
|
+
'onPrimaryStateLayers.surfaces.onSurfaceVariant.opacity12': { r: 255, g: 255, b: 255, a: 0.12 },
|
|
1462
|
+
'onPrimaryStateLayers.surfaces.onSurfaceVariant.opacity16': { r: 255, g: 255, b: 255, a: 0.16 },
|
|
1463
|
+
'onPrimaryStateLayers.surfaces.onSurfaceVariant.opacity28': { r: 255, g: 255, b: 255, a: 0.28 },
|
|
1464
|
+
'onPrimaryStateLayers.surfaces.onSurfaceVariant.opacity48': { r: 255, g: 255, b: 255, a: 0.48 },
|
|
1465
|
+
'onPrimaryStateLayers.surfaces.onSurfaceVariant.opacity64': { r: 255, g: 255, b: 255, a: 0.64 },
|
|
1466
|
+
};
|
|
@@ -3,5 +3,7 @@ export type { Schemes, SchemesKey, SchemesGenerated } from './schemes';
|
|
|
3
3
|
export type { StateLayers, StateLayersKey, StateLayersGenerated } from './stateLayers';
|
|
4
4
|
export type { InverseSchemes, InverseSchemesKey, InverseSchemesGenerated } from './inverseSchemes';
|
|
5
5
|
export type { InverseStateLayers, InverseStateLayersKey, InverseStateLayersGenerated, } from './inverseStateLayers';
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
6
|
+
export type { OnPrimarySchemes, OnPrimarySchemesKey, OnPrimarySchemesGenerated, } from './onPrimarySchemes';
|
|
7
|
+
export type { OnPrimaryStateLayers, OnPrimaryStateLayersKey, OnPrimaryStateLayersGenerated, } from './onPrimaryStateLayers';
|
|
8
|
+
export { LightSchemes, LightStateLayers, LightInverseSchemes, LightInverseStateLayers, LightOnPrimarySchemes, LightOnPrimaryStateLayers, LightSchemesGenerated, LightStateLayersGenerated, LightInverseSchemesGenerated, LightInverseStateLayersGenerated, LightOnPrimarySchemesGenerated, LightOnPrimaryStateLayersGenerated, } from './Light';
|
|
9
|
+
export { DarkSchemes, DarkStateLayers, DarkInverseSchemes, DarkInverseStateLayers, DarkOnPrimarySchemes, DarkOnPrimaryStateLayers, DarkSchemesGenerated, DarkStateLayersGenerated, DarkInverseSchemesGenerated, DarkInverseStateLayersGenerated, DarkOnPrimarySchemesGenerated, DarkOnPrimaryStateLayersGenerated, } from './Dark';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// Copyright 2025 WebPros International GmbH. All rights reserved.
|
|
2
2
|
// Auto-generated file - do not edit manually
|
|
3
|
-
export { LightSchemes, LightStateLayers, LightInverseSchemes, LightInverseStateLayers, LightSchemesGenerated, LightStateLayersGenerated, LightInverseSchemesGenerated, LightInverseStateLayersGenerated, } from './Light';
|
|
4
|
-
export { DarkSchemes, DarkStateLayers, DarkInverseSchemes, DarkInverseStateLayers, DarkSchemesGenerated, DarkStateLayersGenerated, DarkInverseSchemesGenerated, DarkInverseStateLayersGenerated, } from './Dark';
|
|
3
|
+
export { LightSchemes, LightStateLayers, LightInverseSchemes, LightInverseStateLayers, LightOnPrimarySchemes, LightOnPrimaryStateLayers, LightSchemesGenerated, LightStateLayersGenerated, LightInverseSchemesGenerated, LightInverseStateLayersGenerated, LightOnPrimarySchemesGenerated, LightOnPrimaryStateLayersGenerated, } from './Light';
|
|
4
|
+
export { DarkSchemes, DarkStateLayers, DarkInverseSchemes, DarkInverseStateLayers, DarkOnPrimarySchemes, DarkOnPrimaryStateLayers, DarkSchemesGenerated, DarkStateLayersGenerated, DarkInverseSchemesGenerated, DarkInverseStateLayersGenerated, DarkOnPrimarySchemesGenerated, DarkOnPrimaryStateLayersGenerated, } from './Dark';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RecursiveKeyOf, GeneratedRgba } from './types';
|
|
2
|
+
export type OnPrimarySchemes = {
|
|
3
|
+
base: {
|
|
4
|
+
primary: string;
|
|
5
|
+
};
|
|
6
|
+
surfaces: {
|
|
7
|
+
surface: string;
|
|
8
|
+
onSurfaceVariant: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export type OnPrimarySchemesKey = `onPrimarySchemes.${RecursiveKeyOf<OnPrimarySchemes>}`;
|
|
12
|
+
export type OnPrimarySchemesGenerated = Record<OnPrimarySchemesKey, GeneratedRgba>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { RecursiveKeyOf, GeneratedRgba } from './types';
|
|
2
|
+
export type OnPrimaryStateLayers = {
|
|
3
|
+
base: {
|
|
4
|
+
primary: {
|
|
5
|
+
opacity08: string;
|
|
6
|
+
opacity12: string;
|
|
7
|
+
opacity16: string;
|
|
8
|
+
opacity64: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
surfaces: {
|
|
12
|
+
onSurface: {
|
|
13
|
+
opacity08: string;
|
|
14
|
+
opacity12: string;
|
|
15
|
+
opacity16: string;
|
|
16
|
+
opacity28: string;
|
|
17
|
+
opacity38: string;
|
|
18
|
+
opacity48: string;
|
|
19
|
+
opacity64: string;
|
|
20
|
+
opacity10: string;
|
|
21
|
+
};
|
|
22
|
+
onSurfaceVariant: {
|
|
23
|
+
opacity08: string;
|
|
24
|
+
opacity12: string;
|
|
25
|
+
opacity16: string;
|
|
26
|
+
opacity28: string;
|
|
27
|
+
opacity48: string;
|
|
28
|
+
opacity64: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export type OnPrimaryStateLayersKey = `onPrimaryStateLayers.${RecursiveKeyOf<OnPrimaryStateLayers>}`;
|
|
33
|
+
export type OnPrimaryStateLayersGenerated = Record<OnPrimaryStateLayersKey, GeneratedRgba>;
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { ThemeOptions, PaletteColor } from '@mui/material';
|
|
2
|
-
import { getBlendSchemaWithStateLayer, getInverseBlendSchemaWithStateLayer } from '../index';
|
|
2
|
+
import { getBlendSchemaWithStateLayer, getInverseBlendSchemaWithStateLayer, getOnPrimaryBlendSchemaWithStateLayer } from '../index';
|
|
3
3
|
import { ThemeMode } from '../tokens/ThemeMode';
|
|
4
4
|
import { ThemeScheme } from '../tokens/ThemeScheme';
|
|
5
|
-
import { Schemes, StateLayers, InverseSchemes, InverseStateLayers } from '../tokens/colors';
|
|
5
|
+
import { Schemes, StateLayers, InverseSchemes, InverseStateLayers, OnPrimarySchemes, OnPrimaryStateLayers } from '../tokens/colors';
|
|
6
6
|
export type ThemeColors = {
|
|
7
7
|
schemes: Schemes;
|
|
8
8
|
stateLayers: StateLayers;
|
|
9
9
|
inverseSchemes: InverseSchemes;
|
|
10
10
|
inverseStateLayers: InverseStateLayers;
|
|
11
|
+
onPrimarySchemes: OnPrimarySchemes;
|
|
12
|
+
onPrimaryStateLayers: OnPrimaryStateLayers;
|
|
11
13
|
blendSchemaWithStateLayer: ReturnType<typeof getBlendSchemaWithStateLayer>;
|
|
12
14
|
blendInverseSchemaWithStateLayer: ReturnType<typeof getInverseBlendSchemaWithStateLayer>;
|
|
15
|
+
blendOnPrimarySchemaWithStateLayer: ReturnType<typeof getOnPrimaryBlendSchemaWithStateLayer>;
|
|
13
16
|
};
|
|
14
17
|
declare module '@mui/material/styles' {
|
|
15
18
|
interface M3PaletteOptions {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getBlendSchemaWithStateLayer, getInverseBlendSchemaWithStateLayer, } from '../index';
|
|
1
|
+
import { getBlendSchemaWithStateLayer, getInverseBlendSchemaWithStateLayer, getOnPrimaryBlendSchemaWithStateLayer, } from '../index';
|
|
2
2
|
export const getMUIPalette = (themeMode, themeScheme) => {
|
|
3
3
|
const scheme = themeScheme[themeMode];
|
|
4
4
|
return {
|
|
@@ -57,8 +57,11 @@ export const getMUIPalette = (themeMode, themeScheme) => {
|
|
|
57
57
|
stateLayers: scheme.stateLayers,
|
|
58
58
|
inverseSchemes: scheme.inverseSchemes,
|
|
59
59
|
inverseStateLayers: scheme.inverseStateLayers,
|
|
60
|
+
onPrimarySchemes: scheme.onPrimarySchemes,
|
|
61
|
+
onPrimaryStateLayers: scheme.onPrimaryStateLayers,
|
|
60
62
|
blendSchemaWithStateLayer: getBlendSchemaWithStateLayer(scheme.generatedSchemes, scheme.generatedStateLayers),
|
|
61
63
|
blendInverseSchemaWithStateLayer: getInverseBlendSchemaWithStateLayer(scheme.generatedInverseSchemes, scheme.generatedInverseStateLayers),
|
|
64
|
+
blendOnPrimarySchemaWithStateLayer: getOnPrimaryBlendSchemaWithStateLayer(scheme.generatedOnPrimarySchemes, scheme.generatedOnPrimaryStateLayers),
|
|
62
65
|
},
|
|
63
66
|
};
|
|
64
67
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Schemes, StateLayers, InverseSchemes, InverseStateLayers } from '../tokens/colors';
|
|
1
|
+
import { Schemes, StateLayers, InverseSchemes, InverseStateLayers, OnPrimarySchemes, OnPrimaryStateLayers } from '../tokens/colors';
|
|
2
2
|
import { TypescaleTypographyVariants } from '../index';
|
|
3
3
|
import { BlendSchemaWithStateLayerFunction } from '../utils/getStateLayerColor';
|
|
4
4
|
declare module '@mui/material/styles' {
|
|
@@ -14,8 +14,11 @@ declare module '@mui/material/styles' {
|
|
|
14
14
|
stateLayers: StateLayers;
|
|
15
15
|
inverseSchemes: InverseSchemes;
|
|
16
16
|
inverseStateLayers: InverseStateLayers;
|
|
17
|
+
onPrimarySchemes: OnPrimarySchemes;
|
|
18
|
+
onPrimaryStateLayers: OnPrimaryStateLayers;
|
|
17
19
|
blendSchemaWithStateLayer: BlendSchemaWithStateLayerFunction;
|
|
18
20
|
blendInverseSchemaWithStateLayer: BlendSchemaWithStateLayerFunction;
|
|
21
|
+
blendOnPrimarySchemaWithStateLayer: BlendSchemaWithStateLayerFunction;
|
|
19
22
|
};
|
|
20
23
|
}
|
|
21
24
|
interface ThemeOptions {
|
|
@@ -24,8 +27,11 @@ declare module '@mui/material/styles' {
|
|
|
24
27
|
stateLayers: StateLayers;
|
|
25
28
|
inverseSchemes: InverseSchemes;
|
|
26
29
|
inverseStateLayers: InverseStateLayers;
|
|
30
|
+
onPrimarySchemes: OnPrimarySchemes;
|
|
31
|
+
onPrimaryStateLayers: OnPrimaryStateLayers;
|
|
27
32
|
blendSchemaWithStateLayer: BlendSchemaWithStateLayerFunction;
|
|
28
33
|
blendInverseSchemaWithStateLayer: BlendSchemaWithStateLayerFunction;
|
|
34
|
+
blendOnPrimarySchemaWithStateLayer: BlendSchemaWithStateLayerFunction;
|
|
29
35
|
};
|
|
30
36
|
}
|
|
31
37
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { SchemesKey, InverseSchemesKey, StateLayersKey, InverseStateLayersKey, SchemesGenerated, InverseSchemesGenerated, StateLayersGenerated, InverseStateLayersGenerated } from '../tokens/colors';
|
|
2
|
-
export type BlendSchemaWithStateLayerFunction = (schemaKey: SchemesKey | InverseSchemesKey, stateLayerKey: StateLayersKey | InverseStateLayersKey) => string;
|
|
3
|
-
export declare const getBlendSchemaWithStateLayer: (schemesGenerated: SchemesGenerated | InverseSchemesGenerated, stateLayersGenerated: StateLayersGenerated | InverseStateLayersGenerated) => BlendSchemaWithStateLayerFunction;
|
|
1
|
+
import { SchemesKey, InverseSchemesKey, OnPrimarySchemesKey, StateLayersKey, InverseStateLayersKey, OnPrimaryStateLayersKey, SchemesGenerated, InverseSchemesGenerated, OnPrimarySchemesGenerated, StateLayersGenerated, InverseStateLayersGenerated, OnPrimaryStateLayersGenerated } from '../tokens/colors';
|
|
2
|
+
export type BlendSchemaWithStateLayerFunction = (schemaKey: SchemesKey | InverseSchemesKey | OnPrimarySchemesKey, stateLayerKey: StateLayersKey | InverseStateLayersKey | OnPrimaryStateLayersKey) => string;
|
|
3
|
+
export declare const getBlendSchemaWithStateLayer: (schemesGenerated: SchemesGenerated | InverseSchemesGenerated | OnPrimarySchemesGenerated, stateLayersGenerated: StateLayersGenerated | InverseStateLayersGenerated | OnPrimaryStateLayersGenerated) => BlendSchemaWithStateLayerFunction;
|
|
4
4
|
export declare const getInverseBlendSchemaWithStateLayer: (schemesGenerated: InverseSchemesGenerated, stateLayersGenerated: InverseStateLayersGenerated) => BlendSchemaWithStateLayerFunction;
|
|
5
|
+
export declare const getOnPrimaryBlendSchemaWithStateLayer: (schemesGenerated: OnPrimarySchemesGenerated, stateLayersGenerated: OnPrimaryStateLayersGenerated) => BlendSchemaWithStateLayerFunction;
|
|
5
6
|
/**
|
|
6
7
|
* Blends a schema color by color-mix
|
|
7
8
|
* Color mix is 2023 Baseline https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color-mix
|
|
8
9
|
*/
|
|
9
|
-
export declare const blendSchemaWithStateLayer: (schemesGenerated: SchemesGenerated | InverseSchemesGenerated, stateLayersGenerated: StateLayersGenerated | InverseStateLayersGenerated) => (schemaKey: SchemesKey | InverseSchemesKey, stateLayerKey: StateLayersKey | InverseStateLayersKey) => string;
|
|
10
|
+
export declare const blendSchemaWithStateLayer: (schemesGenerated: SchemesGenerated | InverseSchemesGenerated | OnPrimarySchemesGenerated, stateLayersGenerated: StateLayersGenerated | InverseStateLayersGenerated | OnPrimaryStateLayersGenerated) => (schemaKey: SchemesKey | InverseSchemesKey | OnPrimarySchemesKey, stateLayerKey: StateLayersKey | InverseStateLayersKey | OnPrimaryStateLayersKey) => string;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// Function to get the blend function
|
|
3
3
|
export const getBlendSchemaWithStateLayer = (schemesGenerated, stateLayersGenerated) => blendSchemaWithStateLayer(schemesGenerated, stateLayersGenerated);
|
|
4
4
|
export const getInverseBlendSchemaWithStateLayer = (schemesGenerated, stateLayersGenerated) => blendSchemaWithStateLayer(schemesGenerated, stateLayersGenerated);
|
|
5
|
+
export const getOnPrimaryBlendSchemaWithStateLayer = (schemesGenerated, stateLayersGenerated) => blendSchemaWithStateLayer(schemesGenerated, stateLayersGenerated);
|
|
5
6
|
/**
|
|
6
7
|
* Blends a schema color by color-mix
|
|
7
8
|
* Color mix is 2023 Baseline https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color-mix
|
package/package.json
CHANGED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { RecursiveKeyOf, GeneratedRgba } from './types';
|
|
2
|
-
export type InverseSchemes = {
|
|
3
|
-
surface: {
|
|
4
|
-
surface: string;
|
|
5
|
-
onSurface: string;
|
|
6
|
-
onSurfaceVariant: string;
|
|
7
|
-
outlineVariant: string;
|
|
8
|
-
surfaceContainer: string;
|
|
9
|
-
onSurfaceContainer: string;
|
|
10
|
-
outline: string;
|
|
11
|
-
surfaceContainerLowest: string;
|
|
12
|
-
surfaceContainerLow: string;
|
|
13
|
-
surfaceContainerHigh: string;
|
|
14
|
-
surfaceContainerHighest: string;
|
|
15
|
-
elevatedContainerLowest: string;
|
|
16
|
-
elevatedContainerLow: string;
|
|
17
|
-
elevatedContainer: string;
|
|
18
|
-
elevatedContainerHigh: string;
|
|
19
|
-
};
|
|
20
|
-
base: {
|
|
21
|
-
primary: string;
|
|
22
|
-
onPrimary: string;
|
|
23
|
-
secondary: string;
|
|
24
|
-
onSecondary: string;
|
|
25
|
-
};
|
|
26
|
-
status: {
|
|
27
|
-
error: string;
|
|
28
|
-
warning: string;
|
|
29
|
-
success: string;
|
|
30
|
-
info: string;
|
|
31
|
-
onError: string;
|
|
32
|
-
onWarning: string;
|
|
33
|
-
onInfo: string;
|
|
34
|
-
onSuccess: string;
|
|
35
|
-
undefined: string;
|
|
36
|
-
onUndefined: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
export type InverseSchemesKey = `inverseSchemes.${RecursiveKeyOf<InverseSchemes>}`;
|
|
40
|
-
export type InverseSchemesGenerated = Record<InverseSchemesKey, GeneratedRgba>;
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { RecursiveKeyOf, GeneratedRgba } from './types';
|
|
2
|
-
export type Schemes = {
|
|
3
|
-
base: {
|
|
4
|
-
primary: string;
|
|
5
|
-
onPrimary: string;
|
|
6
|
-
primaryContainer: string;
|
|
7
|
-
onPrimaryContainer: string;
|
|
8
|
-
secondary: string;
|
|
9
|
-
onSecondary: string;
|
|
10
|
-
secondaryContainer: string;
|
|
11
|
-
onSecondaryContainer: string;
|
|
12
|
-
tertiary: string;
|
|
13
|
-
onTertiary: string;
|
|
14
|
-
tertiaryContainer: string;
|
|
15
|
-
onTertiaryContainer: string;
|
|
16
|
-
primaryVariant: string;
|
|
17
|
-
onPrimaryVariant: string;
|
|
18
|
-
onPrimaryBase: string;
|
|
19
|
-
onPrimaryBaseVariant: string;
|
|
20
|
-
};
|
|
21
|
-
surfaces: {
|
|
22
|
-
surfaceTint: string;
|
|
23
|
-
background: string;
|
|
24
|
-
onBackground: string;
|
|
25
|
-
surface: string;
|
|
26
|
-
onSurface: string;
|
|
27
|
-
surfaceVariant: string;
|
|
28
|
-
onSurfaceVariant: string;
|
|
29
|
-
outline: string;
|
|
30
|
-
outlineVariant: string;
|
|
31
|
-
shadow: string;
|
|
32
|
-
scrim: string;
|
|
33
|
-
surfaceDim: string;
|
|
34
|
-
surfaceBright: string;
|
|
35
|
-
surfaceContainerLowest: string;
|
|
36
|
-
surfaceContainerLow: string;
|
|
37
|
-
surfaceContainer: string;
|
|
38
|
-
surfaceContainerHigh: string;
|
|
39
|
-
surfaceContainerHighest: string;
|
|
40
|
-
elevatedContainerLowest: string;
|
|
41
|
-
elevatedContainerLow: string;
|
|
42
|
-
elevatedContainer: string;
|
|
43
|
-
elevatedContainerHigh: string;
|
|
44
|
-
};
|
|
45
|
-
status: {
|
|
46
|
-
error: string;
|
|
47
|
-
onError: string;
|
|
48
|
-
errorContainer: string;
|
|
49
|
-
onErrorContainer: string;
|
|
50
|
-
warning: string;
|
|
51
|
-
onWarning: string;
|
|
52
|
-
warningContainer: string;
|
|
53
|
-
onWarningContainer: string;
|
|
54
|
-
info: string;
|
|
55
|
-
onInfo: string;
|
|
56
|
-
infoContainer: string;
|
|
57
|
-
onInfoContainer: string;
|
|
58
|
-
onSuccess: string;
|
|
59
|
-
successContainer: string;
|
|
60
|
-
onSuccessContainer: string;
|
|
61
|
-
success: string;
|
|
62
|
-
undefined: string;
|
|
63
|
-
onUndefined: string;
|
|
64
|
-
undefinedContainer: string;
|
|
65
|
-
onUndefinedContainer: string;
|
|
66
|
-
};
|
|
67
|
-
fixed: {
|
|
68
|
-
primaryFixed: string;
|
|
69
|
-
onPrimaryFixed: string;
|
|
70
|
-
primaryFixedDim: string;
|
|
71
|
-
onPrimaryFixedVariant: string;
|
|
72
|
-
secondaryFixed: string;
|
|
73
|
-
onSecondaryFixed: string;
|
|
74
|
-
secondaryFixedDim: string;
|
|
75
|
-
onSecondaryFixedVariant: string;
|
|
76
|
-
tertiaryFixed: string;
|
|
77
|
-
onTertiaryFixed: string;
|
|
78
|
-
tertiaryFixedDim: string;
|
|
79
|
-
onTertiaryFixedVariant: string;
|
|
80
|
-
errorFixedDim: string;
|
|
81
|
-
warningFixedDim: string;
|
|
82
|
-
infoFixedDim: string;
|
|
83
|
-
successFixedDim: string;
|
|
84
|
-
};
|
|
85
|
-
charts: {
|
|
86
|
-
chart01: string;
|
|
87
|
-
chart02: string;
|
|
88
|
-
chart03: string;
|
|
89
|
-
chart04: string;
|
|
90
|
-
chart05: string;
|
|
91
|
-
chart06: string;
|
|
92
|
-
chart07: string;
|
|
93
|
-
chart08: string;
|
|
94
|
-
chart09: string;
|
|
95
|
-
chartError: string;
|
|
96
|
-
chartWarning: string;
|
|
97
|
-
chartSuccess: string;
|
|
98
|
-
chartUndefined: string;
|
|
99
|
-
chart10: string;
|
|
100
|
-
};
|
|
101
|
-
typography: {
|
|
102
|
-
primary: string;
|
|
103
|
-
error: string;
|
|
104
|
-
onSurface: string;
|
|
105
|
-
primaryVisited: string;
|
|
106
|
-
errorVisited: string;
|
|
107
|
-
onSurfaceVisited: string;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
export type SchemesKey = `schemes.${RecursiveKeyOf<Schemes>}`;
|
|
111
|
-
export type SchemesGenerated = Record<SchemesKey, GeneratedRgba>;
|
|
File without changes
|
|
File without changes
|