@code-coaching/vuetiful 0.21.1 → 0.21.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,7 @@ declare const useDarkMode: () => {
3
3
  modeOsPrefers: Readonly<Ref<boolean>>;
4
4
  modeUserPrefers: Readonly<Ref<boolean | undefined>>;
5
5
  currentMode: Readonly<Ref<boolean>>;
6
+ isDark: Readonly<Ref<boolean>>;
6
7
  getModeOsPrefers: () => boolean;
7
8
  getModeUserPrefers: () => boolean | undefined;
8
9
  getModeAutoPrefers: () => boolean;
@@ -48132,6 +48132,7 @@ const MODE = {
48132
48132
  const modeOsPrefers = ref(MODE.DARK);
48133
48133
  const currentMode = ref(MODE.DARK);
48134
48134
  const modeUserPrefers = ref(void 0);
48135
+ const isDark = computed(() => currentMode.value === MODE.DARK);
48135
48136
  const useDarkMode = () => {
48136
48137
  const getModeOsPrefers = () => {
48137
48138
  let prefersLightMode = false;
@@ -48194,6 +48195,7 @@ const useDarkMode = () => {
48194
48195
  modeOsPrefers: readonly(modeOsPrefers),
48195
48196
  modeUserPrefers: readonly(modeUserPrefers),
48196
48197
  currentMode: readonly(currentMode),
48198
+ isDark: readonly(isDark),
48197
48199
  getModeOsPrefers,
48198
48200
  getModeUserPrefers,
48199
48201
  getModeAutoPrefers,