refactor: remove custom font-weight scss and update class usages

Delete the standalone font-weight.scss utility file, remove its import from the main scss index, and update all existing references to the custom font-{weight} classes to use either built-in semantic font utilities or inline functional font weight classes matching the project's utility-first styling pattern.
This commit is contained in:
duanshuwen
2026-07-24 22:05:42 +08:00
parent c125154a75
commit 872a3fac18
49 changed files with 152 additions and 181 deletions

View File

@@ -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-900" :class="`is-${item.badgeTone}`">
<view class="long-text-guide-card__badge font-size-12 font-bold" :class="`is-${item.badgeTone}`">
{{ item.badge }}
</view>
<view class="long-text-guide-card__summary-title text-[#1e293b] font-size-18 font-900">
<view class="long-text-guide-card__summary-title text-[#1e293b] font-size-18 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] font-size-14 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-800">{{ item.footer }}</text>
<text class="text-[#cbd5e1] font-size-12 font-bold">{{ item.footer }}</text>
<uni-icons type="right" size="16" color="#CBD5E1"></uni-icons>
</view>