Skip to content

Releases: woodbrettm/css-preflight

v1.1.1

16 Dec 01:55
9a7b7a0
Compare
Choose a tag to compare

Patch Changes

v1.1.0

09 Dec 23:44
038abf9
Compare
Choose a tag to compare

Minor Changes

  • 7c90d68: Separate out smooth scrolling into its own import

v1.0.1

04 Dec 04:04
bfd17fd
Compare
Choose a tag to compare

Patch Changes

  • 20afb83: Internal updates to stylelint, github actions, and Readme.

v1.0.0

03 Dec 08:54
e5f969e
Compare
Choose a tag to compare

Major Changes

  • 11372d8: This is the first major release of css-preflight.

    Repo Changes

    • Stylelint added.
    • Automated deployments and versioning using changesets and github actions.
    • Build system removed and source css files directly exposed instead of dist.

    CSS Changes

    • Browser prefixes have been removed (e.g. -webkit-, -moz-), with the intent for consumers
      of this package to use autoprefixer in their own build process.

    • As the source css files are exposed directly to the package.json exports, the code is
      unminifed. Was not minified previously, just noting as an FYI here.

    • font-family properties using system-ui fonts have been changed to using either web-safe fonts
      or removed entirely. system-ui fonts can be unpredictable given they depend not only on the OS
      version, but also the OS language. Removed in favor of the dev adding these intentionally
      on their own if desired.

    • import 'css-preflight' now only imports the reset/normalizer preflight, not the enhancements.

    Possible imports are now as follows:

    import 'css-preflight'; // styles/preflight.css
    import 'css-preflight/preflight'; // ALIAS: styles/preflight.css
    import 'css-preflight/enhancements'; // styles/enhancements.css
    import 'css-preflight/rem-same-px'; // styles/rem-same-px