1.0.0-alpha.8 • Published 6 years ago

edge-style v1.0.0-alpha.8

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
6 years ago

Edge Style Sponsored by Version Downloads Build Status Unix Build Status Windows Dependencies

The Edge Platform helps you focus on business logic rather than dealing with massive tooling, common patterns, complex configurations.

We know the hassle of adding basic sensible styling to your Single Page Application. Interestingly there were a lot of seperate libraries and solutions but not a useful combination of all of it. Edge Style is our take on delivering same basic styling for SPAs.

Features

  • Normalize: Based on normalize.css but using the application's customized browerslist: Why add the full normalize if you can only use what's needed?
  • Reset: Reset of all margins and paddings on block level elements: Layouting is easier when having a blank slate.
  • Sanitize: Sanitizes typical gotchas and non ideal legacy standards.
  • Box Sizing: Configures all elements and their shadow elements to use border-box.
  • Aria: Implements some best practises on ARIA markup.
  • OpenType: Tweaks default behavior of all native elements to use advanced OpenType features where useful.
  • Intl: Localized configuration for HTML quotes.

Installation

npm install --save-dev edge-style

Edge Style requires a PostCSS-based setup where postcss-normalize is enabled in the PostCSS configuration.

Other than that Edge Style works effectively without any further plugins as there is e.g. no selector nesting being used inside the source files. It couldn't hurt to add autoprefixer though for managing the minimum amount of prefixes required by your browserslist.

Usage

Anywhere in your application code just import the full package. Ideally it should be the first thing to include on the client side. There is no need for integrating it on the server side code (SSR).

import "edge-style"

Related

  • Edge PostCSS is our very own PostCSS plugin configuration which comes with autoprefixer and postcss-normalize built-in.

License

Apache License Version 2.0, January 2004

Copyright

Copyright 2017-2018Sebastian Software GmbH

1.0.0-alpha.14

6 years ago

1.0.0-alpha.13

6 years ago

1.0.0-alpha.12

6 years ago

1.0.0-alpha.11

6 years ago

1.0.0-alpha.10

6 years ago

1.0.0-alpha.9

6 years ago

1.0.0-alpha.8

6 years ago

1.0.0-alpha.7

6 years ago

1.0.0-alpha.6

6 years ago

1.0.0-alpha.5

6 years ago

1.0.0-alpha.4

6 years ago

1.0.0-alpha.3

6 years ago

1.0.0-alpha.2

6 years ago

1.0.0-alpha.1

6 years ago

1.0.0-alpha.0

6 years ago

0.2.17

6 years ago

0.2.16

6 years ago

0.2.15

6 years ago

0.2.14

6 years ago

0.2.13

6 years ago

0.2.12

6 years ago

0.2.11

6 years ago

0.2.10

6 years ago

0.2.9

6 years ago

0.2.8

7 years ago

0.2.7

7 years ago

0.2.6

7 years ago

0.2.5

7 years ago

0.2.4

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago