This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@bedrock-layout/css-reset
TypeScript icon, indicating that this package has built-in type declarations

1.5.2 • Public • Published

@bedrock-layout/css-reset

A CSS Reset that compliments well with the Bedrock Layout Primitives

Full docs at: bedrock-layout.dev

When to Use

When you don't have your own CSS reset.

How to install

npm install @bedrock-layout/css-reset

Usage

CSS Mixin

The reset mixin is best used at the beginning of your global style

import { reset } from "@bedrock-layout/css-reset";

const GlobalStyles = createGlobalStyle`
  ${reset}
`;

GlobalStyle

The GlobalStyle component is used when you don't have your own global styles to use

import { GlobalStyles } from "@bedrock-layout/css-reset";

const App = () => {
  return (
    <div>
      <GlobalStyles />
      {/* The rest of the component */}
    </div>
  );
};

CSS Stylesheet

You can also just bring in the CSS Stylesheet directly from the lib folder:

import "@bedrock-layout/css/lib/reset.css";

/* or import the minified version */

import "@bedrock-layout/css/lib/reset.min.css";

Package Sidebar

Install

npm i @bedrock-layout/css-reset

Weekly Downloads

93

Version

1.5.2

License

MIT

Unpacked Size

9.28 kB

Total Files

8

Last publish

Collaborators

  • jarvis1010