@marianmeres/stuic 2.0.6 → 2.1.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.
@@ -1,5 +1,3 @@
1
- @import "../../_shared.css";
2
-
3
1
  /* prettier-ignore */
4
2
  @theme inline {
5
3
  --color-button-bg: var(--color-button-bg, var(--color-neutral-200));
@@ -1,6 +1,3 @@
1
- @import "../../_shared.css";
2
- @plugin '@tailwindcss/forms';
3
-
4
1
  /* prettier-ignore */
5
2
  @theme inline {
6
3
  --color-button-group-bg: var(--color-button-group-bg, var(--color-white));
@@ -1,5 +1,3 @@
1
- @import "../../_shared.css";
2
-
3
1
  /* prettier-ignore */
4
2
  @theme inline {
5
3
  --color-dismiss-bg: var(--color-dismiss-bg, var(--color-neutral-200));
@@ -1,6 +1,3 @@
1
- @import "../../_shared.css";
2
- @plugin '@tailwindcss/forms';
3
-
4
1
  /* prettier-ignore */
5
2
  @theme inline {
6
3
  --color-input-accent: var(--color-input-accent, var(--color-red-600));
@@ -1,4 +1,12 @@
1
- @import "../../_shared.css";
1
+ /*
2
+ When defining theme variables that reference other variables, use the inline option.
3
+
4
+ Using the inline option, the utility class will use the theme variable value instead
5
+ of referencing the actual theme variable.
6
+
7
+ Without using inline, your utility classes might resolve to unexpected values because
8
+ of how variables are resolved in CSS.
9
+ */
2
10
 
3
11
  /* prettier-ignore */
4
12
  @theme inline {
@@ -1,5 +1,3 @@
1
- @import "../../_shared.css";
2
-
3
1
  /* prettier-ignore */
4
2
  @theme inline {
5
3
  --color-progress-bg: var(--color-progress-bg, var(--color-neutral-200));
@@ -1,5 +1,3 @@
1
- @import "../../_shared.css";
2
-
3
1
  /* prettier-ignore */
4
2
  @theme inline {
5
3
  --color-switch-accent: var(--color-switch-accent, var(--color-red-600));
@@ -1,5 +1,3 @@
1
- @import "../../_shared.css";
2
-
3
1
  @theme inline {
4
2
  --color-twcheck-bg: var(--color-twcheck-bg, var(--color-red-600));
5
3
  }
package/dist/index.css CHANGED
@@ -1,16 +1,21 @@
1
- @import "./_shared.css";
1
+ @import "tailwindcss";
2
+ @plugin '@tailwindcss/forms';
2
3
 
3
- @source "./";
4
+ @custom-variant dark (&:where(.dark, .dark *));
4
5
 
5
- @import "./actions/tooltip/index.css";
6
- @import "./components/Button/index.css";
7
- @import "./components/ButtonGroupRadio/index.css";
8
- @import "./components/DismissibleMessage/index.css";
9
- @import "./components/Input/index.css";
10
- @import "./components/Notifications/index.css";
11
- @import "./components/Progress/index.css";
12
- @import "./components/Switch/index.css";
13
- @import "./components/TwCheck/index.css";
6
+ /* @source "./"; */
7
+
8
+ @layer components {
9
+ @import "./actions/tooltip/index.css";
10
+ @import "./components/Button/index.css";
11
+ @import "./components/ButtonGroupRadio/index.css";
12
+ @import "./components/DismissibleMessage/index.css";
13
+ @import "./components/Input/index.css";
14
+ @import "./components/Notifications/index.css";
15
+ @import "./components/Progress/index.css";
16
+ @import "./components/Switch/index.css";
17
+ @import "./components/TwCheck/index.css";
18
+ }
14
19
 
15
20
  @layer base {
16
21
  button:not(:disabled),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/stuic",
3
- "version": "2.0.6",
3
+ "version": "2.1.0",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",
package/dist/_shared.css DELETED
@@ -1,2 +0,0 @@
1
- @import "tailwindcss";
2
- @custom-variant dark (&:where(.dark, .dark *));