@orangecheck/design 0.32.0 → 0.32.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.
@@ -190,11 +190,13 @@
190
190
  .oc-sigil {
191
191
  width: var(--oc-sigil-size-sm, clamp(170px, 56vw, 300px));
192
192
  height: var(--oc-sigil-size-sm, clamp(170px, 56vw, 300px));
193
- opacity: var(--oc-sigil-opacity-sm, 0.34);
193
+ /* Phones anchor the mark top-right, where it can sit under the headline;
194
+ a text-colored headline on the mark at desktop alpha loses glyphs. */
195
+ opacity: var(--oc-sigil-opacity-sm, 0.16);
194
196
  --oc-sigil-mask-at: 32% 66%;
195
197
  }
196
198
  :root.dark .oc-sigil {
197
- opacity: var(--oc-sigil-opacity-sm, 0.42);
199
+ opacity: var(--oc-sigil-opacity-sm, 0.18);
198
200
  }
199
201
  .oc-sigil--bottom-left,
200
202
  .oc-sigil--bottom-right,
@@ -102,6 +102,16 @@
102
102
  }
103
103
  }
104
104
 
105
+ /* iOS Safari zooms into any focused field under 16px. Unlayered on purpose: it
106
+ outranks every utility, so a `text-xs` override or a raw field cannot re-break it. */
107
+ @media (width < 48rem) {
108
+ input:not([type='checkbox'], [type='radio'], [type='range'], [type='color'], [type='file'], [type='hidden']),
109
+ textarea,
110
+ select {
111
+ font-size: 16px;
112
+ }
113
+ }
114
+
105
115
  /* Accordion animations */
106
116
  @keyframes accordion-down {
107
117
  from {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orangecheck/design",
3
- "version": "0.32.0",
3
+ "version": "0.32.2",
4
4
  "description": "OrangeCheck design system — multi-theme tokens, primitives, and family composites for the .ochk.io sub-sites. Tailwind 4 + Next.js Pages Router. Not for third-party integration.",
5
5
  "keywords": [
6
6
  "orangecheck",
@@ -71,6 +71,7 @@
71
71
  ],
72
72
  "scripts": {
73
73
  "build": "tsup && yarn copy:css",
74
+ "test": "node scripts/check-a11y-floors.mjs",
74
75
  "copy:css": "rm -rf dist/styles && mkdir -p dist/styles && cp src/styles.css dist/styles.css && cp -R src/styles/. dist/styles/",
75
76
  "dev": "tsup --watch",
76
77
  "type-check": "tsc --noEmit",