Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

zss-in-js/typedcssx

Repository files navigation

⚠️ NOTE: This project has been deprecated in favour of Plumeria. Please take a look at the migration guide.


Release Status License: MIT

Installation

It works with any front-end framework and also works with a single ts file.

npm install --save-dev typedcssx

Features

  • Type first
  • Type safe
  • Can linter
  • Ease API
  • Scaleble
  • Maintainable
  • Zero-Runtime
  • RSC-Support

What is TypedCSSX ?

TypedCSSX allows you to write CSS as TypeScript, making your styles type safe and maintainable and integrated with your development environment. With features like static CSS generation. Theoretical perfect performance while keeping your CSS code clean and scalable.

Documentation

For full documentation, visit typedcssx site.
To the check out the version information, visit release notes.

Quick Start

import cssx from 'typedcssx';

const css = cssx.create({
  blue: {
    fontSize: 18,
    color: 'blue',
  },
});

const Page = () => <div className={css.blue}>Hello World</div>;

Community

For help, discuss best practices and please join the conversation here:
Discuss TypedCSSX on GitHub