diff --git a/package.json b/package.json index 4c57a09611..db85cd131a 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ }, "prettier": "./src/prettier.config.js", "scripts": { - "init": "npm install && npm run build && npm run get-files && cd src/docs && npm install && cd src/experiments/playground && npm install", + "init": "npm install && npm run build && cd src/docs && npm run get-files && npm install && cd src/experiments/playground && npm install", "prettier": "prettier --write . --ignore-path ./src/.prettierignore", "prebase": "postcss --config src/base src/base/*.css --base src --dir dist", "base": "cat dist/base/*.css > dist/base.css", diff --git a/src/docs/src/translation/zh_cn.json b/src/docs/src/translation/zh_cn.json index e92fc11003..0e202ced10 100644 --- a/src/docs/src/translation/zh_cn.json +++ b/src/docs/src/translation/zh_cn.json @@ -399,5 +399,8 @@ "Learn more about colors": "了解更多关于颜色的知识", "Get started": "现在开始", "daisyUI 3.0 is available now!": "daisyUI 3.0 现在可用!", + "How to add custom styles for a specific theme?": "如何为一个指定的主题添加自定义样式?", + "You can write custom style for your elements only for a specific theme.": "你只能给一个指定的主题的元素写自定义样式。", + "In this example, .btn-twitter class only will have this style on light theme.": "在这个例子里,.btn-twitter 类只会在 light 主题中才会有这些样式", "": "" }