Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/negrel/hugo-theme-pico.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Negrel <negrel.dev@protonmail.com>2021-01-26 23:26:17 +0300
committerAlexandre Negrel <negrel.dev@protonmail.com>2021-01-26 23:26:17 +0300
commit09b88b210b70917b55ce8101a02c24e7b47e5dde (patch)
treebfe53902039cd561c0270e676ad98c9faf9dc11e
parent107bca8201a4343592385710c7449b3a80462fc3 (diff)
adding dark mode support for bars widget
-rw-r--r--layouts/partials/widgets/bars.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/widgets/bars.html b/layouts/partials/widgets/bars.html
index 2687d11..336db31 100644
--- a/layouts/partials/widgets/bars.html
+++ b/layouts/partials/widgets/bars.html
@@ -16,8 +16,8 @@
<h2 class="inline-block">{{ .name }}</h2>
<div class="flex items-center">
<div class="h-4 flex-1 mr-4 shadow-2 rounded-sm bg-gray-200">
- <div class="h-full bg-green-300 rounded-sm"
- style="width: {{ .percent }}; background: radial-gradient( circle farthest-corner at 0.8% 3.1%, rgba(255,188,224,1) 0%, rgba(170,165,255,1) 46%, rgba(165,255,205,1) 100.2% );">
+ <div class="h-full bg-green-300 rounded-sm bg-gradient-to-r from-accent-light via-accent-dark to-accent"
+ style="width: {{ .percent }};">
</div>
</div>
<span class="font-bold">{{ .percent }}</span>