New version

This commit is contained in:
Florian Hoss 2022-12-19 14:34:53 +01:00
parent 87205943fe
commit 2b5c1d2e47
4 changed files with 9 additions and 7 deletions

2
Jenkinsfile vendored
View file

@ -1,6 +1,6 @@
pipeline {
environment {
VERSION = "v1.2.3"
VERSION = "v2.0.0"
PROJECT_NAME = JOB_NAME.split('/')
IMAGE_NAME = "unjxde/${PROJECT_NAME[0]}"
IMAGE = ''

View file

@ -10,15 +10,15 @@
@apply bg-primary-content h-1 rounded-full mt-1;
}
.system-icon {
@apply h-8 w-8 shrink-0 mr-3 opacity-90;
@apply h-8 w-8 shrink-0 mr-3 opacity-90 text-secondary;
}
.extra-icon {
@apply h-3 w-3 shrink-0 mr-2 text-primary;
@apply h-3 w-3 shrink-0 mr-2 text-secondary;
}
.extra-sun-icon {
@apply h-4 w-4 shrink-0 -mb-1 mr-2 text-primary;
@apply h-4 w-4 shrink-0 -mb-1 mr-2 text-secondary;
}
.extra-system-info {
@apply text-xs truncate;
@apply text-xs truncate text-secondary;
}
}

View file

@ -11,9 +11,11 @@ module.exports = {
light: {
...require("daisyui/src/colors/themes")["[data-theme=light]"],
primary: "#f28c18",
secondary: "rgba(70,70,70,0.7)",
},
dark: {
...require("daisyui/src/colors/themes")["[data-theme=halloween]"],
secondary: "#b9b9b9",
},
},
],

View file

@ -12,7 +12,7 @@
<div class="flex items-center mb-6 md:mb-10 select-none">
<svg class="h-12 w-12 shrink-0 mr-4 md:w-14 md:h-14">
<use id="weatherIcon" xlink:href="#{{ .Weather.Icon }}"></use>
<use id="weatherIcon" class="text-secondary" xlink:href="#{{ .Weather.Icon }}"></use>
</svg>
<div>
<div class="text-4xl md:text-4xl">
@ -124,7 +124,7 @@
{{ range .Categories }}
<div class="grid gap-1">
{{ if .Category }}
<div class="text-lg text-primary select-none truncate">{{ .Category }}</div>
<div class="text-lg text-secondary select-none truncate">{{ .Category }}</div>
{{ end }}
<div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 gap-4">
{{ range .Entries }}