refactor: remove font-size utility file and replace with inline text classes
Delete the src/static/scss/font-size.scss utility file, and replace all legacy `font-size-*` class usages across the codebase with inline `text-[numberpx]` styling to consolidate font size definitions and remove redundant utility code.
This commit is contained in:
@@ -4,18 +4,18 @@
|
||||
<view class="w-vw"></view>
|
||||
<view class="flex flex-col px-[16px] pt-[16px] pb-[12px] border-box" @click="openDetail(item)">
|
||||
|
||||
<view class="long-text-guide-card__badge font-size-12 font-bold" :class="`is-${item.badgeTone}`">
|
||||
<view class="long-text-guide-card__badge text-[12px] font-bold" :class="`is-${item.badgeTone}`">
|
||||
{{ item.badge }}
|
||||
</view>
|
||||
|
||||
<view class="long-text-guide-card__summary-title text-[#1e293b] font-size-18 font-bold">
|
||||
<view class="long-text-guide-card__summary-title text-[#1e293b] text-[18px] font-bold">
|
||||
{{ item.title }}
|
||||
</view>
|
||||
<view class="long-text-guide-card__summary-text text-[#94a3b8] font-size-14 font-[500] ellipsis-2">
|
||||
<view class="long-text-guide-card__summary-text text-[#94a3b8] text-[14px] font-[500] ellipsis-2">
|
||||
{{ item.summary }}
|
||||
</view>
|
||||
<view class="long-text-guide-card__summary-footer flex flex-items-center flex-justify-between">
|
||||
<text class="text-[#cbd5e1] font-size-12 font-bold">{{ item.footer }}</text>
|
||||
<text class="text-[#cbd5e1] text-[12px] font-bold">{{ item.footer }}</text>
|
||||
<uni-icons type="right" size="16" color="#CBD5E1"></uni-icons>
|
||||
</view>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user