@logo-software/theme
v11.1.26
Published
Theme module customize UI of the elements with Logo Element Design standard. It also support bootstrap, .Net, Angular and ReactNative based projects.
Downloads
605
Readme
Theme
Theme module customize UI of the elements with Logo Element Design standard. It also support bootstrap, .Net, Angular and ReactNative based projects.
Click here for demo
Installation
All public npm packages of Logo Software is at https://www.npmjs.com/~logofe. To install Theme Module:
$ npm set registry https://registry.npmjs.org/
$ npm install @logo-software/theme -s
Usage Example
- Create
_config.scss
file, if you change some settings then just importscss
to your project mainstyle.scss
_config.scss
$config: (
grid:(status: true),
bootstrap:(status: false),
extend-colors: true,
customize: (status: true),
debug: true
);
- Add
_config.scss
to your mainstyle.scss
style.scss
@import "/src/config";
@import "~@logo-software/theme/style";
- And additionally if you use theme in a any component just add base
scss
file. It contains basic property not all things (all things before already added to style.scss).
any.component.scss
// if you customize the config add first `config.scss` file
@import "/src/config";
@import "~@logo-software/theme/base";
:host {
// component custom css goes here
}
- And use in component's html
app.component.html
<div>
Three type form size exist `large | medium | small`:<br/>
<input class="large"/> <input class="medium"/> <input class="small"/>
</div>
<div>
Three type form display exist `fill | outline | ghost`:<br/>
<input class="fill"/> <input class="outline"/> <input class="ghost"/>
</div>