mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-23 16:30:45 +01:00
docs: add marketing pages (#3308)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -42,7 +42,8 @@ const radius = computed({
|
||||
|
||||
const modes = [
|
||||
{ label: 'light', icon: appConfig.ui.icons.light },
|
||||
{ label: 'dark', icon: appConfig.ui.icons.dark }
|
||||
{ label: 'dark', icon: appConfig.ui.icons.dark },
|
||||
{ label: 'system', icon: appConfig.ui.icons.system }
|
||||
]
|
||||
const mode = computed({
|
||||
get() {
|
||||
@@ -144,7 +145,7 @@ function setBlackAsPrimary(value: boolean) {
|
||||
v-for="m in modes"
|
||||
:key="m.label"
|
||||
v-bind="m"
|
||||
:selected="mode === m.label"
|
||||
:selected="colorMode.preference === m.label"
|
||||
@click="mode = m.label"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user