import { css } from './nifty.ts';
css({
...flexCenter,
...paddingX`1rem`,
color: '@text!',
':hover': {
color: '@accent',
},
$sm: {
fontSize: '@fontSmall',
},
});
Fast - really fast
Don’t think about performances - we handle that for your. Server-side render your CSS and use CSS utilities to rapidly create UI.
Learn moreFramework-agnostic
Integrate with any front-end library like Next.js, CRA, Gatsby, Tailwind and more. Use the styled API to quickly create reusable React components.
Learn moreAwesome DX
Write type-safe CSS in your TypeScript or JavaScript files. Reference theme values without importing them, and think responsive with breakpoints.
Learn more