Skip to content

Commit

Permalink
Launch the dark mode (#5260)
Browse files Browse the repository at this point in the history
* Launch the dark mode

* Update frontend/feat/feature-flags.json
  • Loading branch information
obulat authored Dec 10, 2024
1 parent f10469a commit a9441f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/feat/feature-flags.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"dark_mode_ui_toggle": {
"status": {
"staging": "switchable",
"production": "disabled"
"production": "enabled"
},
"defaultState": "on",
"description": "Display the UI toggle to change the site color theme and respect system preferences.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ const handleClick = () => {
</script>

<template>
<!-- TODO: Populate the post permalink. -->
<VFeatureNotice
see-more-href="https://make.wordpress.org/openverse/"
see-more-href="https://make.wordpress.org/openverse/?p=2216"
@click="handleClick"
>
{{ $t("notification.darkMode.text") }}
Expand Down
2 changes: 1 addition & 1 deletion frontend/test/unit/specs/composables/use-dark-mode.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { computed } from "#imports"
import { computed } from "vue"

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

0 comments on commit a9441f7

Please sign in to comment.