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 10, 2021
1 parent c36f3ba commit f169091
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 f169091

Please sign in to comment.