Allow passing CSS values directly to components for CSS spacing

Created on 11 August 2023, 11 months ago

Problem/Motivation

Components currently have defined enums for properties such as spacing. This makes them too rigid and closed for extension by themes. It also requires very opinionated css to work.

Instead we should allow for values to be passed in which will result in inline CSS custom property definitions. If no value is passed, the inline style should not be added. The default value should instead be assumed by the component CSS.

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States pixelwhip

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024