aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-12-09 11:05:49 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-12-09 11:24:31 +0100
commitd934e0b12af64f943f9f960a04abe3be93648ab7 (patch)
tree7bfad4b1cf758c1b6df3d7dd79a8ecf9ffd528fa /layouts/partials/docs
parenta2e356d4bbf740829b46650d6e7adc1c049fd1ce (diff)
Make icons white in dark mode
Diffstat (limited to 'layouts/partials/docs')
-rw-r--r--layouts/partials/docs/footer.html4
-rw-r--r--layouts/partials/docs/languages.html4
-rw-r--r--layouts/partials/docs/mobile-header.html2
3 files changed, 5 insertions, 5 deletions
diff --git a/layouts/partials/docs/footer.html b/layouts/partials/docs/footer.html
index 9ee8853..df7ed52 100644
--- a/layouts/partials/docs/footer.html
+++ b/layouts/partials/docs/footer.html
@@ -8,7 +8,7 @@
<div>
{{ $date := .AuthorDate.Local.Format (default "January 2, 2006" $.Site.Params.BookDateFormat) }}
<a class="flex align-center" href="{{ $.Site.Params.BookRepo }}/commit/{{ .Hash }}" title='{{ i18n "Last modified by" }} {{ .AuthorName }} | {{ $date }}' target="_blank">
- <img src="{{ "svg/calendar.svg" | relURL }}" alt="Calendar" />
+ <img src="{{ "svg/calendar.svg" | relURL }}" class="book-icon" alt="Calendar" />
<span>{{ $date }}</span>
</a>
</div>
@@ -18,7 +18,7 @@
{{ if and .File .Site.Params.BookRepo .Site.Params.BookEditPath }}
<div>
<a class="flex align-center" href="{{ .Site.Params.BookRepo }}/{{ .Site.Params.BookEditPath }}/{{ .File.Path }}" target="_blank">
- <img src="{{ "svg/edit.svg" | relURL }}" alt="Edit" />
+ <img src="{{ "svg/edit.svg" | relURL }}" class="book-icon" alt="Edit" />
<span>{{ i18n "Edit this page" }}</span>
</a>
</div>
diff --git a/layouts/partials/docs/languages.html b/layouts/partials/docs/languages.html
index 1666215..4fa1f46 100644
--- a/layouts/partials/docs/languages.html
+++ b/layouts/partials/docs/languages.html
@@ -11,7 +11,7 @@
<ul>
<li class="flex">
- <img src="{{ "svg/translate.svg" | relURL }}" alt="Languages" />
+ <img src="{{ "svg/translate.svg" | relURL }}" class="book-icon" alt="Languages" />
{{ $.Site.Language.LanguageName }}
</li>
</ul>
@@ -20,7 +20,7 @@
{{ range sort $langs }}
<li class="{{ if (eq $.Site.Language .Language ) }}active{{ end }}">
<a href="{{ .Permalink }}" class="flex">
- <img src="{{ "svg/translate.svg" | relURL }}" alt="Languages" />
+ <img src="{{ "svg/translate.svg" | relURL }}" class="book-icon" alt="Languages" />
{{ .Language.LanguageName }}
</a>
</li>
diff --git a/layouts/partials/docs/mobile-header.html b/layouts/partials/docs/mobile-header.html
index 720b83d..b69f58c 100644
--- a/layouts/partials/docs/mobile-header.html
+++ b/layouts/partials/docs/mobile-header.html
@@ -1,6 +1,6 @@
<header class="flex align-center justify-between book-header">
<label for="menu-control">
- <img src="{{ "svg/menu.svg" | relURL }}" alt="Menu" />
+ <img src="{{ "svg/menu.svg" | relURL }}" class="book-icon" alt="Menu" />
</label>
<strong>{{ partial "docs/title" . }}</strong>
</header>