0.0.12 • Published 4 years ago

ng-multithemes v0.0.12

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

Welcome to ng-multithemes

ng-multithemes allow create an angular application with any themes, it's can be do with generator which in-built in package.

How to install

Use npm install ng-multithemes --save-dev to install as dev dependies.

How to use

Create folder or file with name of your theme (example: /dark/colors.scss or dark.scss), and run generate command with any parent path: npx ng-multithemes generate theme --input=\"./src/app\" --output=\"src/themes/\" --theme="dark"

After generate all themes, you can add it's to your angular.json, or you can use npx ng-multithemes generate angularjson --input="src/themes", and your angular.json will transform to as it should be.

Commands (generate theme)

commanddescription
inputparent path of input in your application (src/app is better)
outputpath (folder of file) to output themes (src/themes is better)
themename of your theme (preffix for find folders or files and output file with this name

Commands (generate angularjson)

commanddescriptiondefault
inputpath to folders of you themes-
preffixpreffix to bundle nameassets/themes/

How to change theme in code

To change theme you can use package ng-multithemes-theme-manager

0.0.12

4 years ago

0.0.10

4 years ago

0.0.11

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago