refactor(home-components): migrate styles & fix color classes
- Remove FaqHelpCard's external SCSS stylesheet and convert its styles to inline Tailwind utilities - Fix invalid color utility classes in NoticeCard and LongTextGuideCard to use proper Tailwind text color syntax - Swap deprecated uni-icons right with van-icon arrow-right in FaqHelpCard
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
|
||||
<div class="long-text-guide-card__rich-body">
|
||||
<div v-for="(paragraph, paragraphIndex) in paragraphsBeforeImage" :key="`before-${paragraphIndex}`"
|
||||
class="long-text-guide-card__paragraph color-475569 text-[15px] font-medium">
|
||||
class="long-text-guide-card__paragraph text-[#475569] text-[15px] font-medium">
|
||||
<template v-for="(segment, segmentIndex) in getSegments(paragraph)"
|
||||
:key="`${paragraphIndex}-${segmentIndex}`">
|
||||
<span v-if="segment.highlight" class="long-text-guide-card__highlight font-bold">
|
||||
@@ -60,7 +60,7 @@
|
||||
</div>
|
||||
|
||||
<div v-for="(paragraph, paragraphIndex) in paragraphsAfterTips" :key="`after-${paragraphIndex}`"
|
||||
class="long-text-guide-card__paragraph color-475569 text-[15px] font-medium">
|
||||
class="long-text-guide-card__paragraph text-[#475569] text-[15px] font-medium">
|
||||
<template v-for="(segment, segmentIndex) in getSegments(paragraph)"
|
||||
:key="`${paragraphIndex}-${segmentIndex}`">
|
||||
<span v-if="segment.highlight" class="long-text-guide-card__highlight font-bold">
|
||||
|
||||
Reference in New Issue
Block a user