stillwind 0.0.0 → 0.1.0-rc.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/AGENTS_TEMPLATE.md +5 -0
- package/LICENSE +21 -0
- package/README.md +166 -0
- package/TAILWINDCSS-MIT-LICENSE +21 -0
- package/css/builtin-metadata/sw-motion-properties.css +186 -0
- package/css/builtin-metadata/tw-legacy-metadata.css +36 -0
- package/css/builtin-metadata/tw-properties.css +944 -0
- package/css/builtin-metadata/tw-registry-metadata.css +52 -0
- package/css/builtin-metadata/tw-relationship-metadata.css +10 -0
- package/css/builtin-utilities/sw-motion-contexts.css +1043 -0
- package/css/builtin-utilities/tw-backgrounds.css +606 -0
- package/css/builtin-utilities/tw-borders.css +954 -0
- package/css/builtin-utilities/tw-effects.css +1209 -0
- package/css/builtin-utilities/tw-flex-grid.css +749 -0
- package/css/builtin-utilities/tw-interactivity.css +680 -0
- package/css/builtin-utilities/tw-layout.css +943 -0
- package/css/builtin-utilities/tw-masks.css +1268 -0
- package/css/builtin-utilities/tw-motion.css +142 -0
- package/css/builtin-utilities/tw-spacing-sizing.css +621 -0
- package/css/builtin-utilities/tw-svg.css +50 -0
- package/css/builtin-utilities/tw-transforms.css +652 -0
- package/css/builtin-utilities/tw-typography.css +720 -0
- package/css/builtin-variants/sw-conditional.css +5 -0
- package/css/builtin-variants/sw-document.css +13 -0
- package/css/builtin-variants/tw-conditional.css +187 -0
- package/css/builtin-variants/tw-dynamic-selector.css +49 -0
- package/css/builtin-variants/tw-relationship.css +41 -0
- package/css/builtin-variants/tw-state.css +159 -0
- package/css/builtin-variants/tw-structural.css +121 -0
- package/css/builtins.css +111 -0
- package/css/preflight.css +401 -0
- package/css/templates.css +40 -0
- package/css/theme.css +546 -0
- package/css/utilities.css +9 -0
- package/dist/class-object-D24FFYqO.js +6 -0
- package/dist/class-object-D24FFYqO.js.map +1 -0
- package/dist/class-object-D7ZGJOf_.d.ts +9 -0
- package/dist/class-string-CQHnc9GN.d.ts +9 -0
- package/dist/class-string-Db8-oI4q.js +6 -0
- package/dist/class-string-Db8-oI4q.js.map +1 -0
- package/dist/config.d.ts +1 -0
- package/dist/config.js +2 -0
- package/dist/css.d.ts +100 -0
- package/dist/css.js +143 -0
- package/dist/css.js.map +1 -0
- package/dist/cva-BwX07CFw.js +204 -0
- package/dist/cva-BwX07CFw.js.map +1 -0
- package/dist/cva-DSpDNBYi.d.ts +9 -0
- package/dist/development-DttPQc71.d.ts +27 -0
- package/dist/development-J-JCSIm0.js +111 -0
- package/dist/development-J-JCSIm0.js.map +1 -0
- package/dist/frameworks/alpine.d.ts +20 -0
- package/dist/frameworks/alpine.js +18 -0
- package/dist/frameworks/alpine.js.map +1 -0
- package/dist/frameworks/astro.d.ts +3 -0
- package/dist/frameworks/astro.js +1 -0
- package/dist/frameworks/lit.d.ts +21 -0
- package/dist/frameworks/lit.js +38 -0
- package/dist/frameworks/lit.js.map +1 -0
- package/dist/frameworks/preact.d.ts +3 -0
- package/dist/frameworks/preact.js +1 -0
- package/dist/frameworks/qwik.d.ts +3 -0
- package/dist/frameworks/qwik.js +1 -0
- package/dist/frameworks/react.d.ts +10 -0
- package/dist/frameworks/react.js +6 -0
- package/dist/frameworks/react.js.map +1 -0
- package/dist/frameworks/solid.d.ts +3 -0
- package/dist/frameworks/solid.js +1 -0
- package/dist/frameworks/svelte.d.ts +3 -0
- package/dist/frameworks/svelte.js +1 -0
- package/dist/frameworks/vanilla.d.ts +27 -0
- package/dist/frameworks/vanilla.js +3 -0
- package/dist/frameworks/vue.d.ts +3 -0
- package/dist/frameworks/vue.js +1 -0
- package/dist/index-RwVFpxhE.d.ts +815 -0
- package/dist/macro/index.d.ts +2 -0
- package/dist/macro/index.js +1 -0
- package/dist/module-css.d.ts +30 -0
- package/dist/module-css.js +23 -0
- package/dist/module-css.js.map +1 -0
- package/dist/runtime/class-name-object-development.d.ts +10 -0
- package/dist/runtime/class-name-object-development.js +18 -0
- package/dist/runtime/class-name-object-development.js.map +1 -0
- package/dist/runtime/class-name-object.d.ts +16 -0
- package/dist/runtime/class-name-object.js +31 -0
- package/dist/runtime/class-name-object.js.map +1 -0
- package/dist/runtime/class-object-development.d.ts +10 -0
- package/dist/runtime/class-object-development.js +18 -0
- package/dist/runtime/class-object-development.js.map +1 -0
- package/dist/runtime/class-object.d.ts +16 -0
- package/dist/runtime/class-object.js +31 -0
- package/dist/runtime/class-object.js.map +1 -0
- package/dist/runtime/class-string-development.d.ts +10 -0
- package/dist/runtime/class-string-development.js +18 -0
- package/dist/runtime/class-string-development.js.map +1 -0
- package/dist/runtime/class-string.d.ts +16 -0
- package/dist/runtime/class-string.js +31 -0
- package/dist/runtime/class-string.js.map +1 -0
- package/dist/shared-B9IQXU6P.d.ts +32 -0
- package/dist/style-BV4ctkni.js +78 -0
- package/dist/style-BV4ctkni.js.map +1 -0
- package/dist/style-fTQbsVWZ.js +41 -0
- package/dist/style-fTQbsVWZ.js.map +1 -0
- package/docs/agents.md +76 -0
- package/docs/at-rules/apply.md +93 -0
- package/docs/at-rules/custom-variant.md +127 -0
- package/docs/at-rules/index.md +75 -0
- package/docs/at-rules/plugin.md +71 -0
- package/docs/at-rules/registry-directives.md +181 -0
- package/docs/at-rules/slot.md +58 -0
- package/docs/at-rules/stillwind-css-template.md +126 -0
- package/docs/at-rules/stillwind-property.md +133 -0
- package/docs/at-rules/stillwind-registry.md +115 -0
- package/docs/at-rules/stillwind-require-properties.md +91 -0
- package/docs/at-rules/stillwind-slot.md +85 -0
- package/docs/at-rules/stillwind-undef-arbitrary-property.md +75 -0
- package/docs/at-rules/stillwind-undef-utility.md +87 -0
- package/docs/at-rules/stillwind-undef-variant.md +55 -0
- package/docs/at-rules/theme.md +304 -0
- package/docs/at-rules/utility.md +286 -0
- package/docs/at-rules/variant.md +91 -0
- package/docs/concepts/css-ordering.md +245 -0
- package/docs/concepts/how-styles-compile.md +132 -0
- package/docs/configuration.md +298 -0
- package/docs/errors/SW01001.md +51 -0
- package/docs/errors/SW01002.md +52 -0
- package/docs/errors/SW01003.md +69 -0
- package/docs/errors/SW02001.md +23 -0
- package/docs/errors/SW02002.md +51 -0
- package/docs/errors/SW03001.md +71 -0
- package/docs/errors/SW03002.md +79 -0
- package/docs/errors/SW03003.md +36 -0
- package/docs/errors/SW10001.md +34 -0
- package/docs/errors/SW10002.md +36 -0
- package/docs/errors/SW10003.md +30 -0
- package/docs/errors/SW10004.md +39 -0
- package/docs/errors/SW10005.md +35 -0
- package/docs/errors/SW11001.md +37 -0
- package/docs/errors/SW11002.md +65 -0
- package/docs/errors/SW11003.md +20 -0
- package/docs/errors/SW12001.md +43 -0
- package/docs/errors/SW12002.md +42 -0
- package/docs/errors/SW13001.md +35 -0
- package/docs/errors/SW13002.md +33 -0
- package/docs/errors/SW13003.md +18 -0
- package/docs/errors/SW13004.md +45 -0
- package/docs/errors/SW14001.md +44 -0
- package/docs/errors/SW14002.md +47 -0
- package/docs/errors/SW14003.md +38 -0
- package/docs/errors/SW14004.md +48 -0
- package/docs/errors/SW14005.md +51 -0
- package/docs/errors/SW14006.md +19 -0
- package/docs/errors/SW14007.md +35 -0
- package/docs/errors/SW14008.md +41 -0
- package/docs/errors/SW15001.md +18 -0
- package/docs/errors/SW15002.md +19 -0
- package/docs/errors/SW15003.md +16 -0
- package/docs/errors/SW30001.md +21 -0
- package/docs/errors/SW30002.md +18 -0
- package/docs/errors/SW30003.md +17 -0
- package/docs/errors/SW30004.md +18 -0
- package/docs/errors/SW31001.md +20 -0
- package/docs/errors/SW31002.md +17 -0
- package/docs/errors/SW31003.md +18 -0
- package/docs/errors/SW31004.md +20 -0
- package/docs/errors/SW31005.md +18 -0
- package/docs/errors/SW31006.md +17 -0
- package/docs/errors/SW31007.md +18 -0
- package/docs/errors/SW31008.md +16 -0
- package/docs/errors/SW31009.md +18 -0
- package/docs/errors/SW31010.md +16 -0
- package/docs/errors/SW31011.md +17 -0
- package/docs/errors/SW32001.md +18 -0
- package/docs/errors/SW32002.md +45 -0
- package/docs/errors/SW32003.md +43 -0
- package/docs/errors/SW32004.md +17 -0
- package/docs/errors/SW32005.md +40 -0
- package/docs/errors/SW32006.md +18 -0
- package/docs/errors/SW32007.md +20 -0
- package/docs/errors/SW33001.md +17 -0
- package/docs/errors/SW33002.md +17 -0
- package/docs/errors/SW33003.md +17 -0
- package/docs/errors/SW33004.md +17 -0
- package/docs/errors/SW33005.md +20 -0
- package/docs/errors/SW34001.md +18 -0
- package/docs/errors/SW34002.md +17 -0
- package/docs/errors/SW34003.md +18 -0
- package/docs/errors/SW90001.md +17 -0
- package/docs/errors/SW90002.md +18 -0
- package/docs/errors/SW90003.md +17 -0
- package/docs/errors/SW90004.md +17 -0
- package/docs/errors/SW90005.md +16 -0
- package/docs/errors/SW90006.md +17 -0
- package/docs/errors/SW90007.md +17 -0
- package/docs/errors/SW90008.md +17 -0
- package/docs/errors/index.md +125 -0
- package/docs/guides/animations.md +73 -0
- package/docs/guides/design-systems.md +119 -0
- package/docs/guides/element-relationships.md +136 -0
- package/docs/guides/lint-adoption.md +128 -0
- package/docs/guides/migrating-from-css.md +126 -0
- package/docs/guides/migrating-from-tailwind.md +179 -0
- package/docs/guides/recommended-practices.md +338 -0
- package/docs/guides/responsive-styles.md +103 -0
- package/docs/guides/reusable-styles.md +110 -0
- package/docs/guides/style.md +181 -0
- package/docs/guides/tailwind-compatibility.md +126 -0
- package/docs/guides/view-transitions.md +84 -0
- package/docs/guides/web-components.md +216 -0
- package/docs/index.md +136 -0
- package/docs/integrations.md +190 -0
- package/docs/lints/ambiguous-style-base-order.md +50 -0
- package/docs/lints/bypassed-undefinition.md +50 -0
- package/docs/lints/clamped-value.md +44 -0
- package/docs/lints/conflicting-provider-properties.md +47 -0
- package/docs/lints/conflicting-utilities.md +55 -0
- package/docs/lints/document-scoped-selector.md +45 -0
- package/docs/lints/duplicate-definition.md +44 -0
- package/docs/lints/duplicate-utility.md +44 -0
- package/docs/lints/duplicate-view-transition-name.md +45 -0
- package/docs/lints/ignored-definition-condition.md +51 -0
- package/docs/lints/ignored-tailwind-feature.md +62 -0
- package/docs/lints/incompatible-property-value.md +60 -0
- package/docs/lints/incompatible-theme-value.md +46 -0
- package/docs/lints/index.md +140 -0
- package/docs/lints/ineffective-anchor-scope.md +46 -0
- package/docs/lints/interfering-imported-style-base.md +57 -0
- package/docs/lints/invalid-animation-option.md +47 -0
- package/docs/lints/invalid-css-directive.md +43 -0
- package/docs/lints/invalid-css-import.md +43 -0
- package/docs/lints/invalid-css-input.md +45 -0
- package/docs/lints/invalid-cva-config.md +46 -0
- package/docs/lints/invalid-cva-input.md +50 -0
- package/docs/lints/invalid-keyframes-definition.md +47 -0
- package/docs/lints/invalid-keyframes-use.md +47 -0
- package/docs/lints/invalid-keyframes-variant.md +48 -0
- package/docs/lints/invalid-lint-suppression.md +47 -0
- package/docs/lints/invalid-marker-use.md +53 -0
- package/docs/lints/invalid-media-query.md +52 -0
- package/docs/lints/invalid-ref-input.md +49 -0
- package/docs/lints/invalid-rule-group-input.md +58 -0
- package/docs/lints/invalid-runtime-condition.md +67 -0
- package/docs/lints/invalid-style-composition.md +52 -0
- package/docs/lints/invalid-style-input.md +47 -0
- package/docs/lints/invalid-theme-reference.md +52 -0
- package/docs/lints/invalid-utility.md +44 -0
- package/docs/lints/invalid-variant.md +45 -0
- package/docs/lints/invalid-view-transition-definition.md +46 -0
- package/docs/lints/invalid-view-transition-use.md +46 -0
- package/docs/lints/invalid-view-transition-variant.md +51 -0
- package/docs/lints/mismatched-framework-import.md +47 -0
- package/docs/lints/missing-document-target.md +44 -0
- package/docs/lints/missing-ref-attachment.md +44 -0
- package/docs/lints/missing-view-transition-name.md +46 -0
- package/docs/lints/mutating-macro-argument.md +48 -0
- package/docs/lints/no-arbitrary-breakpoints.md +50 -0
- package/docs/lints/no-arbitrary-colors.md +51 -0
- package/docs/lints/no-arbitrary-spacing.md +57 -0
- package/docs/lints/no-class-property.md +58 -0
- package/docs/lints/no-important.md +50 -0
- package/docs/lints/no-restricted-declarations.md +76 -0
- package/docs/lints/no-restricted-length-units.md +73 -0
- package/docs/lints/no-restricted-theme-tokens.md +73 -0
- package/docs/lints/no-restricted-utilities.md +73 -0
- package/docs/lints/prefer-canonical-utilities.md +69 -0
- package/docs/lints/prefer-direct-styling.md +47 -0
- package/docs/lints/prefer-explicit-nesting-selector.md +42 -0
- package/docs/lints/prefer-logical-properties.md +49 -0
- package/docs/lints/prefer-sorted-utilities.md +46 -0
- package/docs/lints/prefer-typed-relationships.md +48 -0
- package/docs/lints/prefer-typed-variables.md +43 -0
- package/docs/lints/prefer-variant-directive.md +59 -0
- package/docs/lints/redundant-variant.md +50 -0
- package/docs/lints/repeated-nesting-selector.md +59 -0
- package/docs/lints/runtime-condition-requires-css-if.md +59 -0
- package/docs/lints/split-view-transition-class.md +47 -0
- package/docs/lints/suspending-macro-argument.md +46 -0
- package/docs/lints/unknown-utility.md +47 -0
- package/docs/lints/unknown-variant.md +42 -0
- package/docs/lints/unsatisfiable-variants.md +42 -0
- package/docs/lints/unused-lint-suppression.md +57 -0
- package/docs/lints/unverified-style-base.md +64 -0
- package/docs/macros/anchor-scope.md +90 -0
- package/docs/macros/css.md +68 -0
- package/docs/macros/cva.md +153 -0
- package/docs/macros/index.md +30 -0
- package/docs/macros/keyframes.md +98 -0
- package/docs/macros/media.md +65 -0
- package/docs/macros/ref/as-anchor.md +70 -0
- package/docs/macros/ref/as-container.md +64 -0
- package/docs/macros/ref/at.md +68 -0
- package/docs/macros/ref/condition.md +86 -0
- package/docs/macros/ref/in.md +81 -0
- package/docs/macros/ref/index.md +115 -0
- package/docs/macros/ref/position-anchor.md +64 -0
- package/docs/macros/style.md +185 -0
- package/docs/macros/view-transition.md +159 -0
- package/docs/utilities.md +35 -0
- package/docs/why.md +144 -0
- package/index.css +7 -0
- package/package.json +135 -8
- package/skills/migrate-to-stillwind/SKILL.md +81 -0
- package/skills/setup-stillwind/SKILL.md +51 -0
- package/skills/stillwind/SKILL.md +54 -0
- package/index.js +0 -1
|
@@ -0,0 +1,606 @@
|
|
|
1
|
+
/* Built-in backgrounds utilities. */
|
|
2
|
+
|
|
3
|
+
/* MARK: `background-color` */
|
|
4
|
+
|
|
5
|
+
@stillwind-arbitrary-property background-color;
|
|
6
|
+
|
|
7
|
+
@stillwind-utility bg-* {
|
|
8
|
+
background-color: --value(--color-*, current, inherit, transparent, [color]);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@stillwind-utility bg-* {
|
|
12
|
+
background-color: --compat-color(
|
|
13
|
+
--value(--color-*, current, inherit, transparent, [color]),
|
|
14
|
+
--alpha(--modifier())
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* MARK: `background-image` */
|
|
19
|
+
|
|
20
|
+
@stillwind-arbitrary-property background-image;
|
|
21
|
+
@stillwind-arbitrary-property --tw-gradient-*;
|
|
22
|
+
|
|
23
|
+
@stillwind-utility bg-none {
|
|
24
|
+
background-image: none;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@stillwind-utility bg-* {
|
|
28
|
+
background-image: --value([image], [url]);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* MARK: `background-image` with gradients */
|
|
32
|
+
|
|
33
|
+
@stillwind-arbitrary-property --tw-gradient-position;
|
|
34
|
+
|
|
35
|
+
@stillwind-utility bg-conic {
|
|
36
|
+
--tw-gradient-position: in oklab;
|
|
37
|
+
background-image: conic-gradient(var(--tw-gradient-stops));
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Gradient interpolation follows the CSS Images 4 color-space spelling.
|
|
41
|
+
* `--modifier-map` is registry syntax, so user-defined utilities get the
|
|
42
|
+
* same checked modifier behaviour without a JavaScript-side special case. */
|
|
43
|
+
@stillwind-utility bg-conic {
|
|
44
|
+
--tw-gradient-position: --modifier-map(
|
|
45
|
+
oklab: in oklab,
|
|
46
|
+
oklch: in oklch,
|
|
47
|
+
srgb: in srgb,
|
|
48
|
+
hsl: in hsl,
|
|
49
|
+
longer: in oklch longer hue,
|
|
50
|
+
shorter: in oklch shorter hue,
|
|
51
|
+
increasing: in oklch increasing hue,
|
|
52
|
+
decreasing: in oklch decreasing hue
|
|
53
|
+
);
|
|
54
|
+
background-image: conic-gradient(var(--tw-gradient-stops));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@stillwind-utility bg-conic-* {
|
|
58
|
+
--stillwind-modifier-guard: --modifier-none();
|
|
59
|
+
--tw-gradient-position: from calc(1deg * --value(integer)) in oklab;
|
|
60
|
+
background-image: conic-gradient(var(--tw-gradient-stops));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@stillwind-utility bg-conic-* {
|
|
64
|
+
--tw-gradient-position: from calc(1deg * --value(integer))
|
|
65
|
+
--modifier-map(
|
|
66
|
+
oklab: in oklab,
|
|
67
|
+
oklch: in oklch,
|
|
68
|
+
srgb: in srgb,
|
|
69
|
+
hsl: in hsl,
|
|
70
|
+
longer: in oklch longer hue,
|
|
71
|
+
shorter: in oklch shorter hue,
|
|
72
|
+
increasing: in oklch increasing hue,
|
|
73
|
+
decreasing: in oklch decreasing hue
|
|
74
|
+
);
|
|
75
|
+
background-image: conic-gradient(var(--tw-gradient-stops));
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@stillwind-utility -bg-conic-* {
|
|
79
|
+
--stillwind-modifier-guard: --modifier-none();
|
|
80
|
+
--tw-gradient-position: from calc(1deg * -1 * --value(integer)) in oklab;
|
|
81
|
+
background-image: conic-gradient(var(--tw-gradient-stops));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@stillwind-utility -bg-conic-* {
|
|
85
|
+
--tw-gradient-position: from calc(1deg * -1 * --value(integer))
|
|
86
|
+
--modifier-map(
|
|
87
|
+
oklab: in oklab,
|
|
88
|
+
oklch: in oklch,
|
|
89
|
+
srgb: in srgb,
|
|
90
|
+
hsl: in hsl,
|
|
91
|
+
longer: in oklch longer hue,
|
|
92
|
+
shorter: in oklch shorter hue,
|
|
93
|
+
increasing: in oklch increasing hue,
|
|
94
|
+
decreasing: in oklch decreasing hue
|
|
95
|
+
);
|
|
96
|
+
background-image: conic-gradient(var(--tw-gradient-stops));
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@stillwind-utility bg-radial {
|
|
100
|
+
--tw-gradient-position: in oklab;
|
|
101
|
+
background-image: radial-gradient(var(--tw-gradient-stops));
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@stillwind-utility bg-radial {
|
|
105
|
+
--tw-gradient-position: --modifier-map(
|
|
106
|
+
oklab: in oklab,
|
|
107
|
+
oklch: in oklch,
|
|
108
|
+
srgb: in srgb,
|
|
109
|
+
hsl: in hsl,
|
|
110
|
+
longer: in oklch longer hue,
|
|
111
|
+
shorter: in oklch shorter hue,
|
|
112
|
+
increasing: in oklch increasing hue,
|
|
113
|
+
decreasing: in oklch decreasing hue
|
|
114
|
+
);
|
|
115
|
+
background-image: radial-gradient(var(--tw-gradient-stops));
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@stillwind-utility bg-linear-to-b {
|
|
119
|
+
--tw-gradient-position: to bottom;
|
|
120
|
+
@supports (background: linear-gradient(in lab, red, red)) {
|
|
121
|
+
--tw-gradient-position: to bottom in oklab;
|
|
122
|
+
}
|
|
123
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@stillwind-utility bg-linear-to-bl {
|
|
127
|
+
--tw-gradient-position: to bottom left;
|
|
128
|
+
@supports (background: linear-gradient(in lab, red, red)) {
|
|
129
|
+
--tw-gradient-position: to bottom left in oklab;
|
|
130
|
+
}
|
|
131
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@stillwind-utility bg-linear-to-br {
|
|
135
|
+
--tw-gradient-position: to bottom right;
|
|
136
|
+
@supports (background: linear-gradient(in lab, red, red)) {
|
|
137
|
+
--tw-gradient-position: to bottom right in oklab;
|
|
138
|
+
}
|
|
139
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@stillwind-utility bg-linear-to-l {
|
|
143
|
+
--tw-gradient-position: to left;
|
|
144
|
+
@supports (background: linear-gradient(in lab, red, red)) {
|
|
145
|
+
--tw-gradient-position: to left in oklab;
|
|
146
|
+
}
|
|
147
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@stillwind-utility bg-linear-to-r {
|
|
151
|
+
--tw-gradient-position: to right;
|
|
152
|
+
@supports (background: linear-gradient(in lab, red, red)) {
|
|
153
|
+
--tw-gradient-position: to right in oklab;
|
|
154
|
+
}
|
|
155
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
@stillwind-utility bg-linear-to-t {
|
|
159
|
+
--tw-gradient-position: to top;
|
|
160
|
+
@supports (background: linear-gradient(in lab, red, red)) {
|
|
161
|
+
--tw-gradient-position: to top in oklab;
|
|
162
|
+
}
|
|
163
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
@stillwind-utility bg-linear-to-tl {
|
|
167
|
+
--tw-gradient-position: to top left;
|
|
168
|
+
@supports (background: linear-gradient(in lab, red, red)) {
|
|
169
|
+
--tw-gradient-position: to top left in oklab;
|
|
170
|
+
}
|
|
171
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
@stillwind-utility bg-linear-to-tr {
|
|
175
|
+
--tw-gradient-position: to top right;
|
|
176
|
+
@supports (background: linear-gradient(in lab, red, red)) {
|
|
177
|
+
--tw-gradient-position: to top right in oklab;
|
|
178
|
+
}
|
|
179
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
@stillwind-utility bg-linear-to-* {
|
|
183
|
+
--tw-gradient-position: --value-map(
|
|
184
|
+
t: to top,
|
|
185
|
+
tr: to top right,
|
|
186
|
+
r: to right,
|
|
187
|
+
br: to bottom right,
|
|
188
|
+
b: to bottom,
|
|
189
|
+
bl: to bottom left,
|
|
190
|
+
l: to left,
|
|
191
|
+
tl: to top left
|
|
192
|
+
);
|
|
193
|
+
@supports (background: linear-gradient(in lab, red, red)) {
|
|
194
|
+
--tw-gradient-position: --value-map(
|
|
195
|
+
t: to top,
|
|
196
|
+
tr: to top right,
|
|
197
|
+
r: to right,
|
|
198
|
+
br: to bottom right,
|
|
199
|
+
b: to bottom,
|
|
200
|
+
bl: to bottom left,
|
|
201
|
+
l: to left,
|
|
202
|
+
tl: to top left
|
|
203
|
+
)
|
|
204
|
+
--modifier-map(
|
|
205
|
+
oklab: in oklab,
|
|
206
|
+
oklch: in oklch,
|
|
207
|
+
srgb: in srgb,
|
|
208
|
+
hsl: in hsl,
|
|
209
|
+
longer: in oklch longer hue,
|
|
210
|
+
shorter: in oklch shorter hue,
|
|
211
|
+
increasing: in oklch increasing hue,
|
|
212
|
+
decreasing: in oklch decreasing hue
|
|
213
|
+
);
|
|
214
|
+
}
|
|
215
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
@stillwind-utility bg-linear-* {
|
|
219
|
+
--tw-gradient-position: calc(--value(integer) * 1deg);
|
|
220
|
+
@supports (background: linear-gradient(in lab, red, red)) {
|
|
221
|
+
--tw-gradient-position: calc(--value(integer) * 1deg) in oklab;
|
|
222
|
+
}
|
|
223
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
@stillwind-utility bg-linear-* {
|
|
227
|
+
--tw-gradient-position: calc(--value(integer) * 1deg);
|
|
228
|
+
@supports (background: linear-gradient(in lab, red, red)) {
|
|
229
|
+
--tw-gradient-position: calc(--value(integer) * 1deg)
|
|
230
|
+
--modifier-map(
|
|
231
|
+
oklab: in oklab,
|
|
232
|
+
oklch: in oklch,
|
|
233
|
+
srgb: in srgb,
|
|
234
|
+
hsl: in hsl,
|
|
235
|
+
longer: in oklch longer hue,
|
|
236
|
+
shorter: in oklch shorter hue,
|
|
237
|
+
increasing: in oklch increasing hue,
|
|
238
|
+
decreasing: in oklch decreasing hue
|
|
239
|
+
);
|
|
240
|
+
}
|
|
241
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
@stillwind-utility -bg-linear-* {
|
|
245
|
+
--tw-gradient-position: calc(--value(integer) * 1deg * -1);
|
|
246
|
+
@supports (background: linear-gradient(in lab, red, red)) {
|
|
247
|
+
--tw-gradient-position: calc(--value(integer) * 1deg * -1) in oklab;
|
|
248
|
+
}
|
|
249
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
@stillwind-utility -bg-linear-* {
|
|
253
|
+
--tw-gradient-position: calc(--value(integer) * 1deg * -1);
|
|
254
|
+
@supports (background: linear-gradient(in lab, red, red)) {
|
|
255
|
+
--tw-gradient-position: calc(--value(integer) * 1deg * -1)
|
|
256
|
+
--modifier-map(
|
|
257
|
+
oklab: in oklab,
|
|
258
|
+
oklch: in oklch,
|
|
259
|
+
srgb: in srgb,
|
|
260
|
+
hsl: in hsl,
|
|
261
|
+
longer: in oklch longer hue,
|
|
262
|
+
shorter: in oklch shorter hue,
|
|
263
|
+
increasing: in oklch increasing hue,
|
|
264
|
+
decreasing: in oklch decreasing hue
|
|
265
|
+
);
|
|
266
|
+
}
|
|
267
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/*
|
|
271
|
+
An arbitrary gradient value sets the position that color stop utilities insert before
|
|
272
|
+
their stops. Without color stop utilities, the value is the complete argument list, so
|
|
273
|
+
`bg-linear-[to_right,red,blue]` draws its own gradient.
|
|
274
|
+
*/
|
|
275
|
+
@stillwind-utility bg-linear-* {
|
|
276
|
+
--tw-gradient-position: --value([linear-gradient-position]);
|
|
277
|
+
background-image: linear-gradient(var(--tw-gradient-stops, --value([linear-gradient-position])));
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
@stillwind-utility bg-radial-* {
|
|
281
|
+
--tw-gradient-position: --value([radial-gradient-position]);
|
|
282
|
+
background-image: radial-gradient(var(--tw-gradient-stops, --value([radial-gradient-position])));
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
@stillwind-utility bg-conic-* {
|
|
286
|
+
--tw-gradient-position: --value([conic-gradient-position]);
|
|
287
|
+
background-image: conic-gradient(var(--tw-gradient-stops, --value([conic-gradient-position])));
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
@stillwind-arbitrary-property --tw-gradient-via-stops;
|
|
291
|
+
|
|
292
|
+
@stillwind-utility via-none {
|
|
293
|
+
--tw-gradient-via-stops: initial;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
@stillwind-arbitrary-property --tw-gradient-via;
|
|
297
|
+
|
|
298
|
+
@stillwind-utility via-* (tw-sort: --tw-gradient-via) {
|
|
299
|
+
--tw-gradient-via: --value(--color-*, current, inherit, transparent);
|
|
300
|
+
--tw-gradient-via-stops:
|
|
301
|
+
var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position),
|
|
302
|
+
var(--tw-gradient-via) var(--tw-gradient-via-position),
|
|
303
|
+
var(--tw-gradient-to) var(--tw-gradient-to-position);
|
|
304
|
+
--tw-gradient-stops: var(--tw-gradient-via-stops);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
@stillwind-utility via-* (tw-sort: --tw-gradient-via) {
|
|
308
|
+
--tw-gradient-via: --compat-color(
|
|
309
|
+
--value(--color-*, current, inherit, transparent),
|
|
310
|
+
--alpha(--modifier())
|
|
311
|
+
);
|
|
312
|
+
--tw-gradient-via-stops:
|
|
313
|
+
var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position),
|
|
314
|
+
var(--tw-gradient-via) var(--tw-gradient-via-position),
|
|
315
|
+
var(--tw-gradient-to) var(--tw-gradient-to-position);
|
|
316
|
+
--tw-gradient-stops: var(--tw-gradient-via-stops);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
@stillwind-arbitrary-property --tw-gradient-via-position;
|
|
320
|
+
|
|
321
|
+
@stillwind-utility via-* {
|
|
322
|
+
--tw-gradient-via-position: --value(--spacing-*, --spacing(), percentage, [length-percentage]);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
@stillwind-arbitrary-property --tw-gradient-stops;
|
|
326
|
+
@stillwind-arbitrary-property --tw-gradient-from;
|
|
327
|
+
|
|
328
|
+
@stillwind-utility from-* (tw-sort: --tw-gradient-from) {
|
|
329
|
+
--tw-gradient-from: --value(--color-*, current, inherit, transparent);
|
|
330
|
+
--tw-gradient-stops: var(
|
|
331
|
+
--tw-gradient-via-stops,
|
|
332
|
+
var(--tw-gradient-position),
|
|
333
|
+
var(--tw-gradient-from) var(--tw-gradient-from-position),
|
|
334
|
+
var(--tw-gradient-to) var(--tw-gradient-to-position)
|
|
335
|
+
);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
@stillwind-utility from-* (tw-sort: --tw-gradient-from) {
|
|
339
|
+
--tw-gradient-from: --compat-color(
|
|
340
|
+
--value(--color-*, current, inherit, transparent),
|
|
341
|
+
--alpha(--modifier())
|
|
342
|
+
);
|
|
343
|
+
--tw-gradient-stops: var(
|
|
344
|
+
--tw-gradient-via-stops,
|
|
345
|
+
var(--tw-gradient-position),
|
|
346
|
+
var(--tw-gradient-from) var(--tw-gradient-from-position),
|
|
347
|
+
var(--tw-gradient-to) var(--tw-gradient-to-position)
|
|
348
|
+
);
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
@stillwind-arbitrary-property --tw-gradient-from-position;
|
|
352
|
+
|
|
353
|
+
@stillwind-utility from-* {
|
|
354
|
+
--tw-gradient-from-position: --value(--spacing-*, --spacing(), percentage, [length-percentage]);
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
@stillwind-arbitrary-property --tw-gradient-to;
|
|
358
|
+
|
|
359
|
+
@stillwind-utility to-* (tw-sort: --tw-gradient-to) {
|
|
360
|
+
--tw-gradient-to: --value(--color-*, current, inherit, transparent);
|
|
361
|
+
--tw-gradient-stops: var(
|
|
362
|
+
--tw-gradient-via-stops,
|
|
363
|
+
var(--tw-gradient-position),
|
|
364
|
+
var(--tw-gradient-from) var(--tw-gradient-from-position),
|
|
365
|
+
var(--tw-gradient-to) var(--tw-gradient-to-position)
|
|
366
|
+
);
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
@stillwind-utility to-* (tw-sort: --tw-gradient-to) {
|
|
370
|
+
--tw-gradient-to: --compat-color(
|
|
371
|
+
--value(--color-*, current, inherit, transparent),
|
|
372
|
+
--alpha(--modifier())
|
|
373
|
+
);
|
|
374
|
+
--tw-gradient-stops: var(
|
|
375
|
+
--tw-gradient-via-stops,
|
|
376
|
+
var(--tw-gradient-position),
|
|
377
|
+
var(--tw-gradient-from) var(--tw-gradient-from-position),
|
|
378
|
+
var(--tw-gradient-to) var(--tw-gradient-to-position)
|
|
379
|
+
);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
@stillwind-arbitrary-property --tw-gradient-to-position;
|
|
383
|
+
|
|
384
|
+
@stillwind-utility to-* {
|
|
385
|
+
--tw-gradient-to-position: --value(--spacing-*, --spacing(), percentage, [length-percentage]);
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/* MARK: `background-size` */
|
|
389
|
+
|
|
390
|
+
@stillwind-arbitrary-property background-size;
|
|
391
|
+
|
|
392
|
+
@stillwind-utility bg-auto {
|
|
393
|
+
background-size: auto;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
@stillwind-utility bg-contain {
|
|
397
|
+
background-size: contain;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
@stillwind-utility bg-cover {
|
|
401
|
+
background-size: cover;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
@stillwind-utility bg-size-* {
|
|
405
|
+
background-size: --value([bg-size]);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
@stillwind-utility bg-* {
|
|
409
|
+
background-size: --value([bg-size], [length]);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/* MARK: `background-attachment` */
|
|
413
|
+
|
|
414
|
+
@stillwind-arbitrary-property background-attachment;
|
|
415
|
+
|
|
416
|
+
@stillwind-utility bg-fixed {
|
|
417
|
+
background-attachment: fixed;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
@stillwind-utility bg-local {
|
|
421
|
+
background-attachment: local;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
@stillwind-utility bg-scroll {
|
|
425
|
+
background-attachment: scroll;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
/* MARK: `background-clip` */
|
|
429
|
+
|
|
430
|
+
@stillwind-arbitrary-property background-clip;
|
|
431
|
+
|
|
432
|
+
@stillwind-utility bg-clip-border {
|
|
433
|
+
background-clip: border-box;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
@stillwind-utility bg-clip-content {
|
|
437
|
+
background-clip: content-box;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
@stillwind-utility bg-clip-padding {
|
|
441
|
+
background-clip: padding-box;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
@stillwind-utility bg-clip-text {
|
|
445
|
+
background-clip: text;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
/* MARK: `background-position` */
|
|
449
|
+
|
|
450
|
+
@stillwind-arbitrary-property background-position;
|
|
451
|
+
|
|
452
|
+
@stillwind-utility bg-position-* {
|
|
453
|
+
background-position: --value([position]);
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
@stillwind-utility bg-bottom {
|
|
457
|
+
background-position: bottom;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
@stillwind-utility bg-bottom-left {
|
|
461
|
+
background-position: left bottom;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
@stillwind-utility bg-bottom-right {
|
|
465
|
+
background-position: right bottom;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
@stillwind-utility bg-center {
|
|
469
|
+
background-position: center;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
@stillwind-utility bg-left {
|
|
473
|
+
background-position: left;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
@stillwind-utility bg-right {
|
|
477
|
+
background-position: right;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
@stillwind-utility bg-top {
|
|
481
|
+
background-position: top;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
@stillwind-utility bg-top-left {
|
|
485
|
+
background-position: left top;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
@stillwind-utility bg-top-right {
|
|
489
|
+
background-position: right top;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
@stillwind-utility bg-* {
|
|
493
|
+
background-position: --value([percentage], [position]);
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
/* MARK: `background-repeat` */
|
|
497
|
+
|
|
498
|
+
@stillwind-arbitrary-property background-repeat;
|
|
499
|
+
|
|
500
|
+
@stillwind-utility bg-no-repeat {
|
|
501
|
+
background-repeat: no-repeat;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
@stillwind-utility bg-repeat {
|
|
505
|
+
background-repeat: repeat;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
@stillwind-utility bg-repeat-round {
|
|
509
|
+
background-repeat: round;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
@stillwind-utility bg-repeat-space {
|
|
513
|
+
background-repeat: space;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
@stillwind-utility bg-repeat-x {
|
|
517
|
+
background-repeat: repeat-x;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
@stillwind-utility bg-repeat-y {
|
|
521
|
+
background-repeat: repeat-y;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
/* MARK: `background-origin` */
|
|
525
|
+
|
|
526
|
+
@stillwind-arbitrary-property background-origin;
|
|
527
|
+
|
|
528
|
+
@stillwind-utility bg-origin-border {
|
|
529
|
+
background-origin: border-box;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
@stillwind-utility bg-origin-content {
|
|
533
|
+
background-origin: content-box;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
@stillwind-utility bg-origin-padding {
|
|
537
|
+
background-origin: padding-box;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
/* MARK: `background-blend-mode` */
|
|
541
|
+
|
|
542
|
+
@stillwind-arbitrary-property background-blend-mode;
|
|
543
|
+
|
|
544
|
+
@stillwind-utility bg-blend-color {
|
|
545
|
+
background-blend-mode: color;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
@stillwind-utility bg-blend-color-burn {
|
|
549
|
+
background-blend-mode: color-burn;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
@stillwind-utility bg-blend-color-dodge {
|
|
553
|
+
background-blend-mode: color-dodge;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
@stillwind-utility bg-blend-darken {
|
|
557
|
+
background-blend-mode: darken;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
@stillwind-utility bg-blend-difference {
|
|
561
|
+
background-blend-mode: difference;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
@stillwind-utility bg-blend-exclusion {
|
|
565
|
+
background-blend-mode: exclusion;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
@stillwind-utility bg-blend-hard-light {
|
|
569
|
+
background-blend-mode: hard-light;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
@stillwind-utility bg-blend-hue {
|
|
573
|
+
background-blend-mode: hue;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
@stillwind-utility bg-blend-lighten {
|
|
577
|
+
background-blend-mode: lighten;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
@stillwind-utility bg-blend-luminosity {
|
|
581
|
+
background-blend-mode: luminosity;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
@stillwind-utility bg-blend-multiply {
|
|
585
|
+
background-blend-mode: multiply;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
@stillwind-utility bg-blend-normal {
|
|
589
|
+
background-blend-mode: normal;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
@stillwind-utility bg-blend-overlay {
|
|
593
|
+
background-blend-mode: overlay;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
@stillwind-utility bg-blend-saturation {
|
|
597
|
+
background-blend-mode: saturation;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
@stillwind-utility bg-blend-screen {
|
|
601
|
+
background-blend-mode: screen;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
@stillwind-utility bg-blend-soft-light {
|
|
605
|
+
background-blend-mode: soft-light;
|
|
606
|
+
}
|