Cloudflare Style Constants


5.0.819 days ago3 years agoMinified + gzip package size for @cloudflare/style-const in KB



Cloudflare Style Constants

Constants used to theme cf-ui and cf-ux and all other Fela components. This should not be used (required) directly. variables are already passed as this.context.theme through the whole React codebase in all our projects that use CSS in JS. You might want to use some HOC as createComponent() from cf-style-container that wires this.context.theme into props.theme.


$ npm install @cloudflare/style-const

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.