@konce-pt/styles 0.5.0 → 0.6.1
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 +18 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -51,6 +51,20 @@ Or compose the SCSS source into your own build:
|
|
|
51
51
|
@use '@konce-pt/styles/scss';
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
+
## Layout
|
|
55
|
+
|
|
56
|
+
Layout is a separate, optional package: [`@konce-pt/grid`](https://www.npmjs.com/package/@konce-pt/grid)
|
|
57
|
+
— a mobile-first grid with flexbox, gap and order utilities. Load it right after this stylesheet:
|
|
58
|
+
|
|
59
|
+
```ts
|
|
60
|
+
import '@konce-pt/styles';
|
|
61
|
+
import '@konce-pt/grid';
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
It writes into the same `kpt.utilities` layer and repeats the layer-order declaration at the top of
|
|
65
|
+
its own sheet, so it works with or without this package, and its layout classes win over component
|
|
66
|
+
styles without touching specificity.
|
|
67
|
+
|
|
54
68
|
## License
|
|
55
69
|
|
|
56
70
|
[MIT](./LICENSE) © konce.pt
|
|
@@ -74,4 +88,8 @@ Bazowy arkusz stylów [Koncept UI](https://www.npmjs.com/package/@konce-pt/angul
|
|
|
74
88
|
|
|
75
89
|
**Vite/webpack** — `import '@konce-pt/tokens/css'; import '@konce-pt/tokens/css/dark'; import '@konce-pt/styles';`
|
|
76
90
|
|
|
91
|
+
**Układ** to osobna, opcjonalna paczka [`@konce-pt/grid`](https://www.npmjs.com/package/@konce-pt/grid)
|
|
92
|
+
(siatka mobile-first, flexbox, gap, order) — ładuj ją zaraz po tym arkuszu. Pisze do tej samej
|
|
93
|
+
warstwy `kpt.utilities` i powtarza deklarację kolejności warstw, więc działa też bez tej paczki.
|
|
94
|
+
|
|
77
95
|
Licencja: [MIT](./LICENSE) © konce.pt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@konce-pt/styles",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Base CSS for Koncept UI — reset, cascade @layer ordering and neutral light/dark theme (SCSS source).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "konce.pt",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"src"
|
|
43
43
|
],
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@konce-pt/tokens": "0.
|
|
45
|
+
"@konce-pt/tokens": "0.6.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"sass": "^1.77.0"
|