Skip to content

Commit

Permalink
stickers: fix dark mode for the tester
Browse files Browse the repository at this point in the history
Signed-off-by: Xe Iaso <[email protected]>
  • Loading branch information
Xe committed Jan 11, 2025
1 parent 31e7518 commit 883434d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/stickers/main.templ
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ templ index(character, mood string) {
src={ fmt.Sprintf("/sticker/%s/%s", strings.ToLower(character), mood) }
/>
<p>Inline</p>
<div style="margin: 1rem 0; display: flex; gap: 1rem; border-radius: 0.375rem; border: 1px solid #d1d5db; background-color: #f3f4f6; padding: 0.75rem; max-width: 65ch; margin-left: auto; margin-right: auto; min-height: fit-content;">
<div style="margin: 1rem 0; display: flex; gap: 1rem; border-radius: 0.375rem; color: #000000; border: 1px solid #d1d5db; background-color: #f3f4f6; padding: 0.75rem; max-width: 65ch; margin-left: auto; margin-right: auto; min-height: fit-content;">
<div style="display: flex; padding-top: 0.5rem; padding-bottom: 0.5rem; max-height: 4rem; flex-shrink: 0; align-items: center; justify-content: center; align-self: center;">
<img
style="max-height: 6rem"
Expand All @@ -33,7 +33,7 @@ templ index(character, mood string) {
</div>
</div>
<p>Standalone</p>
<div style="margin: 1rem 0; display: flex; gap: 1rem; border-radius: 0.375rem; border: 1px solid #d1d5db; background-color: #f3f4f6; padding: 0.75rem; max-width: 75ch; margin-left: auto; margin-right: auto; min-height: fit-content;">
<div style="margin: 1rem 0; display: flex; gap: 1rem; border-radius: 0.375rem; color: #000000; border: 1px solid #d1d5db; background-color: #f3f4f6; padding: 0.75rem; max-width: 75ch; margin-left: auto; margin-right: auto; min-height: fit-content;">
<div style="display: flex; padding-top: 1.5rem; padding-bottom: 1.5rem; max-height: 4rem; flex-shrink: 0; align-items: center; justify-content: center; align-self: center;">
<img
style="max-height: 8rem"
Expand Down
4 changes: 2 additions & 2 deletions cmd/stickers/main_templ.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 883434d

Please sign in to comment.