
Theme files are the interface customization standard for Varvara software.
A .theme
file begins with 6 bytes equal to the RGB values of 4 colors. You can see support overage here.
0a6f 05cf 0caf , or #000000 #aa55cc #66ccaa #ffffff
You can use the following Uxntal routine to implement theme support to your application:
@load-theme ( -- ) ;&path .File/name DEO2 #0002 .File/length DEO2 [ LIT2 -System/debug -System/r ] &loop ;&buf .File/read DEO2 .File/success DEI2 ORA ?&end POP2 JMP2r &end DUP [ LIT2 &buf $2 ] ROT DEO2 INC INC NEQk ?&loop POP2 JMP2r &path ".theme $1
Design Standard
The order in which color are used are as follows:
Normal | Background/alpha | Selection | Foreground | Application |
---|---|---|---|---|
Monochromatic | Background/alpha | White | Black2 | White2 |
Emulators for monochromatic screens do not support Varvara's colors, instead will display colors 0x00
and 0x02
as black, 0x01
and 0x03
as white.

Four colors should be more than enough for any interface.