@cocso-ui/css 1.13.0 → 1.15.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/package.json +1 -1
- package/tailwind4.css +4 -0
- package/theme-dark.css +2 -0
- package/token.css +7 -3
- package/tokens.json +72 -4
package/package.json
CHANGED
package/tailwind4.css
CHANGED
|
@@ -133,6 +133,8 @@
|
|
|
133
133
|
--easing-soft: var(--cocso-easing-soft);
|
|
134
134
|
--easing-entrance: var(--cocso-easing-entrance);
|
|
135
135
|
--easing-accordion: var(--cocso-easing-accordion);
|
|
136
|
+
--easing-in-out: var(--cocso-easing-in-out);
|
|
137
|
+
--easing-spring: var(--cocso-easing-spring);
|
|
136
138
|
--shadow-thumb: var(--cocso-shadow-thumb);
|
|
137
139
|
--shadow-card: var(--cocso-shadow-card);
|
|
138
140
|
--shadow-dropdown: var(--cocso-shadow-dropdown);
|
|
@@ -156,6 +158,8 @@
|
|
|
156
158
|
--color-text-on-info: var(--cocso-color-text-on-info);
|
|
157
159
|
--color-text-on-warning: var(--cocso-color-text-on-warning);
|
|
158
160
|
--color-text-muted: var(--cocso-color-text-muted);
|
|
161
|
+
--color-text-on-inverse: var(--cocso-color-text-on-inverse);
|
|
162
|
+
--color-text-on-inverse-secondary: var(--cocso-color-text-on-inverse-secondary);
|
|
159
163
|
--color-surface-primary: var(--cocso-color-surface-primary);
|
|
160
164
|
--color-surface-secondary: var(--cocso-color-surface-secondary);
|
|
161
165
|
--color-surface-inverse: var(--cocso-color-surface-inverse);
|
package/theme-dark.css
CHANGED
|
@@ -32,6 +32,8 @@
|
|
|
32
32
|
--cocso-color-text-on-info: var(--cocso-color-white);
|
|
33
33
|
--cocso-color-text-on-warning: var(--cocso-color-neutral-950);
|
|
34
34
|
--cocso-color-text-muted: var(--cocso-color-neutral-500);
|
|
35
|
+
--cocso-color-text-on-inverse: var(--cocso-color-neutral-950);
|
|
36
|
+
--cocso-color-text-on-inverse-secondary: var(--cocso-color-neutral-600);
|
|
35
37
|
--cocso-color-surface-primary: var(--cocso-color-neutral-950);
|
|
36
38
|
--cocso-color-surface-secondary: var(--cocso-color-neutral-900);
|
|
37
39
|
--cocso-color-surface-inverse: var(--cocso-color-white);
|
package/token.css
CHANGED
|
@@ -147,15 +147,17 @@
|
|
|
147
147
|
--cocso-z-index-dialog-content: 250;
|
|
148
148
|
--cocso-z-index-popover: 300;
|
|
149
149
|
--cocso-z-index-tooltip: 400;
|
|
150
|
-
--cocso-duration-fast: 0.
|
|
150
|
+
--cocso-duration-fast: 0.12s;
|
|
151
151
|
--cocso-duration-normal: 0.2s;
|
|
152
|
-
--cocso-duration-slow: 0.
|
|
152
|
+
--cocso-duration-slow: 0.28s;
|
|
153
153
|
--cocso-duration-decorative: 0.75s;
|
|
154
154
|
--cocso-duration-decorative-slow: 1.5s;
|
|
155
155
|
--cocso-easing-default: ease-in-out;
|
|
156
156
|
--cocso-easing-soft: ease;
|
|
157
|
-
--cocso-easing-entrance: cubic-bezier(0.
|
|
157
|
+
--cocso-easing-entrance: cubic-bezier(0.22, 1, 0.36, 1);
|
|
158
158
|
--cocso-easing-accordion: cubic-bezier(0.87, 0, 0.13, 1);
|
|
159
|
+
--cocso-easing-in-out: cubic-bezier(0.65, 0, 0.35, 1);
|
|
160
|
+
--cocso-easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
159
161
|
--cocso-shadow-thumb: var(--cocso-shadow-xs);
|
|
160
162
|
--cocso-shadow-card: var(--cocso-shadow-sm);
|
|
161
163
|
--cocso-shadow-dropdown: var(--cocso-shadow-sm);
|
|
@@ -179,6 +181,8 @@
|
|
|
179
181
|
--cocso-color-text-on-info: var(--cocso-color-white);
|
|
180
182
|
--cocso-color-text-on-warning: var(--cocso-color-neutral-950);
|
|
181
183
|
--cocso-color-text-muted: var(--cocso-color-neutral-500);
|
|
184
|
+
--cocso-color-text-on-inverse: var(--cocso-color-white);
|
|
185
|
+
--cocso-color-text-on-inverse-secondary: var(--cocso-color-neutral-300);
|
|
182
186
|
--cocso-color-surface-primary: var(--cocso-color-white);
|
|
183
187
|
--cocso-color-surface-secondary: var(--cocso-color-neutral-50);
|
|
184
188
|
--cocso-color-surface-inverse: var(--cocso-color-neutral-950);
|
package/tokens.json
CHANGED
|
@@ -2504,6 +2504,40 @@
|
|
|
2504
2504
|
}
|
|
2505
2505
|
}
|
|
2506
2506
|
},
|
|
2507
|
+
"$color.text.on-inverse": {
|
|
2508
|
+
"css": "--cocso-color-text-on-inverse",
|
|
2509
|
+
"group": "color",
|
|
2510
|
+
"identifier": "textOnInverse",
|
|
2511
|
+
"kind": "color",
|
|
2512
|
+
"themed": true,
|
|
2513
|
+
"values": {
|
|
2514
|
+
"dark": {
|
|
2515
|
+
"alpha": 1,
|
|
2516
|
+
"hex": "#131416"
|
|
2517
|
+
},
|
|
2518
|
+
"light": {
|
|
2519
|
+
"alpha": 1,
|
|
2520
|
+
"hex": "#FFFFFF"
|
|
2521
|
+
}
|
|
2522
|
+
}
|
|
2523
|
+
},
|
|
2524
|
+
"$color.text.on-inverse-secondary": {
|
|
2525
|
+
"css": "--cocso-color-text-on-inverse-secondary",
|
|
2526
|
+
"group": "color",
|
|
2527
|
+
"identifier": "textOnInverseSecondary",
|
|
2528
|
+
"kind": "color",
|
|
2529
|
+
"themed": true,
|
|
2530
|
+
"values": {
|
|
2531
|
+
"dark": {
|
|
2532
|
+
"alpha": 1,
|
|
2533
|
+
"hex": "#58616A"
|
|
2534
|
+
},
|
|
2535
|
+
"light": {
|
|
2536
|
+
"alpha": 1,
|
|
2537
|
+
"hex": "#B1B8BE"
|
|
2538
|
+
}
|
|
2539
|
+
}
|
|
2540
|
+
},
|
|
2507
2541
|
"$color.text.on-primary": {
|
|
2508
2542
|
"css": "--cocso-color-text-on-primary",
|
|
2509
2543
|
"group": "color",
|
|
@@ -4109,7 +4143,7 @@
|
|
|
4109
4143
|
"themed": false,
|
|
4110
4144
|
"values": {
|
|
4111
4145
|
"default": {
|
|
4112
|
-
"value": 0.
|
|
4146
|
+
"value": 0.12
|
|
4113
4147
|
}
|
|
4114
4148
|
}
|
|
4115
4149
|
},
|
|
@@ -4133,7 +4167,7 @@
|
|
|
4133
4167
|
"themed": false,
|
|
4134
4168
|
"values": {
|
|
4135
4169
|
"default": {
|
|
4136
|
-
"value": 0.
|
|
4170
|
+
"value": 0.28
|
|
4137
4171
|
}
|
|
4138
4172
|
}
|
|
4139
4173
|
},
|
|
@@ -4180,9 +4214,26 @@
|
|
|
4180
4214
|
"values": {
|
|
4181
4215
|
"default": {
|
|
4182
4216
|
"points": [
|
|
4183
|
-
0.
|
|
4217
|
+
0.22,
|
|
4184
4218
|
1,
|
|
4185
|
-
0.
|
|
4219
|
+
0.36,
|
|
4220
|
+
1
|
|
4221
|
+
]
|
|
4222
|
+
}
|
|
4223
|
+
}
|
|
4224
|
+
},
|
|
4225
|
+
"$easing.in-out": {
|
|
4226
|
+
"css": "--cocso-easing-in-out",
|
|
4227
|
+
"group": "easing",
|
|
4228
|
+
"identifier": "inOut",
|
|
4229
|
+
"kind": "curve",
|
|
4230
|
+
"themed": false,
|
|
4231
|
+
"values": {
|
|
4232
|
+
"default": {
|
|
4233
|
+
"points": [
|
|
4234
|
+
0.65,
|
|
4235
|
+
0,
|
|
4236
|
+
0.35,
|
|
4186
4237
|
1
|
|
4187
4238
|
]
|
|
4188
4239
|
}
|
|
@@ -4204,6 +4255,23 @@
|
|
|
4204
4255
|
]
|
|
4205
4256
|
}
|
|
4206
4257
|
}
|
|
4258
|
+
},
|
|
4259
|
+
"$easing.spring": {
|
|
4260
|
+
"css": "--cocso-easing-spring",
|
|
4261
|
+
"group": "easing",
|
|
4262
|
+
"identifier": "spring",
|
|
4263
|
+
"kind": "curve",
|
|
4264
|
+
"themed": false,
|
|
4265
|
+
"values": {
|
|
4266
|
+
"default": {
|
|
4267
|
+
"points": [
|
|
4268
|
+
0.34,
|
|
4269
|
+
1.56,
|
|
4270
|
+
0.64,
|
|
4271
|
+
1
|
|
4272
|
+
]
|
|
4273
|
+
}
|
|
4274
|
+
}
|
|
4207
4275
|
}
|
|
4208
4276
|
},
|
|
4209
4277
|
"version": 1
|