Skip to content

Commit

Permalink
style: support dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-fong committed Aug 21, 2024
1 parent 219a53f commit fc37508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uno.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
export default defineConfig({
shortcuts: [
['btn', 'px-4 py-1 rounded inline-block bg-teal-600 text-white cursor-pointer hover:bg-teal-700 disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50'],
['icon-btn', 'inline-flex items-center gap-2 bg-black text-white rounded-md py-2 px-3 cursor-pointer select-none transition duration-200 ease-in-out hover:opacity-100 hover:bg-black/80 text-sm'],
['icon-btn', 'inline-flex items-center gap-2 bg-black text-white rounded-md py-2 px-3 cursor-pointer select-none transition duration-200 ease-in-out hover:opacity-100 hover:bg-black/80 text-sm dark:text-black dark:bg-white hover:dark:bg-white/80'],
],
presets: [
presetUno(),
Expand Down

0 comments on commit fc37508

Please sign in to comment.