// Date and time. The one pair that stays text: an icon cannot say 14:32. // The icon sits before the text as a CSS background, which is what makes // these two match the icon-only pills around them. { "clock#date": { "format": "{:%a %d/%m}", "min-length": 9, "tooltip-format": "{calendar}", "calendar": { "mode": "year", "mode-mon-col": 3, "weeks-pos": "right", "on-scroll": 1, // Colours here are Pango markup inside a tooltip, which CSS // cannot reach, so they are the only colours in this repo that // do not come from the palette. "format": { "months": "{}", "days": "{}", "weeks": "W{}", "weekdays": "{}", "today": "{}" } }, "actions": { "on-click": "mode" } }, "clock#time": { "format": "{:%H:%M}", "min-length": 5, "tooltip-format": "Standard Time: {:%I:%M %p}" } }