generated from Seekra/repository-template
Set dark mode dynamically
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ watch(colorTheme, val => updateColorTheme(val))
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div :class="{ dark: colorTheme === 'dark' }" id="app-wrapper">
|
||||
<div :class="{ dark: colorTheme === 'dark', 'color-scheme-auto': colorTheme === 'auto' }" id="app-wrapper">
|
||||
<Navbar />
|
||||
|
||||
<div class="main-content">
|
||||
|
||||
Reference in New Issue
Block a user