8.5.1 • Published 1 year ago

ontimize-web-ngx-theming v8.5.1

Weekly downloads
79
License
Apache-2.0
Repository
github
Last release
1 year ago

📜 Introduction

The Ontimize Web Theming is library for web applications based in OntimizeWeb, easing customization of application theming through 'scss' files

📖 Documentation

Check out our documentation site to know more details.

:rocket: Usage

In your application main style file ('app.scss' if you are using ontimize-web pre-built apps) import one of the available themes file for loading its content: If you only want to load a pre-built theme of '@angular/material', load one of the following files:

@import 'node_modules/ontimize-web-ngx-theming/src/themes/mat-indigo-pink.scss';
@import 'node_modules/ontimize-web-ngx-theming/src/themes/mat-deeppurple-amber.scss';
@import 'node_modules/ontimize-web-ngx-theming/src/themes/mat-pink-bluegrey.scss';
@import 'node_modules/ontimize-web-ngx-theming/src/themes/mat-purple-green.scss';

Finally if you want to use the default ontimize theme and styles, just load:

@import 'node_modules/ontimize-web-ngx-theming/src/themes/ontimize.scss';

In other case you can define your own theme, and, if you want, use the ontimize styles for a better component rendering including the following lines:

@import 'node_modules/ontimize-web-ngx-theming/ontimize-theme.scss';
@include ontimize-theme-styles($theme);

After define theme, it is necessary to transfer color and default typography to Ontimize Web framework(theme definition and default typography are mandatory):

@import "~ontimize-web-ngx/theme.scss";
@include o-material-theme($theme, $default-typography);

Also, if you want to use compact styles for 'Ontimize Web' components instead of the previous lines, you have to include the following lines (theme definition is mandatory, optionally you can add a angular material typography configuration):

@import 'node_modules/ontimize-web-ngx-theming/ontimize-theme-lite.scss';
@include ontimize-theme-styles-lite($theme, $typography);

💡 Ideas

We would love any feedback you have or to know when you encounter issues, by filing an issue report on this repo.

:gear: Development

Build

Run npm run build to execute the build process that will generate the dist folder and a .tgz file. You can use this .tgz file to install the library in your project through the package.json file.

8.5.0

1 year ago

8.5.1

1 year ago

8.4.1

1 year ago

8.4.0

2 years ago

8.3.0

2 years ago

8.2.2

2 years ago

8.2.1

2 years ago

8.2.0

2 years ago

8.1.0

3 years ago

8.1.0-SNAPSHOT-3

3 years ago

8.0.1

3 years ago

4.0.3

3 years ago

8.0.0

3 years ago

4.0.2

5 years ago

4.0.1

5 years ago

4.0.0

5 years ago

4.0.0-rc.1

5 years ago

4.0.0-rc.0

5 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago