diff --git a/public/fonts/AurebeshAF-Canon.otf b/public/fonts/AurebeshAF-Canon.otf deleted file mode 100644 index 11d03a5..0000000 Binary files a/public/fonts/AurebeshAF-Canon.otf and /dev/null differ diff --git a/public/fonts/AurebeshAF-CanonTech.otf b/public/fonts/AurebeshAF-CanonTech.otf deleted file mode 100644 index 94e87a1..0000000 Binary files a/public/fonts/AurebeshAF-CanonTech.otf and /dev/null differ diff --git a/public/fonts/AurebeshAF-Legends.otf b/public/fonts/AurebeshAF-Legends.otf deleted file mode 100644 index a4e61a1..0000000 Binary files a/public/fonts/AurebeshAF-Legends.otf and /dev/null differ diff --git a/public/fonts/AurebeshAF-LegendsTech.otf b/public/fonts/AurebeshAF-LegendsTech.otf deleted file mode 100644 index bd7f973..0000000 Binary files a/public/fonts/AurebeshAF-LegendsTech.otf and /dev/null differ diff --git a/public/fonts/FTAurebesh-Bold.otf b/public/fonts/FTAurebesh-Bold.otf new file mode 100644 index 0000000..a89fcab Binary files /dev/null and b/public/fonts/FTAurebesh-Bold.otf differ diff --git a/public/fonts/FTAurebesh-Medium.otf b/public/fonts/FTAurebesh-Medium.otf new file mode 100644 index 0000000..e1df706 Binary files /dev/null and b/public/fonts/FTAurebesh-Medium.otf differ diff --git a/src/components/store.ts b/src/components/store.ts index 68134f9..57e3ea0 100644 --- a/src/components/store.ts +++ b/src/components/store.ts @@ -8,19 +8,11 @@ export const fonts: Record< ligatures: ["ch", "sh", "th", "ae", "eo", "kh", "ng", "oo"], lowercase: false, }, - "AurebeshAF-Canon": { + "FT Aurebesh": { ligatures: [], lowercase: false, }, - "AurebeshAF-CanonTech": { - ligatures: [], - lowercase: false, - }, - "AurebeshAF-Legends": { - ligatures: ["ch", "sh", "th", "ae", "eo", "kh", "ng", "oo"], - lowercase: false, - }, - "AurebeshAF-LegendsTech": { + "FT Aurebesh ligatures": { ligatures: ["ch", "sh", "th", "ae", "eo", "kh", "ng", "oo"], lowercase: false, }, @@ -56,7 +48,7 @@ export const fonts: Record< export const fontNames = Object.keys(fonts); -export const selectedFont = signal("AurebeshAF-Canon"); +export const selectedFont = signal("FT Aurebesh"); effect(() => { if (typeof window !== "undefined") { document.documentElement.style.setProperty( diff --git a/src/style.css b/src/style.css index 04bf950..03551f6 100644 --- a/src/style.css +++ b/src/style.css @@ -3,24 +3,26 @@ src: url(/fonts/AB-Equinox.otf) format("opentype"); } @font-face { - font-family: "AurebeshAF-Canon"; - src: url(/fonts/AurebeshAF-Canon.otf) format("opentype"); - size-adjust: 80%; + font-family: "FT Aurebesh ligatures"; + src: url(/fonts/FTAurebesh-Medium.otf) format("opentype"); + font-feature-settings: "dlig" on; + font-weight: 500; } @font-face { - font-family: "AurebeshAF-CanonTech"; - src: url(/fonts/AurebeshAF-CanonTech.otf) format("opentype"); - size-adjust: 80%; + font-family: "FT Aurebesh ligatures"; + src: url(/fonts/FTAurebesh-Bold.otf) format("opentype"); + font-feature-settings: "dlig" on; + font-weight: 700; } @font-face { - font-family: "AurebeshAF-Legends"; - src: url(/fonts/AurebeshAF-Legends.otf) format("opentype"); - size-adjust: 80%; + font-family: "FT Aurebesh"; + src: url(/fonts/FTAurebesh-Medium.otf) format("opentype"); + font-weight: 500; } @font-face { - font-family: "AurebeshAF-LegendsTech"; - src: url(/fonts/AurebeshAF-LegendsTech.otf) format("opentype"); - size-adjust: 80%; + font-family: "FT Aurebesh"; + src: url(/fonts/FTAurebesh-Bold.otf) format("opentype"); + font-weight: 700; } @font-face { font-family: "Aurebesh_Rodian"; @@ -130,7 +132,7 @@ h1 { } .aurebesh { - font-size: clamp(1.2rem, 3vw, 1.5rem); + font-size: clamp(1.5em, 3vw, 1.5em); font-family: var(--font-aurebesh); }