Skip to content

Commit 86edbbc

Browse files
committed
fix(ui): remove all remaining cursive font fallbacks
- Standardize font stack in CollectionsIndex, DynamicHeader, Sidebar, and ConfigIndex - Ensure 'Fredoka' is the primary font across the app
1 parent 0518f8e commit 86edbbc

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

example-web/react2/src/components/CollectionConfigIndex.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ const CollectionConfigIndex: React.FC<CollectionConfigIndexProps> = () => {
675675
fontWeight: "900",
676676
color: "#333",
677677
textShadow: isMobile ? "2px 2px 0px #eee" : "3px 3px 0px #eee",
678-
fontFamily: "'Fredoka One', cursive, sans-serif",
678+
fontFamily: "'Fredoka', 'Fredoka One', sans-serif",
679679
letterSpacing: "1px",
680680
overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap",
681681
maxWidth: isMobile ? "60%" : "auto"

example-web/react2/src/components/CollectionsIndex.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const GridCellRenderer = ({ columnIndex, rowIndex, style, data }: any) => {
5959
fontWeight: "900",
6060
color: "#333",
6161
textAlign: "center",
62-
fontFamily: "'Fredoka One', cursive, sans-serif",
62+
fontFamily: "'Fredoka', 'Fredoka One', sans-serif",
6363
}}>
6464
{collection}
6565
</span>
@@ -118,7 +118,7 @@ const ListRowRenderer = ({ index, style, data }: any) => {
118118
whiteSpace: "nowrap",
119119
overflow: "hidden",
120120
textOverflow: "ellipsis",
121-
fontFamily: "'Fredoka One', cursive, sans-serif",
121+
fontFamily: "'Fredoka', 'Fredoka One', sans-serif",
122122
}}>
123123
{collection}
124124
</div>
@@ -246,7 +246,7 @@ const CollectionsIndex: React.FC = () => {
246246
fontWeight: "900",
247247
color: "#333",
248248
textShadow: isMobile ? "1px 1px 0px #eee" : "3px 3px 0px #eee",
249-
fontFamily: "'Fredoka One', cursive, sans-serif",
249+
fontFamily: "'Fredoka', 'Fredoka One', sans-serif",
250250
letterSpacing: "1px",
251251
}}>
252252
Collections

example-web/react2/src/components/DynamicCollectionConfigData.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const DynamicCollectionConfigData: React.FC<
8585
fontWeight: "900",
8686
color: "#333",
8787
textShadow: "2px 2px 0px #eee",
88-
fontFamily: "'Fredoka One', cursive, sans-serif",
88+
fontFamily: "'Fredoka', 'Fredoka One', sans-serif",
8989
textTransform: "capitalize",
9090
}}>
9191
{configName}

example-web/react2/src/components/Sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const Sidebar: React.FC<SidebarProps> = ({ currentCollection }) => {
4444
fontSize: "1.5rem",
4545
fontWeight: "900",
4646
textShadow: "2px 2px 0px #eee",
47-
fontFamily: "'Fredoka One', cursive, sans-serif", // Assuming font availability or fallback
47+
fontFamily: "'Fredoka', 'Fredoka One', sans-serif", // Assuming font availability or fallback
4848
}}>
4949
Terminal!
5050
</h3>

0 commit comments

Comments
 (0)