UNPKG

react-switch-theme

Version:

Switch between your themes easily, uses react hooks. Just provide the colors object for themes and switch it. switch between light or dark theme, or so.

50 lines (49 loc) 1.35 kB
{ "name": "react-switch-theme", "version": "0.3.0", "description": "Switch between your themes easily, uses react hooks. Just provide the colors object for themes and switch it. switch between light or dark theme, or so.", "main": "build/index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "rimraf build && webpack", "lint:fix": "eslint ./src --fix" }, "keywords": [ "react-switch-theme", "theme", "dark-mode", "theme-switch", "react", "react-hooks" ], "author": { "name": "Bikram Sutar", "email": "6bikramsutar@gmail.com" }, "license": "MIT", "repository": { "type": "git", "url": "https://github.com/theBstar/react-switch-theme.git" }, "bugs": { "url": "https://github.com/theBstar/react-switch-theme/issues" }, "peerDependencies": { "react": ">=16.8.0" }, "devDependencies": { "@babel/core": "^7.5.5", "@babel/preset-env": "^7.5.5", "@babel/preset-react": "^7.0.0", "babel-loader": "^8.0.6", "eslint": "^6.5.1", "eslint-config-airbnb": "^18.0.1", "eslint-plugin-import": "^2.18.2", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-react": "^7.16.0", "eslint-plugin-react-hooks": "^1.7.0", "rimraf": "^3.0.0", "webpack": "^4.39.2", "webpack-cli": "^3.3.7" } }