ソースを参照

chore: backup

DaiQiangReal 1 年間 前
コミット
333edc9eda
2 ファイル変更2 行追加2 行削除
  1. 1 1
      content/start/tailwind/index-en-US.md
  2. 1 1
      content/start/tailwind/index.md

+ 1 - 1
content/start/tailwind/index-en-US.md

@@ -122,7 +122,7 @@ After enabling the plugin, all Semi styles will be wrapped by `@layer {xxxx}`. I
 
 In addition, we configured the priority order of various Layers:
 ```css
-@layer tailwind-base,semi,components,utils;
+@layer tailwind-base,semi,tailwind-components,tailwind-utils;
 ```
 The meaning of the above CSS is that base (including Preflight) has the lowest priority, followed by Semi. The atomic class styles set by the user (padding-[xxx], etc.) have the highest priority, which can solve the above problems.
 

+ 1 - 1
content/start/tailwind/index.md

@@ -125,7 +125,7 @@ CSS Layer 要求浏览器版本高于 Chromium 99 <a target="_blank" href="https
 
 另外,我们配置了各种 Layer 的优先级顺序:
 ```css
-@layer tailwind-base,semi,components,utils;
+@layer tailwind-base,semi,tailwind-components,tailwind-utils;
 ```
 上述 CSS 的含义为, base (含 Preflight)优先级最低,Semi 次之,用户设置的原子类样式(padding-[xxx] 等)优先级最高,这样即可解决上面遇到的问题。