mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-14 23:34:01 -04:00
wallpaper: allow SVG wallpapers, with a workaround for a matugen panic I encountered on passing it an SVG - fixes #1350
1006 B
1006 B
Progress Example
A standalone overview card: how much of today, this week, this month or this year has passed. The manifest uses the single file form, "type": "dashCard" plus "component".
What it shows:
DashCardComponentas the root. It has no tab, so it is not clickable and keyboard navigation skips it.- A layout for every size in its range (1x1 up to 4x2).
wideandtallcome from the card's pixel size againstDashMetrics.gridRowUnit. livegating.SystemClockis disabled while the dash is hidden.toneand the card colors (accentColor,contentColor,mutedColor,chipColor), so the card follows the Surface, Primary, Secondary and Tertiary tones like the built-in cards.dash.options: a choice for the period, a toggle for the time left and a choice for the tone. They show up in the card's options sheet in edit mode and under Settings → Dashboard.
Add it from the dash: open the overview, hover the selected page icon, click the pencil, then Add widget.