@cirthcss/cirth 0.14.1 → 0.15.0-beta.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/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/logo_brand_app_dark.svg">
4
- <source media="(prefers-color-scheme: light)" srcset="docs/public/logo_brand_app.svg">
5
- <img alt="Cirth" src="docs/public/logo_brand_app.svg" width="120" height="120">
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 zero JavaScript and no required build step. Under 14KB gzipped ·
19
- 0 JavaScript · WCAG 2.2 AA baseline.
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">
@@ -111,7 +111,7 @@ The main generated stylesheets are:
111
111
  | `dist/cirth.scoped.min.css` | Scoped build for embedding Cirth under `.cirth`. |
112
112
  | `dist/cirth.classless.scoped.min.css` | Scoped classless build. |
113
113
 
114
- All four builds share Cirth's one official theme (amber), with light and
114
+ All four builds share Cirth's one official theme (copper), with light and
115
115
  dark variants. `plain` and `playroom` are optional presets, not separate theme
116
116
  builds — see [Presets](#presets) below and [Colors](docs/src/pages/colors.md).
117
117
 
@@ -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. Four declarations,
152
- all of them input tokens: the accent's fill, hover, focus ring and
153
- underline tint derive from `--cirth-primary` on their own.
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). If your change touches
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 zero JavaScript; interactive patterns use native element behavior.
341
- - Hold the default stylesheet to a 14KB gzipped size budget, checked on
342
- every build. See [About Cirth](docs/src/pages/about.md#the-14kb-size-budget)
343
- for why 14KB specifically.
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