All Projects → eddiemoore → hydrogencss

eddiemoore / hydrogencss

Licence: MIT license
Atomic CSS for CSS Modules

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to hydrogencss

shared-react-components-example
An example of a mono-repository of shared React components libraries!
Stars: ✭ 85 (+553.85%)
Mutual labels:  atomic-design
modular
Scaffold a react monorepo and its component parts.
Stars: ✭ 13 (+0%)
Mutual labels:  css-modules
macos-preact
macos-preact.now.sh
Stars: ✭ 1,019 (+7738.46%)
Mutual labels:  css-modules
svbstrate
A functional/atomic/utility css library.
Stars: ✭ 51 (+292.31%)
Mutual labels:  atomic-css
Bank-Account-Simulation
A Bank Account Simulation with JavaFX and SQLite back-end. Material UX|UI.
Stars: ✭ 19 (+46.15%)
Mutual labels:  css-modules
htwoo
hTWOo - a better Fluent UI framework.
Stars: ✭ 67 (+415.38%)
Mutual labels:  atomic-design
Mailbox
🌸🎉使用react+redux+webpack搭建的邮箱应用🎉🌸
Stars: ✭ 16 (+23.08%)
Mutual labels:  css-modules
esbuild-css-modules-plugin
A esbuild plugin to bundle css modules into js(x)/ts(x)
Stars: ✭ 64 (+392.31%)
Mutual labels:  css-modules
ekzo
💫 Functional Sass framework for rapid and painless development
Stars: ✭ 32 (+146.15%)
Mutual labels:  atomic-css
css-art-gallery
A collection of CSS Arts.
Stars: ✭ 127 (+876.92%)
Mutual labels:  css-modules
nextjs-with-jest-typescript
A very simple example of Next.js-based website with Jest tests, all written in TypeScript
Stars: ✭ 70 (+438.46%)
Mutual labels:  css-modules
unocss
The instant on-demand atomic CSS engine.
Stars: ✭ 7,866 (+60407.69%)
Mutual labels:  atomic-css
phoenix-react-apollo-demo
Example app using the Phoenix Framework with React and GraphQL
Stars: ✭ 37 (+184.62%)
Mutual labels:  css-modules
stylemug
CSS in JS with support for static / atomic CSS extraction.
Stars: ✭ 55 (+323.08%)
Mutual labels:  atomic-css
jess
If you like CSS, Less, Sass, and/or CSS modules, you're gonna want to star this repo.
Stars: ✭ 26 (+100%)
Mutual labels:  css-modules
hot-redux-chassis
Modern React/Redux/RxJS application using all the latest and greatest stuff from the community 🔥
Stars: ✭ 20 (+53.85%)
Mutual labels:  css-modules
nextjs-components
A collection of React components, transcribed from https://vercel.com/design.
Stars: ✭ 92 (+607.69%)
Mutual labels:  css-modules
fd-cypress-recorder
Browser plugin Fd Cypress Recorder captures user interactions and generates Cypress test code.
Stars: ✭ 25 (+92.31%)
Mutual labels:  css-modules
website-honestly
🦄 The Red Badger website. Honestly.
Stars: ✭ 26 (+100%)
Mutual labels:  css-modules
twitter-web-react
twitter-web-react.now.sh
Stars: ✭ 104 (+700%)
Mutual labels:  css-modules

hydrogen.css

Atomic CSS for CSS Modules

npm

Installation

NPM

npm i -S hydrogencss

Yarn

yarn add hydrogencss

Usage with CSS Modules

There are two ways to compose with each value. The first:

.container {
  composes: <value> from 'hydrogencss/<property>.css';
}

With this way you will be importing all the classes within <property>.css, unless you are clearing up the unused CSS.

The alternate way to import is

.container {
  composes: <value> from 'hydrogencss/<property>/<value>.css';
}

Example:

.container {
  composes: flex from 'hydrogencss/display/flex.css';
}

Which will just include:

.flex { display: flex; }

To see all the properties and values available please check the docs folder.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].