@jdpo2008/ngx-ds 0.6.0 → 0.7.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.
@@ -1,53 +0,0 @@
1
- // ngx-ds — Legacy tokens (deprecated)
2
- // No component reads these any more. They are kept as aliases so consumer
3
- // stylesheets that still reference them keep working; they will be removed in
4
- // the next major. Use the primitive/semantic tokens from _tokens.scss instead.
5
- //
6
- // Note: overriding a deprecated alias no longer re-themes the components —
7
- // override the canonical token (e.g. `--primary-500`) instead.
8
- //
9
- // `--ngx-color-*` predates the token system in _tokens.scss.
10
- // The old brand green (#1fdd5e) is not part of the theme: the primary color is
11
- // the indigo --primary-* scale. Its aliases stay literal until the next major.
12
-
13
- @layer base {
14
- :root {
15
- // ── Gen-2.5 aliases (deprecated) ────────────────────────────────────────
16
- --color-primary: var(--primary-500);
17
- --color-primary-50: var(--primary-50);
18
- --color-danger: var(--danger-500);
19
- --color-success: var(--success-500);
20
- --color-warning: var(--warning-500);
21
- --color-secondary: var(--gray-500);
22
- --border-color: var(--border-base);
23
- --text-primary: var(--text-base);
24
- --surface-secondary: var(--surface-subtle);
25
-
26
- // ── --ngx-color-* (deprecated) ──────────────────────────────────────────
27
- // Primary (brand green — literal, no equivalent)
28
- --ngx-color-primary: #1fdd5e;
29
- --ngx-color-primary-dark: #1bbf52;
30
- --ngx-color-primary-success: var(--success-500);
31
- --ngx-color-primary-error: var(--danger-500);
32
- --ngx-color-primary-warning: var(--warning-500);
33
- --ngx-color-primary-info: var(--info-500);
34
-
35
- // Neutral
36
- --ngx-color-primary-background: var(--surface-subtle);
37
-
38
- // Text
39
- --ngx-color-primary-title: var(--text-base);
40
- --ngx-color-primary-text: var(--text-muted);
41
- --ngx-color-primary-text-hover: var(--text-muted);
42
- --ngx-color-primary-text-dark: #fff;
43
- --ngx-color-primary-text-dark-hover: #fff;
44
- --ngx-color-primary-text-dark-active: #fff;
45
- --ngx-color-primary-text-dark-focus: #fff;
46
- --ngx-color-primary-text-dark-hover-active: #fff;
47
- --ngx-color-primary-text-dark-hover-focus: #fff;
48
- --ngx-color-primary-text-dark-active-focus: #fff;
49
-
50
- // Border
51
- --ngx-color-primary-border: var(--border-base);
52
- }
53
- }