Search Open Water Design
Themes.
A theme sets a project’s color, type and shape. The craft doesn’t change: spacing, motion, sound, icons and accessibility travel to all of them.
In design Updated November 24, 2026
A theme
A theme defines the same roles as Flouvia’s, with its project’s color, type and shape. Components don’t change: they read the roles.
Flouvia Dark. The reference.
Light example An example client.
In design. The Flouvia theme is in use across Flouvia; the light example lives in Cuenca’s lab and proves the craft doesn’t depend on the look.
Two themes
| Theme | Appearance | For | Its color | Its type |
|---|---|---|---|---|
flouvia | Dark | The reference: it applies wherever no other is asked for. | The white of the action and Flouvia Blue for the brand. | Helvetica Neue. |
light-example | Light | An example client. | Its green: the brand, the accent, the link and the focus. | DM Sans, with the system’s as a fallback. |
What a theme sets
Every role’s value. A theme defines all of them, even where it repeats the system’s.
| Roles | What the theme sets |
|---|---|
| Layers and text | Its four layers, its ink and its three text tones. |
| Accent, link and focus | The color that marks and the one you read. |
| Fills and lines | Its ink in even steps, the separator and the 3:1 border. |
| Status | Success, warning, error and information, in the light of its appearance. |
| Action and brand | Its primary button, its destructive one and its brand surface. |
| Depth | The veil, the shadows and glass, in its ink. |
| Charts | The ramp for quantities, built from its color. |
| Shape | Each role’s radius, the button’s too. |
| Type | Its own in --cu-font, with the system’s as a fallback. |
What travels
The craft is the same in every project, with any theme.
-
Spacing and grid
The fourteen steps, the grid, the breakpoints and both densities.
-
The type scale
The eleven styles with their size, line height, weight and tracking.
-
Motion and sound
Cauce’s springs and Onda’s sounds.
-
The icons
Gota, with its grid and its gestures.
-
Accessibility
The touch target, the 2 px focus ring, the keyboard and the same contrast promises.
-
The structure
Each component’s HTML and what it does.
Dark or light
Each theme has a single appearance and follows its rules. A project with both defines two themes.
| A dark theme | A light theme | |
|---|---|---|
| Layers | From the deepest to the lightest; overlay is the ceiling. | They alternate between gray and white. |
| Text and fills | Translucent white. | The theme’s ink. |
| Status | Text never drops below L 70% and rises to L 76% on an overlay. | Text and mark at L 48%. |
| Depth | The surface and the veil; shadow only on what floats. | Shadow, in the theme’s ink. |
| The switch when off | Its track is fill 4: the white thumb already gives more than 3:1. | Its track is the 3:1 gray: a fill would leave the thumb without contrast. |
| Charts | The palette for dark; the ramp, from 600 to 100. | The palette for light and the whole ramp. |
The same promise
Every theme keeps the same promises, measured the way the browser paints them on its four layers: 4.5:1 for text and 3:1 for everything else. If a color falls short, the color changes, never the test.
| Role | Flouvia, worst case | Light example, worst case |
|---|---|---|
| Text | 12.7:1 | 16.4:1 |
| Text 2 | 6.1:1 | 5.5:1 |
| Text 3 | 4.6:1 | 4.5:1 |
| Link | 5.3:1 | 5.7:1 |
| Focus | 3.3:1 | 5.7:1 |
| Border | 3.0:1 | 3.0:1 |
| Text on the accent | 4.5:1 | 6.2:1 |
With more contrast, each theme raises its text 2 to 7:1 and its text 3 takes text 2’s value.
Flouvia’s brand
Flouvia Blue and Flouvia’s own typeface belong to the brand, not the system: only the Flouvia theme uses them.
-
A client theme
Puts its color in
--cu-brandand its type in--cu-font. -
Never
Neither Flouvia Blue nor Flouvia’s typeface in another theme, an example or a client project.
Choosing one
-
By container
With
data-cuenca-themeon any container. Without it, the Flouvia theme applies. -
With its appearance
Each theme declares its
color-scheme: the browser’s controls, scrollbars and autofill follow it.
Accessibility
-
More contrast
Each theme defines its own values with
prefers-contrast: more. -
Reduced transparency
Each theme’s glass has its opaque fallback.
-
Forced colors
Components take the system colors, with any theme.
In code
A theme is a token file with its roles. Out of it come its CSS, with the selector [data-cuenca-theme="<theme>"], and its versions for TypeScript, SwiftUI, Jetpack Compose and Figma, one mode per theme.
Figma is a trademark of its owner; its logo appears only to show compatibility and does not imply endorsement.
Changes
- Themes · System
New guide, in design: what a theme sets, what travels to all of them and Flouvia’s next to the light example.