Skip to content

Commit 0587cd0

Browse files
committed
feat: add variant outline2 for buttons
1 parent 65ec154 commit 0587cd0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

frontend/src/components/HomePage/OpenSource.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ const contributorsCount = computed(() => contributorsData.value?.length ?? 0)
3131
>{{ $t('source.contribute') }} ({{ contributorsCount }})</Button
3232
>
3333
<Button
34+
variant="outline2"
3435
@click="openLink('https://github.com/ValoryApp/Valory/forks')"
35-
class="gap-1 border border-white/10 bg-[#19191A] px-3 text-[#F2F2F2] hover:border-white"
3636
>
3737
<GitBranch01 :size="22" />
3838
{{ forksCount }}
3939
</Button>
4040
<Button
41+
variant="outline2"
4142
@click="openLink('https://github.com/ValoryApp/Valory/stargazers')"
42-
class="gap-1 border border-white/10 bg-[#19191A] px-3 text-[#F2F2F2] hover:border-white"
4343
>
4444
<Star01 color="#E3B341" :size="22" />
4545
{{ starsCount }}

frontend/src/components/ui/button/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export const buttonVariants = cva(
1515
secondary: 'bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80',
1616
ghost: 'hover:bg-accent hover:text-accent-foreground',
1717
link: 'text-primary underline-offset-4 hover:underline',
18+
outline2: 'border border-white/10 bg-[#19191A] px-3 text-[#F2F2F2] hover:border-white text-[#f2f2f2] shadow h-10 gap-1'
1819
},
1920
size: {
2021
default: 'h-10 px-4 py-2',

0 commit comments

Comments
 (0)