From: danix Date: Sun, 26 Feb 2023 10:10:19 +0000 (+0100) Subject: different svgs for dark and light theme X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=d904bd065bdc535c1aa1243ec695cd70e09313d4;p=gitweb-theme-danix.git different svgs for dark and light theme --- diff --git a/gitweb-danixland/commit-dark.svg b/gitweb-danixland/commit-dark.svg new file mode 100644 index 0000000..949474a --- /dev/null +++ b/gitweb-danixland/commit-dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/gitweb-danixland/file-dark.svg b/gitweb-danixland/file-dark.svg new file mode 100644 index 0000000..7236393 --- /dev/null +++ b/gitweb-danixland/file-dark.svg @@ -0,0 +1 @@ + diff --git a/gitweb-danixland/folder-dark.svg b/gitweb-danixland/folder-dark.svg new file mode 100644 index 0000000..ca6520f --- /dev/null +++ b/gitweb-danixland/folder-dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/gitweb-danixland/gitweb.css b/gitweb-danixland/gitweb.css index 03949ec..278d798 100644 --- a/gitweb-danixland/gitweb.css +++ b/gitweb-danixland/gitweb.css @@ -56,11 +56,11 @@ a { outline: none; } --border: 34,40,49,0.035; --accent: #FD7014; --svg-color: navy; - --file-icon: url("file.svg"); - --dir-icon: url("folder.svg"); - --ref-icon: url("commit.svg"); - --tag-icon: url("tag.svg"); - --branch-icon: url("merge.svg"); + --file-icon: url("file-dark.svg"); + --dir-icon: url("folder-dark.svg"); + --ref-icon: url("commit-dark.svg"); + --tag-icon: url("tag-dark.svg"); + --branch-icon: url("merge-dark.svg"); } @media screen and (prefers-color-scheme: dark) { :root { @@ -111,7 +111,7 @@ a:hover { } td.list a[href*='tree'], td.list a[href*='blob'] { - padding-left: 20px; + padding-left: 40px; display: block; float: left; height: 32px; diff --git a/gitweb-danixland/merge-dark.svg b/gitweb-danixland/merge-dark.svg new file mode 100644 index 0000000..ddb9643 --- /dev/null +++ b/gitweb-danixland/merge-dark.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/gitweb-danixland/tag-dark.svg b/gitweb-danixland/tag-dark.svg new file mode 100644 index 0000000..8c9c044 --- /dev/null +++ b/gitweb-danixland/tag-dark.svg @@ -0,0 +1 @@ + \ No newline at end of file