refactor: migrate legacy color classes to inline tailwind text utilities

Replace all usages of legacy `.color-*` and `.text-color-*` SCSS utility classes with inline Tailwind `text-[#hexcode]` arbitrary value classes. Remove the deprecated `src/static/scss/colors.scss` file, and fix minor formatting/indentation issues across multiple component files.
This commit is contained in:
duanshuwen
2026-07-24 21:38:17 +08:00
parent 01fdf80a72
commit 5f06d8ef11
67 changed files with 282 additions and 505 deletions

View File

@@ -9,19 +9,19 @@
</view>
<view class="poi-detail-card__body">
<view class="poi-detail-card__title color-1E293B font-size-24 font-900">
<view class="poi-detail-card__title text-[#1e293b] font-size-24 font-900">
{{ data.title }}
</view>
<view class="poi-detail-card__tip flex flex-items-center gap-[10px]">
<view class="poi-detail-card__spark color-047857 font-size-18 font-900"></view>
<view class="poi-detail-card__tip-text color-047857 font-size-14 font-800">
<view class="poi-detail-card__spark text-[#047857] font-size-18 font-900"></view>
<view class="poi-detail-card__tip-text text-[#047857] font-size-14 font-800">
{{ data.tip?.text }}
</view>
</view>
<view
class="poi-detail-card__button flex flex-items-center flex-justify-center gap-[8px] color-white bg-[#0f172a] font-size-16 font-900"
class="poi-detail-card__button flex flex-items-center flex-justify-center gap-[8px] text-white bg-[#0f172a] font-size-16 font-900"
:class="{ 'is-disabled': disabled }" @click="handleAction">
<text class="poi-detail-card__button-icon"></text>
<text>{{ data.action?.text }}</text>