mirror of
https://github.com/fmhy/edit.git
synced 2026-01-12 06:51:12 +11:00
fix: make "Share Feedback" text always white since its background is always black (#4456)
* fix: make Share Feedback text always white * fix: white text color for feedback options in light mode
This commit is contained in:
parent
ee96f6bfbf
commit
336e7ebc14
1 changed files with 3 additions and 3 deletions
|
|
@ -154,7 +154,7 @@ const toggleCard = () => (isCardShown.value = !isCardShown.value)
|
||||||
:class="
|
:class="
|
||||||
isCardShown === false
|
isCardShown === false
|
||||||
? `i-lucide:mail w-6 h-6 text-$vp-c-text-1`
|
? `i-lucide:mail w-6 h-6 text-$vp-c-text-1`
|
||||||
: `i-lucide:mail-x w-6 h-6 text-$vp-c-text-1`
|
: `i-lucide:mail-x w-6 h-6 text-white`
|
||||||
"
|
"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -166,7 +166,7 @@ const toggleCard = () => (isCardShown.value = !isCardShown.value)
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<button
|
<button
|
||||||
class="bg-[#25262B] inline-block text-center rounded-full px-4 py-2.5 text-sm font-medium border-2 border-solid text-$vp-c-text-1 border-$vp-c-divider"
|
class="bg-[#25262B] inline-block text-center rounded-full px-4 py-2.5 text-sm font-medium border-2 border-solid text-white border-$vp-c-divider"
|
||||||
@click="toggleCard()"
|
@click="toggleCard()"
|
||||||
>
|
>
|
||||||
Share Feedback
|
Share Feedback
|
||||||
|
|
@ -191,7 +191,7 @@ const toggleCard = () => (isCardShown.value = !isCardShown.value)
|
||||||
<button
|
<button
|
||||||
v-for="item in feedbackOptions"
|
v-for="item in feedbackOptions"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
class="bg-[#25262B] border-$vp-c-default-soft hover:border-primary mt-2 select-none rounded border-2 border-solid font-bold transition-all duration-250 rounded-lg text-[14px] font-500 leading-normal m-0 px-3 py-1.5 text-center align-middle whitespace-nowrap"
|
class="bg-[#25262B] border-$vp-c-default-soft hover:border-primary mt-2 select-none rounded border-2 border-solid font-bold transition-all duration-250 rounded-lg text-[14px] text-white font-500 leading-normal m-0 px-3 py-1.5 text-center align-middle whitespace-nowrap"
|
||||||
@click="handleSubmit(item.value)"
|
@click="handleSubmit(item.value)"
|
||||||
>
|
>
|
||||||
<span>{{ item.label }}</span>
|
<span>{{ item.label }}</span>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue