Skip to content

Commit 2804674

Browse files
committed
Change up the icons
1 parent 578f88f commit 2804674

2 files changed

Lines changed: 9 additions & 13 deletions

File tree

src/furo/assets/styles/_scaffold.sass

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ article
204204

205205
.icon
206206
color: var(--color-foreground-secondary)
207-
height: 1.25rem
208-
width: 1.25rem
207+
height: 1rem
208+
width: 1rem
209209

210210
.toc-header-icon, .nav-overlay-icon
211211
// for when we set display: flex

src/furo/theme/furo/partials/icons.html

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,13 @@
22
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
33
<symbol id="svg-toc" viewBox="0 0 24 24">
44
<title>Contents</title>
5-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
6-
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
7-
<path stroke="none" d="M0 0h24v24H0z" />
8-
<line x1="4" y1="6" x2="20" y2="6" />
9-
<line x1="10" y1="12" x2="20" y2="12" />
10-
<line x1="6" y1="18" x2="20" y2="18" />
5+
<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 1024 1024">
6+
<path d="M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 0 0 0 13.8z"/>
117
</svg>
128
</symbol>
139
<symbol id="svg-menu" viewBox="0 0 24 24">
1410
<title>Menu</title>
15-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
11+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
1612
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather-menu">
1713
<line x1="3" y1="12" x2="21" y2="12"></line>
1814
<line x1="3" y1="6" x2="21" y2="6"></line>
@@ -21,14 +17,14 @@
2117
</symbol>
2218
<symbol id="svg-arrow-right" viewBox="0 0 24 24">
2319
<title>Expand</title>
24-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
20+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
2521
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather-chevron-right">
2622
<polyline points="9 18 15 12 9 6"></polyline>
2723
</svg>
2824
</symbol>
2925
<symbol id="svg-sun" viewBox="0 0 24 24">
3026
<title>Light mode</title>
31-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
27+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
3228
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="feather-sun">
3329
<circle cx="12" cy="12" r="5"></circle>
3430
<line x1="12" y1="1" x2="12" y2="3"></line>
@@ -43,15 +39,15 @@
4339
</symbol>
4440
<symbol id="svg-moon" viewBox="0 0 24 24">
4541
<title>Dark mode</title>
46-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
42+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
4743
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-moon">
4844
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
4945
<path d="M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z" />
5046
</svg>
5147
</symbol>
5248
<symbol id="svg-sun-half" viewBox="0 0 24 24">
5349
<title>Auto light/dark mode</title>
54-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor"
50+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor"
5551
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="icon-tabler-shadow">
5652
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
5753
<circle cx="12" cy="12" r="9" />

0 commit comments

Comments
 (0)