]> git.draconx.ca Git - homepage.git/commit
Make archive file icon shadows visible in dark mode.
authorNick Bowler <nbowler@draconx.ca>
Wed, 11 May 2022 03:30:13 +0000 (23:30 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 11 May 2022 03:56:18 +0000 (23:56 -0400)
commitd82f7b7dd13788fd5478b72285cde1cb76041d4d
tree80b1a8883363da36ede459ca53e4e9bf4001862c
parent19f5d7df33b2deaf3bd2efc68bd3d163c93b194f
Make archive file icon shadows visible in dark mode.

On a black background, the black icon shadows are invisible.  This is
not a huge problem but we can use CSS rules to make them visible again.

To do this, the SVG embedding is adjusted to automatically add classes
based on the filename in order to differentiate between the various
images, and additional classes are added to the icons to enable
selectors to match the shadows.

The results seem OK.
content/icons/down.svg
content/icons/folder.svg
content/icons/return.svg
content/icons/up.svg
content/style.scss
layouts/embed-svg.xsl