It works with any front-end framework and also works with a single ts file.
npm install --save-dev elter
- Ease API
- Type safe
- Maintainable
- Zero-Runtime
- RSC-Support
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 elter-site.
To the check out the version information, visit release notes.
import elter from 'elter';
const styles = elter.create({
blue: {
fontSize: 18,
color: 'blue',
},
});
const Page = () => <div className={styles.blue}>Hello World</div>;
For help, discuss best practices and please join the conversation here:
Discuss elter on GitHub