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 PropertiesPropertyView settingShows as
IconiconIcon propertyThe card's icon. See Icon.
Icon coloricon_color_light, icon_color_darkIcon Color set to PropertyThe color of the card's icon. See Card colors > Color each card from a property.
CovercoverImage propertyThe card's image. See Image.
BannerbannerImage propertyThe 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.