@onereach/styles 26.15.5-beta.6080.0 → 26.15.5-beta.6087.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/base.layer.css +1 -6
- package/main-v3.css +6 -6
- package/package.json +3 -4
- package/rollup-plugin-tailwindcss-cli.css +3 -4
- package/tailwind/plugins/animation-delay.js +6 -4
- package/tailwind.config.json +2397 -1031
package/base.layer.css
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* stylelint-disable at-rule-no-deprecated */
|
|
2
1
|
@layer base {
|
|
3
2
|
|
|
4
3
|
.light-scheme {
|
|
@@ -12,12 +11,8 @@
|
|
|
12
11
|
body {
|
|
13
12
|
@apply text-on-background dark:text-on-background-dark;
|
|
14
13
|
@apply typography-body-1-regular;
|
|
14
|
+
@apply light-scheme dark:dark-scheme;
|
|
15
15
|
|
|
16
|
-
color-scheme: only light;
|
|
17
16
|
@apply overscroll-none overflow-hidden;
|
|
18
17
|
}
|
|
19
|
-
|
|
20
|
-
:is(.dark, [data-theme="dark"]) body {
|
|
21
|
-
color-scheme: only dark;
|
|
22
|
-
}
|
|
23
18
|
}
|
package/main-v3.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
@import "tailwindcss";
|
|
3
|
-
@import "
|
|
4
|
-
@import "./font.css";
|
|
1
|
+
@import "tailwindcss/base.css";
|
|
2
|
+
@import "tailwindcss/components.css";
|
|
3
|
+
@import "tailwindcss/utilities.css";
|
|
5
4
|
|
|
6
|
-
@import "
|
|
5
|
+
@import "tokens-v3.css";
|
|
6
|
+
@import "font.css";
|
|
7
7
|
|
|
8
|
-
@
|
|
8
|
+
@import "base.layer.css";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/styles",
|
|
3
|
-
"version": "26.15.5-beta.
|
|
3
|
+
"version": "26.15.5-beta.6087.0",
|
|
4
4
|
"description": "Styles for or-ui-next",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"files": [
|
|
@@ -34,11 +34,10 @@
|
|
|
34
34
|
"lint": "stylelint '**/*.scss'"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@onereach/font-icons": "^26.15.5-beta.
|
|
38
|
-
"tailwindcss": "4.
|
|
37
|
+
"@onereach/font-icons": "^26.15.5-beta.6087.0",
|
|
38
|
+
"tailwindcss": "3.4.16"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@tailwindcss/postcss": "4.3.2",
|
|
42
41
|
"npm-run-all": "^4.1.5",
|
|
43
42
|
"postcss": "8.4.32",
|
|
44
43
|
"postcss-cli": "^10.1.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const plugin = require('tailwindcss/plugin');
|
|
2
2
|
|
|
3
|
-
const animationDelay = plugin(function ({
|
|
3
|
+
const animationDelay = plugin(function ({ addUtilities, theme, e }) {
|
|
4
4
|
const defaultValues = {
|
|
5
5
|
'none': '0s',
|
|
6
6
|
75: '75ms',
|
|
@@ -36,9 +36,11 @@ const animationDelay = plugin(function ({ matchUtilities, theme }) {
|
|
|
36
36
|
...userValues,
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
39
|
+
const utilities = Object.entries(values).map(([key, value]) => ({
|
|
40
|
+
[`.${e(`animation-delay-${key}`)}`]: { animationDelay: `${value}` },
|
|
41
|
+
}));
|
|
42
|
+
|
|
43
|
+
addUtilities(utilities);
|
|
42
44
|
});
|
|
43
45
|
|
|
44
46
|
module.exports = {
|