Skip to content

Commit 32c11c7

Browse files
fix(theme): stabilize palette selector without instant navigation (#2706)
1 parent e9aed54 commit 32c11c7

2 files changed

Lines changed: 16 additions & 7 deletions

File tree

theme/partials/palette.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,8 @@
1111
</label>
1212
{% endif %}
1313
{% endfor %}
14+
<span class="docs-palette__fallback" aria-hidden="true">
15+
<span class="docs-palette__fallback-button docs-palette__fallback-button--light md-icon">{{ icon("moon-outline") }}</span>
16+
<span class="docs-palette__fallback-button docs-palette__fallback-button--dark md-icon">{{ icon("sunny-outline") }}</span>
17+
</span>
1418
</form>

theme/stylesheets/header.css

Lines changed: 12 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)