Pretty Properties is a community plugin that adds an icon, a cover, or a banner to a note, and saves each as a property of the note. Grid and Masonry cards can show them:
| Pretty Properties | Property | View setting | Shows as |
|---|---|---|---|
| Icon | icon | Icon property | The card's icon. See Icon. |
| Icon color | icon_color_light, icon_color_dark | Icon Color set to Property | The color of the card's icon. See Card colors > Color each card from a property. |
| Cover | cover | Image property | The card's image. See Image. |
| Banner | banner | Image property | The card's image. See Image. |
These are Pretty Properties' default property names. If you changed them in its settings, use your own names instead.
Cards show every kind of icon Pretty Properties can add: Lucide icons, emoji, attachments, and external images. Gradient banners don't show on cards.
Set icon color depending on color scheme
Pretty Properties saves the icon color you pick to icon_color_light while Obsidian uses a light color scheme, and to icon_color_dark while it uses a dark one. To use both, add this formula, and select it in Color property:
"light-dark(" + icon_color_light + ", " + icon_color_dark + ")"
Cards then show the light color in a light color scheme and the dark color in a dark one. A note needs both properties for this to work. The color applies to icons and text, but not to emoji or images.
Instead of the formula, you can use one color in both color schemes. Enter the same property name, such as icon_color, in Pretty Properties' Icon color property for the light theme and Icon color property for the dark theme settings, then select that property in Color property.