@webority/tokens 0.137.1 → 0.138.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/dist/canvas/webority-phone.json +3 -1
- package/dist/canvas/webority-web-390.json +6 -2
- package/dist/canvas/webority-web.json +6 -2
- package/dist/meanings.json +8 -1
- package/dist/names.js +1 -1
- package/dist/source/meaning.tokens.json +52 -0
- package/dist/source/mode.dark.tokens.json +3 -0
- package/dist/source/palette.tokens.json +5 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"format": "webority-theme-tokens/2",
|
|
3
3
|
"source": {
|
|
4
4
|
"package": "@webority/tokens",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.138.0",
|
|
6
6
|
"brand": null,
|
|
7
7
|
"platform": "phone",
|
|
8
8
|
"width": null
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"surface-dark-border": "#2a3553",
|
|
23
23
|
"on-surface-dark": "#ffffff",
|
|
24
24
|
"on-surface-dark-muted": "#babdc7",
|
|
25
|
+
"surface-ink": "#0b0e16",
|
|
25
26
|
"text": "#252f4a",
|
|
26
27
|
"text-body": "#0f0f1a",
|
|
27
28
|
"text-muted": "#52525b",
|
|
@@ -113,6 +114,7 @@
|
|
|
113
114
|
"surface-dark-border": "#2a3553",
|
|
114
115
|
"on-surface-dark": "#ffffff",
|
|
115
116
|
"on-surface-dark-muted": "#babdc7",
|
|
117
|
+
"surface-ink": "#0b0e16",
|
|
116
118
|
"text": "#e2e2e2",
|
|
117
119
|
"text-body": "#fafafa",
|
|
118
120
|
"text-muted": "#b4b4bb",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"format": "webority-theme-tokens/2",
|
|
3
3
|
"source": {
|
|
4
4
|
"package": "@webority/tokens",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.138.0",
|
|
6
6
|
"brand": null,
|
|
7
7
|
"platform": "web",
|
|
8
8
|
"width": 390
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"surface-dark-border": "#2a3553",
|
|
29
29
|
"on-surface-dark": "#ffffff",
|
|
30
30
|
"on-surface-dark-muted": "#babdc7",
|
|
31
|
+
"surface-ink": "#0b0e16",
|
|
31
32
|
"text": "#071437",
|
|
32
33
|
"text-body": "#252f4a",
|
|
33
34
|
"text-muted": "#4b5675",
|
|
@@ -144,6 +145,7 @@
|
|
|
144
145
|
"surface-dark-border": "#2a3553",
|
|
145
146
|
"on-surface-dark": "#ffffff",
|
|
146
147
|
"on-surface-dark-muted": "#babdc7",
|
|
148
|
+
"surface-ink": "#0b0e16",
|
|
147
149
|
"text": "#e6e8ee",
|
|
148
150
|
"text-body": "#e6e8ee",
|
|
149
151
|
"text-muted": "#b4b9c6",
|
|
@@ -313,7 +315,9 @@
|
|
|
313
315
|
"leading": {
|
|
314
316
|
"heading": 1.2,
|
|
315
317
|
"body": 1.55,
|
|
316
|
-
"display": 1.05
|
|
318
|
+
"display": 1.05,
|
|
319
|
+
"prose": 1.7,
|
|
320
|
+
"lead": 1.6
|
|
317
321
|
}
|
|
318
322
|
},
|
|
319
323
|
"fonts": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"format": "webority-theme-tokens/2",
|
|
3
3
|
"source": {
|
|
4
4
|
"package": "@webority/tokens",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.138.0",
|
|
6
6
|
"brand": null,
|
|
7
7
|
"platform": "web",
|
|
8
8
|
"width": 1440
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"surface-dark-border": "#2a3553",
|
|
29
29
|
"on-surface-dark": "#ffffff",
|
|
30
30
|
"on-surface-dark-muted": "#babdc7",
|
|
31
|
+
"surface-ink": "#0b0e16",
|
|
31
32
|
"text": "#071437",
|
|
32
33
|
"text-body": "#252f4a",
|
|
33
34
|
"text-muted": "#4b5675",
|
|
@@ -144,6 +145,7 @@
|
|
|
144
145
|
"surface-dark-border": "#2a3553",
|
|
145
146
|
"on-surface-dark": "#ffffff",
|
|
146
147
|
"on-surface-dark-muted": "#babdc7",
|
|
148
|
+
"surface-ink": "#0b0e16",
|
|
147
149
|
"text": "#e6e8ee",
|
|
148
150
|
"text-body": "#e6e8ee",
|
|
149
151
|
"text-muted": "#b4b9c6",
|
|
@@ -313,7 +315,9 @@
|
|
|
313
315
|
"leading": {
|
|
314
316
|
"heading": 1.2,
|
|
315
317
|
"body": 1.55,
|
|
316
|
-
"display": 1.05
|
|
318
|
+
"display": 1.05,
|
|
319
|
+
"prose": 1.7,
|
|
320
|
+
"lead": 1.6
|
|
317
321
|
}
|
|
318
322
|
},
|
|
319
323
|
"fonts": {
|
package/dist/meanings.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"format": "webority-meanings/1",
|
|
3
3
|
"source": {
|
|
4
4
|
"package": "@webority/tokens",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.138.0"
|
|
6
6
|
},
|
|
7
7
|
"color": {
|
|
8
8
|
"bg": {
|
|
@@ -104,6 +104,13 @@
|
|
|
104
104
|
"phone"
|
|
105
105
|
]
|
|
106
106
|
},
|
|
107
|
+
"surface-ink": {
|
|
108
|
+
"description": "Neutral near-black band, darker than surface-dark, that stays the same in light and dark mode, such as a footer or a contents box.",
|
|
109
|
+
"platforms": [
|
|
110
|
+
"web",
|
|
111
|
+
"phone"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
107
114
|
"text": {
|
|
108
115
|
"description": "Main heading and body ink.",
|
|
109
116
|
"platforms": [
|
package/dist/names.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e={palette:`--wui-`,color:`--color-`,effect:`--wui-`,space:`--wui-space-`,radius:`--wui-radius-`,text:`--wui-fs-`,weight:`--wui-fw-`,leading:`--wui-lh-`,"letter-spacing":`--wui-letter-spacing-`,font:`--wui-font-`,shadow:`--wui-shadow-`,motion:`--wui-`,section:`--wui-section-`,size:`--wui-`,z:`--wui-z-`,component:`--wui-`},t={space:[`none`,`xxs`,`xs`,`sm`,`md`,`lg`,`xl`,`2xl`,`3xl`,`4xl`],radius:[`none`,`sm`,`md`,`lg`,`xl`,`pill`],text:[`xs`,`sm`,`base`,`lg`,`xl`,`2xl`,`3xl`,`4xl`,`5xl`,`6xl`,`7xl`,`8xl`],weight:[`normal`,`medium`,`semibold`,`bold`],"letter-spacing":[`tight`,`normal`,`wide`],leading:[`heading`,`body`,`display`]};function n(t,n){let r=e[t];if(r===void 0)throw Error(`webority-tokens: ${t} is not a token group; add it to PREFIX in names.js.`);return`${r}${n}`}function r(e){let[t,...r]=e.split(`.`);return n(t,r.join(`-`))}export{t as STEPS,n as cssVar,r as cssVarOfPath};
|
|
1
|
+
var e={palette:`--wui-`,color:`--color-`,effect:`--wui-`,space:`--wui-space-`,radius:`--wui-radius-`,text:`--wui-fs-`,weight:`--wui-fw-`,leading:`--wui-lh-`,"letter-spacing":`--wui-letter-spacing-`,font:`--wui-font-`,shadow:`--wui-shadow-`,motion:`--wui-`,section:`--wui-section-`,size:`--wui-`,z:`--wui-z-`,component:`--wui-`},t={space:[`none`,`xxs`,`xs`,`sm`,`md`,`lg`,`xl`,`2xl`,`3xl`,`4xl`],radius:[`none`,`sm`,`md`,`lg`,`xl`,`pill`],text:[`xs`,`sm`,`base`,`lg`,`xl`,`2xl`,`3xl`,`4xl`,`5xl`,`6xl`,`7xl`,`8xl`],weight:[`normal`,`medium`,`semibold`,`bold`],"letter-spacing":[`tight`,`normal`,`wide`],leading:[`heading`,`body`,`display`,`prose`,`lead`]};function n(t,n){let r=e[t];if(r===void 0)throw Error(`webority-tokens: ${t} is not a token group; add it to PREFIX in names.js.`);return`${r}${n}`}function r(e){let[t,...r]=e.split(`.`);return n(t,r.join(`-`))}export{t as STEPS,n as cssVar,r as cssVarOfPath};
|
|
@@ -91,6 +91,10 @@
|
|
|
91
91
|
"$value": "color-mix(in srgb, {palette.bg-light} 72%, {palette.text-heading})",
|
|
92
92
|
"$description": "Secondary text on a surface-dark band."
|
|
93
93
|
},
|
|
94
|
+
"surface-ink": {
|
|
95
|
+
"$value": "#0B0E16",
|
|
96
|
+
"$description": "Neutral near-black band, darker than surface-dark, that stays the same in light and dark mode, such as a footer or a contents box."
|
|
97
|
+
},
|
|
94
98
|
"text": {
|
|
95
99
|
"$value": "{palette.text-heading}",
|
|
96
100
|
"$description": "Main heading and body ink."
|
|
@@ -1094,6 +1098,36 @@
|
|
|
1094
1098
|
"$value": "radial-gradient(ellipse 120% 100% at 50% 50%, #312E81 0%, #1E1B4B 60%, #0F0D2E 100%)",
|
|
1095
1099
|
"$description": "Background gradient of the call-to-action band on marketing pages."
|
|
1096
1100
|
},
|
|
1101
|
+
"ai-violet": {
|
|
1102
|
+
"$type": "color",
|
|
1103
|
+
"$value": "#7C3AED",
|
|
1104
|
+
"$description": "Violet accent of AI assistant surfaces."
|
|
1105
|
+
},
|
|
1106
|
+
"ai-cyan": {
|
|
1107
|
+
"$type": "color",
|
|
1108
|
+
"$value": "#0E9BD6",
|
|
1109
|
+
"$description": "Cyan accent of AI assistant surfaces."
|
|
1110
|
+
},
|
|
1111
|
+
"ai-green": {
|
|
1112
|
+
"$type": "color",
|
|
1113
|
+
"$value": "#12B886",
|
|
1114
|
+
"$description": "Green accent of AI assistant surfaces."
|
|
1115
|
+
},
|
|
1116
|
+
"ai-sweep": {
|
|
1117
|
+
"$type": "gradient",
|
|
1118
|
+
"$value": "var(--color-primary), var(--wui-ai-violet), var(--wui-ai-cyan), var(--wui-ai-green), var(--color-primary)",
|
|
1119
|
+
"$description": "Stop list of the AI assistant sweep, for conic-gradient(from <angle>, var(--wui-ai-sweep))."
|
|
1120
|
+
},
|
|
1121
|
+
"progress-gradient-ok": {
|
|
1122
|
+
"$type": "gradient",
|
|
1123
|
+
"$value": "linear-gradient(90deg, var(--color-success), var(--color-chart-3))",
|
|
1124
|
+
"$description": "Fill of a progress bar inside its limit."
|
|
1125
|
+
},
|
|
1126
|
+
"progress-gradient-warn": {
|
|
1127
|
+
"$type": "gradient",
|
|
1128
|
+
"$value": "linear-gradient(90deg, var(--color-warning), var(--color-danger))",
|
|
1129
|
+
"$description": "Fill of a progress bar at or over its limit."
|
|
1130
|
+
},
|
|
1097
1131
|
"$extensions": {
|
|
1098
1132
|
"com.webority": {
|
|
1099
1133
|
"platforms": ["web"]
|
|
@@ -1113,6 +1147,24 @@
|
|
|
1113
1147
|
"display": {
|
|
1114
1148
|
"$value": 1.05,
|
|
1115
1149
|
"$description": "Line height of display-size text such as hero titles."
|
|
1150
|
+
},
|
|
1151
|
+
"prose": {
|
|
1152
|
+
"$value": 1.7,
|
|
1153
|
+
"$description": "Line height of long reading text such as articles, help pages and legal text, at the base or lg text size in a measure of about 60 to 75 characters.",
|
|
1154
|
+
"$extensions": {
|
|
1155
|
+
"com.webority": {
|
|
1156
|
+
"platforms": ["web"]
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
},
|
|
1160
|
+
"lead": {
|
|
1161
|
+
"$value": 1.6,
|
|
1162
|
+
"$description": "Line height of the single larger opening paragraph under a page title.",
|
|
1163
|
+
"$extensions": {
|
|
1164
|
+
"com.webority": {
|
|
1165
|
+
"platforms": ["web"]
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1116
1168
|
}
|
|
1117
1169
|
}
|
|
1118
1170
|
}
|
|
@@ -581,6 +581,11 @@
|
|
|
581
581
|
"$value": "#a29df1",
|
|
582
582
|
"$description": "Primary fill while it is hovered in dark mode."
|
|
583
583
|
},
|
|
584
|
+
"dark-ai-violet": {
|
|
585
|
+
"$type": "color",
|
|
586
|
+
"$value": "#A78BFA",
|
|
587
|
+
"$description": "Lighter violet accent of AI assistant surfaces in dark mode."
|
|
588
|
+
},
|
|
584
589
|
"dark-chart-2": {
|
|
585
590
|
"$type": "color",
|
|
586
591
|
"$value": "#d95926",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/tokens",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.138.0",
|
|
4
4
|
"description": "The Webority design tokens in one W3C Design Tokens source (palette, scale, meaning and component tiers, with light and dark, web and phone, and 390 and 1440 widths), and the webority command that brands a product, upgrades it between releases and checks it against the token source.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"type": "module",
|