Skip to content

An object containing CSS properties that don't accept values with units for @dash-ui

License

Notifications You must be signed in to change notification settings

dash-ui/unitless

Repository files navigation


An object containing CSS properties that don't accept values with units. This is a fork of @emotion/unitless because they don't have TypeScript types over yonder and that has been a real pain point.
npm i @dash-ui/unitless

Bundlephobia Types Code coverage Build status NPM Version MIT License


Quick start

import unitless from "@dash-ui/unitless";

unitless.boxFlex === 1; // true
unitless.padding === 1; // false

LICENSE

MIT