1.0.2 • Published 8 years ago

mag-theme-base v1.0.2

Weekly downloads
-
License
GPL-3.0
Repository
-
Last release
8 years ago

Base theme

NPM version Gitter

Module to build themes for magsdk stalker.

Development

To build theme add to package.json mag-theme-base devDependence. Then run

npm install

This module uses sass as css preprocessor. You need to create these sass files:

FileDescription
480.scssspecial styles for NTSC
576.scssspecial styles for PAL
720.scssspecial styles for 720p
1080.scssspecial styles for 1080p
main.scssmain theme styles for all components
vars.scsscontains vars of main theme styles

If you want only to change theme colors or background you should only change color vars in vars.scss file.

To build:

mag-theme-base build

Watch files and build instantly

mag-theme-base watch

To develop your own theme you can use mag-theme-graphite as example. Clone this theme and modify styles as you need.