@cloudflare/style-const

Cloudflare Style Constants

Usage no npm install needed!

<script type="module">
  import cloudflareStyleConst from 'https://cdn.skypack.dev/@cloudflare/style-const';
</script>

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