@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/README.md +1 -1
- package/esm2022/lib/color.mjs +73 -76
- package/esm2022/lib/css.mjs +39 -3
- package/esm2022/lib/tokens.mjs +41 -9
- package/fesm2022/ngxsmk-theme.mjs +150 -85
- package/fesm2022/ngxsmk-theme.mjs.map +1 -1
- package/lib/color.d.ts +9 -15
- package/lib/color.d.ts.map +1 -1
- package/lib/css.d.ts.map +1 -1
- package/lib/tokens.d.ts +19 -3
- package/lib/tokens.d.ts.map +1 -1
- package/package.json +10 -1
- package/styles/ngxsmk.css +161 -131
- package/styles/ngxsmk.emerald.css +161 -131
- package/styles/ngxsmk.neutral.css +161 -131
- package/styles/ngxsmk.rose.css +163 -133
- package/styles/ngxsmk.violet.css +163 -133
package/lib/color.d.ts
CHANGED
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { ColorScale } from './types';
|
|
2
|
-
/**
|
|
3
|
-
export interface
|
|
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
|
|
9
|
-
export declare function
|
|
10
|
-
/** Shift a color's lightness by `delta`
|
|
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
|
|
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
|
package/lib/color.d.ts.map
CHANGED
|
@@ -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,
|
|
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,2DAA2D;AAC3D,MAAM,WAAW,KAAK;IACpB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AA6BD,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAuB7C;AAED,wBAAgB,UAAU,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,GAAG,MAAM,CAuB3D;AAED,0DAA0D;AAC1D,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAGjE;AAED,uEAAuE;AACvE,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAG9D;AAiBD,gEAAgE;AAChE,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,UAAU,CAyBvD"}
|
package/lib/css.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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;
|
|
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
|
|
26
|
-
*
|
|
27
|
-
*
|
|
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
|
/**
|
package/lib/tokens.d.ts.map
CHANGED
|
@@ -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
|
|
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;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAIlD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAI1C,CAAC;AAEF,oFAAoF;AACpF,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAI5C,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAI3C,CAAC;AAEF,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;;;;;;GAMG;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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngxsmk/theme",
|
|
3
|
-
"version": "1.3.
|
|
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: #
|
|
4
|
-
--ngxsmk-color-brand-100: #
|
|
5
|
-
--ngxsmk-color-brand-200: #
|
|
6
|
-
--ngxsmk-color-brand-300: #
|
|
7
|
-
--ngxsmk-color-brand-400: #
|
|
8
|
-
--ngxsmk-color-brand-500: #
|
|
9
|
-
--ngxsmk-color-brand-600: #
|
|
10
|
-
--ngxsmk-color-brand-700: #
|
|
11
|
-
--ngxsmk-color-brand-800: #
|
|
12
|
-
--ngxsmk-color-brand-900: #
|
|
13
|
-
--ngxsmk-color-brand-950: #
|
|
14
|
-
--ngxsmk-color-secondary-50: #
|
|
15
|
-
--ngxsmk-color-secondary-100: #
|
|
16
|
-
--ngxsmk-color-secondary-200: #
|
|
17
|
-
--ngxsmk-color-secondary-300: #
|
|
18
|
-
--ngxsmk-color-secondary-400: #
|
|
19
|
-
--ngxsmk-color-secondary-500: #
|
|
20
|
-
--ngxsmk-color-secondary-600: #
|
|
21
|
-
--ngxsmk-color-secondary-700: #
|
|
22
|
-
--ngxsmk-color-secondary-800: #
|
|
23
|
-
--ngxsmk-color-secondary-900: #
|
|
24
|
-
--ngxsmk-color-secondary-950: #
|
|
25
|
-
--ngxsmk-color-neutral-50: #
|
|
26
|
-
--ngxsmk-color-neutral-100: #
|
|
27
|
-
--ngxsmk-color-neutral-200: #
|
|
28
|
-
--ngxsmk-color-neutral-300: #
|
|
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: #
|
|
31
|
-
--ngxsmk-color-neutral-600: #
|
|
32
|
-
--ngxsmk-color-neutral-700: #
|
|
33
|
-
--ngxsmk-color-neutral-800: #
|
|
34
|
-
--ngxsmk-color-neutral-900: #
|
|
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.
|
|
91
|
-
--ngxsmk-shadow-md: 0 1px 2px rgb(0 0 0 / 0.
|
|
92
|
-
--ngxsmk-shadow-lg: 0
|
|
93
|
-
--ngxsmk-shadow-xl: 0 4px
|
|
94
|
-
--ngxsmk-shadow-2xl: 0 8px
|
|
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: #
|
|
164
|
-
--ngxsmk-color-primary-hover: #
|
|
165
|
-
--ngxsmk-color-primary-active: #
|
|
166
|
-
--ngxsmk-color-primary-container: #
|
|
167
|
-
--ngxsmk-color-on-primary-container: #
|
|
168
|
-
--ngxsmk-color-secondary: #
|
|
169
|
-
--ngxsmk-color-on-secondary: #
|
|
170
|
-
--ngxsmk-color-secondary-hover: #
|
|
171
|
-
--ngxsmk-color-secondary-active: #
|
|
172
|
-
--ngxsmk-color-secondary-container: #
|
|
173
|
-
--ngxsmk-color-on-secondary-container: #
|
|
174
|
-
--ngxsmk-color-background: #
|
|
175
|
-
--ngxsmk-color-on-background: #
|
|
176
|
-
--ngxsmk-color-surface: #
|
|
177
|
-
--ngxsmk-color-on-surface: #
|
|
178
|
-
--ngxsmk-color-surface-variant: #
|
|
179
|
-
--ngxsmk-color-on-surface-variant: #
|
|
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: #
|
|
198
|
+
--ngxsmk-color-surface-container: #FFFFFF;
|
|
183
199
|
--ngxsmk-color-outline: rgb(5 54 89 / 0.1);
|
|
184
|
-
--ngxsmk-color-outline-strong: #
|
|
200
|
+
--ngxsmk-color-outline-strong: #CCD3DB;
|
|
185
201
|
--ngxsmk-color-outline-variant: rgb(5 54 89 / 0.06);
|
|
186
|
-
--ngxsmk-color-surface-1: #
|
|
187
|
-
--ngxsmk-color-surface-2: #
|
|
188
|
-
--ngxsmk-color-surface-3: #
|
|
189
|
-
--ngxsmk-color-surface-4: #
|
|
190
|
-
--ngxsmk-color-surface-5: #
|
|
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 #
|
|
194
|
-
--ngxsmk-color-tertiary: #
|
|
195
|
-
--ngxsmk-color-on-tertiary: #
|
|
196
|
-
--ngxsmk-color-tertiary-container: #
|
|
197
|
-
--ngxsmk-color-on-tertiary-container: #
|
|
198
|
-
--ngxsmk-color-success: #
|
|
199
|
-
--ngxsmk-color-on-success: #
|
|
200
|
-
--ngxsmk-color-success-container: #
|
|
201
|
-
--ngxsmk-color-on-success-container: #
|
|
202
|
-
--ngxsmk-color-warning: #
|
|
203
|
-
--ngxsmk-color-on-warning: #
|
|
204
|
-
--ngxsmk-color-warning-container: #
|
|
205
|
-
--ngxsmk-color-on-warning-container: #
|
|
206
|
-
--ngxsmk-color-error: #
|
|
207
|
-
--ngxsmk-color-on-error: #
|
|
208
|
-
--ngxsmk-color-error-container: #
|
|
209
|
-
--ngxsmk-color-on-error-container: #
|
|
210
|
-
--ngxsmk-color-info: #
|
|
211
|
-
--ngxsmk-color-on-info: #
|
|
212
|
-
--ngxsmk-color-info-container: #
|
|
213
|
-
--ngxsmk-color-on-info-container: #
|
|
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: #
|
|
221
|
-
--ngxsmk-color-on-primary: #
|
|
222
|
-
--ngxsmk-color-primary-hover: #
|
|
223
|
-
--ngxsmk-color-primary-active: #
|
|
224
|
-
--ngxsmk-color-primary-container: #
|
|
225
|
-
--ngxsmk-color-on-primary-container: #
|
|
226
|
-
--ngxsmk-color-secondary: #
|
|
227
|
-
--ngxsmk-color-on-secondary: #
|
|
228
|
-
--ngxsmk-color-secondary-hover: #
|
|
229
|
-
--ngxsmk-color-secondary-active: #
|
|
230
|
-
--ngxsmk-color-secondary-container: #
|
|
231
|
-
--ngxsmk-color-on-secondary-container: #
|
|
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: #
|
|
234
|
-
--ngxsmk-color-surface: #
|
|
235
|
-
--ngxsmk-color-on-surface: #
|
|
236
|
-
--ngxsmk-color-surface-variant: #
|
|
237
|
-
--ngxsmk-color-on-surface-variant: #
|
|
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: #
|
|
254
|
+
--ngxsmk-color-surface-container: #28292C;
|
|
241
255
|
--ngxsmk-color-outline: rgb(242 244 246 / 0.1);
|
|
242
|
-
--ngxsmk-color-outline-strong: #
|
|
256
|
+
--ngxsmk-color-outline-strong: #494D53;
|
|
243
257
|
--ngxsmk-color-outline-variant: rgb(242 244 246 / 0.06);
|
|
244
|
-
--ngxsmk-color-surface-1: #
|
|
245
|
-
--ngxsmk-color-surface-2: #
|
|
246
|
-
--ngxsmk-color-surface-3: #
|
|
247
|
-
--ngxsmk-color-surface-4: #
|
|
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: #
|
|
263
|
+
--ngxsmk-color-ring: #45A77F;
|
|
250
264
|
--ngxsmk-color-backdrop: rgb(17 17 18 / 0.6);
|
|
251
|
-
--ngxsmk-shadow-focus:
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
--ngxsmk-color-tertiary: #
|
|
255
|
-
--ngxsmk-color-on-tertiary: #
|
|
256
|
-
--ngxsmk-color-
|
|
257
|
-
--ngxsmk-color-on-
|
|
258
|
-
--ngxsmk-color-success: #
|
|
259
|
-
--ngxsmk-color-on-success: #
|
|
260
|
-
--ngxsmk-color-
|
|
261
|
-
--ngxsmk-color-on-
|
|
262
|
-
--ngxsmk-color-warning: #
|
|
263
|
-
--ngxsmk-color-on-warning: #
|
|
264
|
-
--ngxsmk-color-
|
|
265
|
-
--ngxsmk-color-on-
|
|
266
|
-
--ngxsmk-color-error: #
|
|
267
|
-
--ngxsmk-color-on-error: #
|
|
268
|
-
--ngxsmk-color-
|
|
269
|
-
--ngxsmk-color-on-
|
|
270
|
-
--ngxsmk-color-info: #
|
|
271
|
-
--ngxsmk-color-on-info: #
|
|
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
|
+
}
|