Skip to content

Commit

Permalink
Enable theme styles by default and rename Reduced UI
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Sep 25, 2020
1 parent 877573b commit 385e3dc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions packages/edit-post/src/components/options-modal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ export function OptionsModal( { isModalActive, isViewable, closeModal } ) {
/>
</Section>
<Section title={ __( 'Writing Mode' ) }>
<EnableFeature
featureName="reducedUI"
label={ __( 'Reduced UI' ) }
/>
<EnableFeature
featureName="themeStyles"
label={ __( 'Theme Styles' ) }
/>
<EnableFeature
featureName="reducedUI"
label={ __( 'Commpact UI' ) }
/>
<EnableFeature
featureName="focusMode"
label={ __( 'Spotlight' ) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ exports[`OptionsModal should match snapshot when the modal is active 1`] = `
<Section
title="Writing Mode"
>
<WithSelect(WithDispatch(BaseOption))
featureName="reducedUI"
label="Reduced UI"
/>
<WithSelect(WithDispatch(BaseOption))
featureName="themeStyles"
label="Theme Styles"
/>
<WithSelect(WithDispatch(BaseOption))
featureName="reducedUI"
label="Commpact UI"
/>
<WithSelect(WithDispatch(BaseOption))
featureName="focusMode"
label="Spotlight"
Expand Down
1 change: 1 addition & 0 deletions packages/edit-post/src/store/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const PREFERENCES_DEFAULTS = {
welcomeGuide: true,
fullscreenMode: true,
showIconLabels: false,
themeStyles: true,
},
hiddenBlockTypes: [],
preferredStyleVariations: {},
Expand Down

0 comments on commit 385e3dc

Please sign in to comment.