0.0.9 • Published 9 months ago

@nex-ui/system v0.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@nex-ui/system

A lightweight and performant styling library based on Emotion, focusing on component architecture and developer experience.

Installation

npm i @nex-ui/system

Key Features

Tokens

Define your own design tokens and apply them seamlessly as CSS values. CSS properties are automatically mapped to token scales, and tokens can even be used within shorthand CSS properties.

Scales

Scales can associate design tokens with CSS properties, enabling CSS properties to be mapped to the corresponding token types. As a result, CSS properties can use tokens of the corresponding types as values.

Aliases

Aliases are used to define aliases for CSS properties, which simplifies CSS property names and supports combining CSS properties.

Selectors

Selectors are designed to combine multiple CSS selectors, aiming to apply style rules to page elements more efficiently and flexibly.

Recipes

Create multi-variant styles with a type-safe runtime API, heavily inspired by vanilla-extract.

Dark Mode

Dark Mode that works out of the box. Additionally, the styles for the Dark Mode can be easily defined in the recipes.

Responsive Design

Define custom breakpoints and apply them directly in the recipes to create responsive layouts.

Developer Experience

One of our main goals is to provide the best possible developer experience. The system provides a fully-typed API, so when using TypeScript, CSS properties, tokens, and breakpoints etc. will be auto-completed for you.

0.0.9

9 months ago

0.0.8

9 months ago

0.0.7

9 months ago

0.0.6

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago