DUXPLIMA Documentation

theme.conf

The colours, roles, wheel, gradients, glyphs, prefixes and small capitals every UXM plugin shares.

theme.conf is the look of the server: which colour each role is, the glyphs menus are drawn with, and which languages are written in small capitals. It sits in plugins/uxmTheme/, beside the plugin folders, and every UXM plugin reads the same file, so one edit changes the whole suite. The first UXM plugin installed writes it; an existing file is never touched.

A plugin's own theme.conf in its own folder, plugins/uxmParkour/theme.conf, is read on top of the shared one key by key, for a server that wants this plugin to differ. A key left out anywhere keeps the shipped value, so a three-line file is valid. /uxmparkour reload reads it again. A file that cannot be read is reported in the console and the shipped look is used.

The three layers

LayerHoldsWho names it
paletteThe colours, under names you chooseOnly this file
rolesThe job of each colourThe messages and window files
wheelThe colours decoration is taken from, in orderThe windows

A message never names a colour, only a role, so renaming or replacing a palette colour breaks nothing.

palette

NameColourNameColour
rose#FF6B8Bwhite#FFFFFF
peach#FFA07Amist#DDE8F0
butter#FFE66Dsteel#9AA5BE
mint#4ECCA3stone#8A93A1
sky#48CAE4slate#6B7886
corn#6C8DFBash#565F6B
lilac#B388FFcyan#4FD6E8

roles

RoleShips asUsed for
accentskyThe prefix, headers, a menu's accent
bodywhiteThe text of a message
subtextmistA description in a menu
mutedsteelA counter or a date
dimslateA separator, something that cannot be used
iconstoneThe glyph at the start of a tooltip line
crumbashThe category line under a tooltip title
valuebutterA name, a number, a duration
goodmintSuccess, an open arena
badroseAn error, a refusal
warnpeachA warning, an incomplete arena
moneybutterAn amount of money
levellilacA level
ctabutterThe word "click"
infocyanA neutral note
ranklilacA rank
eventcornAn event or a bonus

A value is a palette name or a hex code. The list is open: a role you add here can be used as a tag in your own lines.

wheel and gradients

wheel = [ rose, peach, butter, mint, sky, corn, lilac ] is the order decoration takes its colours in; it wraps, so a long menu keeps working. gradients.header = [ butter ] paints every <h:'...'> header; write two or more colours for a heading that sweeps.

glyphs

GlyphKeyWhere
▶separatorBetween a chat line's category word and the sentence
◆titleThe first line of a menu tooltip
✎descriptionThe description header of a tooltip
≡detailsThe details header
•row, statusOne fact, or one state, under the details header
→actionThe line that says what a click does

prefix

prefix.categories gives a category word its colour by role: error = "bad", money = "good", shop = "good", event = "event". A category not named reads in accent; uxmParkour's PARKOUR does.

small capitals

small-caps { en = true, tr = true, de = true, es = true, fr = true, pt = true }

The languages written in small capitals. They exist for the 26 Latin letters only; any other letter keeps its shape, so Turkish keeps ç, ğ, ı, ö, ş and ü. A language whose writing is not Latin, such as Russian, has nothing to convert. Values, numbers and commands stay as written.

Related: Messages, Menu files