@mirror-physics/fractal-ui 0.2.0-next.87 → 0.2.0-next.89
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/README.md +1 -1
- package/dist/assets/typography/MirrorSans-OFL.txt +93 -0
- package/dist/assets/typography/MirrorSans-README.md +9 -0
- package/dist/assets/typography/MirrorSans-Variable.ttf +0 -0
- package/dist/assets/typography/MirrorSans-Variable.woff2 +0 -0
- package/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +7 -5
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/tokens.css +6 -6
- package/package.json +2 -2
package/dist/tokens.css
CHANGED
|
@@ -505,8 +505,8 @@
|
|
|
505
505
|
|
|
506
506
|
/* ---- Custom Font Declarations ---- */
|
|
507
507
|
@font-face {
|
|
508
|
-
font-family: '
|
|
509
|
-
src: url('./assets/typography/
|
|
508
|
+
font-family: 'Mirror Sans';
|
|
509
|
+
src: url('./assets/typography/MirrorSans-Variable.woff2') format('woff2');
|
|
510
510
|
font-weight: 300 900;
|
|
511
511
|
font-style: normal;
|
|
512
512
|
font-display: swap;
|
|
@@ -520,12 +520,12 @@
|
|
|
520
520
|
font-display: swap;
|
|
521
521
|
}
|
|
522
522
|
|
|
523
|
-
/* Math & Greek fallback.
|
|
523
|
+
/* Math & Greek fallback. Mirror Sans and Geist Mono have no glyphs for Greek
|
|
524
524
|
letters (α, β, Δ, π, …) or math operators (∑, ∫, ∂, ∇, ≈, √, …), which
|
|
525
525
|
appear constantly in scientific / chemistry reports. Noto Sans Math is
|
|
526
526
|
listed after the primary faces so the browser borrows it per-glyph only
|
|
527
|
-
for the symbols
|
|
528
|
-
in
|
|
527
|
+
for the symbols Mirror Sans/Geist Mono lack — normal Latin text still renders
|
|
528
|
+
in Mirror Sans. See typography-guide.md → Math & Greek Fallback. */
|
|
529
529
|
@font-face {
|
|
530
530
|
font-family: 'Noto Sans Math';
|
|
531
531
|
src: url('./assets/typography/NotoSansMath-Regular.ttf') format('truetype');
|
|
@@ -536,7 +536,7 @@
|
|
|
536
536
|
|
|
537
537
|
/* ---- Font Family Variables ---- */
|
|
538
538
|
:root {
|
|
539
|
-
--font-sans: '
|
|
539
|
+
--font-sans: 'Mirror Sans', 'Noto Sans Math', system-ui, sans-serif;
|
|
540
540
|
--font-mono: 'Geist Mono', 'Noto Sans Math', monospace;
|
|
541
541
|
}
|
|
542
542
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirror-physics/fractal-ui",
|
|
3
|
-
"version": "0.2.0-next.
|
|
4
|
-
"description": "Fractal UI
|
|
3
|
+
"version": "0.2.0-next.89",
|
|
4
|
+
"description": "Fractal UI \u2014 React components and CSS tokens for Mirror Physics products",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|