Skip to content

Commit 52966a4

Browse files
committed
Sidebar contrast issues
PT-1078
1 parent f7436cb commit 52966a4

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

docs/.vuepress/theme/components/RightBar.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ export default {
5858
@apply fixed mt-24 w-64 pt-1 overflow-hidden;
5959
}
6060
61-
.sidebar-group:not(.collapsable) .sidebar-heading:not(.clickable) {
62-
color: #a0aec0;
63-
}
64-
6561
.sidebar-links {
6662
--sidebar-link-color: var(--text-color-muted);
6763
@apply ml-0 pl-0 pb-4 overflow-y-auto;

docs/.vuepress/theme/components/SidebarGroup.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@
3333
:class="{ open }"
3434
@click="$emit('toggle')"
3535
>
36-
<span>{{ fixedHeading || item.title }}</span>
36+
{{ fixedHeading || item.title }}
3737
<span class="arrow" :class="open ? 'down' : 'right'" />
3838
</button>
3939

40-
<p
40+
<span
4141
v-else
4242
class="sidebar-heading"
4343
:class="{ open }"
4444
>
45-
<span>{{ fixedHeading || item.title }}</span>
46-
</p>
45+
{{ fixedHeading || item.title }}
46+
</span>
4747
</component>
4848

4949
<DropdownTransition>

docs/.vuepress/theme/styles/base.pcss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,25 +78,25 @@ img {
7878
&.up {
7979
border-left: 4px solid transparent;
8080
border-right: 4px solid transparent;
81-
border-bottom: 6px solid #ccc;
81+
border-bottom: 6px solid currentColor;
8282
}
8383

8484
&.down {
8585
border-left: 4px solid transparent;
8686
border-right: 4px solid transparent;
87-
border-top: 6px solid #ccc;
87+
border-top: 6px solid currentColor;
8888
}
8989

9090
&.right {
9191
border-top: 4px solid transparent;
9292
border-bottom: 4px solid transparent;
93-
border-left: 6px solid #ccc;
93+
border-left: 6px solid currentColor;
9494
}
9595

9696
&.left {
9797
border-top: 4px solid transparent;
9898
border-bottom: 4px solid transparent;
99-
border-right: 6px solid #ccc;
99+
border-right: 6px solid currentColor;
100100
}
101101
}
102102

0 commit comments

Comments
 (0)