@ngxsmk/theme 1.3.0 → 1.3.2

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/color.d.ts CHANGED
@@ -1,22 +1,16 @@
1
1
  import { ColorScale } from './types';
2
- /** HSL triple: h in [0,360), s and l in [0,100]. */
3
- export interface Hsl {
4
- h: number;
5
- s: number;
2
+ /** OKLCH color: l in [0,1], c in [0,0.4], h in [0,360). */
3
+ export interface Oklch {
6
4
  l: number;
5
+ c: number;
6
+ h: number;
7
7
  }
8
- export declare function hexToHsl(hex: string): Hsl;
9
- export declare function hslToHex({ h, s, l }: Hsl): string;
10
- /** Shift a color's lightness by `delta` percentage points (clamped 0–100). */
8
+ export declare function hexToOklch(hex: string): Oklch;
9
+ export declare function oklchToHex({ l: L, c: C, h }: Oklch): string;
10
+ /** Shift a color's lightness by `delta` (clamped 0–1). */
11
11
  export declare function shiftLightness(hex: string, delta: number): string;
12
- /** Rotate a color's hue by `degrees`, keeping saturation and lightness. */
12
+ /** Rotate a color's hue by `degrees`, keeping chroma and lightness. */
13
13
  export declare function rotateHue(hex: string, degrees: number): string;
14
- /**
15
- * Derive a full 50–950 color scale from a single brand hex.
16
- *
17
- * The input color keeps its exact value at the step whose lightness stop is
18
- * nearest to the input's own lightness, so `scale[step]` round-trips brand
19
- * colors instead of shifting them.
20
- */
14
+ /** Derive a full 50–950 color scale from a single brand hex. */
21
15
  export declare function deriveScale(baseHex: string): ColorScale;
22
16
  //# sourceMappingURL=color.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../../packages/theme/src/lib/color.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,oDAAoD;AACpD,MAAM,WAAW,GAAG;IAClB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,w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3,"file":"css.d.ts","sourceRoot":"","sources":["../../../../packages/theme/src/lib/css.ts"],"names":[],"mappings":"AAEA,OAAO,EAAc,aAAa,EAAE,WAAW,EAA2B,MAAM,SAAS,CAAC;AAuO1F;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,WAAW,GAAG,aAAa,GAAG,MAAM,CAqCzE"}
1
+ {"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../../../../packages/theme/src/lib/css.ts"],"names":[],"mappings":"AAEA,OAAO,EAAc,aAAa,EAAE,WAAW,EAA2B,MAAM,SAAS,CAAC;AAgQ1F;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,WAAW,GAAG,aAAa,GAAG,MAAM,CAmDzE"}
package/lib/tokens.d.ts CHANGED
@@ -14,6 +14,20 @@ export declare const DEFAULT_TYPOGRAPHY: TypographyScale;
14
14
  * family use this so they read as one consistent size.
15
15
  */
16
16
  export declare const CONTROL_HEIGHT = "2.5rem";
17
+ /**
18
+ * Control-height ladder. `md` mirrors CONTROL_HEIGHT (the family default);
19
+ * `sm`/`lg` give dense and comfortable variants the same rhythm.
20
+ */
21
+ export declare const CONTROL_HEIGHTS: Record<string, string>;
22
+ /**
23
+ * Opacity roles. Components must use these instead of ad-hoc literals so
24
+ * disabled/muted content reads identically across the whole kit.
25
+ */
26
+ export declare const OPACITY: Record<string, string>;
27
+ /** Icon sizing ladder — aligns glyph boxes with the text roles they sit next to. */
28
+ export declare const ICON_SIZE: Record<string, string>;
29
+ /** Letter-spacing roles: tight for display/headline, wide for overline/labels. */
30
+ export declare const TRACKING: Record<string, string>;
17
31
  export declare const SPACING: Record<string, string>;
18
32
  /**
19
33
  * Radius scale: inner 4px, element 8px (buttons/inputs, the base),
@@ -22,9 +36,11 @@ export declare const SPACING: Record<string, string>;
22
36
  */
23
37
  export declare const RADIUS: Record<string, string>;
24
38
  /**
25
- * Soft, diffuse, layered shadows (two stacked blurs, low alpha). Overlay
26
- * CSS resolves these to slightly stronger values in dark mode via the
27
- * elevation tokens on each surface.
39
+ * Soft, diffuse, layered shadows: a 1px hairline "contact" line keeps edges
40
+ * crisp on white, a tight key shadow gives definition, and a wide low-alpha
41
+ * ambient blur supplies the soft depth. Overlay CSS resolves these to
42
+ * slightly stronger values in dark mode via the elevation tokens on each
43
+ * surface.
28
44
  */
29
45
  export declare const SHADOW: Record<string, string>;
30
46
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../../packages/theme/src/lib/tokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAEpF;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,UAY7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,cAK9B,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,YAGjC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,eA0BhC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,WAAW,CAAC;AAEvC,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAiB1C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CASzC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAMzC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAS1C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAM3C,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAMzC,CAAC"}
1
+ {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../../packages/theme/src/lib/t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  {
2
2
  "name": "@ngxsmk/theme",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Runtime theming and design-token engine for @ngxsmk/core with light/dark modes and preset palettes.",
5
5
  "keywords": [
6
6
  "angular",
@@ -12,6 +12,15 @@
12
12
  "themes"
13
13
  ],
14
14
  "license": "MIT",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/NGXSMK/ngxsmk-ui-kit.git",
18
+ "directory": "packages/theme"
19
+ },
20
+ "homepage": "https://ngxsmk.github.io/ngxsmk-ui-kit",
21
+ "bugs": {
22
+ "url": "https://github.com/NGXSMK/ngxsmk-ui-kit/issues"
23
+ },
15
24
  "peerDependencies": {
16
25
  "@angular/common": ">=17.3.0",
17
26
  "@angular/core": ">=17.3.0"
package/styles/ngxsmk.css CHANGED
@@ -1,37 +1,37 @@
1
1
  /* Generated by @ngxsmk/theme — do not edit by hand. */
2
2
  :root {
3
- --ngxsmk-color-brand-50: #f0fffa;
4
- --ngxsmk-color-brand-100: #e1fef5;
5
- --ngxsmk-color-brand-200: #bffdea;
6
- --ngxsmk-color-brand-300: #92fbdb;
7
- --ngxsmk-color-brand-400: #57f9c7;
8
- --ngxsmk-color-brand-500: #26f8b7;
9
- --ngxsmk-color-brand-600: #08eda6;
10
- --ngxsmk-color-brand-700: #07c58a;
11
- --ngxsmk-color-brand-800: #059669;
12
- --ngxsmk-color-brand-900: #047b56;
13
- --ngxsmk-color-brand-950: #034f37;
14
- --ngxsmk-color-secondary-50: #f0f5ff;
15
- --ngxsmk-color-secondary-100: #e1eafe;
16
- --ngxsmk-color-secondary-200: #bfd2fd;
17
- --ngxsmk-color-secondary-300: #92b3fb;
18
- --ngxsmk-color-secondary-400: #578af9;
19
- --ngxsmk-color-secondary-500: #2667f8;
20
- --ngxsmk-color-secondary-600: #084fed;
21
- --ngxsmk-color-secondary-700: #0742c5;
22
- --ngxsmk-color-secondary-800: #053296;
23
- --ngxsmk-color-secondary-900: #04297b;
24
- --ngxsmk-color-secondary-950: #031a4f;
25
- --ngxsmk-color-neutral-50: #f1f4f7;
26
- --ngxsmk-color-neutral-100: #e4e9ee;
27
- --ngxsmk-color-neutral-200: #ccd3db;
28
- --ngxsmk-color-neutral-300: #a4b0bc;
3
+ --ngxsmk-color-brand-50: #EEF8F3;
4
+ --ngxsmk-color-brand-100: #DEF1E7;
5
+ --ngxsmk-color-brand-200: #B7DFCB;
6
+ --ngxsmk-color-brand-300: #86C8A9;
7
+ --ngxsmk-color-brand-400: #45A77F;
8
+ --ngxsmk-color-brand-500: #059669;
9
+ --ngxsmk-color-brand-600: #007348;
10
+ --ngxsmk-color-brand-700: #005A34;
11
+ --ngxsmk-color-brand-800: #004222;
12
+ --ngxsmk-color-brand-900: #002E14;
13
+ --ngxsmk-color-brand-950: #001406;
14
+ --ngxsmk-color-secondary-50: #EEF7FB;
15
+ --ngxsmk-color-secondary-100: #DDEFF7;
16
+ --ngxsmk-color-secondary-200: #B5DBEC;
17
+ --ngxsmk-color-secondary-300: #83C2DC;
18
+ --ngxsmk-color-secondary-400: #419FC2;
19
+ --ngxsmk-color-secondary-500: #008EB6;
20
+ --ngxsmk-color-secondary-600: #00698F;
21
+ --ngxsmk-color-secondary-700: #005175;
22
+ --ngxsmk-color-secondary-800: #003B58;
23
+ --ngxsmk-color-secondary-900: #00273F;
24
+ --ngxsmk-color-secondary-950: #00111F;
25
+ --ngxsmk-color-neutral-50: #F1F4F7;
26
+ --ngxsmk-color-neutral-100: #E4E9EE;
27
+ --ngxsmk-color-neutral-200: #CCD3DB;
28
+ --ngxsmk-color-neutral-300: #A4B0BC;
29
29
  --ngxsmk-color-neutral-400: #778593;
30
- --ngxsmk-color-neutral-500: #4e606f;
31
- --ngxsmk-color-neutral-600: #3a4650;
32
- --ngxsmk-color-neutral-700: #2a333b;
33
- --ngxsmk-color-neutral-800: #1f1f22;
34
- --ngxsmk-color-neutral-900: #18181a;
30
+ --ngxsmk-color-neutral-500: #4E606F;
31
+ --ngxsmk-color-neutral-600: #3A4650;
32
+ --ngxsmk-color-neutral-700: #2A333B;
33
+ --ngxsmk-color-neutral-800: #1F1F22;
34
+ --ngxsmk-color-neutral-900: #18181A;
35
35
  --ngxsmk-color-neutral-950: #111112;
36
36
  --ngxsmk-font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
37
37
  --ngxsmk-font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
@@ -39,6 +39,10 @@
39
39
  --ngxsmk-control-height: 2.5rem;
40
40
  --ngxsmk-motion-duration: var(--ngxsmk-duration-normal);
41
41
  --ngxsmk-motion-ease: var(--ngxsmk-ease-in-out);
42
+ --ngxsmk-hover-lift: translateY(-1px);
43
+ --ngxsmk-press-scale: scale(0.98);
44
+ --ngxsmk-focus-ring: var(--ngxsmk-shadow-focus);
45
+ --ngxsmk-focus-ring-error: 0 0 0 2px color-mix(in srgb, var(--ngxsmk-color-error) 15%, transparent), 0 0 0 4px color-mix(in srgb, var(--ngxsmk-color-error) 45%, transparent);
42
46
  --ngxsmk-button-bg: var(--ngxsmk-color-primary);
43
47
  --ngxsmk-button-color: var(--ngxsmk-color-on-primary);
44
48
  --ngxsmk-button-font-family: var(--ngxsmk-font-sans);
@@ -63,6 +67,18 @@
63
67
  --ngxsmk-switch-thumb-size: 0.875rem;
64
68
  --ngxsmk-switch-thumb-bg: var(--ngxsmk-color-surface);
65
69
  --ngxsmk-switch-checked-bg: var(--ngxsmk-color-primary);
70
+ --ngxsmk-control-height-sm: 2rem;
71
+ --ngxsmk-control-height-md: 2.5rem;
72
+ --ngxsmk-control-height-lg: 3rem;
73
+ --ngxsmk-opacity-disabled: 0.5;
74
+ --ngxsmk-opacity-muted: 0.7;
75
+ --ngxsmk-opacity-faint: 0.4;
76
+ --ngxsmk-icon-sm: 1rem;
77
+ --ngxsmk-icon-md: 1.25rem;
78
+ --ngxsmk-icon-lg: 1.5rem;
79
+ --ngxsmk-tracking-tight: -0.02em;
80
+ --ngxsmk-tracking-normal: 0;
81
+ --ngxsmk-tracking-wide: 0.08em;
66
82
  --ngxsmk-space-0: 0px;
67
83
  --ngxsmk-space-1: 0.25rem;
68
84
  --ngxsmk-space-2: 0.5rem;
@@ -87,11 +103,11 @@
87
103
  --ngxsmk-radius-2xl: 1.25rem;
88
104
  --ngxsmk-radius-3xl: 1.75rem;
89
105
  --ngxsmk-radius-full: 9999px;
90
- --ngxsmk-shadow-sm: 0 1px 1px rgb(0 0 0 / 0.08), 0 2px 8px rgb(0 0 0 / 0.08);
91
- --ngxsmk-shadow-md: 0 1px 2px rgb(0 0 0 / 0.1), 0 2px 12px rgb(0 0 0 / 0.1);
92
- --ngxsmk-shadow-lg: 0 2px 2px rgb(0 0 0 / 0.1), 0 8px 24px rgb(0 0 0 / 0.12);
93
- --ngxsmk-shadow-xl: 0 4px 6px rgb(0 0 0 / 0.1), 0 12px 32px rgb(0 0 0 / 0.16);
94
- --ngxsmk-shadow-2xl: 0 8px 12px rgb(0 0 0 / 0.14), 0 24px 48px rgb(0 0 0 / 0.22);
106
+ --ngxsmk-shadow-sm: 0 0 0 1px rgb(0 0 0 / 0.03), 0 1px 1px rgb(0 0 0 / 0.07), 0 2px 8px rgb(0 0 0 / 0.07);
107
+ --ngxsmk-shadow-md: 0 0 0 1px rgb(0 0 0 / 0.03), 0 1px 2px rgb(0 0 0 / 0.09), 0 4px 16px rgb(0 0 0 / 0.09);
108
+ --ngxsmk-shadow-lg: 0 0 0 1px rgb(0 0 0 / 0.04), 0 2px 4px rgb(0 0 0 / 0.09), 0 10px 28px rgb(0 0 0 / 0.11);
109
+ --ngxsmk-shadow-xl: 0 0 0 1px rgb(0 0 0 / 0.04), 0 4px 8px rgb(0 0 0 / 0.1), 0 16px 40px rgb(0 0 0 / 0.15);
110
+ --ngxsmk-shadow-2xl: 0 0 0 1px rgb(0 0 0 / 0.05), 0 8px 16px rgb(0 0 0 / 0.13), 0 28px 56px rgb(0 0 0 / 0.2);
95
111
  --ngxsmk-duration-instant: 0ms;
96
112
  --ngxsmk-duration-fast: 100ms;
97
113
  --ngxsmk-duration-normal: 200ms;
@@ -160,121 +176,135 @@
160
176
  --ngxsmk-text-body-xs-weight: 400;
161
177
  color-scheme: light;
162
178
  --ngxsmk-color-primary: #059669;
163
- --ngxsmk-color-on-primary: #ffffff;
164
- --ngxsmk-color-primary-hover: #046f4d;
165
- --ngxsmk-color-primary-active: #035139;
166
- --ngxsmk-color-primary-container: #e1fef5;
167
- --ngxsmk-color-on-primary-container: #047b56;
168
- --ngxsmk-color-secondary: #053296;
169
- --ngxsmk-color-on-secondary: #ffffff;
170
- --ngxsmk-color-secondary-hover: #04256f;
171
- --ngxsmk-color-secondary-active: #031b51;
172
- --ngxsmk-color-secondary-container: #e1eafe;
173
- --ngxsmk-color-on-secondary-container: #04297b;
174
- --ngxsmk-color-background: #f1f4f7;
175
- --ngxsmk-color-on-background: #0a1317;
176
- --ngxsmk-color-surface: #ffffff;
177
- --ngxsmk-color-on-surface: #0a1317;
178
- --ngxsmk-color-surface-variant: #e4e9ee;
179
- --ngxsmk-color-on-surface-variant: #4e606f;
179
+ --ngxsmk-color-on-primary: #FFFFFF;
180
+ --ngxsmk-color-primary-hover: #000000;
181
+ --ngxsmk-color-primary-active: #000000;
182
+ --ngxsmk-color-primary-container: #DEF1E7;
183
+ --ngxsmk-color-on-primary-container: #002E14;
184
+ --ngxsmk-color-secondary: #008EB6;
185
+ --ngxsmk-color-on-secondary: #FFFFFF;
186
+ --ngxsmk-color-secondary-hover: #000009;
187
+ --ngxsmk-color-secondary-active: #000009;
188
+ --ngxsmk-color-secondary-container: #DDEFF7;
189
+ --ngxsmk-color-on-secondary-container: #00273F;
190
+ --ngxsmk-color-background: #F1F4F7;
191
+ --ngxsmk-color-on-background: #0A1317;
192
+ --ngxsmk-color-surface: #FFFFFF;
193
+ --ngxsmk-color-on-surface: #0A1317;
194
+ --ngxsmk-color-surface-variant: #E4E9EE;
195
+ --ngxsmk-color-on-surface-variant: #4E606F;
180
196
  --ngxsmk-color-surface-hover: rgb(5 54 89 / 0.05);
181
197
  --ngxsmk-color-surface-active: rgb(5 54 89 / 0.1);
182
- --ngxsmk-color-surface-container: #ffffff;
198
+ --ngxsmk-color-surface-container: #FFFFFF;
183
199
  --ngxsmk-color-outline: rgb(5 54 89 / 0.1);
184
- --ngxsmk-color-outline-strong: #ccd3db;
200
+ --ngxsmk-color-outline-strong: #CCD3DB;
185
201
  --ngxsmk-color-outline-variant: rgb(5 54 89 / 0.06);
186
- --ngxsmk-color-surface-1: #ffffff;
187
- --ngxsmk-color-surface-2: #f1f4f7;
188
- --ngxsmk-color-surface-3: #e4e9ee;
189
- --ngxsmk-color-surface-4: #ccd3db;
190
- --ngxsmk-color-surface-5: #a4b0bc;
202
+ --ngxsmk-color-surface-1: #FFFFFF;
203
+ --ngxsmk-color-surface-2: #F1F4F7;
204
+ --ngxsmk-color-surface-3: #E4E9EE;
205
+ --ngxsmk-color-surface-4: #CCD3DB;
206
+ --ngxsmk-color-surface-5: #A4B0BC;
191
207
  --ngxsmk-color-ring: #059669;
192
208
  --ngxsmk-color-backdrop: rgb(1 18 40 / 0.4);
193
- --ngxsmk-shadow-focus: 0 0 0 2px #e1fef5, 0 0 0 4px color-mix(in srgb, #059669 45%, transparent);
194
- --ngxsmk-color-tertiary: #2659f8;
195
- --ngxsmk-color-on-tertiary: #ffffff;
196
- --ngxsmk-color-tertiary-container: #e1e8fe;
197
- --ngxsmk-color-on-tertiary-container: #04217b;
198
- --ngxsmk-color-success: #0d8626;
199
- --ngxsmk-color-on-success: #ffffff;
200
- --ngxsmk-color-success-container: #e3fce8;
201
- --ngxsmk-color-on-success-container: #0d8626;
202
- --ngxsmk-color-warning: #e9af08;
203
- --ngxsmk-color-on-warning: #ffffff;
204
- --ngxsmk-color-warning-container: #fef7e1;
205
- --ngxsmk-color-on-warning-container: #9e7705;
206
- --ngxsmk-color-error: #e3193b;
207
- --ngxsmk-color-on-error: #ffffff;
208
- --ngxsmk-color-error-container: #fce3e8;
209
- --ngxsmk-color-on-error-container: #931026;
210
- --ngxsmk-color-info: #2563eb;
211
- --ngxsmk-color-on-info: #ffffff;
212
- --ngxsmk-color-info-container: #e3ebfc;
213
- --ngxsmk-color-on-info-container: #0e3895;
209
+ --ngxsmk-shadow-focus: 0 0 0 2px #DEF1E7, 0 0 0 4px color-mix(in srgb, #059669 45%, transparent);
210
+ --ngxsmk-color-tertiary: #008DBA;
211
+ --ngxsmk-color-on-tertiary: #FFFFFF;
212
+ --ngxsmk-color-tertiary-container: #DDEEF7;
213
+ --ngxsmk-color-on-tertiary-container: #002742;
214
+ --ngxsmk-color-success: #0D8626;
215
+ --ngxsmk-color-on-success: #FFFFFF;
216
+ --ngxsmk-color-success-container: #DFF1DF;
217
+ --ngxsmk-color-on-success-container: #004300;
218
+ --ngxsmk-color-warning: #E9AF08;
219
+ --ngxsmk-color-on-warning: #FFFFFF;
220
+ --ngxsmk-color-warning-container: #F5EAD5;
221
+ --ngxsmk-color-on-warning-container: #522700;
222
+ --ngxsmk-color-error: #E3193B;
223
+ --ngxsmk-color-on-error: #FFFFFF;
224
+ --ngxsmk-color-error-container: #FFE1DF;
225
+ --ngxsmk-color-on-error-container: #780000;
226
+ --ngxsmk-color-info: #2563EB;
227
+ --ngxsmk-color-on-info: #FFFFFF;
228
+ --ngxsmk-color-info-container: #DDECFF;
229
+ --ngxsmk-color-on-info-container: #001E8D;
214
230
  }
215
231
 
216
- :root.dark,
217
- :root.dark body,
218
- .dark {
232
+ :root.dark, :root.dark body, .dark {
219
233
  color-scheme: dark;
220
- --ngxsmk-color-primary: #57f9c7;
221
- --ngxsmk-color-on-primary: #ffffff;
222
- --ngxsmk-color-primary-hover: #92fbdb;
223
- --ngxsmk-color-primary-active: #bffdea;
224
- --ngxsmk-color-primary-container: #047b56;
225
- --ngxsmk-color-on-primary-container: #e1fef5;
226
- --ngxsmk-color-secondary: #578af9;
227
- --ngxsmk-color-on-secondary: #ffffff;
228
- --ngxsmk-color-secondary-hover: #92b3fb;
229
- --ngxsmk-color-secondary-active: #bfd2fd;
230
- --ngxsmk-color-secondary-container: #04297b;
231
- --ngxsmk-color-on-secondary-container: #e1eafe;
234
+ --ngxsmk-color-primary: #45A77F;
235
+ --ngxsmk-color-on-primary: #FFFFFF;
236
+ --ngxsmk-color-primary-hover: #86C8A9;
237
+ --ngxsmk-color-primary-active: #B7DFCB;
238
+ --ngxsmk-color-primary-container: #002E14;
239
+ --ngxsmk-color-on-primary-container: #DEF1E7;
240
+ --ngxsmk-color-secondary: #419FC2;
241
+ --ngxsmk-color-on-secondary: #FFFFFF;
242
+ --ngxsmk-color-secondary-hover: #83C2DC;
243
+ --ngxsmk-color-secondary-active: #B5DBEC;
244
+ --ngxsmk-color-secondary-container: #00273F;
245
+ --ngxsmk-color-on-secondary-container: #DDEFF7;
232
246
  --ngxsmk-color-background: #111112;
233
- --ngxsmk-color-on-background: #dfe2e5;
234
- --ngxsmk-color-surface: #1f1f22;
235
- --ngxsmk-color-on-surface: #dfe2e5;
236
- --ngxsmk-color-surface-variant: #28292c;
237
- --ngxsmk-color-on-surface-variant: #aaafb5;
247
+ --ngxsmk-color-on-background: #DFE2E5;
248
+ --ngxsmk-color-surface: #1F1F22;
249
+ --ngxsmk-color-on-surface: #DFE2E5;
250
+ --ngxsmk-color-surface-variant: #28292C;
251
+ --ngxsmk-color-on-surface-variant: #AAAFB5;
238
252
  --ngxsmk-color-surface-hover: rgb(255 255 255 / 0.05);
239
253
  --ngxsmk-color-surface-active: rgb(255 255 255 / 0.1);
240
- --ngxsmk-color-surface-container: #28292c;
254
+ --ngxsmk-color-surface-container: #28292C;
241
255
  --ngxsmk-color-outline: rgb(242 244 246 / 0.1);
242
- --ngxsmk-color-outline-strong: #494d53;
256
+ --ngxsmk-color-outline-strong: #494D53;
243
257
  --ngxsmk-color-outline-variant: rgb(242 244 246 / 0.06);
244
- --ngxsmk-color-surface-1: #1f1f22;
245
- --ngxsmk-color-surface-2: #2a333b;
246
- --ngxsmk-color-surface-3: #3a4650;
247
- --ngxsmk-color-surface-4: #4e606f;
258
+ --ngxsmk-color-surface-1: #1F1F22;
259
+ --ngxsmk-color-surface-2: #2A333B;
260
+ --ngxsmk-color-surface-3: #3A4650;
261
+ --ngxsmk-color-surface-4: #4E606F;
248
262
  --ngxsmk-color-surface-5: #778593;
249
- --ngxsmk-color-ring: #57f9c7;
263
+ --ngxsmk-color-ring: #45A77F;
250
264
  --ngxsmk-color-backdrop: rgb(17 17 18 / 0.6);
251
- --ngxsmk-shadow-focus:
252
- 0 0 0 2px color-mix(in srgb, #57f9c7 25%, transparent),
253
- 0 0 0 4px color-mix(in srgb, #57f9c7 45%, transparent);
254
- --ngxsmk-color-tertiary: #577ef9;
255
- --ngxsmk-color-on-tertiary: #03154f;
256
- --ngxsmk-color-tertiary-container: #04217b;
257
- --ngxsmk-color-on-tertiary-container: #e1e8fe;
258
- --ngxsmk-color-success: #61f07e;
259
- --ngxsmk-color-on-success: #074a15;
260
- --ngxsmk-color-success-container: #074a15;
261
- --ngxsmk-color-on-success-container: #99f5ac;
262
- --ngxsmk-color-warning: #f9d057;
263
- --ngxsmk-color-on-warning: #4f3b03;
264
- --ngxsmk-color-warning-container: #4f3b03;
265
- --ngxsmk-color-on-warning-container: #fbe093;
266
- --ngxsmk-color-error: #ee637a;
267
- --ngxsmk-color-on-error: #4a0813;
268
- --ngxsmk-color-error-container: #4a0813;
269
- --ngxsmk-color-on-error-container: #f49aa9;
270
- --ngxsmk-color-info: #608df0;
271
- --ngxsmk-color-on-info: #071c4b;
272
- --ngxsmk-color-info-container: #071c4b;
273
- --ngxsmk-color-on-info-container: #98b5f6;
265
+ --ngxsmk-shadow-focus: 0 0 0 2px color-mix(in srgb, #45A77F 25%, transparent), 0 0 0 4px color-mix(in srgb, #45A77F 45%, transparent);
266
+ --ngxsmk-color-tertiary: #419EC6;
267
+ --ngxsmk-color-on-tertiary: #001021;
268
+ --ngxsmk-color-tertiary-container: #002742;
269
+ --ngxsmk-color-on-tertiary-container: #DDEEF7;
270
+ --ngxsmk-color-success: #51A957;
271
+ --ngxsmk-color-on-success: #001500;
272
+ --ngxsmk-color-success-container: #001500;
273
+ --ngxsmk-color-on-success-container: #8CCA8D;
274
+ --ngxsmk-color-warning: #BA8900;
275
+ --ngxsmk-color-on-warning: #1C0700;
276
+ --ngxsmk-color-warning-container: #1C0700;
277
+ --ngxsmk-color-on-warning-container: #E9AF08;
278
+ --ngxsmk-color-error: #F3515A;
279
+ --ngxsmk-color-on-error: #2E0000;
280
+ --ngxsmk-color-error-container: #2E0000;
281
+ --ngxsmk-color-on-error-container: #FF8F8F;
282
+ --ngxsmk-color-info: #518BFF;
283
+ --ngxsmk-color-on-info: #000238;
284
+ --ngxsmk-color-info-container: #000238;
285
+ --ngxsmk-color-on-info-container: #88B6FF;
274
286
  }
275
287
 
276
288
  @media (prefers-reduced-motion: reduce) {
277
289
  :root {
278
290
  --ngxsmk-motion-duration: 0ms;
291
+ --ngxsmk-hover-lift: none;
292
+ --ngxsmk-press-scale: none;
293
+ --ngxsmk-duration-instant: 0ms;
294
+ --ngxsmk-duration-fast: 0ms;
295
+ --ngxsmk-duration-normal: 0ms;
296
+ --ngxsmk-duration-slow: 0ms;
297
+ --ngxsmk-duration-slower: 0ms;
279
298
  }
280
299
  }
300
+
301
+ :root.ngxsmk-reduce-motion, .ngxsmk-reduce-motion {
302
+ --ngxsmk-motion-duration: 0ms;
303
+ --ngxsmk-hover-lift: none;
304
+ --ngxsmk-press-scale: none;
305
+ --ngxsmk-duration-instant: 0ms;
306
+ --ngxsmk-duration-fast: 0ms;
307
+ --ngxsmk-duration-normal: 0ms;
308
+ --ngxsmk-duration-slow: 0ms;
309
+ --ngxsmk-duration-slower: 0ms;
310
+ }