zeus-css 1.0.2 → 1.0.4
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/README.md +3 -3
- package/bin/postinstall.js +13 -0
- package/dist/zeus.css +0 -2
- package/dist/zeus.min.css +1 -1
- package/package.json +15 -20
- package/scss/.stylelintrc.json +41 -0
- package/{CHANGELOG.md → scss/CHANGELOG.md} +2 -4
- package/scss/LICENSE +21 -0
- package/scss/README.md +160 -0
- package/scss/dist/zeus.css +8465 -0
- package/scss/dist/zeus.css.map +1 -0
- package/scss/dist/zeus.min.css +1 -0
- package/scss/dist/zeus.min.css.map +1 -0
- package/scss/package.json +89 -0
- package/scss/scripts/gen-cheatsheet.mjs +178 -0
- package/scss/scripts/gen-tokens.mjs +91 -0
- package/scss/scripts/test-compile.mjs +474 -0
- package/dist/zeus.css.map +0 -1
- package/dist/zeus.min.css.map +0 -1
- /package/{API.md → scss/API.md} +0 -0
- /package/{cheatsheet.md → scss/cheatsheet.md} +0 -0
- /package/{llms.txt → scss/llms.txt} +0 -0
package/README.md
CHANGED
|
@@ -17,14 +17,14 @@ Import the pre-compiled global foundation (Reset, Variable pipeline, utility cla
|
|
|
17
17
|
import 'zeus-css/dist/zeus.css';
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
### 2.
|
|
21
|
-
|
|
20
|
+
### 2. Generate Your Local Config
|
|
21
|
+
Run the init command in your project root (you'll see a reminder for this after `npm install` too):
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
24
|
npx zeus-css init
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
This
|
|
27
|
+
This creates `zeus.config.scss` and `zeus.customize.scss` directly in your project — not buried in `node_modules` — so you can edit them like any other file. Skip this step only if you're happy with the default theme as-is. Override colors, spacing, fonts, and more using OKLCH:
|
|
28
28
|
|
|
29
29
|
```scss
|
|
30
30
|
// zeus.config.scss
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
try {
|
|
3
|
+
if (process.env.CI) {
|
|
4
|
+
process.exit(0);
|
|
5
|
+
}
|
|
6
|
+
console.log('');
|
|
7
|
+
console.log('⚡ Zeus CSS installed.');
|
|
8
|
+
console.log(' Run `npx zeus-css init` to get local zeus.config.scss / zeus.customize.scss files you can edit.');
|
|
9
|
+
console.log(' (Skip this if you only want the default theme via zeus-css/dist/zeus.css.)');
|
|
10
|
+
console.log('');
|
|
11
|
+
} catch (e) {
|
|
12
|
+
// Never fail an install just because the reminder couldn't print.
|
|
13
|
+
}
|