Dark mode for cached bookmarks

This commit is contained in:
2023-05-07 12:38:30 +10:00
parent 86c5050003
commit eb141bdb80

View File

@@ -9,10 +9,10 @@ div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:
== bookmark.content
- unless bookmark.cached_content.nil?
button @click="open = ! open" Toggle cached version
button class="hover:text-gray-400" @click="open = ! open" Toggle cached version
span x-show="open"
div class="rounded bg-blue-50 px-4 py-2"
div class="mt-4 rounded bg-blue-50 dark:bg-blue-900 px-4 py-2"
== bookmark.cached_content
div class="prose max-w-prose mx-auto text-gray-800 dark:text-gray-200 grid grid-cols-5 gap-2" hx-get="/bookmarks/metadata/#{bookmark.id}" hx-trigger="load"