Skip to content

Commit

Permalink
style: update icon stroke
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyxguo committed Aug 18, 2023
1 parent 0d96066 commit a2c1dd5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/components/Paginator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
icon-class="arrow-left"
height="1.25rem"
width="1.25rem"
fill="var(--text-accent)"
stroke="var(--text-accent)"
/>
<span>{{ t('settings.paginator.newer') }}</span>
</li>
Expand Down Expand Up @@ -47,6 +49,8 @@
icon-class="arrow-right"
height="1.25rem"
width="1.25rem"
fill="var(--text-accent)"
stroke="var(--text-accent)"
/>
</li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions src/styles/theme-variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@
height: auto;
}
li {
@apply cursor-pointer hover:opacity-50 my-4 mr-3;
@apply cursor-pointer hover:opacity-50 my-3.5 mr-2;
&.active {
@apply shadow-lg text-white;
text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
Expand All @@ -306,7 +306,7 @@
}

.tab-expander {
@apply stroke-current text-ob-bright absolute right-5 top-5 cursor-pointer;
@apply stroke-current text-ob-bright absolute right-5 top-4 cursor-pointer;
opacity: 0.8;
&:hover {
opacity: 0.5;
Expand Down
8 changes: 7 additions & 1 deletion src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@
</ul>

<span :class="expanderClass" @click="expandHandler">
<SvgIcon icon-class="chevron" />
<SvgIcon
icon-class="chevron"
height="1.2rem"
width="1.2rem"
fill="var(--text-normal)"
stroke="var(--text-normal)"
/>
</span>

<ul class="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-6">
Expand Down

0 comments on commit a2c1dd5

Please sign in to comment.