Skip to content

Commit a9441f7

Browse files
authored
Launch the dark mode (#5260)
* Launch the dark mode * Update frontend/feat/feature-flags.json
1 parent f10469a commit a9441f7

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

frontend/feat/feature-flags.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"dark_mode_ui_toggle": {
3535
"status": {
3636
"staging": "switchable",
37-
"production": "disabled"
37+
"production": "enabled"
3838
},
3939
"defaultState": "on",
4040
"description": "Display the UI toggle to change the site color theme and respect system preferences.",

frontend/src/components/VFeatureNotice/VDarkModeFeatureNotice.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ const handleClick = () => {
1111
</script>
1212

1313
<template>
14-
<!-- TODO: Populate the post permalink. -->
1514
<VFeatureNotice
16-
see-more-href="https://make.wordpress.org/openverse/"
15+
see-more-href="https://make.wordpress.org/openverse/?p=2216"
1716
@click="handleClick"
1817
>
1918
{{ $t("notification.darkMode.text") }}

frontend/test/unit/specs/composables/use-dark-mode.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { computed } from "#imports"
1+
import { computed } from "vue"
22

33
import { describe, expect, test, vi } from "vitest"
44
import { usePreferredColorScheme } from "@vueuse/core"

0 commit comments

Comments
 (0)