Skip to content

Commit

Permalink
improve dark-theme support
Browse files Browse the repository at this point in the history
  • Loading branch information
kecnry committed Nov 25, 2024
1 parent c3201f7 commit 1e98773
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jdaviz/configs/default/plugins/data_menu/data_menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@
style="cursor: pointer; display: inline-block; height: 100%; vertical-align: bottom;"
@click="() => {open_orientation_plugin()}"
>
<v-icon style="margin-right: 8px">mdi-compass-outline</v-icon>
<span v-if="!orientation_align_by_wcs">linked by pixel</span>
<v-icon class="invert-if-dark" style="margin-right: 8px">mdi-compass-outline</v-icon>
<span v-if="!orientation_align_by_wcs" class="invert-if-dark">linked by pixel</span>
</span>
</j-tooltip>
<v-select
Expand All @@ -104,7 +104,7 @@
:items="orientation_layer_items"
v-model="orientation_layer_selected"
:label="api_hints_enabled ? 'dm.orientation = ' : 'Orientation'"
:class="api_hints_enabled ? 'api-hint api-hint-invert-color' : ''"
:class="api_hints_enabled ? 'api-hint api-hint-invert-color' : 'invert-if-dark'"
item-text="label"
item-value="label"
:hide-details="true"
Expand Down

0 comments on commit 1e98773

Please sign in to comment.