Colors and Appearance
Static Plain Text Decorations have Background color and Text color controls in Settings. Leave a color unset, or reset it, to use the normal fallback. Entered colors support #RRGGBB and #RRGGBBAA; the color picker is also available.
Font Size, below Text color and above Alignment, multiplies the existing base font size without changing its family. Use the minus and plus buttons for 0.1 steps, or enter a decimal value from 0.5 to 3.0. 1.0 is the normal size. Reset clears the setting and restores that normal size. Save ordinary edits to keep the setting. The taskbar and preview use the same scaling; TDML and Scripted Decorations are unaffected.
Plain Text (.pt) files support the metadata header key FontSize,
for example FontSize: 1.25 inside the leading --[[ / ]] block. It is a
finite multiplier in the same range, not a pixel size. Export includes an
explicitly configured value (1.0 is written as 1), and omits an unset value. Import restores
it; files without the field keep the normal default. Invalid supported values
produce a metadata error rather than partially applying the file’s settings.
Metadata headers are not displayed as Plain Text.
FontSize is not a TDML or Lua metadata key. TDML sets text size with TDML
markup in the text itself, such as {size:30}Large text{}, {sz:14}Small text{},
or {sza:18}Explicitly absolute{}. See the TDML Reference.
For the whole Decoration surface, the effective background is selected in this order: a Scripted runtime’s decoration.backgroundColor, TDML dcolor/dc, the definition’s background color, the active Theme’s Decoration background, the Theme’s Taskbar background, then KDE/Plasma’s default appearance. A Scripted runtime can clear its override by assigning an empty string.
Text color is separate from the surface. A Static definition’s Text color supplies its default foreground; TDML fgc overrides text in its scope. TDML bgc colors a text run, not the whole surface. Scripted Decorations set their taskbar text through TDML in decoration.text.
Theme Decoration and Taskbar borders are fallback presentation too; the Decoration definition has no separate border setting. For Theme color controls and precedence, see Theme Elements. For TDML color syntax and precedence, see the TDML color reference; for Scripted runtime colors, see the Scripted Decoration guide.