@cirthcss/cirth 0.14.1 → 0.15.0-beta.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/NOTICE.md +9 -0
- package/README.md +18 -13
- package/dist/cirth.classless.css +305 -201
- package/dist/cirth.classless.min.css +1 -1
- package/dist/cirth.classless.scoped.css +305 -201
- package/dist/cirth.classless.scoped.min.css +1 -1
- package/dist/cirth.css +348 -221
- package/dist/cirth.min.css +1 -1
- package/dist/cirth.print.classless.css +1 -0
- package/dist/cirth.print.classless.min.css +1 -1
- package/dist/cirth.print.classless.scoped.css +1 -0
- package/dist/cirth.print.classless.scoped.min.css +1 -1
- package/dist/cirth.print.css +1 -0
- package/dist/cirth.print.min.css +1 -1
- package/dist/cirth.print.scoped.css +1 -0
- package/dist/cirth.print.scoped.min.css +1 -1
- package/dist/cirth.scoped.css +348 -221
- package/dist/cirth.scoped.min.css +1 -1
- package/dist/presets/plain.css +2 -2
- package/dist/presets/plain.min.css +1 -1
- package/dist/presets/playroom.css +5 -10
- package/dist/presets/playroom.min.css +1 -1
- package/package.json +16 -3
package/NOTICE.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Cirth
|
|
2
|
+
Copyright (c) 2024-2026 Cirth contributors
|
|
3
|
+
|
|
4
|
+
This project is a fork of Pico CSS.
|
|
5
|
+
Copyright (c) 2019-2024 Lucas Larroche and Pico contributors
|
|
6
|
+
https://github.com/picocss/pico
|
|
7
|
+
|
|
8
|
+
Originally licensed under the MIT License. Relicensed under the Apache
|
|
9
|
+
License, Version 2.0 starting with the Cirth fork; see LICENSE.md.
|
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<p align="center">
|
|
2
2
|
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="docs/public/
|
|
4
|
-
<source media="(prefers-color-scheme: light)" srcset="docs/public/
|
|
5
|
-
<img alt="Cirth" src="docs/public/
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/cirthcss/cirth/master/docs/public/readme-native-baseline-dark.png">
|
|
4
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/cirthcss/cirth/master/docs/public/readme-native-baseline.png">
|
|
5
|
+
<img alt="Cirth — UI from semantic HTML; accessible baseline, 0 B JavaScript runtime, small and monitored" src="https://raw.githubusercontent.com/cirthcss/cirth/master/docs/public/readme-native-baseline.png" width="960" height="240">
|
|
6
6
|
</picture>
|
|
7
7
|
</p>
|
|
8
8
|
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
<p align="center">
|
|
16
16
|
Cirth turns native HTML elements into accessible, themeable interfaces.
|
|
17
17
|
Load one stylesheet, customize it with runtime design tokens, and ship
|
|
18
|
-
with
|
|
19
|
-
0
|
|
18
|
+
with no JavaScript runtime and no required build step. Small and
|
|
19
|
+
monitored · 0 B JS runtime · WCAG 2.2 AA baseline.
|
|
20
20
|
</p>
|
|
21
21
|
|
|
22
22
|
<p align="center">
|
|
@@ -148,9 +148,9 @@ top of the default theme. They're worked examples of restyling the system,
|
|
|
148
148
|
not independently maintained themes — load one after the main stylesheet.
|
|
149
149
|
|
|
150
150
|
- **`plain`** — the conventional application baseline: a familiar blue
|
|
151
|
-
accent, a plain white page, headings in the body face.
|
|
152
|
-
|
|
153
|
-
|
|
151
|
+
accent, a plain white page, headings in the body face. Five declarations:
|
|
152
|
+
two colour inputs and three role choices. Accent states and the complete
|
|
153
|
+
surface ladder derive on their own.
|
|
154
154
|
- **`playroom`** — the expressive end: a soft violet accent, surfaces
|
|
155
155
|
tinted toward it, large radii, a rounded system face, generous spacing,
|
|
156
156
|
springy motion. Reaches across colour, geometry, typography, motion and
|
|
@@ -278,7 +278,8 @@ setup, the source layout, the package exports, and the project constraints
|
|
|
278
278
|
that matter most when changing Cirth.
|
|
279
279
|
|
|
280
280
|
For pull requests, issue triage, and the exact collaboration workflow, read
|
|
281
|
-
[`.github/CONTRIBUTING.md`](.github/CONTRIBUTING.md)
|
|
281
|
+
[`.github/CONTRIBUTING.md`](.github/CONTRIBUTING.md); for how a version
|
|
282
|
+
reaches npm, [`RELEASING.md`](RELEASING.md). If your change touches
|
|
282
283
|
the visual identity, check [Brand](docs/src/pages/brand.md) first; if it changes the
|
|
283
284
|
public package surface, update [CHANGELOG.md](CHANGELOG.md) in the same
|
|
284
285
|
branch.
|
|
@@ -337,10 +338,14 @@ the structure, meaning, and styling burden before a class is needed.
|
|
|
337
338
|
- Keep layout primitives small and structural, not a broad component
|
|
338
339
|
catalog.
|
|
339
340
|
- Customize through runtime CSS custom properties, not a build step.
|
|
340
|
-
- Ship
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
341
|
+
- Ship no JavaScript runtime; interactive patterns use native element
|
|
342
|
+
behavior. The claim is about what the package contains, not about what an
|
|
343
|
+
application built on it may do.
|
|
344
|
+
- Keep every shipped stylesheet under its own gzipped size budget, checked
|
|
345
|
+
on every build — a regression guard rather than a number to design
|
|
346
|
+
against. See
|
|
347
|
+
[About Cirth](docs/src/pages/about.md#size-and-what-it-is-a-budget-for)
|
|
348
|
+
for what the budget is for, and what it deliberately does not buy.
|
|
344
349
|
|
|
345
350
|
## License
|
|
346
351
|
|