├── .github ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ ├── feature_request.yml │ └── typo.yml ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── ci.yml │ └── release.yml ├── .gitignore ├── .npmrc ├── LICENSE ├── README.en.md ├── README.md ├── eslint.config.js ├── examples ├── .editorconfig ├── .env ├── .eslintrc ├── LICENSE ├── index.html ├── package.json ├── pnpm-lock.yaml ├── public │ └── favicon.ico ├── src │ ├── App.vue │ ├── components │ │ └── README.md │ ├── composables │ │ └── langugage.ts │ ├── config │ │ └── nprogress │ │ │ └── index.ts │ ├── constant │ │ └── pageConstant.ts │ ├── directive │ │ ├── index.ts │ │ └── src │ │ │ └── anchor.ts │ ├── layouts │ │ └── index.vue │ ├── locales │ │ ├── en.json │ │ └── zh.json │ ├── main.ts │ ├── pages │ │ ├── errorPages │ │ │ └── index.vue │ │ └── home │ │ │ └── index.vue │ ├── router │ │ ├── constant.ts │ │ ├── index.ts │ │ └── routes │ │ │ ├── basic.ts │ │ │ ├── index.ts │ │ │ ├── layout.ts │ │ │ └── modules │ │ │ └── home.ts │ ├── settings.ts │ ├── store │ │ ├── counter.ts │ │ └── index.ts │ ├── styles │ │ ├── components │ │ │ ├── _anchor.scss │ │ │ └── _card.scss │ │ └── main.scss │ └── utils │ │ ├── browserHelper.ts │ │ ├── typeChecks.ts │ │ └── util.ts ├── test │ └── basic.test.ts ├── tsconfig.eslint.json ├── tsconfig.json ├── types │ ├── auto-imports.d.ts │ ├── components.d.ts │ └── env.d.ts ├── unocss.config.ts └── vite.config.ts ├── package.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── src ├── constants.ts ├── core.ts ├── index.ts ├── types.ts ├── typography │ ├── css │ │ ├── ancient.ts │ │ ├── annotation.ts │ │ ├── base.ts │ │ ├── heading.ts │ │ ├── nonCjkBlock.ts │ │ ├── other.ts │ │ └── variables.ts │ ├── index.ts │ ├── preflights │ │ ├── base.ts │ │ ├── default.ts │ │ ├── heading.ts │ │ ├── index.ts │ │ ├── inline.ts │ │ ├── list.ts │ │ ├── table.ts │ │ └── variables.ts │ └── types │ │ └── compatibilityOptions.d.ts └── utils.ts ├── test └── index.test.ts └── tsconfig.json /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/.github/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Please refer to https://github.com/kirklin/contribute 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/.github/ISSUE_TEMPLATE/feature_request.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/typo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/.github/ISSUE_TEMPLATE/typo.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/.npmrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/LICENSE -------------------------------------------------------------------------------- /README.en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/README.en.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/README.md -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/eslint.config.js -------------------------------------------------------------------------------- /examples/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/.editorconfig -------------------------------------------------------------------------------- /examples/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/.env -------------------------------------------------------------------------------- /examples/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/.eslintrc -------------------------------------------------------------------------------- /examples/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/LICENSE -------------------------------------------------------------------------------- /examples/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/index.html -------------------------------------------------------------------------------- /examples/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/package.json -------------------------------------------------------------------------------- /examples/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/pnpm-lock.yaml -------------------------------------------------------------------------------- /examples/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/public/favicon.ico -------------------------------------------------------------------------------- /examples/src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/App.vue -------------------------------------------------------------------------------- /examples/src/components/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/components/README.md -------------------------------------------------------------------------------- /examples/src/composables/langugage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/composables/langugage.ts -------------------------------------------------------------------------------- /examples/src/config/nprogress/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/config/nprogress/index.ts -------------------------------------------------------------------------------- /examples/src/constant/pageConstant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/constant/pageConstant.ts -------------------------------------------------------------------------------- /examples/src/directive/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/directive/index.ts -------------------------------------------------------------------------------- /examples/src/directive/src/anchor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/directive/src/anchor.ts -------------------------------------------------------------------------------- /examples/src/layouts/index.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/layouts/index.vue -------------------------------------------------------------------------------- /examples/src/locales/en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/locales/en.json -------------------------------------------------------------------------------- /examples/src/locales/zh.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/locales/zh.json -------------------------------------------------------------------------------- /examples/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/main.ts -------------------------------------------------------------------------------- /examples/src/pages/errorPages/index.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/pages/errorPages/index.vue -------------------------------------------------------------------------------- /examples/src/pages/home/index.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/pages/home/index.vue -------------------------------------------------------------------------------- /examples/src/router/constant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/router/constant.ts -------------------------------------------------------------------------------- /examples/src/router/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/router/index.ts -------------------------------------------------------------------------------- /examples/src/router/routes/basic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/router/routes/basic.ts -------------------------------------------------------------------------------- /examples/src/router/routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/router/routes/index.ts -------------------------------------------------------------------------------- /examples/src/router/routes/layout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/router/routes/layout.ts -------------------------------------------------------------------------------- /examples/src/router/routes/modules/home.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/router/routes/modules/home.ts -------------------------------------------------------------------------------- /examples/src/settings.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/src/store/counter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/store/counter.ts -------------------------------------------------------------------------------- /examples/src/store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/store/index.ts -------------------------------------------------------------------------------- /examples/src/styles/components/_anchor.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/styles/components/_anchor.scss -------------------------------------------------------------------------------- /examples/src/styles/components/_card.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/styles/components/_card.scss -------------------------------------------------------------------------------- /examples/src/styles/main.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/styles/main.scss -------------------------------------------------------------------------------- /examples/src/utils/browserHelper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/utils/browserHelper.ts -------------------------------------------------------------------------------- /examples/src/utils/typeChecks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/utils/typeChecks.ts -------------------------------------------------------------------------------- /examples/src/utils/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/src/utils/util.ts -------------------------------------------------------------------------------- /examples/test/basic.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/test/basic.test.ts -------------------------------------------------------------------------------- /examples/tsconfig.eslint.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /examples/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/tsconfig.json -------------------------------------------------------------------------------- /examples/types/auto-imports.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/types/auto-imports.d.ts -------------------------------------------------------------------------------- /examples/types/components.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/types/components.d.ts -------------------------------------------------------------------------------- /examples/types/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/types/env.d.ts -------------------------------------------------------------------------------- /examples/unocss.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/unocss.config.ts -------------------------------------------------------------------------------- /examples/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/examples/vite.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - examples 3 | -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/core.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/core.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/typography/css/ancient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/typography/css/ancient.ts -------------------------------------------------------------------------------- /src/typography/css/annotation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/typography/css/annotation.ts -------------------------------------------------------------------------------- /src/typography/css/base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/typography/css/base.ts -------------------------------------------------------------------------------- /src/typography/css/heading.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/typography/css/heading.ts -------------------------------------------------------------------------------- /src/typography/css/nonCjkBlock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/typography/css/nonCjkBlock.ts -------------------------------------------------------------------------------- /src/typography/css/other.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/typography/css/other.ts -------------------------------------------------------------------------------- /src/typography/css/variables.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/typography/css/variables.ts -------------------------------------------------------------------------------- /src/typography/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/typography/index.ts -------------------------------------------------------------------------------- /src/typography/preflights/base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/typography/preflights/base.ts -------------------------------------------------------------------------------- /src/typography/preflights/default.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/typography/preflights/default.ts -------------------------------------------------------------------------------- /src/typography/preflights/heading.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/typography/preflights/heading.ts -------------------------------------------------------------------------------- /src/typography/preflights/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/typography/preflights/index.ts -------------------------------------------------------------------------------- /src/typography/preflights/inline.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/typography/preflights/inline.ts -------------------------------------------------------------------------------- /src/typography/preflights/list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/typography/preflights/list.ts -------------------------------------------------------------------------------- /src/typography/preflights/table.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/typography/preflights/table.ts -------------------------------------------------------------------------------- /src/typography/preflights/variables.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/typography/preflights/variables.ts -------------------------------------------------------------------------------- /src/typography/types/compatibilityOptions.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/typography/types/compatibilityOptions.d.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/src/utils.ts -------------------------------------------------------------------------------- /test/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/test/index.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kirklin/unocss-preset-chinese/HEAD/tsconfig.json --------------------------------------------------------------------------------