@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.
@@ -1,25 +1,20 @@
1
1
  :root, :host {
2
2
  --cirth-primary: light-dark(oklch(50% .16 300), oklch(70% .14 300));
3
3
  --cirth-canvas: light-dark(oklch(98% .012 300), oklch(24% .028 295));
4
- --cirth-card-background-color: light-dark(oklch(100% 0 0), oklch(29% .032 295));
5
- --cirth-color: light-dark(oklch(36% .03 295), oklch(93% .012 300));
4
+ --cirth-ink: light-dark(oklch(36% .03 295), oklch(93% .012 300));
6
5
  --cirth-muted-color: light-dark(oklch(52% .035 295), oklch(70% .028 295));
7
6
  --cirth-muted-border-color: light-dark(oklch(90% .02 300), oklch(36% .03 295));
8
7
  --cirth-link-visited-color: light-dark(oklch(50% .03 295), oklch(70% .025 295));
9
8
  --cirth-error: light-dark(oklch(45% .16 25), oklch(74% .13 25));
10
9
  --cirth-success: light-dark(oklch(52% .11 155), oklch(72% .11 155));
11
10
  --cirth-warning: light-dark(oklch(50% .1 75), oklch(74% .11 75));
12
- --cirth-border-radius: var(--cirth-radius-2xl);
13
- --cirth-spacing: var(--cirth-space-5);
14
11
  --cirth-font-family: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", system-ui,
15
12
  "Segoe UI", Roboto, sans-serif, var(--cirth-font-family-emoji);
16
13
  --cirth-font-family-display: var(--cirth-font-family);
17
- --cirth-font-weight: var(--cirth-font-weight-medium);
14
+ --cirth-border-radius: var(--cirth-radius-lg);
15
+ --cirth-spacing: var(--cirth-space-5);
18
16
  --cirth-line-height: var(--cirth-line-height-relaxed);
19
- --cirth-transition: var(--cirth-duration-slow)
20
- cubic-bezier(.34, 1.56, .64, 1);
21
- --cirth-box-shadow: 0 .0625rem .125rem oklch(36% .03 295 / .06),
22
- 0 .75rem 1.5rem oklch(36% .03 295 / .1);
17
+ --cirth-transition: var(--cirth-duration-slow) var(--cirth-ease-in-out);
23
18
  --cirth-primary-hover: light-dark(oklch(56% .18 300), oklch(80% .13 300));
24
19
  --cirth-primary-hover-background: oklch(58% .18 300);
25
20
  }
@@ -30,7 +25,7 @@
30
25
  --cirth-primary-background: light-dark(oklch(41% .17 300), oklch(42% .15 300));
31
26
  --cirth-primary-hover-background: light-dark(oklch(34% .15 300), oklch(35% .13 300));
32
27
  --cirth-primary-hover: light-dark(oklch(34% .16 300), oklch(92% .07 300));
33
- --cirth-color: light-dark(oklch(22% .02 295), oklch(98% .006 300));
28
+ --cirth-ink: light-dark(oklch(22% .02 295), oklch(98% .006 300));
34
29
  --cirth-muted-color: light-dark(oklch(40% .035 295), oklch(82% .02 295));
35
30
  --cirth-muted-border-color: light-dark(oklch(58% .03 295), oklch(62% .03 295));
36
31
  --cirth-link-visited-color: light-dark(oklch(36% .03 295), oklch(84% .02 295));
@@ -1 +1 @@
1
- :root,:host{--cirth-primary:light-dark(oklch(50% .16 300),oklch(70% .14 300));--cirth-canvas:light-dark(oklch(98% .012 300),oklch(24% .028 295));--cirth-card-background-color:light-dark(oklch(100% 0 0),oklch(29% .032 295));--cirth-color:light-dark(oklch(36% .03 295),oklch(93% .012 300));--cirth-muted-color:light-dark(oklch(52% .035 295),oklch(70% .028 295));--cirth-muted-border-color:light-dark(oklch(90% .02 300),oklch(36% .03 295));--cirth-link-visited-color:light-dark(oklch(50% .03 295),oklch(70% .025 295));--cirth-error:light-dark(oklch(45% .16 25),oklch(74% .13 25));--cirth-success:light-dark(oklch(52% .11 155),oklch(72% .11 155));--cirth-warning:light-dark(oklch(50% .1 75),oklch(74% .11 75));--cirth-border-radius:var(--cirth-radius-2xl);--cirth-spacing:var(--cirth-space-5);--cirth-font-family:ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", system-ui, "Segoe UI", Roboto, sans-serif, var(--cirth-font-family-emoji);--cirth-font-family-display:var(--cirth-font-family);--cirth-font-weight:var(--cirth-font-weight-medium);--cirth-line-height:var(--cirth-line-height-relaxed);--cirth-transition:var(--cirth-duration-slow) cubic-bezier(.34, 1.56, .64, 1);--cirth-box-shadow:0 .0625rem .125rem oklch(36% .03 295/.06), 0 .75rem 1.5rem oklch(36% .03 295/.1);--cirth-primary-hover:light-dark(oklch(56% .18 300),oklch(80% .13 300));--cirth-primary-hover-background:oklch(58% .18 300)}@media (prefers-contrast:more){:root,:host{--cirth-primary:light-dark(oklch(41% .17 300),oklch(86% .1 300));--cirth-primary-background:light-dark(oklch(41% .17 300),oklch(42% .15 300));--cirth-primary-hover-background:light-dark(oklch(34% .15 300),oklch(35% .13 300));--cirth-primary-hover:light-dark(oklch(34% .16 300),oklch(92% .07 300));--cirth-color:light-dark(oklch(22% .02 295),oklch(98% .006 300));--cirth-muted-color:light-dark(oklch(40% .035 295),oklch(82% .02 295));--cirth-muted-border-color:light-dark(oklch(58% .03 295),oklch(62% .03 295));--cirth-link-visited-color:light-dark(oklch(36% .03 295),oklch(84% .02 295))}}
1
+ :root,:host{--cirth-primary:light-dark(oklch(50% .16 300),oklch(70% .14 300));--cirth-canvas:light-dark(oklch(98% .012 300),oklch(24% .028 295));--cirth-ink:light-dark(oklch(36% .03 295),oklch(93% .012 300));--cirth-muted-color:light-dark(oklch(52% .035 295),oklch(70% .028 295));--cirth-muted-border-color:light-dark(oklch(90% .02 300),oklch(36% .03 295));--cirth-link-visited-color:light-dark(oklch(50% .03 295),oklch(70% .025 295));--cirth-error:light-dark(oklch(45% .16 25),oklch(74% .13 25));--cirth-success:light-dark(oklch(52% .11 155),oklch(72% .11 155));--cirth-warning:light-dark(oklch(50% .1 75),oklch(74% .11 75));--cirth-font-family:ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", system-ui, "Segoe UI", Roboto, sans-serif, var(--cirth-font-family-emoji);--cirth-font-family-display:var(--cirth-font-family);--cirth-border-radius:var(--cirth-radius-lg);--cirth-spacing:var(--cirth-space-5);--cirth-line-height:var(--cirth-line-height-relaxed);--cirth-transition:var(--cirth-duration-slow) var(--cirth-ease-in-out);--cirth-primary-hover:light-dark(oklch(56% .18 300),oklch(80% .13 300));--cirth-primary-hover-background:oklch(58% .18 300)}@media (prefers-contrast:more){:root,:host{--cirth-primary:light-dark(oklch(41% .17 300),oklch(86% .1 300));--cirth-primary-background:light-dark(oklch(41% .17 300),oklch(42% .15 300));--cirth-primary-hover-background:light-dark(oklch(34% .15 300),oklch(35% .13 300));--cirth-primary-hover:light-dark(oklch(34% .16 300),oklch(92% .07 300));--cirth-ink:light-dark(oklch(22% .02 295),oklch(98% .006 300));--cirth-muted-color:light-dark(oklch(40% .035 295),oklch(82% .02 295));--cirth-muted-border-color:light-dark(oklch(58% .03 295),oklch(62% .03 295));--cirth-link-visited-color:light-dark(oklch(36% .03 295),oklch(84% .02 295))}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirthcss/cirth",
3
- "version": "0.14.1",
3
+ "version": "0.15.0-beta.1",
4
4
  "description": "Semantic-first CSS framework for production-ready interfaces",
5
5
  "author": "Riccardo Pastori",
6
6
  "main": "dist/cirth.min.css",
@@ -21,7 +21,8 @@
21
21
  "./package.json": "./package.json"
22
22
  },
23
23
  "files": [
24
- "dist"
24
+ "dist",
25
+ "NOTICE.md"
25
26
  ],
26
27
  "license": "Apache-2.0",
27
28
  "engines": {
@@ -58,10 +59,20 @@
58
59
  "check:a11y": "node scripts/check-a11y.js",
59
60
  "check:browserslist": "node scripts/check-browserslist.js",
60
61
  "check:behavior": "playwright test --config=playwright.behavior.config.js",
62
+ "check:consumer": "node scripts/smoke-consumer.js",
61
63
  "check:dist": "node scripts/check-dist.js",
64
+ "check:package": "node scripts/check-package-surface.js",
62
65
  "check:variables": "node scripts/check-css-variables.js",
63
66
  "check:doc-links": "node scripts/check-doc-links.js",
64
67
  "check:size": "node scripts/check-css-size.js",
68
+ "check:tooling": "node scripts/check-audit-snapshot.js && node scripts/check-interaction-model.js && node scripts/check-flaky-report.js && node scripts/check-guards.js",
69
+ "check:guards": "node scripts/check-guards.js",
70
+ "check:hooks": "node scripts/setup-git-hooks.js --check",
71
+ "check:release": "node scripts/check-release.js",
72
+ "release:prepare": "node scripts/release-prepare.js",
73
+ "release:status": "node scripts/release-status.js",
74
+ "setup:hooks": "node scripts/setup-git-hooks.js",
75
+ "setup:claude-hooks": "node scripts/setup-claude-hooks.js",
65
76
  "check:sri": "node scripts/update-sri.js --check",
66
77
  "check:types": "tsc --noEmit",
67
78
  "check:visual": "playwright test",
@@ -74,7 +85,8 @@
74
85
  "docs:archive": "node scripts/archive-docs.js",
75
86
  "docs:assets": "node scripts/build-docs.js",
76
87
  "docs:dev": "npm run docs:assets && eleventy --config=docs/eleventy.config.js --serve",
77
- "docs:build": "npm run docs:assets && eleventy --config=docs/eleventy.config.js"
88
+ "docs:build": "npm run docs:assets && eleventy --config=docs/eleventy.config.js && node scripts/check-doc-links.js",
89
+ "docs:brand-assets": "node scripts/capture-brand-assets.js"
78
90
  },
79
91
  "devDependencies": {
80
92
  "@11ty/eleventy": "^3.1.6",
@@ -85,6 +97,7 @@
85
97
  "highlight.js": "^11.11.1",
86
98
  "lightningcss-cli": "^1.33.0",
87
99
  "markdown-it-anchor": "^9.2.1",
100
+ "pagefind": "^1.5.2",
88
101
  "playwright": "^1.61.1",
89
102
  "postcss": "^8.5.20",
90
103
  "postcss-selector-parser": "^7.1.4",