Layout and design tokens - Fabula
The Layout section holds the numbers that shape the whole theme: how wide the content is, how round the corners are, how strong shadows and overlays look. Each value is a design token, a single setting that every part of the theme reads, so one change updates the site everywhere at once.
Find it at AppearanceCustomizeFabula ThemeLayout. It has six tabs: Sizes, Border Radius, Opacity, Shadows, Overlays, and Motion. Changes show live in the preview and apply to the site after you click Publish.
#Sizes
The width of the main content container used across pages. The slider runs from 600 to 2400 in steps of 10.
The maximum width of wide layouts and stretched sections. The slider runs from 800 to 2600 in steps of 10.
The horizontal space between the content and the edge of its container. The slider runs from 0 to 200 in steps of 1.

#Border radius
Four sizes of rounded corners. Setting a value to 0 gives square corners, and a large value gives a pill shape. All four run from 0 to 200 pixels.
Compact elements.
Common components.
Cards and modals.
Fully rounded and pill-shaped elements.

To get a sharper, more editorial look, set the first three to 0. Keep Extra Large high if you want buttons to stay pill-shaped.
#Opacity
Four levels of transparency used across the theme. Every one runs from 0 to 1 in steps of 0.01, where 1 is fully visible. The names run from the most transparent to the least.
The lowest visibility. Used for subtle effects.
Low visibility, for background overlays and hover states.
Medium visibility, for interface accents and shadows.
The highest visibility of the four, for text and active elements.
#Shadows
Three shadow colors. A shadow color carries its own transparency, so a stronger shadow is a darker or less transparent value.
A subtle shadow for inner elements. Default rgba(0, 0, 0, 0.1).
The shadow of cards and raised surfaces. Default rgba(0, 0, 0, 0.2).
A deeper shadow for modals and overlays. Default rgba(0, 0, 0, 0.3).
#Overlays
Five overlay colors for dimming layers, such as the one behind menus and modals. As with shadows, the transparency is part of the color value.
The default overlay of modals and menus. Default rgba(0, 0, 0, 0.4).
A light dim for minor effects. Default rgba(0, 0, 0, 0.15).
A soft overlay for light backgrounds. Default rgba(0, 0, 0, 0.25).
A balanced overlay for general dimming. Default rgba(0, 0, 0, 0.4).
A darker overlay, used behind modals. Default rgba(0, 0, 0, 0.6).
#Motion
Fades between pages in browsers that support view transitions. It switches itself off for visitors whose device is set to reduce motion, and browsers without support simply load pages as usual.
#With Fabula Pro active
Fabula Pro adds the strongest steps of two scales, because its layouts use them. They sit on the Fabula ProTheme OptionsGeneral page, in the Style Tokens group: Shadow Extra Large (default rgba(0, 0, 0, 0.4)) and Overlay Extra Large (default rgba(0, 0, 0, 0.8)). Pro also has its own Boxed Layout Width setting for the boxed page layout, separate from Content Width above. See Theme Options: the Pro settings panel.
Last updated
Was this article helpful?
On this page