Remove color overwrite

This commit is contained in:
Florian Hoss 2024-09-30 15:06:16 +02:00
parent 63c79ee56f
commit 2f5d83cf12
Signed by: flohoss
GPG key ID: 3F35C7F6E6F66F6B
3 changed files with 8 additions and 18 deletions

View file

@ -35,7 +35,8 @@ FROM alpine:${V_ALPINE} AS final
RUN apk --no-cache add tzdata ca-certificates dumb-init && \
rm -rf /tmp/* /var/tmp/* /usr/share/man /var/cache/apk/*
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
RUN addgroup -g 1000 appgroup && \
adduser -u 1000 -G appgroup -s /bin/bash -D appuser
WORKDIR /app

View file

@ -4,7 +4,7 @@ import "gitlab.unjx.de/flohoss/godash/services"
templ Application(application services.Application) {
<a href={ templ.URL(application.URL) } class="flex items-center hover-effect">
<div class="w-8 h-8 dark:text-white fill-current flex items-center">
<div class="w-8 h-8 flex items-center">
@templ.Raw(application.Icon)
</div>
<div class="uppercase truncate ml-2">{ application.Name }</div>

View file

@ -2,7 +2,6 @@ package services
type BookmarkService struct {
bookmarks Bookmarks
SimpleIcons SimpleIcons
}
type Bookmarks struct {
@ -24,16 +23,6 @@ type Link struct {
type Application struct {
Name string
Icon string
IgnoreColor bool `yaml:"ignore_color"`
OverwriteColor string `yaml:"overwrite_color"`
URL string
}
type SimpleIcons struct {
Icons []SimpleIcon `json:"icons"`
}
type SimpleIcon struct {
Title string `json:"title"`
Hex string `json:"hex"`
Light bool
}