Switch to Outfit/Newsreader/IBM Plex Mono, add Stackless global polish
- Replace Geist with Outfit (sans), Newsreader (serif), IBM Plex Mono loaded via next/font for optimal performance and no layout shift - Wire --font-sans/serif/mono CSS variables to new fonts - body/button/input now render in Outfit by default - Add Stackless global polish: 4px thin scrollbars (#d0ccc4 thumb), black ::selection, input placeholder color #b5b0a6 Made-with: Cursor
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
@import "tailwindcss";
|
||||
@import "tw-animate-css";
|
||||
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&family=Outfit:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');
|
||||
|
||||
@custom-variant dark (&:is(.dark *));
|
||||
|
||||
@@ -12,8 +11,9 @@
|
||||
@theme inline {
|
||||
--color-background: var(--background);
|
||||
--color-foreground: var(--foreground);
|
||||
--font-sans: var(--font-geist-sans);
|
||||
--font-mono: var(--font-geist-mono);
|
||||
--font-sans: var(--font-outfit);
|
||||
--font-serif: var(--font-newsreader);
|
||||
--font-mono: var(--font-ibm-plex-mono);
|
||||
--color-sidebar-ring: var(--sidebar-ring);
|
||||
--color-sidebar-border: var(--sidebar-border);
|
||||
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
||||
@@ -125,5 +125,31 @@
|
||||
}
|
||||
body {
|
||||
@apply bg-background text-foreground;
|
||||
font-family: var(--font-outfit), 'Outfit', sans-serif;
|
||||
}
|
||||
button {
|
||||
font-family: var(--font-outfit), 'Outfit', sans-serif;
|
||||
cursor: pointer;
|
||||
}
|
||||
input, textarea, select {
|
||||
font-family: var(--font-outfit), 'Outfit', sans-serif;
|
||||
}
|
||||
input::placeholder {
|
||||
color: #b5b0a6;
|
||||
}
|
||||
::selection {
|
||||
background: #1a1a1a;
|
||||
color: #fff;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
}
|
||||
::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: #d0ccc4;
|
||||
border-radius: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user