@hydrogen-design-system/system

0.0.42 • Public • Published

Hydrogen

An open-source, modular component library and CSS utility.

npm

Installation

Install Hydrogen npm install @hydrogen-design-system/system --save-dev

Import Hydrogen into your Sass

@use "../node_modules/@hydrogen-design-system/system/dist/import/latest/core/styles/defaults" with (
    // Put custom variables here.
);
@use "../node_modules/@hydrogen-design-system/system/dist/import/latest/system.scss";

Load Hydrogen's JavaScript

https://cdn.jsdelivr.net/gh/hydrogen-design-system/system/dist/compiled/latest/system.min.js

Add the activation attribute to your page

<body data-h2-system>

</body>

Available Components

Available Property Attributes

  • alignment
  • background colors
  • borders
  • containers
  • display values
  • grid & grid items
  • fonts
    • font color
    • font families
    • font sizes
    • font styles
    • font weights
    • headings
  • hover effects
    • hover background colors
    • hover font colors
  • margins
  • padding
  • positioning
  • radius
  • visibilities

Package Sidebar

Install

npm i @hydrogen-design-system/system

Weekly Downloads

22

Version

0.0.42

License

MIT

Unpacked Size

11.1 MB

Total Files

246

Last publish

Collaborators

  • joshbeveridge