create-ec-app 1.4.0 → 1.6.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,12 +1,9 @@
1
- @layer theme, base, components, utilities;
2
-
3
- @import "tailwindcss/theme.css" layer(theme) prefix(ec) important;
4
- @import "tailwindcss/utilities.css" layer(utilities) prefix(ec) important;
5
- @import "tw-animate-css/prefix";
1
+ @import "tailwindcss";
2
+ @import "tw-animate-css";
6
3
  @import "shadcn/tailwind.css";
7
4
 
8
5
  @custom-variant hover (&:hover);
9
- @custom-variant dark (&:is(.ec-app.dark *, .ec-app .dark *));
6
+ @custom-variant dark (&:is(.dark *));
10
7
 
11
8
  @theme inline {
12
9
  --radius-sm: calc(var(--radius) - 4px);
@@ -46,7 +43,7 @@
46
43
  --color-sidebar-ring: var(--sidebar-ring);
47
44
  }
48
45
 
49
- .ec-app[data-ec-app-id="{{APP_NAME}}"] {
46
+ :root {
50
47
  --radius: 0.625rem;
51
48
  --background: oklch(1 0 0);
52
49
  --foreground: oklch(0.145 0 0);
@@ -79,13 +76,9 @@
79
76
  --sidebar-accent-foreground: oklch(0.205 0 0);
80
77
  --sidebar-border: oklch(0.922 0 0);
81
78
  --sidebar-ring: oklch(0.708 0 0);
82
-
83
- background: var(--background);
84
- color: var(--foreground);
85
79
  }
86
80
 
87
- .ec-app[data-ec-app-id="{{APP_NAME}}"].dark,
88
- .ec-app[data-ec-app-id="{{APP_NAME}}"] .dark {
81
+ .dark {
89
82
  --background: oklch(0.145 0 0);
90
83
  --foreground: oklch(0.985 0 0);
91
84
  --card: oklch(0.205 0 0);
@@ -120,20 +113,10 @@
120
113
  }
121
114
 
122
115
  @layer base {
123
- :where(.ec-app, .ec-app *, .ec-app *::before, .ec-app *::after) {
124
- box-sizing: border-box;
125
- }
126
-
127
- :where(.ec-app *) {
128
- border-color: var(--border);
129
- outline-color: color-mix(in oklab, var(--ring) 50%, transparent);
116
+ * {
117
+ @apply border-border outline-ring/50;
130
118
  }
131
-
132
- :where(.ec-app button, .ec-app input, .ec-app select, .ec-app textarea) {
133
- font: inherit;
134
- }
135
-
136
- :where(.ec-app button:not(:disabled), .ec-app [role="button"]:not(:disabled)) {
137
- cursor: pointer;
119
+ body {
120
+ @apply bg-background text-foreground;
138
121
  }
139
122
  }
@@ -1 +0,0 @@
1
- [AGENTS.md](AGENTS.md)