| 完整詞 | 縮寫 |
|---|---|
| setting / set | set |
| success / succeed | suc |
| hint / tip | hint |
| operation / action | op |
| password | pw |
| menu | menu / nav |
| button | btn |
| text | tx / txt |
| color | c / clr |
| background | bg |
| border | bor / bd |
| center | ctr / mid |
| icon | ico / icn |
| popup / popover | pop |
.input-tx /* 文字輸入框 */
.input-pw /* 密碼輸入框 */
.input-pw-login /* 登入密碼框 */
.hint-suc-blogset /* 部落格設定成功提示 */
.pop-set-photo /* 相簿彈出設定層 */
.hint-bg /* 通用提示背景 */
.c-tx /* 文字顏色 */
.c-tx-p /* 段落文字顏色 */
在 Stylelint 設定 `selector-class-pattern` 強制命名規則,納入 CI 防止不規範命名進入主分支。