Remove color overwrite
This commit is contained in:
parent
63c79ee56f
commit
2f5d83cf12
3 changed files with 8 additions and 18 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue