diff --git a/internal/assets/static/icons/dockerhub.svg b/internal/assets/static/icons/dockerhub.svg new file mode 100644 index 0000000..8669c00 --- /dev/null +++ b/internal/assets/static/icons/dockerhub.svg @@ -0,0 +1 @@ + diff --git a/internal/assets/static/icons/github.svg b/internal/assets/static/icons/github.svg new file mode 100644 index 0000000..6cf48c8 --- /dev/null +++ b/internal/assets/static/icons/github.svg @@ -0,0 +1 @@ + diff --git a/internal/assets/static/icons/gitlab.svg b/internal/assets/static/icons/gitlab.svg new file mode 100644 index 0000000..42e4c97 --- /dev/null +++ b/internal/assets/static/icons/gitlab.svg @@ -0,0 +1 @@ + diff --git a/internal/assets/static/main.css b/internal/assets/static/main.css index 081c64a..ddad6e0 100644 --- a/internal/assets/static/main.css +++ b/internal/assets/static/main.css @@ -709,6 +709,7 @@ kbd:active { width: 16px; height: 16px; flex-shrink: 0; + opacity: 0.4; } .market-chart { @@ -887,6 +888,7 @@ kbd:active { background-color: var(--color-widget-background-highlight); border-radius: var(--border-radius); padding: 0.5rem; + opacity: 0.7; } .bookmarks-icon { @@ -895,10 +897,6 @@ kbd:active { opacity: 0.8; } -.simple-icon { - opacity: 0.7; -} - :root:not(.light-scheme) .simple-icon { filter: invert(1); } @@ -1073,6 +1071,10 @@ kbd:active { transition: filter 0.3s, opacity 0.3s; } +.monitor-site-icon.simple-icon { + opacity: 0.7; +} + .monitor-site:hover .monitor-site-icon { filter: grayscale(0); opacity: 1; diff --git a/internal/assets/templates/releases.html b/internal/assets/templates/releases.html index 13e6a0d..7cd89f7 100644 --- a/internal/assets/templates/releases.html +++ b/internal/assets/templates/releases.html @@ -7,16 +7,7 @@
{{ .Name }} {{ if $.ShowSourceIcon }} - {{/* TODO: add the icons as assets and link to them here instead of hardcoding */}} - - {{ if eq .Source "github" }} - - {{ else if eq .Source "gitlab" }} - - {{ else if eq .Source "dockerhub" }} - - {{ end }} - + {{ end }}