Skip to content

Slots ​

the semantic colour vocabulary. The ui-gallery page Slots, painted with no terminal and no window at each of the documented profiles:

bash
ui-gallery --render --page slots --profile full|enhanced|baseline
 sparkles:ui the semantic colour vocabulary                                         tokyo-night 
   Welcome           ▕ Slots · the semantic vocabulary                                         █
   Primitives        ▕                                                                         █
   Layout            ▕                                                                         █
   Tracks            ▕ Thirty-four roles. A widget names one; the palette turns it into a      █
   Text              ▕ concrete foreground, background and alpha while the display list is     █
   Themes            ▕ built. Nothing below hardcodes a colour — press ] and every swatch re-  █
 ▸ Slots             ▕ resolves.                                                               █
   Decoration        ▕                                                                         ░
   Effects           ▕ ┌─────────────────────────────────────────────────────────────────────┐ ░
   Grid              ▕ │ text                                                                │ ░
   Components        ▕ │ inherit            Aa 0123    #a9b1d6       —                       │ ░
   Tree              ▕ │ textPrimary        Aa 0123    #a9b1d6       —                       │ ░
   Property tree     ▕ │ textSecondary      Aa 0123    #8d93b3       —                       │ ░
   Table             ▕ │ muted              Aa 0123    #777d99       —                       │ ░
   Scrolling         ▕ │ textDisabled       Aa 0123    #5b5f76 50%   —                       │ ░
   State             ▕ │ textInverse        Aa 0123    #1a1b26       —                       │ ░
   Split             ▕ │ code               Aa 0123    #a9b1d6       —                       │ ░
   Dock              ▕ │ docs               Aa 0123    #a0a0a0       —                       │ ░
   Terminal          ▕ │ matched            Aa 0123    #a9b1d6       —                       │ ░
                     ▕ │ unmatched          Aa 0123    #888888       —                       │ ░
                     ▕ └─────────────────────────────────────────────────────────────────────┘ ░
                     ▕                                                                         ░
                     ▕ ┌─────────────────────────────────────────────────────────────────────┐ ░
                     ▕ │ status                                                              │ ░
                     ▕ │ error              Aa 0123    #d45656       #d45656 12%             │ ░
                     ▕ │ warn               Aa 0123    #c37d0d       #c37d0d 12%             │ ░
                     ▕ │ info               Aa 0123    #3772cf       #3772cf 12%             │ ░
                     ▕ │ success            Aa 0123    #1ba673       #1ba673 12%             │ ░
                     ▕ │ annotate           Aa 0123    #1ba673       #1ba673 12%             │ ░
                     ▕                                                                          
 pages                                                                          ? keys   q quit 
 sparkles:ui the semantic colour vocabulary                                         tokyo-night 
   Welcome           ▕ Slots · the semantic vocabulary                                         █
   Primitives        ▕                                                                         █
   Layout            ▕                                                                         █
   Tracks            ▕ Thirty-four roles. A widget names one; the palette turns it into a      █
   Text              ▕ concrete foreground, background and alpha while the display list is     █
   Themes            ▕ built. Nothing below hardcodes a colour — press ] and every swatch re-  █
 ▸ Slots             ▕ resolves.                                                               █
   Decoration        ▕                                                                         ░
   Effects           ▕ ┌─────────────────────────────────────────────────────────────────────┐ ░
   Grid              ▕ │ text                                                                │ ░
   Components        ▕ │ inherit            Aa 0123    #a9b1d6       —                       │ ░
   Tree              ▕ │ textPrimary        Aa 0123    #a9b1d6       —                       │ ░
   Property tree     ▕ │ textSecondary      Aa 0123    #8d93b3       —                       │ ░
   Table             ▕ │ muted              Aa 0123    #777d99       —                       │ ░
   Scrolling         ▕ │ textDisabled       Aa 0123    #5b5f76 50%   —                       │ ░
   State             ▕ │ textInverse        Aa 0123    #1a1b26       —                       │ ░
   Split             ▕ │ code               Aa 0123    #a9b1d6       —                       │ ░
   Dock              ▕ │ docs               Aa 0123    #a0a0a0       —                       │ ░
   Terminal          ▕ │ matched            Aa 0123    #a9b1d6       —                       │ ░
                     ▕ │ unmatched          Aa 0123    #888888       —                       │ ░
                     ▕ └─────────────────────────────────────────────────────────────────────┘ ░
                     ▕                                                                         ░
                     ▕ ┌─────────────────────────────────────────────────────────────────────┐ ░
                     ▕ │ status                                                              │ ░
                     ▕ │ error              Aa 0123    #d45656       #d45656 12%             │ ░
                     ▕ │ warn               Aa 0123    #c37d0d       #c37d0d 12%             │ ░
                     ▕ │ info               Aa 0123    #3772cf       #3772cf 12%             │ ░
                     ▕ │ success            Aa 0123    #1ba673       #1ba673 12%             │ ░
                     ▕ │ annotate           Aa 0123    #1ba673       #1ba673 12%             │ ░
                     ▕                                                                          
 pages                                                                          ? keys   q quit 
 sparkles:ui the semantic colour vocabulary                                         tokyo-night 
   Welcome           | Slots * the semantic vocabulary                                         #
   Primitives        |                                                                         #
   Layout            |                                                                         #
   Tracks            | Thirty-four roles. A widget names one; the palette turns it into a      #
   Text              | concrete foreground, background and alpha while the display list is     #
   Themes            | built. Nothing below hardcodes a colour - press ] and every swatch re-  #
 > Slots             | resolves.                                                               #
   Decoration        |                                                                         |
   Effects           | +---------------------------------------------------------------------+ |
   Grid              | | text                                                                | |
   Components        | | inherit            Aa 0123    #a9b1d6       -                       | |
   Tree              | | textPrimary        Aa 0123    #a9b1d6       -                       | |
   Property tree     | | textSecondary      Aa 0123    #8d93b3       -                       | |
   Table             | | muted              Aa 0123    #777d99       -                       | |
   Scrolling         | | textDisabled       Aa 0123    #5b5f76 50%   -                       | |
   State             | | textInverse        Aa 0123    #1a1b26       -                       | |
   Split             | | code               Aa 0123    #a9b1d6       -                       | |
   Dock              | | docs               Aa 0123    #a0a0a0       -                       | |
   Terminal          | | matched            Aa 0123    #a9b1d6       -                       | |
                     | | unmatched          Aa 0123    #888888       -                       | |
                     | +---------------------------------------------------------------------+ |
                     |                                                                         |
                     | +---------------------------------------------------------------------+ |
                     | | status                                                              | |
                     | | error              Aa 0123    #d45656       #d45656 12%             | |
                     | | warn               Aa 0123    #c37d0d       #c37d0d 12%             | |
                     | | info               Aa 0123    #3772cf       #3772cf 12%             | |
                     | | success            Aa 0123    #1ba673       #1ba673 12%             | |
                     | | annotate           Aa 0123    #1ba673       #1ba673 12%             | |
                     |                                                                          
 pages                                                                          ? keys   q quit 

What each profile gives up ​

The frame's degradation report: one line per substitution, and the capability the target lacked. full is empty when the page asks for nothing a terminal cannot do.

text
alpha-flattened ×9 (alpha)
text
color-folded ×123 (colorDepth)
alpha-flattened ×9 (alpha)
text
color-dropped ×123 (colorDepth)
ascii-border ×3 (unicode)
ascii-scrollbar ×1 (unicode)
ascii-glyph ×13 (unicode)
alpha-flattened ×9 (alpha)

These are the files dub test :ui-gallery compares every render against, so a change to this page that is not re-blessed fails CI.