npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ontimize-web-ngx-theming

v8.5.2

Published

An implementation of themes manager for Ontimize Web applications

Downloads

182

Readme

📜 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.