Candy Database · Documentation

Theme keys The theme block of a database or a theme. All optional: what you leave out stays as the editor draws it. Colors are written #rrggbb.
KeyWhat it colors or sets
toolbar_colorThe top bar's background.
sidebar_colorThe sidebar's background (search box, drop-downs), and dialogs.
list_colorThe page list's background. Left out: the sidebar's.
field_colorText fields, and the settings' tab pages with their selected tab. Also the page list, when there is no list color or sidebar color.
button_colorButtons, drop-downs, and the settings' tabs that aren't selected. Also menus, when there is no field color.
hover_colorButtons and tabs under the mouse. Left out: a lighter button color.
pressed_colorPressed buttons. Left out: the accent color.
accent_colorThe selected page, and the highlighted menu entry.
text_colorThe text of the bars, menus, buttons and tabs (not the page's: see the style).
border_colorBorders of buttons, fields, tabs, the page list and menus.
border_width0 to 4 pixels. No border without a border color.
corner_radius0 to 16 pixels.
icon_colorTints the icons of buttons (back, forward, close, settings).
list_icon_colorThe page list's folder and script icons, redrawn in this color.
arrow_colorThe page list's fold arrows. Left out: list_icon_color.
second_page_colorWith two pages open, the second one's page in the page list (the first one's is accent_color). Left out: orange. The user's own choice in the settings wins.
fontA font file in the database folder. Databases only.
bold_fontA bold font file, for the page. Databases only.
mono_fontA monospace font file, for [code] text. The editor's code font when left out. Databases only.
font_sizeThe size of the tab's text, 8 to 40.
In a database's theme block, only the keys it lists change. They are laid over the theme in use.