Skip to content

Commit

Permalink
Darken disabled buttons in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Andres Antonen committed Aug 18, 2023
1 parent e655343 commit e9ea46a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/js/entry.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions resources/js/components/ReorderButtons.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@click.stop="!reorderDisabled && $emit('moveToStart')"
:custom-class="{
'o1-cursor-pointer text-gray-400 hover:text-primary-400 active:text-primary-500': !reorderDisabled,
'o1-cursor-default text-gray-200': reorderDisabled,
'o1-cursor-default text-gray-200 dark:text-gray-600': reorderDisabled,
}"
v-tooltip="moveToStartTooltip"
/>
Expand All @@ -16,7 +16,7 @@
@click.stop="!reorderDisabled && $emit('moveToEnd')"
:custom-class="{
'o1-cursor-pointer text-gray-400 hover:text-primary-400 active:text-primary-500': !reorderDisabled,
'o1-cursor-default text-gray-200': reorderDisabled,
'o1-cursor-default text-gray-200 dark:text-gray-600': reorderDisabled,
}"
v-tooltip="moveToEndTooltip"
/>
Expand All @@ -26,7 +26,7 @@
style="min-width: 22px; width: 22px"
:custom-class="{
'handle o1-cursor-move text-gray-400 hover:text-primary-400 active:text-primary-500': !reorderDisabled,
'text-gray-200 o1-cursor-default': reorderDisabled,
'o1-cursor-default text-gray-200 dark:text-gray-600': reorderDisabled,
}"
/>
</div>
Expand Down

0 comments on commit e9ea46a

Please sign in to comment.