mirror of
https://github.com/boostorg/website-v2.git
synced 2026-02-27 05:32:08 +00:00
🐛 fixing font weight on dark/light select
Now that we are properly importing fonts, light weight was too light. This fixes the font weights. Issue: #268
This commit is contained in:
@@ -100,16 +100,16 @@
|
||||
>
|
||||
<a
|
||||
@click="mode='light'; setColorMode('light'); modeOpen = false;"
|
||||
:class="{'font-bold': mode === 'light', 'font-thin': mode !== 'light' }"
|
||||
:class="{'font-bold': mode === 'light', 'font-medium': mode !== 'light' }"
|
||||
class="block py-2 text-xs cursor-pointer dark:text-white text-charcoal dark:hover:text-orange hover:text-orange"
|
||||
>
|
||||
<i class="inline-block mr-1 fas fa-sun text-gold"></i>
|
||||
<i class="inline-block mr-1 fas fa-sun text-gold font-semibold"></i>
|
||||
Light Mode
|
||||
</a>
|
||||
|
||||
<a
|
||||
@click="mode = 'dark'; setColorMode('dark'); modeOpen = false;"
|
||||
:class="{'font-bold': mode === 'dark', 'font-thin': mode !== 'dark' }"
|
||||
:class="{'font-bold': mode === 'dark', 'font-medium': mode !== 'dark' }"
|
||||
class="block py-2 text-xs cursor-pointer dark:text-white text-charcoal dark:hover:text-orange hover:text-orange"
|
||||
>
|
||||
<i class="inline-block mr-1 fas fa-moon text-sky-600"></i>
|
||||
|
||||
Reference in New Issue
Block a user