@sarunyu/system-one 4.7.1 → 4.7.2
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/llms.txt +6 -17
- package/package.json +1 -1
package/llms.txt
CHANGED
|
@@ -86,26 +86,15 @@ Two issues arise:
|
|
|
86
86
|
`@layer base`. Let the library supply these — they resolve to standard
|
|
87
87
|
white/dark/gray values that work correctly with the library's components.
|
|
88
88
|
|
|
89
|
-
2. **
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
2. **Do NOT create a `theme-overrides.css`** unless the user explicitly asks
|
|
90
|
+
to change the brand color. The library's default P1 blue works out of the
|
|
91
|
+
box. An overrides file is only needed when a custom brand palette is
|
|
92
|
+
required — see the Theming section below.
|
|
93
93
|
|
|
94
|
-
|
|
95
|
-
/* src/theme-overrides.css */
|
|
96
|
-
:root {
|
|
97
|
-
--primary-action: #4f46e5;
|
|
98
|
-
--primary-action-hover: #4338ca;
|
|
99
|
-
--primary-action-active: #3730a3;
|
|
100
|
-
--font-sans: "Inter", system-ui, sans-serif;
|
|
101
|
-
}
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
The `src/main.tsx` import order for Lovable:
|
|
94
|
+
The `src/main.tsx` import order for Lovable (two lines only):
|
|
105
95
|
```tsx
|
|
106
96
|
import "./index.css"; /* Tailwind v3 layers first */
|
|
107
|
-
import "@sarunyu/system-one/styles.css"; /* library —
|
|
108
|
-
import "./theme-overrides.css"; /* brand overrides — last, so they win */
|
|
97
|
+
import "@sarunyu/system-one/styles.css"; /* library — unlayered, beats any @layer */
|
|
109
98
|
```
|
|
110
99
|
|
|
111
100
|
## Dark mode
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sarunyu/system-one",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A production-ready React design system built for AI-powered web generation tools (Figma Make, Lovable, V0). Tailwind CSS v4 + CSS custom properties for full theming support.",
|
|
6
6
|
"keywords": [
|