Skip to content

Block Setting Support

Geoff Dusome edited this page May 1, 2026 · 2 revisions

Block Setting Support (pending MOOSE-395)

The following tables are lists of global and block specific settings that have been turned off in ModernPress. These settings have been targeted to silo editors into using predefined settings and style (e.g. the Button block) instead of overriding key design system components.

Global Settings

Setting Category Settings Disabled Reason
Color customDuotone, defaultGradients, defaultPalette, defaultDuotone, duotone Duotone just doesn't have a place in ModernPress right now. The default gradients and palette don't fit most brands, so we define our own.
Typography defaultFontSizes, fluid Default font sizes don't match brand. We define our own fluid type scale.
Shadow defaultPresets We define our own shadows.
Spacing defaultSpacingSizes We define our own spacing scale.

Block Specific Settings

Block Name Settings Disabled Reason
core/button border/color, border/radius, border/style, border/width, color/text, color/background, color/gradients, shadow, spacing/padding, typography/fontFamilies, typography/customFontSize, typography/fontSizes, typography/textTransform, typography/fontWeight, typography/fontStyle, typography/lineHeight, typography/letterSpacing, typography/textDecoration The Button block is one of the few blocks very opinionated in its styling - we don't want these styles edited.
core/group color/button, color/link The Group block handles color theming for these elements. While we're keeping the options for paragraph and heading colors, links and buttons just don't make sense here.
core/post-template spacing/blockGap The spacing between items in the Post Template block is overwritten in the theme for both list and grid views. The blockGap control doesn't end up affecting styling in any way due to how specific the selectors are. There's no reason for this setting to be on.
core/query-pagination color/link, color/text Query Pagination block defines color settings based on the current Group block theme selected.
core/table color/background, color/text Table block defines color settings based on the current Group block theme selected. This is especially important for when the "Stripes" block style is selected.

Clone this wiki locally