kid1110 / black-theme-impl

implement black theme by vue3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

black-theme-impl

At the begining

I want to understand how Dark Mode is implemented, and since I'm a Vue enthusiast, I'm planning to achieve it using Vue 3. Although it can be implemented in native front-end as well, this project is a demo or you could call it a toy. Perhaps I might even learn to encapsulate a function, similar to vueUse project. If you're also curious about the implementation of Dark Mode, you can take a look at the source code here. Hopefully, it can provide you with some valuable insights.

demo live

black-theme-demo

Usage

cd black-theme-impl
npm install
npm run dev

About

implement black theme by vue3

License:MIT License


Languages

Language:Vue 63.4%Language:TypeScript 13.5%Language:HTML 12.1%Language:JavaScript 11.0%