@zendeskgarden/css-bedrock

10.0.1 • Public • Published

@zendeskgarden/css-bedrock npm version

This package provides a mostly reasonable CSS reset layered on top of modern-normalize.

Installation

npm install @zendeskgarden/css-bedrock

Usage

Once installed, bedrock CSS can be accessed via postcss-import.

@import '@zendeskgarden/css-bedrock';

The distribution for Bedrock CSS contains global styling rules to help projects get started with Garden designs. In addition to modern-normalize, Bedrock includes:

  • Garden's system font stack applied to page.
  • Base font size (14px) applied to the page.
  • Reset box-sizing to border-box for all elements.
  • A default treatment for anchor and hr elements.
  • Headings (1-6) reset to inherit font-size.
  • Browser margin and padding stripped from block elements.

See https://zendeskgarden.github.io/css-components?path=/story/components-bedrock for a demonstration of the resets provided by this package.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
10.0.1327latest

Version History

VersionDownloads (Last 7 Days)Published
10.0.1327
10.0.014
9.1.2646
9.1.15,301
9.0.134
9.1.09
9.0.06,346
8.0.1522
8.0.00
7.0.35138
7.0.340
7.0.331
7.0.320
7.0.310
7.0.300
7.0.290
7.0.280
7.0.270
7.0.260
7.0.251
7.0.240
7.0.230
7.0.221
7.0.210
7.0.200
7.0.190
7.0.180
7.0.171
7.0.160
7.0.150
7.0.140
7.0.130
7.0.120
7.0.110
7.0.100
7.0.92
7.0.80
7.0.61
7.0.50
7.0.41
7.0.30
7.0.20
7.0.10
7.0.00
6.0.20
6.0.10
6.0.00
5.0.00

Package Sidebar

Install

npm i @zendeskgarden/css-bedrock

Weekly Downloads

13,345

Version

10.0.1

License

Apache-2.0

Unpacked Size

16.5 kB

Total Files

6

Last publish

Collaborators

  • zendesk-garden