nowfound

Life & fun · November 1, 2018

VD

Vue Dark Mode – A Minimalist Dark Design System for Vue.js

A lightweight, reactive, and elegant dark mode composable for Vue 3. Seamlessly toggle themes with zero dependencies.

Vue Dark Mode – A Minimalist Dark Design System for Vue.js launched on November 1, 2018 with 146 votes, #176 of 2,709 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 7 years on.

Visit vuedarkmode.com ↗Alternativestop 6% of November 2018

In plain words

Vue Dark Mode is a lightweight composable for Vue 3 that enables dark mode toggling in web applications. It requires zero dependencies and automatically detects system color preferences while storing user choices in local storage. The solution is reactive by design and works by adding a simple composable file to projects without bloating dependencies. It is designed for Vue developers who want to implement dark mode functionality with minimal overhead.

written from the facts on this page · September 2026

From the sources

Zero dependencies. Auto system-preference detection. LocalStorage persistence. Reactive to the core. Don't bloat your node_modules. Just create a useDarkMode.js file and paste this: import { ref, watchEffect } from 'vue' export function useDarkMode() { const isDark = ref( localStorage.getItem('theme') === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches) ) watchEffect(() => { const root = window.document.documentElement if (isDark.value) { root.classList.add('dark') localStorage.setItem('theme', 'dark') } else { root.classList.remove('dark') localStorage.setItem('theme', 'light') } }) const toggle = () => { isDark.value = !isDark.value }…from vuedarkmode.com

Does a similar job

all alternatives →

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, November 2018

the whole month →
  • Krisp Mac▲893

    Record outgoing calls and get transcripts + AI notes

    AI · 2018 · krisp.ai

  • Learn how to build for the web and see where you stand 🌟

    Dev tools · 2018 · web.dev

  • DrawKit▲765

    MIT licensed SVG illustrations, in 2 styles

    Dev tools · 2018

  • Faster, more private internet by Cloudflare, now on mobile

    Work · 2018 · apps.apple.com

  • Tabnine is the AI code assistant that accelerates and simplifies software development while keeping your code private, secure, and compliant.

    AI · 2018 · tabnine.com

  • Neglected side projects for less than $1000.

    Dev tools · 2018 · indiemaker.com