File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1616 >Change Themes</button>
1717 </div> -->
1818 <div >
19- <button @click =" $colorMode.preference = 'system '" >
19+ <button v-if = " $colorMode.preference === 'system' " @click =" $colorMode.preference = 'dark '" >
2020 <svg
2121 xmlns =" http://www.w3.org/2000/svg"
2222 width =" 24"
4141 <line x1 =" 12" y1 =" 17" x2 =" 12" y2 =" 21" />
4242 </svg >
4343 </button >
44- <button @click =" $colorMode.preference = 'dark '" >
44+ <button v-if = " $colorMode.preference === 'dark' " @click =" $colorMode.preference = 'light '" >
4545 <svg
4646 xmlns =" http://www.w3.org/2000/svg"
4747 width =" 24"
5757 <path d =" M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" />
5858 </svg >
5959 </button >
60- <button @click =" $colorMode.preference = 'light '" >
60+ <button v-if = " $colorMode.preference === 'light' " @click =" $colorMode.preference = 'system '" >
6161 <svg
6262 xmlns =" http://www.w3.org/2000/svg"
6363 width =" 24"
You can’t perform that action at this time.
0 commit comments