@maxsteinwender/sort-ui 1.1.2 → 1.2.0

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.
Files changed (2) hide show
  1. package/dist/styles.css +50 -31
  2. package/package.json +2 -1
package/dist/styles.css CHANGED
@@ -13007,14 +13007,20 @@
13007
13007
  content: "\f69d";
13008
13008
  }
13009
13009
 
13010
- /* ===== Redaction — Local Font Faces ===== */
13010
+ /*
13011
+ * ===== Redaction — Local Font Faces =====
13012
+ * Brand rule: Redaction MUST always render in its Regular weight, never Bold —
13013
+ * for headlines and quotes alike. The Bold faces are intentionally omitted and
13014
+ * the Regular/Italic faces span the full weight range (100–900), so any
13015
+ * requested font-weight maps to Regular with no synthetic bolding.
13016
+ */
13011
13017
 
13012
13018
  @font-face {
13013
13019
  font-family: 'Redaction';
13014
13020
 
13015
13021
  src: url('./fonts/Redaction/webfonts/Redaction-Regular.woff2') format('woff2');
13016
13022
 
13017
- font-weight: 400;
13023
+ font-weight: 100 900;
13018
13024
 
13019
13025
  font-style: normal;
13020
13026
 
@@ -13026,33 +13032,21 @@
13026
13032
 
13027
13033
  src: url('./fonts/Redaction/webfonts/Redaction-Italic.woff2') format('woff2');
13028
13034
 
13029
- font-weight: 400;
13035
+ font-weight: 100 900;
13030
13036
 
13031
13037
  font-style: italic;
13032
13038
 
13033
13039
  font-display: swap;
13034
13040
  }
13035
13041
 
13036
- @font-face {
13037
- font-family: 'Redaction';
13038
-
13039
- src: url('./fonts/Redaction/webfonts/Redaction-Bold.woff2') format('woff2');
13040
-
13041
- font-weight: 700;
13042
-
13043
- font-style: normal;
13044
-
13045
- font-display: swap;
13046
- }
13047
-
13048
- /* ===== Redaction 35 — Local Font Faces ===== */
13042
+ /* ===== Redaction 35 — Local Font Faces (Regular weight only, see above) ===== */
13049
13043
 
13050
13044
  @font-face {
13051
13045
  font-family: 'Redaction 35';
13052
13046
 
13053
13047
  src: url('./fonts/Redaction/webfonts/Redaction_35-Regular.woff2') format('woff2');
13054
13048
 
13055
- font-weight: 400;
13049
+ font-weight: 100 900;
13056
13050
 
13057
13051
  font-style: normal;
13058
13052
 
@@ -13064,25 +13058,13 @@
13064
13058
 
13065
13059
  src: url('./fonts/Redaction/webfonts/Redaction_35-Italic.woff2') format('woff2');
13066
13060
 
13067
- font-weight: 400;
13061
+ font-weight: 100 900;
13068
13062
 
13069
13063
  font-style: italic;
13070
13064
 
13071
13065
  font-display: swap;
13072
13066
  }
13073
13067
 
13074
- @font-face {
13075
- font-family: 'Redaction 35';
13076
-
13077
- src: url('./fonts/Redaction/webfonts/Redaction_35-Bold.woff2') format('woff2');
13078
-
13079
- font-weight: 700;
13080
-
13081
- font-style: normal;
13082
-
13083
- font-display: swap;
13084
- }
13085
-
13086
13068
  *, ::before, ::after {
13087
13069
  --tw-border-spacing-x: 0;
13088
13070
  --tw-border-spacing-y: 0;
@@ -13663,7 +13645,8 @@ video {
13663
13645
  --ring: 221 96.9% 62.5%;
13664
13646
  --radius: 0.5rem;
13665
13647
  /* Sort UI Font Family Tokens — Font A (default) */
13666
- --font-headline: var(--font-geist-sans);
13648
+ /* Headlines use Redaction (display); body/UI stays Geist. */
13649
+ --font-headline: 'Redaction', Georgia, serif;
13667
13650
  --font-body: var(--font-geist-sans);
13668
13651
  --font-quote: 'Redaction', Georgia, serif;
13669
13652
  --font-quote-alt: 'Redaction 35', Georgia, serif;
@@ -15005,6 +14988,14 @@ body {
15005
14988
  text-rendering: optimizeLegibility;
15006
14989
  }
15007
14990
 
14991
+ /* Headline 1–3 use the headline font (Redaction by default). h4–h6 inherit body. */
14992
+
14993
+ h1,
14994
+ h2,
14995
+ h3 {
14996
+ font-family: var(--font-headline), Georgia, serif;
14997
+ }
14998
+
15008
14999
  /* #55 Document selection styling */
15009
15000
 
15010
15001
  ::-moz-selection {
@@ -17352,6 +17343,26 @@ button,
17352
17343
  background-color: var(--color-bg);
17353
17344
  }
17354
17345
 
17346
+ .bg-\[hsl\(var\(--chart-1\)\)\] {
17347
+ background-color: hsl(var(--chart-1));
17348
+ }
17349
+
17350
+ .bg-\[hsl\(var\(--chart-2\)\)\] {
17351
+ background-color: hsl(var(--chart-2));
17352
+ }
17353
+
17354
+ .bg-\[hsl\(var\(--chart-3\)\)\] {
17355
+ background-color: hsl(var(--chart-3));
17356
+ }
17357
+
17358
+ .bg-\[hsl\(var\(--chart-4\)\)\] {
17359
+ background-color: hsl(var(--chart-4));
17360
+ }
17361
+
17362
+ .bg-\[hsl\(var\(--chart-5\)\)\] {
17363
+ background-color: hsl(var(--chart-5));
17364
+ }
17365
+
17355
17366
  .bg-\[rgba\(255\2c 255\2c 255\2c 0\.1\)\] {
17356
17367
  background-color: rgba(255,255,255,0.1);
17357
17368
  }
@@ -17377,6 +17388,10 @@ button,
17377
17388
  background-color: rgb(245 158 11 / var(--tw-bg-opacity, 1));
17378
17389
  }
17379
17390
 
17391
+ .bg-background {
17392
+ background-color: hsl(var(--background));
17393
+ }
17394
+
17380
17395
  .bg-black\/80 {
17381
17396
  background-color: rgb(0 0 0 / 0.8);
17382
17397
  }
@@ -19207,6 +19222,10 @@ button,
19207
19222
  --tw-ring-color: hsl(var(--primary));
19208
19223
  }
19209
19224
 
19225
+ .ring-ring {
19226
+ --tw-ring-color: hsl(var(--ring));
19227
+ }
19228
+
19210
19229
  .ring-sidebar-ring {
19211
19230
  --tw-ring-color: hsl(var(--sidebar-ring));
19212
19231
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxsteinwender/sort-ui",
3
- "version": "1.1.2",
3
+ "version": "1.2.0",
4
4
  "description": "A coded design system based on Sort UI Kit — Figma components as production-ready Next.js/Tailwind components",
5
5
  "author": "Max Steinwender",
6
6
  "license": "UNLICENSED",
@@ -134,6 +134,7 @@
134
134
  "prettier-plugin-tailwindcss": "^0.7.2",
135
135
  "react": "^19.0.0",
136
136
  "react-dom": "^19.0.0",
137
+ "remark-gfm": "^4.0.1",
137
138
  "storybook": "^10.2.19",
138
139
  "tailwindcss": "^3.4.1",
139
140
  "tsup": "^8.5.1",