gutenberg
gutenberg copied to clipboard
Add size presets as an optional size units
What problem does this address?
The current size options are px, %, em, rem, vh and vw. In some cases, I would like to be able to use a measurement that matches my preset sizes, like border-width: var(--wp--preset--spacing--50).
What is your proposed solution?
Add a "PRESET" option to the list of units and, when selected, an option to select the size like you can for padding and margin.