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:
@@ -9,12 +9,12 @@
|
||||
<uni-icons fontFamily="znicons" size="20" color="#171717">
|
||||
{{ zniconsMap[moduleItem.icon] }}
|
||||
</uni-icons>
|
||||
<text class="ml-[4px] font-size-12 text-[#171717] leading-[20px]">
|
||||
<text class="ml-[4px] text-[12px] text-[#171717] leading-[20px]">
|
||||
{{ moduleItem.title }}
|
||||
</text>
|
||||
</view>
|
||||
<view class="border-box flex flex-col flex-items-start mt-[4px] pb-[12px]">
|
||||
<text class="font-size-12 text-[#525866] leading-[20px] mb-[4px]" v-for="(text, index) in moduleItem.desc"
|
||||
<text class="text-[12px] text-[#525866] leading-[20px] mb-[4px]" v-for="(text, index) in moduleItem.desc"
|
||||
:key="index">
|
||||
{{ text }}
|
||||
</text>
|
||||
|
||||
Reference in New Issue
Block a user