@atb-as/theme 15.5.0 → 16.0.0
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/lib/generated/themes/atb-theme/dark.css +96 -96
- package/lib/generated/themes/atb-theme/dark.d.ts +131 -149
- package/lib/generated/themes/atb-theme/dark.js +162 -180
- package/lib/generated/themes/atb-theme/dark.js.map +1 -1
- package/lib/generated/themes/atb-theme/light.css +96 -96
- package/lib/generated/themes/atb-theme/light.d.ts +131 -149
- package/lib/generated/themes/atb-theme/light.js +162 -180
- package/lib/generated/themes/atb-theme/light.js.map +1 -1
- package/lib/generated/themes/atb-theme/theme.d.ts +302 -338
- package/lib/generated/themes/farte-theme/dark.css +96 -96
- package/lib/generated/themes/farte-theme/dark.d.ts +131 -149
- package/lib/generated/themes/farte-theme/dark.js +162 -180
- package/lib/generated/themes/farte-theme/dark.js.map +1 -1
- package/lib/generated/themes/farte-theme/light.css +96 -96
- package/lib/generated/themes/farte-theme/light.d.ts +131 -149
- package/lib/generated/themes/farte-theme/light.js +162 -180
- package/lib/generated/themes/farte-theme/light.js.map +1 -1
- package/lib/generated/themes/farte-theme/theme.d.ts +302 -338
- package/lib/generated/themes/fram-theme/dark.css +96 -96
- package/lib/generated/themes/fram-theme/dark.d.ts +131 -149
- package/lib/generated/themes/fram-theme/dark.js +162 -180
- package/lib/generated/themes/fram-theme/dark.js.map +1 -1
- package/lib/generated/themes/fram-theme/light.css +96 -96
- package/lib/generated/themes/fram-theme/light.d.ts +131 -149
- package/lib/generated/themes/fram-theme/light.js +162 -180
- package/lib/generated/themes/fram-theme/light.js.map +1 -1
- package/lib/generated/themes/fram-theme/theme.d.ts +302 -338
- package/lib/generated/themes/innlandet-theme/dark.css +96 -96
- package/lib/generated/themes/innlandet-theme/dark.d.ts +131 -149
- package/lib/generated/themes/innlandet-theme/dark.js +162 -180
- package/lib/generated/themes/innlandet-theme/dark.js.map +1 -1
- package/lib/generated/themes/innlandet-theme/light.css +96 -96
- package/lib/generated/themes/innlandet-theme/light.d.ts +131 -149
- package/lib/generated/themes/innlandet-theme/light.js +162 -180
- package/lib/generated/themes/innlandet-theme/light.js.map +1 -1
- package/lib/generated/themes/innlandet-theme/theme.d.ts +302 -338
- package/lib/generated/themes/nfk-theme/dark.css +96 -96
- package/lib/generated/themes/nfk-theme/dark.d.ts +131 -149
- package/lib/generated/themes/nfk-theme/dark.js +162 -180
- package/lib/generated/themes/nfk-theme/dark.js.map +1 -1
- package/lib/generated/themes/nfk-theme/light.css +96 -96
- package/lib/generated/themes/nfk-theme/light.d.ts +131 -149
- package/lib/generated/themes/nfk-theme/light.js +162 -180
- package/lib/generated/themes/nfk-theme/light.js.map +1 -1
- package/lib/generated/themes/nfk-theme/theme.d.ts +302 -338
- package/lib/generated/themes/troms-theme/dark.css +96 -96
- package/lib/generated/themes/troms-theme/dark.d.ts +131 -149
- package/lib/generated/themes/troms-theme/dark.js +162 -180
- package/lib/generated/themes/troms-theme/dark.js.map +1 -1
- package/lib/generated/themes/troms-theme/light.css +96 -96
- package/lib/generated/themes/troms-theme/light.d.ts +131 -149
- package/lib/generated/themes/troms-theme/light.js +162 -180
- package/lib/generated/themes/troms-theme/light.js.map +1 -1
- package/lib/generated/themes/troms-theme/theme.d.ts +302 -338
- package/lib/generated/themes/vkt-theme/dark.css +96 -96
- package/lib/generated/themes/vkt-theme/dark.d.ts +131 -149
- package/lib/generated/themes/vkt-theme/dark.js +162 -180
- package/lib/generated/themes/vkt-theme/dark.js.map +1 -1
- package/lib/generated/themes/vkt-theme/light.css +96 -96
- package/lib/generated/themes/vkt-theme/light.d.ts +131 -149
- package/lib/generated/themes/vkt-theme/light.js +162 -180
- package/lib/generated/themes/vkt-theme/light.js.map +1 -1
- package/lib/generated/themes/vkt-theme/theme.d.ts +302 -338
- package/lib/theme.d.ts +27 -17
- package/lib/theme.js.map +1 -1
- package/package.json +1 -1
package/lib/theme.d.ts
CHANGED
|
@@ -10,13 +10,8 @@ export type RadiusSizes = keyof Theme['border']['radius'];
|
|
|
10
10
|
export type BackgroundColors = Theme['color']['background'];
|
|
11
11
|
export type BackgroundColorName = keyof Theme['color']['background'];
|
|
12
12
|
export type BackgroundColorState<T extends BackgroundColorName> = keyof Theme['color']['background'][T];
|
|
13
|
-
export type TransportColor<T = ContrastColor> = {
|
|
14
|
-
primary: T;
|
|
15
|
-
secondary: T;
|
|
16
|
-
};
|
|
17
13
|
export type TransportColorName = keyof Theme['color']['transport'];
|
|
18
14
|
export type TransportColors = Theme['color']['transport'];
|
|
19
|
-
export type TransportColorState = keyof Theme['color']['transport']['city'];
|
|
20
15
|
export type StatusColor<T = ContrastColor> = {
|
|
21
16
|
primary: T;
|
|
22
17
|
secondary: T;
|
|
@@ -34,6 +29,17 @@ export type InteractiveColor<T = ContrastColor> = {
|
|
|
34
29
|
export type InteractiveColorName = keyof Theme['color']['interactive'];
|
|
35
30
|
export type InteractiveColors = Theme['color']['interactive'];
|
|
36
31
|
export type InteractiveState = keyof InteractiveColor;
|
|
32
|
+
export type SurfaceColor<T = ContrastColor> = {
|
|
33
|
+
strong: T;
|
|
34
|
+
strongHighlight: T;
|
|
35
|
+
strongPressed: T;
|
|
36
|
+
subtle: T;
|
|
37
|
+
subtleHighlight: T;
|
|
38
|
+
subtlePressed: T;
|
|
39
|
+
};
|
|
40
|
+
export type SurfaceColorName = keyof Theme['color']['surface'];
|
|
41
|
+
export type SurfaceColors = Theme['color']['surface'];
|
|
42
|
+
export type SurfaceState = keyof SurfaceColor;
|
|
37
43
|
export type GeofencingZoneCode = 'allowed' | 'slow' | 'parking' | 'noParking' | 'noEntry';
|
|
38
44
|
export type GeofencingZoneStyle<T = ContrastColor> = {
|
|
39
45
|
color: T;
|
|
@@ -76,19 +82,23 @@ export interface Theme {
|
|
|
76
82
|
3: InteractiveColor<ContrastColor>;
|
|
77
83
|
destructive: InteractiveColor<ContrastColor>;
|
|
78
84
|
};
|
|
85
|
+
surface: {
|
|
86
|
+
neutral: SurfaceColor<ContrastColor>;
|
|
87
|
+
accent: SurfaceColor<ContrastColor>;
|
|
88
|
+
};
|
|
79
89
|
transport: {
|
|
80
|
-
city:
|
|
81
|
-
region:
|
|
82
|
-
airportExpress:
|
|
83
|
-
boat:
|
|
84
|
-
train:
|
|
85
|
-
flexible:
|
|
86
|
-
scooter:
|
|
87
|
-
bike:
|
|
88
|
-
car:
|
|
89
|
-
other:
|
|
90
|
-
shuttle:
|
|
91
|
-
walk:
|
|
90
|
+
city: ContrastColor;
|
|
91
|
+
region: ContrastColor;
|
|
92
|
+
airportExpress: ContrastColor;
|
|
93
|
+
boat: ContrastColor;
|
|
94
|
+
train: ContrastColor;
|
|
95
|
+
flexible: ContrastColor;
|
|
96
|
+
scooter: ContrastColor;
|
|
97
|
+
bike: ContrastColor;
|
|
98
|
+
car: ContrastColor;
|
|
99
|
+
other: ContrastColor;
|
|
100
|
+
shuttle: ContrastColor;
|
|
101
|
+
walk: ContrastColor;
|
|
92
102
|
};
|
|
93
103
|
status: {
|
|
94
104
|
valid: StatusColor<ContrastColor>;
|
package/lib/theme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":";;;;;;AAiPA,0CAmBC;AAsBD,oCAMC;AAuBD,oDAWC;AAlUD,8DAAiC;AACjC,2DAA8E;AAC9E,6CAQ4B;AAuN5B,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,6CAAG,CAAA;IACH,6CAAG,CAAA;IACH,+CAAI,CAAA;IACJ,iDAAK,CAAA;IACL,yDAAS,CAAA;IACT,6CAAG,CAAA;IACH,iDAAK,CAAA;AACP,CAAC,EARW,YAAY,4BAAZ,YAAY,QAQvB;AAED;;;;;GAKG;AACH,SAAgB,eAAe,CAAC,YAA0B;IACxD,QAAQ,YAAY,EAAE,CAAC;Q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