prop.style
v0.0.1
Getting Started
Theme
Components
prop-div
prop-grid
prop-flex
Tokens
Getting Started
prop.style is a lightweight CSS-in-HTML library that allows you to
style components using HTML attributes.
Hello Prop Style!
<prop-div display="flex" justify-content="center"
padding="lg" background="primary" color="text"
border-radius="md" > Hello Prop Style! </prop-div>
Theme
Control theme tokens and dark/light mode with the theme component.
<prop-theme mode="dark" token-colors='{ "custom": { "light":
"#ff0000", "dark": "#cc0000" } }' ></prop-theme>