fix(style): load Sono from the api.fonts.coollabs.io host
Switch the body font to Sono and point the @import at api.fonts.coollabs.io. The bare fonts.coollabs.io host serves the marketing homepage (HTML), not CSS, so the @font-face rules never loaded and the font silently fell back to system-ui.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
@import to precede all other rules. If it comes second, the production build
|
||||
warns ("@import must precede all rules…") and browsers silently DROP the
|
||||
font import, so the custom font never loads. */
|
||||
@import url("https://fonts.coollabs.io/css2?family=Inter:wght@400;500;600;700&display=swap");
|
||||
@import url("https://api.fonts.coollabs.io/css2?family=Sono:wght@400;500;600;700&display=swap");
|
||||
@import "tailwindcss";
|
||||
@plugin "daisyui";
|
||||
@plugin "daisyui/theme" {
|
||||
@@ -13,7 +13,7 @@
|
||||
}
|
||||
|
||||
@theme {
|
||||
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
|
||||
--font-sans: "Sono", ui-sans-serif, system-ui, sans-serif;
|
||||
}
|
||||
|
||||
/* Larger, easier-to-grab connection handles (Vue Flow defaults to 6px). The
|
||||
|
||||
Reference in New Issue
Block a user