Skip to content

Commit

Permalink
Launch the dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed Dec 9, 2024
1 parent 0bd3fb6 commit 3cba979
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
5 changes: 1 addition & 4 deletions frontend/feat/feature-flags.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@
"storage": "session"
},
"dark_mode_ui_toggle": {
"status": {
"staging": "switchable",
"production": "disabled"
},
"status": "switchable",
"defaultState": "on",
"description": "Display the UI toggle to change the site color theme and respect system preferences.",
"storage": "cookie"
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 3cba979

Please sign in to comment.