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 8, 2021
1 parent 3b47c7e commit 777eb73
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 777eb73

Please sign in to comment.