Skip to content
design system
Thème d’affichage, actuellement Auto

Two containers · four breakpoints · seven layers

Layout

A page is a column of prose or a wide grid, and reflows down to 320 pixels without a horizontal scroll: criterion 10.11 is held on the three surfaces, the extension's sidebar included, which Firefox lets go down to 216.

Containers and breakpoints

Container widths and breakpoints
TokenValueNote
--rl-container-prose48remAn article, a form, a settings page.
--rl-container-wide72remA dashboard, a table, a grid of cards.
breakpoint.sm640pxNot emitted to CSS: a custom property cannot feed a media query. TypeScript and the Tailwind preset read it from the source.
breakpoint.md768pxNot emitted to CSS: a custom property cannot feed a media query. TypeScript and the Tailwind preset read it from the source.
breakpoint.lg1024pxNot emitted to CSS: a custom property cannot feed a media query. TypeScript and the Tailwind preset read it from the source.
breakpoint.xl1280pxNot emitted to CSS: a custom property cannot feed a media query. TypeScript and the Tailwind preset read it from the source.

Corners and lines

Corners are nearly straight: 2px at most, zero on structural elements. The direction refuses the generic rounded-lg.

Corner radii and border widths
TokenValueShown
--rl-radius2px
--rl-radius-none0
--rl-border1px
--rl-border-strong1.5px

The stacking order

The stacking order, in one place. The last value sits above any host page the extension draws into.

z-index layers
TokenValue
--rl-z-sticky10
--rl-z-drawer30
--rl-z-busy40
--rl-z-skip50
--rl-z-modal60
--rl-z-toast70
--rl-z-furniture2147483000