Skip to content

Commit

Permalink
Add defaults to letter-spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Jun 7, 2021
1 parent 3395295 commit 3b3e04a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import useSetting from '../../components/use-setting';
export default function LetterSpacingControl( { value, onChange } ) {
const units = useCustomUnits( {
availableUnits: useSetting( 'layout.units' ) || [ 'px', 'em', 'rem' ],
defaultValues: { px: '2', em: '.2', rem: '.2' },
} );
return (
<UnitControl
Expand Down

0 comments on commit 3b3e04a

Please sign in to comment.