@cloudflare/style-const

Cloudflare Style Constants

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@cloudflare/style-const
5.3.142 months ago4 years agoMinified + gzip package size for @cloudflare/style-const in KB

Readme

cf-style-const
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.

Installation

$ npm install @cloudflare/style-const