Skip to content

Commit 1aa4a85

Browse files
authored
fix: docs favicon emoji, logo cropping, dark mode invert (#33)
* fix: docs favicon emoji, logo cropping, dark mode logo invert - Replace hand-drawn SVG icons with Twemoji 🍜 ramen emoji paths - Widen logo viewBox to prevent text cropping - Add dark:invert to demo logos for dark mode support * fix: remove single-item dropdown, use flat navigation groups
1 parent b9ec105 commit 1aa4a85

File tree

5 files changed

+49
-38
lines changed

5 files changed

+49
-38
lines changed

β€Ždocs/docs.jsonβ€Ž

Lines changed: 25 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -27,39 +27,33 @@
2727
}
2828
},
2929
"navigation": {
30-
"dropdowns": [
30+
"groups": [
3131
{
32-
"dropdown": "Documentation",
33-
"icon": "book",
32+
"group": "Get Started",
33+
"pages": ["introduction", "quickstart"]
34+
},
35+
{
36+
"group": "Frameworks",
37+
"pages": [
38+
"frameworks/react",
39+
"frameworks/vue",
40+
"frameworks/svelte",
41+
"frameworks/solid",
42+
"frameworks/angular",
43+
"frameworks/jquery",
44+
"frameworks/vanilla",
45+
"frameworks/custom"
46+
]
47+
},
48+
{
49+
"group": "Guides",
50+
"pages": ["options", "how-it-works"]
51+
},
52+
{
53+
"group": "Reference",
3454
"pages": [
35-
{
36-
"group": "Get Started",
37-
"pages": ["introduction", "quickstart"]
38-
},
39-
{
40-
"group": "Frameworks",
41-
"pages": [
42-
"frameworks/react",
43-
"frameworks/vue",
44-
"frameworks/svelte",
45-
"frameworks/solid",
46-
"frameworks/angular",
47-
"frameworks/jquery",
48-
"frameworks/vanilla",
49-
"frameworks/custom"
50-
]
51-
},
52-
{
53-
"group": "Guides",
54-
"pages": ["options", "how-it-works"]
55-
},
56-
{
57-
"group": "Reference",
58-
"pages": [
59-
"api-reference/create-logo-soup",
60-
"api-reference/get-visual-center-transform"
61-
]
62-
}
55+
"api-reference/create-logo-soup",
56+
"api-reference/get-visual-center-transform"
6357
]
6458
}
6559
]

β€Ždocs/favicon.svgβ€Ž

Lines changed: 1 addition & 3 deletions
Loading

β€Ždocs/logo/dark.svgβ€Ž

Lines changed: 11 additions & 2 deletions
Loading

β€Ždocs/logo/light.svgβ€Ž

Lines changed: 11 additions & 2 deletions
Loading

β€Ždocs/snippets/logo-soup-demo.jsxβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export const LogoSoupDemo = () => {
4242
src={`${base}/${name}.svg`}
4343
alt={name}
4444
draggable={false}
45+
className="dark:invert"
4546
style={{
4647
width: on
4748
? `${dw * displayScale}px`

0 commit comments

Comments
Β (0)