mirror of
https://github.com/avinal/box-box.git
synced 2026-01-11 14:08:32 +05:30
feat: add automatic dark mode tailwind classes
Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{{- $color := (index (shuffle (slice "cyan" "teal" "pink" "rose" "fuchsia" "purple" "violet" "indigo" "emerald" "yellow" "amber" "red")) 0) }}
|
||||
<div
|
||||
class="relative overflow-auto px-4 ring-1 ring-gray-800 mt-5 text-center text-light text-gray-500 hover:text-black hover:bg-{{ $color }}-400"
|
||||
class="relative overflow-auto px-4 ring-1 ring-gray-800 mt-5 text-center text-light text-gray-500 hover:text-black hover:bg-{{ $color }}-400 dark:text-gray-200 dark:ring-white dark:hover:ring-black"
|
||||
>
|
||||
<span
|
||||
><a href="https://github.com/avinal/box-box">Box Box</a> | A
|
||||
|
||||
Reference in New Issue
Block a user