Candy Database · Documentation
theme block of a database or a theme. All optional: what you leave out stays as the editor draws it. Colors are written #rrggbb.
| Key | What it colors or sets |
| toolbar_color | The top bar's background. |
| sidebar_color | The sidebar's background (search box, drop-downs), and dialogs. |
| list_color | The page list's background. Left out: the sidebar's. |
| field_color | Text fields, and the settings' tab pages with their selected tab. Also the page list, when there is no list color or sidebar color. |
| button_color | Buttons, drop-downs, and the settings' tabs that aren't selected. Also menus, when there is no field color. |
| hover_color | Buttons and tabs under the mouse. Left out: a lighter button color. |
| pressed_color | Pressed buttons. Left out: the accent color. |
| accent_color | The selected page, and the highlighted menu entry. |
| text_color | The text of the bars, menus, buttons and tabs (not the page's: see the style). |
| border_color | Borders of buttons, fields, tabs, the page list and menus. |
| border_width | 0 to 4 pixels. No border without a border color. |
| corner_radius | 0 to 16 pixels. |
| icon_color | Tints the icons of buttons (back, forward, close, settings). |
| list_icon_color | The page list's folder and script icons, redrawn in this color. |
| arrow_color | The page list's fold arrows. Left out: list_icon_color. |
| second_page_color | With 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. |
| font | A font file in the database folder. Databases only. |
| bold_font | A bold font file, for the page. Databases only. |
| mono_font | A monospace font file, for [code] text. The editor's code font when left out. Databases only. |
| font_size | The size of the tab's text, 8 to 40. |
theme block, only the keys it lists change. They are laid over the theme in use.