Candy Database · Documentation
style block of a database or a theme. All optional. Colors are written #rrggbb (or a color name).
| Key | Meaning |
| background_color | The page's background. |
| text_color | The page's text. |
| link_color | Links. |
| code_color | [code] text. |
| background_texture | An image behind the page. In a database: a path relative to the database folder. |
| background_texture_mode | Cover, Stretch or Tile. |
| background_opacity | 0 to 1. |
| header_background_color | The header's background. Left out: transparent, showing the page. |
| header_text_color | The header's text. Left out: the page's text color. |
| header_background_texture | An image behind the header. Path relative to the database folder. |
| header_background_mode | Cover, Stretch or Tile. |
| footer_background_color | The footer's background. Left out: transparent, showing the page. |
| footer_text_color | The footer's text. Left out: the page's text color. |
| footer_background_texture | An image behind the footer. Path relative to the database folder. |
| footer_background_mode | Cover, Stretch or Tile. |
| scroll_bar_color | The scroll bar's track. Left out: a faint tint of the page's text color. |
| scroll_grabber_color | The part you drag. Left out: the page's text color, half see-through. |
| scroll_grabber_hover_color | The grabber under the mouse. Left out: the grabber's color, closer to the text color. |
| scroll_grabber_pressed_color | The grabber while dragged. Left out: the grabber's color, closer still to the text color. |
| scroll_bar_width | The scroll bar's width in pixels, 2 to 32. Left out: 10. |
| scroll_bar_radius | How round its corners are, in pixels, 0 to 16. Left out: 4. |
#rrggbbaa: "scroll_bar_color": "#00000000" would be fully see-through, so it counts as left out. Use "#00000001" for a track you can't see.
In a theme file, the editor:name form is also understood for colors, and the two image keys are not available (a theme has no folder of its own for images).