Font Size:
Ask Joget AI

Styling

Introduction

A list designed with List Studio looks like the rest of the app without any styling of your own: it follows the app's theme. When it should look different, you style it in layers, each one over the one before:

  1. The app's theme, a Theme Builder theme included.
  2. The template's look and Style page: colors, corners, shadow, spacing, and font for the whole list.
  3. A slot's or a box's own Style, for that one slot or box.
  4. Custom CSS, for anything the settings can't do, with hooks that stay the same from version to version.

Styling is part of List Studio, and is set in the List Builder's Layout view.

Following the app's theme

A value left empty on the template's Style page follows the app's theme:

  • Accent: the theme's primary color, for links, progress bars, filled buttons, and tinted bands.
  • Corners: the theme's border radius.
  • Font and text size: the app's.
  • Backgrounds: the content's background for cards and frames, and the page's for soft fills such as a table's header.

With a theme made in the Theme Builder, a list with the App theme look also takes the components the theme has saved: Typography, Table, List, Card, Input, Dropdown, Tab, Button, and Pagination. See List Studio Templates and Looks for what each one styles.

What List Studio styles, and what it leaves to the theme

List Studio styles The theme styles
The records (rows, cards and timeline entries), their slots, the frame around them and a table's header; section headings and board lanes; the chips, Sort by and Export over the records; the bulk action bar. Joget's own controls: the filters' fields and selects, the Show and Reset buttons, the list's buttons, and the page around the list.

List Studio places Joget's controls but doesn't restyle them: it measures their height on the page, so that the toolbar's fields and buttons line up on any theme. The status colors (red, amber, green, and the others) are List Studio's own in every theme, since they carry meaning.

The template's Style page

Click Template settings in the Layout toolbar, and open its Style page. It sets the look of every slot of the list at once. A look from Looks fills it in, and you can change any value after.

Each color has Default (follow the theme), eight colors (blue, green, amber, red, violet, gray, teal, pink), a swatch that opens a color picker, and a box to type one in: a color such as #1f3a5f or rgb(31, 58, 95), or a word: accent, accent-tint, soft, white, black, one of the eight colors, or its tint such as green-tint. Sizes are in px, within each setting's range. A value that isn't one of these is ignored, and Problems says so.

Fields to configure:

  • Colors
    • Accent: links, progress bars, filled buttons, and icon tiles.
    • Accent tint: soft backgrounds in the accent, such as a tinted band. Empty: a light tint of the accent.
    • Text: titles and values.
    • Muted text: labels, meta text, and dates.
    • Lines: dividers, the lines between rows, and a box's line.
    • Frame background: a card, or the box around a list or table.
    • Frame border: a card's border, or the box's around a list or table. None leaves it out.
    • Band: a box whose Background is a band.
    • Soft fill: a table's header, picture placeholders, boxed text, the opened Detail; and the band, unless Band is set.
    • Controls: tag chips, the expand button, the sort menu, and a card's checkbox. Set it with Frame background for dark cards.
    • Control lines: the borders of tag chips, the expand button and the sort menu, and a progress bar's track.
  • Shape
    • Corner radius: cards, frames and pictures, 0 to 32.
    • Small corner radius: buttons, bands and boxed text, 0 to 24.
    • Badge radius: 0 for square badges, 10 or more for pills, up to 20.
    • Card shadow (Cards only): Default, None, Soft, Raised, or Floating.
  • Spacing (Cards only)
    • Card padding: inside a card, 0 to 48. Empty; it follows Density.
    • Space between cards: 0 to 48.
  • Timeline (Timeline only)
    • Timeline line: the line's thickness, 1 to 6. Empty, 2px.
    • Dot size: the timeline's dots, 8 to 20. Empty, 12px.
  • Text
    • Font: Follow the app, Inter, Roboto, Source Sans 3 (Joget Enterprise), Commissioner, Hind Vadodara, The computer's own (system), Serif (Georgia) or Monospace. The first five ship with Joget and are loaded from its server, only when a list uses one.
    • Title size: 10 to 40.
    • Title weight: Default, or 400 regular to 800 extra bold.
  • Rows
    • Row on hover: a row's background while the pointer is on it, such as accent-tint or soft. Empty, it doesn't change.

A slot's or a box's own Style

Select a slot on the canvas: its Style page, This slot only, changes that slot alone. A value left empty follows the template's Style page and the slot's own Variant.

  • Color, Size (9 to 48), and Weight: the slot's text.
  • Font: The template's, or another, such as Monospace for codes, figures, and times.
  • Case: As written, or UPPERCASE, in capitals a little spaced out, for a status or a source line.
  • Align text: Default (the start), Start (left), Center, or End (right), within the slot's width. In a table, the whole column follows, its heading too, so that amounts line up on the right.
  • A Progress slot also has Bar height, Track and Bar; an Avatar, Circle (one color for everyone, instead of one per name) and Size.

The page also lists the conditions that change the slot (see List Studio Conditions).

A box's Style page has its Background (None, Soft, Accent tint, Band (gray), Band (accent tint), or Custom color…), a Line Above or Below it, and under Border and corners, a 1px Border all around and its own Corner radius. A band reaches the card's edges, as a header or a footer.

Custom CSS

Open Template settings > Custom CSS. Its CSS applies only to the lists that use this template: List Studio scopes every rule to the list, so it can't style the rest of the page. It applies on the canvas, in Preview, and in the running list.

Write rules as you would for the list itself:

  • A selector matches inside the list: [data-dtb-slot="price"] { color: #e8590c; }. Start it with & to match the list itself.
  • A declaration outside any rule applies to the whole list. Set a variable there to change it everywhere: --dtb-radius: 4px;
  • @media, @supports, @container and @layer work. So does @keyframes: its name is made unique to the template, and the animation that uses it follows.

Which wins:

  • Custom CSS wins over a slot's or a box's own Style.
  • The template's Style page wins over the same variable set in Custom CSS: a line that sets --dtb-accent does nothing while Accent is set. Problems points such a line out.
  • Custom CSS comes after the Look CSS, and wins over it.

Hooks

These hooks are kept from version to version. Other dtb- class names are List Studio's own and may change; Problems warns when Custom CSS uses one.

Hook What it matches
[data-dtb-record] A row, card or timeline entry.
[data-dtb-records] What holds the records: a grid, a list, or a table's body. The canvas draws one record, so see it in Preview.
[data-dtb-slot="name"] A slot, by its name.
[data-dtb-box="name"] A box you named, in its Name setting.
[data-dtb-col="name"] A table column's heading and cells, by its slot's or named box's name. In Preview, not on the canvas.
[data-dtb-actions="actions"], [data-dtb-actions="corner"] The row's Row actions and Quick actions, with their links. In the menu style, its ⋮ button is .dtb-menu-btn and the menu .dtb-menu.
[data-dtb-is~="overdue"] A record in a condition, by the condition's id. A record can be in several.
[data-dtb-tone="red"] A colored record (Conditions' Record color): a color's name, accent or custom.
[data-dtb-when="past"] A Date slot's date: past, today or future.
[data-dtb-group="open"] A section, by its value in lower case (a day as 2026-10-19). Its heading is .dtb-grp-h, its color --dtb-grp, and a folded one .dtb-grp-closed.
[data-dtb-rail], .dtb-dot A timeline's line, and its dot.
.dtb-t-title, .dtb-badge, .dtb-c-red A slot by its kind (.dtb-t- and the kind), a badge's pill, and anything in one of the eight colors (.dtb-c- and the color).

Variables

Set a variable at the top level of Custom CSS to change it for the whole list. Most are the Style page's settings, which win when they are set.

Variable What it is
--dtb-accent, --dtb-accent-soft Accent and Accent tint.
--dtb-ink, --dtb-muted, --dtb-faint Text, Muted text, and the faintest text, such as separators.
--dtb-line, --dtb-soft, --dtb-page Lines, Soft fill, and the content's background, which frames and controls start from.
--dtb-frame-bg, --dtb-frame-line Frame background and Frame border.
--dtb-band, --dtb-control-bg, --dtb-control-line Band, Controls, and Control lines.
--dtb-radius, --dtb-radius-sm, --dtb-badge-radius Corner radius, Small corner radius, and Badge radius.
--dtb-shadow, --dtb-card-pad, --dtb-card-gap Card shadow, Card padding and Space between cards.
--dtb-pin-inset How far a pinned item sits from its corner. Set it on the item, a box, or the whole list.
--dtb-font, --dtb-title-size, --dtb-title-weight Font, Title size, and Title weight.
--dtb-rail-width, --dtb-rail-dot A timeline's Timeline line and Dot size.
--dtb-red, --dtb-red-bg Each of the eight colors, and its tint: --dtb- and the color, then -bg for the tint.

An example

The Event list starter fades past events and fills today's date tile with the accent, in two lines of Custom CSS:

[data-dtb-record]:has([data-dtb-slot="date"] [data-dtb-when="past"]) { opacity: .55; }
[data-dtb-slot="date"] [data-dtb-when="today"] { background: var(--dtb-accent); color: #fff; }

What Custom CSS can't do

List Studio cleans the CSS before using it:

  • @import, @charset, @namespace and @font-face are removed. A font of your own comes from the app's theme.
  • url() takes only http and https addresses, and addresses on the Joget server.
  • Anything after 20,000 characters is left out.
  • Braces are balanced, so a rule can't escape the list.

Problems lists what was removed, and rules that name a slot, box, or condition the template doesn't have.

Look CSS

Under Custom CSS, Look CSS shows, read-only, the CSS the template's look brings. Applying another look replaces it. To change it, copy it into Custom CSS, which comes after it and wins. A starter's own CSS, such as the Event list's above, is in Custom CSS, where you can change it.

Tips and limitations

  • Use the Style page when it has a setting for what you want: Looks, the theme, and Problems all work with it. Keep Custom CSS for the rest.
  • The canvas draws one record. Check hooks that match several records, or a table's columns, in Preview.

Related documentation

Created by Damien Ng Last modified by Debanraj Ravindran on Nov 26, 2026