@sage/design-tokens 18.7.6 → 18.9.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/css/components/page.css +18 -2
- package/css/dark.css +3 -0
- package/css/global.css +23 -23
- package/css/light-all.css +44 -25
- package/css/light.css +3 -0
- package/js/common/components/page.d.ts +30 -2
- package/js/common/components/page.js +18 -2
- package/js/common/dark.d.ts +5 -0
- package/js/common/dark.js +3 -0
- package/js/common/global.js +8 -8
- package/js/common/light.d.ts +5 -0
- package/js/common/light.js +3 -0
- package/js/es6/components/page.d.ts +24 -3
- package/js/es6/components/page.js +18 -2
- package/js/es6/dark.d.ts +3 -0
- package/js/es6/dark.js +3 -0
- package/js/es6/global.js +112 -686
- package/js/es6/light.d.ts +3 -0
- package/js/es6/light.js +3 -0
- package/json/components/page.json +19 -3
- package/json/dark.json +3 -0
- package/json/global.json +83 -83
- package/json/light.json +3 -0
- package/package.json +1 -1
- package/scss/components/button.scss +3 -3
- package/scss/components/link.scss +1 -1
- package/scss/components/message.scss +3 -3
- package/scss/components/page.scss +18 -2
- package/scss/components/pill.scss +2 -2
- package/scss/dark.scss +3 -0
- package/scss/global.scss +23 -23
- package/scss/light.scss +3 -0
package/css/components/page.css
CHANGED
|
@@ -7,8 +7,24 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
|
-
--page-bg-default: var(--mode-color-generic-surface-nought);
|
|
11
10
|
--page-bg-alt: var(--mode-color-generic-surface-trace);
|
|
12
|
-
--page-
|
|
11
|
+
--page-bg-default: var(--mode-color-generic-surface-nought);
|
|
12
|
+
--page-content-caution-icon: var(--mode-color-status-warning-default);
|
|
13
|
+
--page-content-caution-txt: var(--mode-color-status-warning-txt);
|
|
14
|
+
--page-content-info-icon: var(--mode-color-status-info-default);
|
|
15
|
+
--page-content-info-txt: var(--mode-color-status-info-default);
|
|
16
|
+
--page-content-negative-icon: var(--mode-color-status-negative-default);
|
|
17
|
+
--page-content-negative-txt: var(--mode-color-status-negative-default);
|
|
18
|
+
--page-content-positive-icon: var(--mode-color-status-positive-default);
|
|
19
|
+
--page-content-positive-txt: var(--mode-color-status-positive-default);
|
|
20
|
+
--page-icon-default: var(--mode-color-generic-txt-severe);
|
|
13
21
|
--page-txt-default: var(--mode-color-generic-txt-severe);
|
|
22
|
+
--page-content-icon-alt: var(--mode-color-generic-txt-moderate);
|
|
23
|
+
--page-content-icon-default: var(--mode-color-generic-txt-severe);
|
|
24
|
+
--page-content-txt-alt: var(--mode-color-generic-txt-moderate);
|
|
25
|
+
--page-content-txt-default: var(--mode-color-generic-txt-severe);
|
|
26
|
+
--page-content-inverse-icon-alt: var(--mode-color-generic-txt-inverse-moderate);
|
|
27
|
+
--page-content-inverse-icon-default: var(--mode-color-generic-txt-inverse-severe);
|
|
28
|
+
--page-content-inverse-txt-alt: var(--mode-color-generic-txt-inverse-moderate);
|
|
29
|
+
--page-content-inverse-txt-default: var(--mode-color-generic-txt-inverse-severe);
|
|
14
30
|
}
|
package/css/dark.css
CHANGED
|
@@ -78,6 +78,9 @@
|
|
|
78
78
|
--mode-color-generic-bg-inverse-faint: #f4f5f6;
|
|
79
79
|
--mode-color-generic-bg-inverse-delicate: #e8eaec;
|
|
80
80
|
--mode-color-generic-bg-inverse-soft: #dde0e3;
|
|
81
|
+
--mode-color-generic-depth-faint: #ffffff1a;
|
|
82
|
+
--mode-color-generic-depth-delicate: #ffffff26;
|
|
83
|
+
--mode-color-generic-depth-soft: #fff3;
|
|
81
84
|
--mode-color-generic-txt-extreme: #FFFFFF;
|
|
82
85
|
--mode-color-generic-txt-severe: #fffffff2;
|
|
83
86
|
--mode-color-generic-txt-moderate: #ffffffab;
|
package/css/global.css
CHANGED
|
@@ -8,18 +8,22 @@
|
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
10
|
--global-borderwidth-none: 0;
|
|
11
|
-
--global-borderwidth-xs: 1px;
|
|
12
|
-
--global-borderwidth-s: 2px;
|
|
13
|
-
--global-borderwidth-m: 3px;
|
|
14
|
-
--global-borderwidth-l: 4px;
|
|
15
|
-
--global-borderwidth-xl: 6px;
|
|
16
|
-
--global-borderwidth-xxl: 8px;
|
|
17
11
|
--global-breakpoint-xs: 320px;
|
|
18
12
|
--global-breakpoint-s: 600px;
|
|
19
13
|
--global-breakpoint-m: 960px;
|
|
20
14
|
--global-breakpoint-l: 1260px;
|
|
21
15
|
--global-breakpoint-xl: 1600px;
|
|
22
16
|
--global-breakpoint-xxl: 1920px;
|
|
17
|
+
--global-modifier-button-active: 0.30;
|
|
18
|
+
--global-modifier-button-active-alt: 0.15;
|
|
19
|
+
--global-modifier-button-hover: 0.15;
|
|
20
|
+
--global-modifier-button-hover-alt: 0.10;
|
|
21
|
+
--global-modifier-input-disabled-fg: 0.3;
|
|
22
|
+
--global-modifier-input-disabled-bg: 0.05;
|
|
23
|
+
--global-radius-none: 0;
|
|
24
|
+
--global-radius-container-circle: 999px;
|
|
25
|
+
--global-radius-action-circle: 999px;
|
|
26
|
+
--global-depth-none: 0 0 0 0 rgba(0,0,0,0);
|
|
23
27
|
--global-font-fluid-heading-s: 500 clamp(1.1646rem, 1.1207rem + 0.2195vw, 1.2964rem)/1.25 Sage UI;
|
|
24
28
|
--global-font-fluid-heading-m: 700 clamp(1.2811rem, 1.2155rem + 0.3279vw, 1.4778rem)/1.25 Sage UI;
|
|
25
29
|
--global-font-fluid-heading-l: 700 clamp(1.5869rem, 1.417rem + 0.8494vw, 2.4363rem)/1.25 Sage UI;
|
|
@@ -94,13 +98,19 @@
|
|
|
94
98
|
--global-font-static-comp-placeholder-l: 500 30px/1.5 Sage UI;
|
|
95
99
|
--global-font-static-comp-placeholder-xl: 500 40px/1.5 Sage UI;
|
|
96
100
|
--global-font-static-comp-placeholder-xxl: 500 52px/1.5 Sage UI;
|
|
97
|
-
--global-
|
|
98
|
-
--global-
|
|
99
|
-
--global-
|
|
100
|
-
--global-
|
|
101
|
-
--global-
|
|
102
|
-
--global-
|
|
103
|
-
--global-
|
|
101
|
+
--global-depth-lvl0: 0 0 1px 1px var(--mode-color-generic-depth-faint), 1px 2px 2px 0 var(--mode-color-generic-depth-soft);
|
|
102
|
+
--global-depth-lvl1: 0 1px 2px 0 var(--mode-color-generic-depth-faint), 2px 2px 10px 0 var(--mode-color-generic-depth-soft);
|
|
103
|
+
--global-depth-lvl2: 0 2px 3px 0 var(--mode-color-generic-depth-faint), 6px 6px 30px 0 var(--mode-color-generic-depth-delicate);
|
|
104
|
+
--global-depth-lvl3: 0 3px 4px 0 var(--mode-color-generic-depth-faint), 10px 10px 60px 0 var(--mode-color-generic-depth-faint);
|
|
105
|
+
--global-depth-sticky-b: 0 -1px 2px 0 var(--mode-color-generic-depth-faint), 2px -2px 10px 0 var(--mode-color-generic-depth-soft);
|
|
106
|
+
--global-depth-sticky-l: -2px 0 2px 0 var(--mode-color-generic-depth-faint), -5px 0 5px 0 var(--mode-color-generic-depth-faint);
|
|
107
|
+
--global-depth-sticky-r: 2px 0 2px 0 var(--mode-color-generic-depth-faint), 5px 0 5px 0 var(--mode-color-generic-depth-faint);
|
|
108
|
+
--global-borderwidth-xs: 1px;
|
|
109
|
+
--global-borderwidth-s: 2px;
|
|
110
|
+
--global-borderwidth-m: 3px;
|
|
111
|
+
--global-borderwidth-l: 4px;
|
|
112
|
+
--global-borderwidth-xl: 6px;
|
|
113
|
+
--global-borderwidth-xxl: 8px;
|
|
104
114
|
--global-radius-container-3-xs: 1px;
|
|
105
115
|
--global-radius-container-2-xs: 2px;
|
|
106
116
|
--global-radius-container-xs: 4px;
|
|
@@ -111,7 +121,6 @@
|
|
|
111
121
|
--global-radius-container-2-xl: 32px;
|
|
112
122
|
--global-radius-container-3-xl: 40px;
|
|
113
123
|
--global-radius-container-4-xl: 80px;
|
|
114
|
-
--global-radius-container-circle: 999px;
|
|
115
124
|
--global-radius-action-2-xs: 1px;
|
|
116
125
|
--global-radius-action-xs: 2px;
|
|
117
126
|
--global-radius-action-s: 4px;
|
|
@@ -119,15 +128,6 @@
|
|
|
119
128
|
--global-radius-action-l: 16px;
|
|
120
129
|
--global-radius-action-xl: 20px;
|
|
121
130
|
--global-radius-action-2-xl: 24px;
|
|
122
|
-
--global-radius-action-circle: 999px;
|
|
123
|
-
--global-depth-none: 0 0 0 0 rgba(0,0,0,0);
|
|
124
|
-
--global-depth-lvl0: 0 0 1px 1px #0000001A, 1px 2px 2px 0 #00000033;
|
|
125
|
-
--global-depth-lvl1: 0 1px 2px 0 #0000001A, 2px 2px 10px 0 #00000033;
|
|
126
|
-
--global-depth-lvl2: 0 2px 3px 0 #0000001A, 6px 6px 30px 0 #00000026;
|
|
127
|
-
--global-depth-lvl3: 0 3px 4px 0 #0000001A, 10px 10px 60px 0 #0000001A;
|
|
128
|
-
--global-depth-sticky-b: 0 -1px 2px 0 #0000001A, 2px -2px 10px 0 #00000033;
|
|
129
|
-
--global-depth-sticky-l: -2px 0 2px 0 #0000001A, -5px 0 5px 0 #0000001A;
|
|
130
|
-
--global-depth-sticky-r: 2px 0 2px 0 #0000001A, 5px 0 5px 0 #0000001A;
|
|
131
131
|
--global-size-none: 0px;
|
|
132
132
|
--global-size-6-xs: 2px;
|
|
133
133
|
--global-size-5-xs: 4px;
|
package/css/light-all.css
CHANGED
|
@@ -4,18 +4,22 @@
|
|
|
4
4
|
|
|
5
5
|
:root {
|
|
6
6
|
--global-borderwidth-none: 0;
|
|
7
|
-
--global-borderwidth-xs: 1px;
|
|
8
|
-
--global-borderwidth-s: 2px;
|
|
9
|
-
--global-borderwidth-m: 3px;
|
|
10
|
-
--global-borderwidth-l: 4px;
|
|
11
|
-
--global-borderwidth-xl: 6px;
|
|
12
|
-
--global-borderwidth-xxl: 8px;
|
|
13
7
|
--global-breakpoint-xs: 320px;
|
|
14
8
|
--global-breakpoint-s: 600px;
|
|
15
9
|
--global-breakpoint-m: 960px;
|
|
16
10
|
--global-breakpoint-l: 1260px;
|
|
17
11
|
--global-breakpoint-xl: 1600px;
|
|
18
12
|
--global-breakpoint-xxl: 1920px;
|
|
13
|
+
--global-modifier-button-active: 0.30;
|
|
14
|
+
--global-modifier-button-active-alt: 0.15;
|
|
15
|
+
--global-modifier-button-hover: 0.15;
|
|
16
|
+
--global-modifier-button-hover-alt: 0.10;
|
|
17
|
+
--global-modifier-input-disabled-fg: 0.3;
|
|
18
|
+
--global-modifier-input-disabled-bg: 0.05;
|
|
19
|
+
--global-radius-none: 0;
|
|
20
|
+
--global-radius-container-circle: 999px;
|
|
21
|
+
--global-radius-action-circle: 999px;
|
|
22
|
+
--global-depth-none: 0 0 0 0 rgba(0,0,0,0);
|
|
19
23
|
--global-font-fluid-heading-s: 500 clamp(1.1646rem, 1.1207rem + 0.2195vw, 1.2964rem)/1.25 Sage UI;
|
|
20
24
|
--global-font-fluid-heading-m: 700 clamp(1.2811rem, 1.2155rem + 0.3279vw, 1.4778rem)/1.25 Sage UI;
|
|
21
25
|
--global-font-fluid-heading-l: 700 clamp(1.5869rem, 1.417rem + 0.8494vw, 2.4363rem)/1.25 Sage UI;
|
|
@@ -90,13 +94,19 @@
|
|
|
90
94
|
--global-font-static-comp-placeholder-l: 500 30px/1.5 Sage UI;
|
|
91
95
|
--global-font-static-comp-placeholder-xl: 500 40px/1.5 Sage UI;
|
|
92
96
|
--global-font-static-comp-placeholder-xxl: 500 52px/1.5 Sage UI;
|
|
93
|
-
--global-
|
|
94
|
-
--global-
|
|
95
|
-
--global-
|
|
96
|
-
--global-
|
|
97
|
-
--global-
|
|
98
|
-
--global-
|
|
99
|
-
--global-
|
|
97
|
+
--global-depth-lvl0: 0 0 1px 1px var(--mode-color-generic-depth-faint), 1px 2px 2px 0 var(--mode-color-generic-depth-soft);
|
|
98
|
+
--global-depth-lvl1: 0 1px 2px 0 var(--mode-color-generic-depth-faint), 2px 2px 10px 0 var(--mode-color-generic-depth-soft);
|
|
99
|
+
--global-depth-lvl2: 0 2px 3px 0 var(--mode-color-generic-depth-faint), 6px 6px 30px 0 var(--mode-color-generic-depth-delicate);
|
|
100
|
+
--global-depth-lvl3: 0 3px 4px 0 var(--mode-color-generic-depth-faint), 10px 10px 60px 0 var(--mode-color-generic-depth-faint);
|
|
101
|
+
--global-depth-sticky-b: 0 -1px 2px 0 var(--mode-color-generic-depth-faint), 2px -2px 10px 0 var(--mode-color-generic-depth-soft);
|
|
102
|
+
--global-depth-sticky-l: -2px 0 2px 0 var(--mode-color-generic-depth-faint), -5px 0 5px 0 var(--mode-color-generic-depth-faint);
|
|
103
|
+
--global-depth-sticky-r: 2px 0 2px 0 var(--mode-color-generic-depth-faint), 5px 0 5px 0 var(--mode-color-generic-depth-faint);
|
|
104
|
+
--global-borderwidth-xs: 1px;
|
|
105
|
+
--global-borderwidth-s: 2px;
|
|
106
|
+
--global-borderwidth-m: 3px;
|
|
107
|
+
--global-borderwidth-l: 4px;
|
|
108
|
+
--global-borderwidth-xl: 6px;
|
|
109
|
+
--global-borderwidth-xxl: 8px;
|
|
100
110
|
--global-radius-container-3-xs: 1px;
|
|
101
111
|
--global-radius-container-2-xs: 2px;
|
|
102
112
|
--global-radius-container-xs: 4px;
|
|
@@ -107,7 +117,6 @@
|
|
|
107
117
|
--global-radius-container-2-xl: 32px;
|
|
108
118
|
--global-radius-container-3-xl: 40px;
|
|
109
119
|
--global-radius-container-4-xl: 80px;
|
|
110
|
-
--global-radius-container-circle: 999px;
|
|
111
120
|
--global-radius-action-2-xs: 1px;
|
|
112
121
|
--global-radius-action-xs: 2px;
|
|
113
122
|
--global-radius-action-s: 4px;
|
|
@@ -115,15 +124,6 @@
|
|
|
115
124
|
--global-radius-action-l: 16px;
|
|
116
125
|
--global-radius-action-xl: 20px;
|
|
117
126
|
--global-radius-action-2-xl: 24px;
|
|
118
|
-
--global-radius-action-circle: 999px;
|
|
119
|
-
--global-depth-none: 0 0 0 0 rgba(0,0,0,0);
|
|
120
|
-
--global-depth-lvl0: 0 0 1px 1px #0000001A, 1px 2px 2px 0 #00000033;
|
|
121
|
-
--global-depth-lvl1: 0 1px 2px 0 #0000001A, 2px 2px 10px 0 #00000033;
|
|
122
|
-
--global-depth-lvl2: 0 2px 3px 0 #0000001A, 6px 6px 30px 0 #00000026;
|
|
123
|
-
--global-depth-lvl3: 0 3px 4px 0 #0000001A, 10px 10px 60px 0 #0000001A;
|
|
124
|
-
--global-depth-sticky-b: 0 -1px 2px 0 #0000001A, 2px -2px 10px 0 #00000033;
|
|
125
|
-
--global-depth-sticky-l: -2px 0 2px 0 #0000001A, -5px 0 5px 0 #0000001A;
|
|
126
|
-
--global-depth-sticky-r: 2px 0 2px 0 #0000001A, 5px 0 5px 0 #0000001A;
|
|
127
127
|
--global-size-none: 0px;
|
|
128
128
|
--global-size-6-xs: 2px;
|
|
129
129
|
--global-size-5-xs: 4px;
|
|
@@ -227,6 +227,9 @@
|
|
|
227
227
|
--mode-color-generic-bg-inverse-faint: #ffffff0d;
|
|
228
228
|
--mode-color-generic-bg-inverse-delicate: #ffffff1a;
|
|
229
229
|
--mode-color-generic-bg-inverse-soft: #ffffff26;
|
|
230
|
+
--mode-color-generic-depth-faint: #0000001a;
|
|
231
|
+
--mode-color-generic-depth-delicate: #00000026;
|
|
232
|
+
--mode-color-generic-depth-soft: #0003;
|
|
230
233
|
--mode-color-generic-txt-extreme: #000000;
|
|
231
234
|
--mode-color-generic-txt-severe: #000000f2;
|
|
232
235
|
--mode-color-generic-txt-moderate: #000000a6;
|
|
@@ -730,10 +733,26 @@
|
|
|
730
733
|
--pill-generic-inverse-label-alt-hover: var(--mode-color-status-txt-inverse-with-default-alt);
|
|
731
734
|
--pill-generic-label-alt-default: var(--mode-color-status-txt-with-default-alt);
|
|
732
735
|
--pill-generic-label-alt-hover: var(--mode-color-status-txt-with-default-alt);
|
|
733
|
-
--page-bg-default: var(--mode-color-generic-surface-nought);
|
|
734
736
|
--page-bg-alt: var(--mode-color-generic-surface-trace);
|
|
735
|
-
--page-
|
|
737
|
+
--page-bg-default: var(--mode-color-generic-surface-nought);
|
|
738
|
+
--page-content-caution-icon: var(--mode-color-status-warning-default);
|
|
739
|
+
--page-content-caution-txt: var(--mode-color-status-warning-txt);
|
|
740
|
+
--page-content-info-icon: var(--mode-color-status-info-default);
|
|
741
|
+
--page-content-info-txt: var(--mode-color-status-info-default);
|
|
742
|
+
--page-content-negative-icon: var(--mode-color-status-negative-default);
|
|
743
|
+
--page-content-negative-txt: var(--mode-color-status-negative-default);
|
|
744
|
+
--page-content-positive-icon: var(--mode-color-status-positive-default);
|
|
745
|
+
--page-content-positive-txt: var(--mode-color-status-positive-default);
|
|
746
|
+
--page-icon-default: var(--mode-color-generic-txt-severe);
|
|
736
747
|
--page-txt-default: var(--mode-color-generic-txt-severe);
|
|
748
|
+
--page-content-icon-alt: var(--mode-color-generic-txt-moderate);
|
|
749
|
+
--page-content-icon-default: var(--mode-color-generic-txt-severe);
|
|
750
|
+
--page-content-txt-alt: var(--mode-color-generic-txt-moderate);
|
|
751
|
+
--page-content-txt-default: var(--mode-color-generic-txt-severe);
|
|
752
|
+
--page-content-inverse-icon-alt: var(--mode-color-generic-txt-inverse-moderate);
|
|
753
|
+
--page-content-inverse-icon-default: var(--mode-color-generic-txt-inverse-severe);
|
|
754
|
+
--page-content-inverse-txt-alt: var(--mode-color-generic-txt-inverse-moderate);
|
|
755
|
+
--page-content-inverse-txt-default: var(--mode-color-generic-txt-inverse-severe);
|
|
737
756
|
--nav-primary-bg-active: var(--mode-color-action-nav-active);
|
|
738
757
|
--nav-primary-bg-default: var(--mode-color-generic-bg-inverse-nought);
|
|
739
758
|
--nav-primary-bg-hover: var(--mode-color-action-nav-hover);
|
package/css/light.css
CHANGED
|
@@ -78,6 +78,9 @@
|
|
|
78
78
|
--mode-color-generic-bg-inverse-faint: #ffffff0d;
|
|
79
79
|
--mode-color-generic-bg-inverse-delicate: #ffffff1a;
|
|
80
80
|
--mode-color-generic-bg-inverse-soft: #ffffff26;
|
|
81
|
+
--mode-color-generic-depth-faint: #0000001a;
|
|
82
|
+
--mode-color-generic-depth-delicate: #00000026;
|
|
83
|
+
--mode-color-generic-depth-soft: #0003;
|
|
81
84
|
--mode-color-generic-txt-extreme: #000000;
|
|
82
85
|
--mode-color-generic-txt-severe: #000000f2;
|
|
83
86
|
--mode-color-generic-txt-moderate: #000000a6;
|
|
@@ -20,9 +20,37 @@ declare interface DesignToken {
|
|
|
20
20
|
|
|
21
21
|
declare const tokens: {
|
|
22
22
|
page: {
|
|
23
|
-
"bg-default": DesignToken;
|
|
24
23
|
"bg-alt": DesignToken;
|
|
25
|
-
"
|
|
24
|
+
"bg-default": DesignToken;
|
|
25
|
+
"icon-default": DesignToken;
|
|
26
26
|
"txt-default": DesignToken;
|
|
27
|
+
content: {
|
|
28
|
+
"icon-alt": DesignToken;
|
|
29
|
+
"icon-default": DesignToken;
|
|
30
|
+
"txt-alt": DesignToken;
|
|
31
|
+
"txt-default": DesignToken;
|
|
32
|
+
inverse: {
|
|
33
|
+
"icon-alt": DesignToken;
|
|
34
|
+
"icon-default": DesignToken;
|
|
35
|
+
"txt-alt": DesignToken;
|
|
36
|
+
"txt-default": DesignToken;
|
|
37
|
+
};
|
|
38
|
+
caution: {
|
|
39
|
+
icon: DesignToken;
|
|
40
|
+
txt: DesignToken;
|
|
41
|
+
};
|
|
42
|
+
info: {
|
|
43
|
+
icon: DesignToken;
|
|
44
|
+
txt: DesignToken;
|
|
45
|
+
};
|
|
46
|
+
negative: {
|
|
47
|
+
icon: DesignToken;
|
|
48
|
+
txt: DesignToken;
|
|
49
|
+
};
|
|
50
|
+
positive: {
|
|
51
|
+
icon: DesignToken;
|
|
52
|
+
txt: DesignToken;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
27
55
|
};
|
|
28
56
|
};
|
|
@@ -2,7 +2,23 @@
|
|
|
2
2
|
* Copyright © 2026 The Sage Group plc or its licensors. All Rights reserved
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
module.exports.pageBgDefault = "var(--mode-color-generic-surface-nought)";
|
|
6
5
|
module.exports.pageBgAlt = "var(--mode-color-generic-surface-trace)";
|
|
7
|
-
module.exports.
|
|
6
|
+
module.exports.pageBgDefault = "var(--mode-color-generic-surface-nought)";
|
|
7
|
+
module.exports.pageIconDefault = "var(--mode-color-generic-txt-severe)";
|
|
8
8
|
module.exports.pageTxtDefault = "var(--mode-color-generic-txt-severe)";
|
|
9
|
+
module.exports.pageContentIconAlt = "var(--mode-color-generic-txt-moderate)";
|
|
10
|
+
module.exports.pageContentIconDefault = "var(--mode-color-generic-txt-severe)";
|
|
11
|
+
module.exports.pageContentTxtAlt = "var(--mode-color-generic-txt-moderate)";
|
|
12
|
+
module.exports.pageContentTxtDefault = "var(--mode-color-generic-txt-severe)";
|
|
13
|
+
module.exports.pageContentInverseIconAlt = "var(--mode-color-generic-txt-inverse-moderate)";
|
|
14
|
+
module.exports.pageContentInverseIconDefault = "var(--mode-color-generic-txt-inverse-severe)";
|
|
15
|
+
module.exports.pageContentInverseTxtAlt = "var(--mode-color-generic-txt-inverse-moderate)";
|
|
16
|
+
module.exports.pageContentInverseTxtDefault = "var(--mode-color-generic-txt-inverse-severe)";
|
|
17
|
+
module.exports.pageContentCautionIcon = "var(--mode-color-status-warning-default)";
|
|
18
|
+
module.exports.pageContentCautionTxt = "var(--mode-color-status-warning-txt)";
|
|
19
|
+
module.exports.pageContentInfoIcon = "var(--mode-color-status-info-default)";
|
|
20
|
+
module.exports.pageContentInfoTxt = "var(--mode-color-status-info-default)";
|
|
21
|
+
module.exports.pageContentNegativeIcon = "var(--mode-color-status-negative-default)";
|
|
22
|
+
module.exports.pageContentNegativeTxt = "var(--mode-color-status-negative-default)";
|
|
23
|
+
module.exports.pageContentPositiveIcon = "var(--mode-color-status-positive-default)";
|
|
24
|
+
module.exports.pageContentPositiveTxt = "var(--mode-color-status-positive-default)";
|
package/js/common/dark.d.ts
CHANGED
package/js/common/dark.js
CHANGED
|
@@ -73,6 +73,9 @@ module.exports.modeColorGenericBgInverseNought = "#FFFFFF";
|
|
|
73
73
|
module.exports.modeColorGenericBgInverseFaint = "#f4f5f6";
|
|
74
74
|
module.exports.modeColorGenericBgInverseDelicate = "#e8eaec";
|
|
75
75
|
module.exports.modeColorGenericBgInverseSoft = "#dde0e3";
|
|
76
|
+
module.exports.modeColorGenericDepthFaint = "#ffffff1a";
|
|
77
|
+
module.exports.modeColorGenericDepthDelicate = "#ffffff26";
|
|
78
|
+
module.exports.modeColorGenericDepthSoft = "#fff3";
|
|
76
79
|
module.exports.modeColorGenericTxtExtreme = "#FFFFFF";
|
|
77
80
|
module.exports.modeColorGenericTxtSevere = "#fffffff2";
|
|
78
81
|
module.exports.modeColorGenericTxtModerate = "#ffffffab";
|
package/js/common/global.js
CHANGED
|
@@ -115,14 +115,14 @@ module.exports.globalRadiusActionL = "16px";
|
|
|
115
115
|
module.exports.globalRadiusActionXl = "20px";
|
|
116
116
|
module.exports.globalRadiusAction2Xl = "24px";
|
|
117
117
|
module.exports.globalRadiusActionCircle = "999px";
|
|
118
|
-
module.exports.globalDepthNone =
|
|
119
|
-
module.exports.globalDepthLvl0 =
|
|
120
|
-
module.exports.globalDepthLvl1 =
|
|
121
|
-
module.exports.globalDepthLvl2 =
|
|
122
|
-
module.exports.globalDepthLvl3 =
|
|
123
|
-
module.exports.globalDepthStickyB =
|
|
124
|
-
module.exports.globalDepthStickyL =
|
|
125
|
-
module.exports.globalDepthStickyR =
|
|
118
|
+
module.exports.globalDepthNone = "0 0 0 0 rgba(0,0,0,0)";
|
|
119
|
+
module.exports.globalDepthLvl0 = "0 0 1px 1px var(--mode-color-generic-depth-faint), 1px 2px 2px 0 var(--mode-color-generic-depth-soft)";
|
|
120
|
+
module.exports.globalDepthLvl1 = "0 1px 2px 0 var(--mode-color-generic-depth-faint), 2px 2px 10px 0 var(--mode-color-generic-depth-soft)";
|
|
121
|
+
module.exports.globalDepthLvl2 = "0 2px 3px 0 var(--mode-color-generic-depth-faint), 6px 6px 30px 0 var(--mode-color-generic-depth-delicate)";
|
|
122
|
+
module.exports.globalDepthLvl3 = "0 3px 4px 0 var(--mode-color-generic-depth-faint), 10px 10px 60px 0 var(--mode-color-generic-depth-faint)";
|
|
123
|
+
module.exports.globalDepthStickyB = "0 -1px 2px 0 var(--mode-color-generic-depth-faint), 2px -2px 10px 0 var(--mode-color-generic-depth-soft)";
|
|
124
|
+
module.exports.globalDepthStickyL = "-2px 0 2px 0 var(--mode-color-generic-depth-faint), -5px 0 5px 0 var(--mode-color-generic-depth-faint)";
|
|
125
|
+
module.exports.globalDepthStickyR = "2px 0 2px 0 var(--mode-color-generic-depth-faint), 5px 0 5px 0 var(--mode-color-generic-depth-faint)";
|
|
126
126
|
module.exports.globalSizeNone = "0px";
|
|
127
127
|
module.exports.globalSize6Xs = "2px";
|
|
128
128
|
module.exports.globalSize5Xs = "4px";
|
package/js/common/light.d.ts
CHANGED
package/js/common/light.js
CHANGED
|
@@ -73,6 +73,9 @@ module.exports.modeColorGenericBgInverseNought = "#000000";
|
|
|
73
73
|
module.exports.modeColorGenericBgInverseFaint = "#ffffff0d";
|
|
74
74
|
module.exports.modeColorGenericBgInverseDelicate = "#ffffff1a";
|
|
75
75
|
module.exports.modeColorGenericBgInverseSoft = "#ffffff26";
|
|
76
|
+
module.exports.modeColorGenericDepthFaint = "#0000001a";
|
|
77
|
+
module.exports.modeColorGenericDepthDelicate = "#00000026";
|
|
78
|
+
module.exports.modeColorGenericDepthSoft = "#0003";
|
|
76
79
|
module.exports.modeColorGenericTxtExtreme = "#000000";
|
|
77
80
|
module.exports.modeColorGenericTxtSevere = "#000000f2";
|
|
78
81
|
module.exports.modeColorGenericTxtModerate = "#000000a6";
|
|
@@ -6,9 +6,30 @@
|
|
|
6
6
|
* Do not edit directly, this file was auto-generated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
export const pageBgDefault: string;
|
|
10
9
|
export const pageBgAlt: string;
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
export const pageBgDefault: string;
|
|
11
|
+
/** default color for standard icons */
|
|
12
|
+
export const pageIconDefault: string;
|
|
13
13
|
/** for headings, paragraph txt etc */
|
|
14
14
|
export const pageTxtDefault: string;
|
|
15
|
+
export const pageContentIconAlt: string;
|
|
16
|
+
/** default color for standard icons */
|
|
17
|
+
export const pageContentIconDefault: string;
|
|
18
|
+
/** for subheadings etc */
|
|
19
|
+
export const pageContentTxtAlt: string;
|
|
20
|
+
/** for headings, paragraph txt etc */
|
|
21
|
+
export const pageContentTxtDefault: string;
|
|
22
|
+
export const pageContentInverseIconAlt: string;
|
|
23
|
+
export const pageContentInverseIconDefault: string;
|
|
24
|
+
/** for subheadings etc */
|
|
25
|
+
export const pageContentInverseTxtAlt: string;
|
|
26
|
+
/** for headings, paragraph txt etc */
|
|
27
|
+
export const pageContentInverseTxtDefault: string;
|
|
28
|
+
export const pageContentCautionIcon: string;
|
|
29
|
+
export const pageContentCautionTxt: string;
|
|
30
|
+
export const pageContentInfoIcon: string;
|
|
31
|
+
export const pageContentInfoTxt: string;
|
|
32
|
+
export const pageContentNegativeIcon: string;
|
|
33
|
+
export const pageContentNegativeTxt: string;
|
|
34
|
+
export const pageContentPositiveIcon: string;
|
|
35
|
+
export const pageContentPositiveTxt: string;
|
|
@@ -2,7 +2,23 @@
|
|
|
2
2
|
* Copyright © 2026 The Sage Group plc or its licensors. All Rights reserved
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
export const pageBgDefault = "var(--mode-color-generic-surface-nought)";
|
|
6
5
|
export const pageBgAlt = "var(--mode-color-generic-surface-trace)";
|
|
7
|
-
export const
|
|
6
|
+
export const pageBgDefault = "var(--mode-color-generic-surface-nought)";
|
|
7
|
+
export const pageIconDefault = "var(--mode-color-generic-txt-severe)";
|
|
8
8
|
export const pageTxtDefault = "var(--mode-color-generic-txt-severe)";
|
|
9
|
+
export const pageContentIconAlt = "var(--mode-color-generic-txt-moderate)";
|
|
10
|
+
export const pageContentIconDefault = "var(--mode-color-generic-txt-severe)";
|
|
11
|
+
export const pageContentTxtAlt = "var(--mode-color-generic-txt-moderate)";
|
|
12
|
+
export const pageContentTxtDefault = "var(--mode-color-generic-txt-severe)";
|
|
13
|
+
export const pageContentInverseIconAlt = "var(--mode-color-generic-txt-inverse-moderate)";
|
|
14
|
+
export const pageContentInverseIconDefault = "var(--mode-color-generic-txt-inverse-severe)";
|
|
15
|
+
export const pageContentInverseTxtAlt = "var(--mode-color-generic-txt-inverse-moderate)";
|
|
16
|
+
export const pageContentInverseTxtDefault = "var(--mode-color-generic-txt-inverse-severe)";
|
|
17
|
+
export const pageContentCautionIcon = "var(--mode-color-status-warning-default)";
|
|
18
|
+
export const pageContentCautionTxt = "var(--mode-color-status-warning-txt)";
|
|
19
|
+
export const pageContentInfoIcon = "var(--mode-color-status-info-default)";
|
|
20
|
+
export const pageContentInfoTxt = "var(--mode-color-status-info-default)";
|
|
21
|
+
export const pageContentNegativeIcon = "var(--mode-color-status-negative-default)";
|
|
22
|
+
export const pageContentNegativeTxt = "var(--mode-color-status-negative-default)";
|
|
23
|
+
export const pageContentPositiveIcon = "var(--mode-color-status-positive-default)";
|
|
24
|
+
export const pageContentPositiveTxt = "var(--mode-color-status-positive-default)";
|
package/js/es6/dark.d.ts
CHANGED
|
@@ -78,6 +78,9 @@ export const modeColorGenericBgInverseNought: string;
|
|
|
78
78
|
export const modeColorGenericBgInverseFaint: string;
|
|
79
79
|
export const modeColorGenericBgInverseDelicate: string;
|
|
80
80
|
export const modeColorGenericBgInverseSoft: string;
|
|
81
|
+
export const modeColorGenericDepthFaint: string;
|
|
82
|
+
export const modeColorGenericDepthDelicate: string;
|
|
83
|
+
export const modeColorGenericDepthSoft: string;
|
|
81
84
|
export const modeColorGenericTxtExtreme: string;
|
|
82
85
|
export const modeColorGenericTxtSevere: string;
|
|
83
86
|
export const modeColorGenericTxtModerate: string;
|
package/js/es6/dark.js
CHANGED
|
@@ -77,6 +77,9 @@ export const modeColorGenericBgInverseNought = "#FFFFFF";
|
|
|
77
77
|
export const modeColorGenericBgInverseFaint = "#f4f5f6";
|
|
78
78
|
export const modeColorGenericBgInverseDelicate = "#e8eaec";
|
|
79
79
|
export const modeColorGenericBgInverseSoft = "#dde0e3";
|
|
80
|
+
export const modeColorGenericDepthFaint = "#ffffff1a";
|
|
81
|
+
export const modeColorGenericDepthDelicate = "#ffffff26";
|
|
82
|
+
export const modeColorGenericDepthSoft = "#fff3";
|
|
80
83
|
export const modeColorGenericTxtExtreme = "#FFFFFF";
|
|
81
84
|
export const modeColorGenericTxtSevere = "#fffffff2";
|
|
82
85
|
export const modeColorGenericTxtModerate = "#ffffffab";
|