refactor(home-components): migrate styles to tailwind and clean up legacy code
Replace custom CSS utility classes with Tailwind arbitrary value classes (e.g. color-CBD5E1 → text-[#cbd5e1]). Remove unused standalone SCSS style files for three home components. Swap legacy uni-icons to van-icon for arrow icons in LongTextGuideCard, and fix event emitter usage in DiscoveryCradContentList to use the imported events utility.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
{{ item.summary }}
|
||||
</div>
|
||||
<div class="long-text-guide-card__summary-footer flex items-center justify-between">
|
||||
<span class="color-CBD5E1 text-[12px] font-bold">{{ item.footer }}</span>
|
||||
<span class="text-[#cbd5e1] text-[12px] font-bold">{{ item.footer }}</span>
|
||||
<uni-icons type="right" size="16" color="#CBD5E1"></uni-icons>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user