⚠️ NOTE: This project has been deprecated in favour of Plumeria. Please take a look at the migration guide.
It works with any front-end framework and also works with a single ts file.
npm install --save-dev typedcssx
- Type first
- Type safe
- Can linter
- Ease API
- Scaleble
- Maintainable
- Zero-Runtime
- RSC-Support
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.
For full documentation, visit typedcssx site.
To the check out the version information, visit release notes.
import cssx from 'typedcssx';
const css = cssx.create({
blue: {
fontSize: 18,
color: 'blue',
},
});
const Page = () => <div className={css.blue}>Hello World</div>;
For help, discuss best practices and please join the conversation here:
Discuss TypedCSSX on GitHub