feat: light icons on the dark cards
A link without an icon of its own gets the library's light version when there is one (github-light), instead of a dark logo on a dark card. The server keeps the library's list of names for a day.
This commit is contained in:
@@ -68,7 +68,8 @@ Build it yourself: `docker build -t dahoam .`
|
||||
first. Keyboard: Space on the grip next to the plus, arrow keys, Space.
|
||||
- **Icons**: leave the field empty and the icon is looked up by name in
|
||||
[dashboard-icons](https://github.com/homarr-labs/dashboard-icons), then from the
|
||||
site's `/favicon.ico`. Or type in the field to search that library and click an icon,
|
||||
site's `/favicon.ico`. When the library has a light version of the icon (`github-light`),
|
||||
that one is used, because the cards are dark. Or type in the field to search that library and click an icon,
|
||||
paste an image URL, or upload your own image (PNG, JPEG, WebP, AVIF or SVG, up to 1 MB).
|
||||
- **Search**: `/` focuses the bar. `!w cats` uses DuckDuckGo bangs. `/settings`, `/add link`,
|
||||
`/add card`, `/add dashboard` and `/sign out` run commands.
|
||||
@@ -89,7 +90,7 @@ Build it yourself: `docker build -t dahoam .`
|
||||
- SSO does not take over an existing password account with the same email
|
||||
(Better Auth blocks it, because password emails are not verified). Use one or the other per email.
|
||||
- Icon lookups send the link name to the jsDelivr CDN. The link dialog also loads the
|
||||
library's list of icons from there.
|
||||
library's list of icons from there, and so does the server, once a day.
|
||||
- Uploaded icons are stored in Postgres and only their owner can load them. One that no
|
||||
link uses any more is deleted with that user's next upload.
|
||||
- UI components come from [collabry-components](https://git.nhaiden.io/niklas/collabry-components),
|
||||
|
||||
Reference in New Issue
Block a user