File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed
apps/frontend/src/components/ui
packages/ui/src/components/servers/files/explorer Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 1818 v-if =" link.icon"
1919 class =" size-5"
2020 :class =" {
21- 'text-brand ': currentActiveIndex === index && !subpageSelected,
21+ 'text-button-textSelected ': currentActiveIndex === index && !subpageSelected,
2222 'text-secondary': currentActiveIndex !== index || subpageSelected,
2323 }"
2424 />
25- <span class =" text-nowrap text-contrast" >{{ link.label }}</span >
25+ <span
26+ class =" text-nowrap"
27+ :class =" {
28+ 'text-button-textSelected': currentActiveIndex === index && !subpageSelected,
29+ 'text-contrast': currentActiveIndex !== index || subpageSelected,
30+ }"
31+ >{{ link.label }}</span
32+ >
2633 </NuxtLink >
2734 </template >
2835 <template v-else >
3946 v-if =" link.icon"
4047 class =" size-5"
4148 :class =" {
42- 'text-brand ': currentActiveIndex === index && !subpageSelected,
49+ 'text-button-textSelected ': currentActiveIndex === index && !subpageSelected,
4350 'text-secondary': currentActiveIndex !== index || subpageSelected,
4451 }"
4552 />
4653 <span
4754 class =" text-nowrap"
4855 :class =" {
49- 'text-brand ': currentActiveIndex === index && !subpageSelected,
56+ 'text-button-textSelected ': currentActiveIndex === index && !subpageSelected,
5057 'text-contrast': currentActiveIndex !== index || subpageSelected,
5158 }"
5259 >{{ link.label }}</span
Original file line number Diff line number Diff line change @@ -341,6 +341,12 @@ function handleDrop(event: DragEvent) {
341341
342342<style scoped>
343343.file-row-alt {
344+ background : color-mix(in srgb , var (--surface-2 ), black 3% );
345+ }
346+
347+ :global(.dark-mode ) .file-row-alt ,
348+ :global(.dark ) .file-row-alt ,
349+ :global(.oled-mode ) .file-row-alt {
344350 background : color-mix(in srgb , var (--surface-2 ), black 10% );
345351}
346352 </style >
You can’t perform that action at this time.
0 commit comments