1.0.2 • Published 10 years ago
mag-theme-base v1.0.2
Base theme
Module to build themes for magsdk stalker.
Development
To build theme add to package.json mag-theme-base devDependence. Then run
npm installThis module uses sass as css preprocessor. You need to create these sass files:
| File | Description |
|---|---|
| 480.scss | special styles for NTSC |
| 576.scss | special styles for PAL |
| 720.scss | special styles for 720p |
| 1080.scss | special styles for 1080p |
| main.scss | main theme styles for all components |
| vars.scss | contains 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 buildWatch files and build instantly
mag-theme-base watchTo develop your own theme you can use mag-theme-graphite as example. Clone this theme and modify styles as you need.