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 && \
|
RUN apk --no-cache add tzdata ca-certificates dumb-init && \
|
||||||
rm -rf /tmp/* /var/tmp/* /usr/share/man /var/cache/apk/*
|
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
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import "gitlab.unjx.de/flohoss/godash/services"
|
||||||
|
|
||||||
templ Application(application services.Application) {
|
templ Application(application services.Application) {
|
||||||
<a href={ templ.URL(application.URL) } class="flex items-center hover-effect">
|
<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)
|
@templ.Raw(application.Icon)
|
||||||
</div>
|
</div>
|
||||||
<div class="uppercase truncate ml-2">{ application.Name }</div>
|
<div class="uppercase truncate ml-2">{ application.Name }</div>
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
package services
|
package services
|
||||||
|
|
||||||
type BookmarkService struct {
|
type BookmarkService struct {
|
||||||
bookmarks Bookmarks
|
bookmarks Bookmarks
|
||||||
SimpleIcons SimpleIcons
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type Bookmarks struct {
|
type Bookmarks struct {
|
||||||
|
@ -22,18 +21,8 @@ type Link struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type Application struct {
|
type Application struct {
|
||||||
Name string
|
Name string
|
||||||
Icon string
|
Icon string
|
||||||
IgnoreColor bool `yaml:"ignore_color"`
|
URL string
|
||||||
OverwriteColor string `yaml:"overwrite_color"`
|
Light bool
|
||||||
URL string
|
|
||||||
}
|
|
||||||
|
|
||||||
type SimpleIcons struct {
|
|
||||||
Icons []SimpleIcon `json:"icons"`
|
|
||||||
}
|
|
||||||
|
|
||||||
type SimpleIcon struct {
|
|
||||||
Title string `json:"title"`
|
|
||||||
Hex string `json:"hex"`
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue