Inverse
The Inverse utility flips one element and its children to the opposite color scheme: light content on a dark surface, or the reverse. Use it to make one element stand out, an active item or a selected row, without touching its siblings.
Usage
Add inverse to a container to flip it and everything inside.
<div class="item inverse">
<div class="content">
<span class="title">Active item</span>
</div>
</div>
Active Collection Rows
Invert individual rows so the active ones stand out in a longer list. The row's background, text, and other framework paint change together.
<!-- Active row -->
<div class="item inverse item--emphasis-3 rounded--xsmall">
<div class="meta"></div>
<div class="content">
<span class="title title--small">Desk M1</span>
<span class="description">Occupied</span>
</div>
</div>
<!-- Inactive sibling -->
<div class="item bg--white rounded--xsmall">
<div class="meta"></div>
<div class="content">
<span class="title title--small">Desk M3</span>
<span class="description">Available</span>
</div>
</div>
Active Collection Cards
Use inverse cards when several resources share the same grid and only some need attention. The stronger surface separates the occupied rooms from the available ones.
<div class="grid grid--cols-2 gap--small">
<div class="bg--white rounded--xsmall p--3">
<div class="title">Available</div>
</div>
<div class="inverse rounded--xsmall p--3">
<div class="title">Marketing Sync</div>
<div class="description">11:00 - 12:30</div>
</div>
</div>
State Transitions
Apply inverse to a whole surface when a state change should recolor everything on it. An occupied meeting room, for example, inverts its schedule, dividers, and attendee details as one.
<div class="view view--full">
<div class="layout layout--col gap--large p--16 inverse rounded">
<div class="flex flex--col flex--center gap--large h--full">
<div class="text--large font--regular">11:00 - 12:30</div>
<div class="divider w--full"></div>
<div class="text--mega font--bold text--center">Marketing Sync</div>
<div class="divider w--full"></div>
<div class="text--large font--regular">[email protected] & 5 more</div>
</div>
</div>
</div>
What Inverse Flips
Inverse flips everything the framework paints inside the element: backgrounds, text, borders, strokes, icons, and chart colors.
Anything you set directly on the element wins over the inverse defaults, and a theme can style its own inverse with .screen--theme-<id> .inverse.
See
Theme Slots
Theme Slots
Every part of a screen a theme can recolor, from whole-screen colors down to single components, utilities, borders, and chart series
This page lists every slot: each part of a screen a theme can recolor, and the mixin that sets it. A slot takes a framework token, not a raw color, so whatever you map still renders correctly on every device.
and
Themes
Themes
Visually customize any plugin with a drop-in stylesheet that recolors the whole screen
Themes are a simple way to visually customize any TRMNL plugin. A theme adjusts the framework's colors (backgrounds, text, borders, chart colors) without touching plugin markup, and gracefully adapts to every supported device, from 1-bit ePaper to full color.
.
Inverse is not the invert image filter: it changes what the framework paints instead of flipping pixels.
It also does not turn on dark: utilities; those still need screen--dark-mode.