Skip to main content

jx_theme 0.2.1 copy "jx_theme: ^0.2.1" to clipboard
jx_theme: ^0.2.1 copied to clipboard

discontinuedreplaced by: jx_cli
retracted[pending analysis]

JX CSS design tokens, default theme and CSS variables: extensible colors, spacing, typography and breakpoints.

jx_theme #

The JX CSS design tokens: palette, spacing, breakpoints, typography, radii, borders, opacities and shadows, with their --jx-* CSS variables.

This package is part of JX CSS (ZASPR Kit), a utility-first CSS framework written in Dart. To style an application, install jx_cli instead.

Installation #

dart pub add jx_theme

Usage #

import 'package:jx_theme/jx_theme.dart';

void main() {
  final theme = JxTheme.defaultTheme();
  print(theme.resolveToken(JxThemeCategory.colors, 'teal-700')); // #0f766e
  print(theme.data.getCategory(JxThemeCategory.breakpoints));
}

The JX CSS family #

Package Role
jx_cli Command line: jx init, jx build. Entry point for most projects.
jx_engine Compilation engine, usable as a library.
jx_rules Utility catalog and rule registry.
jx_theme Design tokens and default theme.
jx_parser Class syntax parser.
jx_generator CSS serialization and preflight.
jx_core Shared models, contracts and exceptions.

Documentation: https://nathanaelzie.github.io/zaspr-kit/

License #

MIT.

0
likes
0
points
196
downloads

Publisher

unverified uploader

Weekly Downloads

JX CSS design tokens, default theme and CSS variables: extensible colors, spacing, typography and breakpoints.

Repository (GitHub)
View/report issues

Topics

#css #design-tokens #jaspr

License

(pending) (license)

Dependencies

jx_core

More

Packages that depend on jx_theme