UNPKG

v-toggle-theme

Version:

A Vue 3 and Vuetify 3 compatible component that automatically switches between light and dark themes based on sunrise and sunset times. Includes manual override capabilities and full support for SSR and geolocation.

73 lines (72 loc) 1.85 kB
{ "name": "v-toggle-theme", "description": "A Vue 3 and Vuetify 3 compatible component that automatically switches between light and dark themes based on sunrise and sunset times. Includes manual override capabilities and full support for SSR and geolocation.", "version": "3.2.0", "private": false, "author": { "name": "Bernd Braun", "email": "bernd.braun@code-to-web.com" }, "homepage": "https://www.code-to-web.com", "repository": { "type": "git", "url": "https://gitlab.com/code-to-web-vue-components/v-toggle-theme/-/tree/master" }, "bugs": { "url": "https://gitlab.com/code-to-web-vue-components/v-toggle-theme/-/issues" }, "keywords": [ "vue", "vue3", "nuxt3", "vuetify", "vuetify-theme", "theme-switcher", "dark-mode", "light-mode", "automatic-theme", "vue-component", "geo-location", "sunrise calculation", "sunset calculation", "ssr", "vue-plugin", "day-night-theme" ], "license": "MIT", "files": [ "dist" ], "type": "module", "scripts": { "build": "tsc && vite build" }, "main": "./dist/v-toggle-theme.umd.js", "module": "./dist/v-toggle-theme.es.js", "types": "./dist/v-toggle-theme.d.ts", "exports": { ".": { "types": "./dist/v-toggle-theme.d.ts", "import": "./dist/v-toggle-theme.es.js", "require": "./dist/v-toggle-theme.umd.js" } }, "dependencies": { "@mdi/js": "^7.4.47", "sunrise-sunset-js": "^2.2.1" }, "peerDependencies": { "vue": "^3.5.13", "vuetify": "^3.7.5" }, "devDependencies": { "@types/node": "^22.10.2", "@vitejs/plugin-vue": "^5.2.1", "rollup-plugin-vue": "^6.0.0", "typescript": "^5.7.2", "vite": "^6.0.3", "vite-plugin-dts": "^4.3.0", "vite-plugin-vuetify": "^2.0.4", "vue-tsc": "^2.1.10" } }