Skip to content

Common Options

Every card accepts the options below, on top of the exclusive options listed on its own page.

Name Description Type Default value
title_color1 Card’s title color. string (hex color) 2f80ed
text_color1 Body text color. string (hex color) 434d58
icon_color1 Icons color if available. string (hex color) 4c71f2
border_color1 Card’s border color. Does not apply when hide_border is enabled. string (hex color) e4e2e2
bg_color1 Card’s background color. string (hex color or a gradient in the form of angle,start,end) fffefe
hide_border Hides the card’s border. boolean false
theme1 Name of the theme, choose from all available themes. enum default
cache_seconds Sets the cache header manually (min: 21600, max: 86400). integer 21600
locale Sets the language in the card, you can check full list of available locales here. enum en
border_radius Corner rounding on the card. number 4.5

1: These parameters support light and dark mode. You can use *_light and *_dark variants to specify different values for light and dark mode. For example, title_color_light and title_color_dark will set the title color for light and dark mode respectively.

You can provide multiple comma-separated values in the bg_color option to render a gradient with the following format:

&bg_color=DEG,COLOR1,COLOR2,COLOR3...COLOR10