Styled
We recommend using the useStyletron hook to apply css styles to your html elements. It allows for simpler patterns where not only elements can be reused, but the also the css definitions. See the 'useStyletron' page for additional styletron-related information.
Base Web exports a modified version of Styletron's styled
function.
This modified version has access to theme variables: