diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -44,8 +44,8 @@ single one covers everything: | Mechanism | Used by | Why | | --- | --- | --- | | `icon-theme` config key | taskbar, tray | Native support, nothing else needed. | -| `image` module | launcher, volume, microphone, language | Takes a path: either static, or from a script that resolves the current state. | -| CSS `background-image` | workspaces, clock, mail, presentation mode | `format-icons` takes text, not paths. | +| `image` module | volume, microphone, language | Takes a path from a script that resolves the current state. | +| CSS `background-image` | workspaces, clock, mail, presentation mode, launcher | `format-icons` takes text, not paths, and CSS can swap the image per state. | The consequence worth knowing: **the workspace icons live in `styles/modules.css`, not in the module config.** Changing one means editing @@ -67,11 +67,13 @@ with nothing to say why, so it fails while someone is watching instead. gradient and are not recolourable. That is intended here: icons match the rest of the desktop rather than the bar. -The three icons this repo ships are the exception, because the icon theme has -none of them. `icons/slackware.svg` (Simple Icons, CC0) is single-path -monochrome, so `install.sh` tints it from the palette. It is filled with the -bar's background colour rather than the accent, because it sits on the accent -pill and the accent would render it invisible against itself. +The icons this repo ships are the exception, because the icon theme has none +of them. `icons/slackware.svg` (Simple Icons, CC0) is single-path monochrome, +so `install.sh` tints it from the palette, **twice**: the launcher pill +inverts on hover, so the mark has to invert with it, dark on the accent pill +at rest and light on the dark pill hovered. One mark would be invisible in one +of the two states, which is what shipped twice before this. Both tints are +generated from one source file, so they cannot drift apart in shape. `icons/flag-it.svg` and `icons/burger.svg` (Twemoji, CC-BY 4.0) keep their own colours. The hamburger stands in for the English layout, which is what the |
