2.0.1 • Published 4 years ago

@anviltech/wuf-web-assets v2.0.1

Weekly downloads
84
License
MIT
Repository
-
Last release
4 years ago

Base Styles

While most of the page layout for each application page is handled by layout-related components, the and tags are outside of the scope of any component (including those components used for layout). These high-level elements need certain styling in order for our layouts to work as expected. Similarly, there are some common, global styles that we want/need to apply to our application in order handle everything from base font size, line height, paragraph spacing, list decoration, etc. in a manner consistent with our style guide.

Dependencies

This package has some peer dependencies. To install these dependencies, run the following commands from your application root:

npm install @angular/material@7.3.2 material-components-web@0.44.0 --save

or

yarn add @angular/material@7.3.2 material-components-web@0.44.0

Installation

In order to easily apply these high-level, global styles we have created a collection of such styles and provided them for use from the library of components via a single SCSS file import. To use it, add the @anviltech/wuf-web-assets package to your application by running the following command from your command line:

$ npm install @anviltech/wuf-web-assets

... then add the following to your application's style.scss file:

@import "~@anviltech/wuf-web-assets/assets/styles/library”;

This @import will bring all of the base styles from the Common Components Library into your app and provide the following benefits:

  • Reset the styling of many HTML elements to baseline for consistency across browsers (using a flavor of normalize.css).
  • Provide a number of SCSS utility functions and mixins, including some for responsive breakpoints.
  • Provide a number of convenience classnames, including some for handling flex-box layouts.
  • Create a default theme and brand style. Read more about theming and brand overrides in the Branding & Themes section.
2.0.1

4 years ago

2.0.0-rc.18.2

5 years ago

2.0.0-rc.18.1

5 years ago

2.0.0-rc.18

5 years ago

2.0.0-rc.17

5 years ago

2.0.0-rc.16

5 years ago

2.0.0-rc.15

5 years ago

2.0.0-rc.14

5 years ago

2.0.0-rc.13

5 years ago

2.0.0-rc.12

5 years ago

2.0.0-rc.11

5 years ago

2.0.0-rc.10

5 years ago

2.0.0-rc.9

5 years ago

2.0.0-rc.8

5 years ago

2.0.0-rc.7

5 years ago

2.0.0-rc.6

5 years ago

2.0.0-rc.5

5 years ago

2.0.0-rc.4

5 years ago

2.0.0-rc.3

5 years ago

2.0.0-rc.2

5 years ago

2.0.0-rc.1

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago