From dc0eeba924cd039a3d3bdc1e694e3e7eb47d4a03 Mon Sep 17 00:00:00 2001 From: Lapo Luchini Date: Sun, 12 May 2024 16:22:51 +0000 Subject: [PATCH] Fix dark collapse icon. --- index.css | 4 ++++ release.sh | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/index.css b/index.css index d418189..9b1a5da 100644 --- a/index.css +++ b/index.css @@ -332,6 +332,10 @@ header { background: url('tree-icon-light.svg'); } +html[data-theme="dark"] .treecollapse summary::before{ + background: url('tree-icon-dark.svg'); +} + .treecollapse details[open] > summary::before{ background-position : calc(-2 * var(--radius)) 0; } \ No newline at end of file diff --git a/release.sh b/release.sh index c92c359..fd511b8 100755 --- a/release.sh +++ b/release.sh @@ -2,7 +2,8 @@ set -e FILES=" asn1.js oids.js defs.js base64.js hex.js int10.js dom.js rfcdef.js test.js tags.js - context.js index.css index-dark.css index.js index.html favicon.svg index-local.html + context.js index.css index-dark.css index.js index.html index-local.html + favicon.svg tree-icon-light.svg tree-icon-dark.svg README.md LICENSE updateOID.sh check.sh examples/*