diff --git a/package.json b/package.json index 30e7b5b824f86a8c74446398191e945389696877..78b31dd4c9948da257dfd007e25aa6c2df0c7b1d 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,6 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dev": "pnpm -C packages/portal dev", - "dev:ak": "pnpm -C packages/portal-ak dev", "docs:install": "pnpm i && pnpm -C packages/scripts build && pnpm i && pnpm -C packages/opendesign gen:icon && pnpm -C packages/docs gen:icon && pnpm -C packages/docs gen:api ", "docs:dev": "pnpm -C packages/docs dev", "docs:build": "pnpm -C packages/docs build" diff --git a/packages/portal-ak/README.md b/packages/portal-ak/README.md deleted file mode 100644 index 30b15e215a24b78043970d820dd5dd5d2e6a3863..0000000000000000000000000000000000000000 --- a/packages/portal-ak/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# Vue 3 + TypeScript + Vite - -This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 ` - - -
- - - diff --git a/packages/portal-ak/package.json b/packages/portal-ak/package.json deleted file mode 100644 index febc6b5ca26d3c7a7165cd4b435952161ddc331b..0000000000000000000000000000000000000000 --- a/packages/portal-ak/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "portal-ak", - "private": true, - "version": "0.0.0", - "type": "module", - "scripts": { - "dev": "vite", - "build": "vue-tsc && vite build" - }, - "dependencies": { - "@opensig/opendesign": "workspace:^", - "@opensig/open-scripts": "workspace:^" - }, - "devDependencies": { - "sass": "catalog:css", - "typescript": "catalog:typescript", - "vite": "catalog:build", - "vue-tsc": "catalog:build" - } -} diff --git a/packages/portal-ak/src/App.vue b/packages/portal-ak/src/App.vue deleted file mode 100644 index e7251759214ed857186c1b9c7d8d63c06cffae3f..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/App.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/packages/portal-ak/src/ak/components/CLoadingNumber.vue b/packages/portal-ak/src/ak/components/CLoadingNumber.vue deleted file mode 100644 index 05f57648bee2b7c5a7921cc744a096db9d7e2f7f..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/components/CLoadingNumber.vue +++ /dev/null @@ -1,45 +0,0 @@ - - - diff --git a/packages/portal-ak/src/ak/components/CNumberSwitch.vue b/packages/portal-ak/src/ak/components/CNumberSwitch.vue deleted file mode 100644 index 45d58e937cbb7e9cc578ae56a781f3426e14b84e..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/components/CNumberSwitch.vue +++ /dev/null @@ -1,55 +0,0 @@ - - - diff --git a/packages/portal-ak/src/ak/fonts/HarmonyOS/HarmonyOS_Hans/HarmonyOS_Hans_Medium.woff b/packages/portal-ak/src/ak/fonts/HarmonyOS/HarmonyOS_Hans/HarmonyOS_Hans_Medium.woff deleted file mode 100644 index f9dbc4c7fd155483540de4918765e7ebeadc68d2..0000000000000000000000000000000000000000 Binary files a/packages/portal-ak/src/ak/fonts/HarmonyOS/HarmonyOS_Hans/HarmonyOS_Hans_Medium.woff and /dev/null differ diff --git a/packages/portal-ak/src/ak/fonts/HarmonyOS/HarmonyOS_Hans/HarmonyOS_Hans_Medium.woff2 b/packages/portal-ak/src/ak/fonts/HarmonyOS/HarmonyOS_Hans/HarmonyOS_Hans_Medium.woff2 deleted file mode 100644 index 205ef04d277578649e63fc3be05f7e8933bcdfd4..0000000000000000000000000000000000000000 Binary files a/packages/portal-ak/src/ak/fonts/HarmonyOS/HarmonyOS_Hans/HarmonyOS_Hans_Medium.woff2 and /dev/null differ diff --git a/packages/portal-ak/src/ak/fonts/HarmonyOS/HarmonyOS_Hans/HarmonyOS_Hans_Regular.woff b/packages/portal-ak/src/ak/fonts/HarmonyOS/HarmonyOS_Hans/HarmonyOS_Hans_Regular.woff deleted file mode 100644 index 863a657707fe2917a880d93c3aca096b7a08c57f..0000000000000000000000000000000000000000 Binary files a/packages/portal-ak/src/ak/fonts/HarmonyOS/HarmonyOS_Hans/HarmonyOS_Hans_Regular.woff and /dev/null differ diff --git a/packages/portal-ak/src/ak/fonts/HarmonyOS/HarmonyOS_Hans/HarmonyOS_Hans_Regular.woff2 b/packages/portal-ak/src/ak/fonts/HarmonyOS/HarmonyOS_Hans/HarmonyOS_Hans_Regular.woff2 deleted file mode 100644 index e822d8246ab9a3b8943ee1a358a9230eba712c9d..0000000000000000000000000000000000000000 Binary files a/packages/portal-ak/src/ak/fonts/HarmonyOS/HarmonyOS_Hans/HarmonyOS_Hans_Regular.woff2 and /dev/null differ diff --git a/packages/portal-ak/src/ak/fonts/HarmonyOS/HarmonyOS_Hans/LICENSE.txt b/packages/portal-ak/src/ak/fonts/HarmonyOS/HarmonyOS_Hans/LICENSE.txt deleted file mode 100644 index 211a701ac2e36d31d2475f282819cbed739882f7..0000000000000000000000000000000000000000 Binary files a/packages/portal-ak/src/ak/fonts/HarmonyOS/HarmonyOS_Hans/LICENSE.txt and /dev/null differ diff --git a/packages/portal-ak/src/ak/fonts/HarmonyOS/harmonyos-hans-fonts.less b/packages/portal-ak/src/ak/fonts/HarmonyOS/harmonyos-hans-fonts.less deleted file mode 100644 index 863bc458529dc88a0356e08053fd85ec8fa5d33d..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/fonts/HarmonyOS/harmonyos-hans-fonts.less +++ /dev/null @@ -1,21 +0,0 @@ -@font-path: "@/assets/fonts/HarmonyOS"; - -/* 鸿蒙中文字体 */ - -@font-face { - font-family: "HarmonyOS-Hans"; - font-weight: 400; - font-style: normal; - font-display: swap; - src: local("HarmonyOSHans"), url("@{font-path}/HarmonyOS_Hans/HarmonyOS_Hans_Regular.woff2") format("woff2"), - url("@{font-path}/HarmonyOS_Hans/HarmonyOS_Hans_Regular.woff") format("woff"); -} - -@font-face { - font-family: "HarmonyOS-Hans"; - font-weight: 500; - font-style: normal; - font-display: swap; - src: local("HarmonyOSHans Medium"), url("@{font-path}/HarmonyOS_Hans/HarmonyOS_Hans_Medium.woff2") format("woff2"), - url("@{font-path}/HarmonyOS_Hans/HarmonyOS_Hans_Medium.woff") format("woff"); -} diff --git a/packages/portal-ak/src/ak/fonts/HarmonyOS/harmonyos-hans-fonts.scss b/packages/portal-ak/src/ak/fonts/HarmonyOS/harmonyos-hans-fonts.scss deleted file mode 100644 index 2000c774361551f38b0756721510926632ac890d..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/fonts/HarmonyOS/harmonyos-hans-fonts.scss +++ /dev/null @@ -1,20 +0,0 @@ -$font-path: '@/ak/fonts/HarmonyOS'; - -/* 鸿蒙中文字体 */ -@font-face { - font-family: 'HarmonyOS-Hans'; - font-weight: 400; - font-style: normal; - font-display: swap; - src: local('HarmonyOSHans'), url($font-path + '/HarmonyOS_Hans/HarmonyOS_Hans_Regular.woff2') format('woff2'), - url($font-path + '/HarmonyOS_Hans/HarmonyOS_Hans_Regular.woff') format('woff'); -} - -@font-face { - font-family: 'HarmonyOS-Hans'; - font-weight: 500; - font-style: normal; - font-display: swap; - src: local('HarmonyOSHans Medium'), url($font-path + '/HarmonyOS_Hans/HarmonyOS_Hans_Medium.woff2') format('woff2'), - url($font-path + '/HarmonyOS_Hans/HarmonyOS_Hans_Medium.woff') format('woff'); -} diff --git a/packages/portal-ak/src/ak/theme/a.dark.token.css b/packages/portal-ak/src/ak/theme/a.dark.token.css deleted file mode 100644 index e78b65bb9294703ce91e16d3352a06ffc6bd19ad..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/a.dark.token.css +++ /dev/null @@ -1,1949 +0,0 @@ -/* theme: a.dark */ -[data-o-theme="a.dark"] { - /** - * @name - * @type palette - * @group white - * @description - */ - --o-white: 255, 255, 255; - /** - * @name - * @type palette - * @group black - * @description - */ - --o-black: 0, 0, 0; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-1: 0, 4, 77; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-2: 6, 15, 120; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-3: 20, 37, 163; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-4: 40, 65, 207; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-5: 66, 99, 250; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-6: 84, 120, 251; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-7: 122, 154, 252; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-8: 160, 186, 253; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-9: 199, 217, 254; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-10: 238, 244, 255; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-1: 0, 77, 42; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-2: 2, 102, 53; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-3: 10, 127, 66; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-4: 22, 152, 80; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-5: 36, 177, 95; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-6: 51, 193, 104; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-7: 90, 208, 131; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-8: 135, 224, 163; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-9: 185, 239, 200; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-10: 240, 255, 244; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-1: 77, 24, 0; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-2: 120, 42, 1; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-3: 163, 68, 8; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-4: 207, 97, 19; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-5: 250, 130, 33; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-6: 251, 143, 32; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-7: 252, 174, 91; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-8: 253, 202, 139; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-9: 254, 227, 188; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-10: 255, 248, 237; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-1: 77, 0, 17; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-2: 115, 3, 24; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-3: 153, 9, 31; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-4: 192, 17, 37; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-5: 230, 28, 43; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-6: 235, 35, 45; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-7: 240, 82, 85; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-8: 245, 132, 130; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-9: 250, 183, 180; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-10: 255, 234, 232; - /** - * @name - * @type palette - * @group huaweired - * @description - */ - --o-red-huawei: 199, 0, 11; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-1: 0, 0, 0; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-2: 20, 20, 20; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-3: 28, 28, 28; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-4: 39, 39, 39; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-5: 47, 47, 47; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-6: 57, 57, 57; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-7: 67, 67, 67; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-8: 88, 88, 88; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-9: 122, 122, 122; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-10: 159, 159, 159; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-11: 185, 185, 185; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-12: 210, 210, 210; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-13: 238, 238, 238; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-14: 255, 255, 255; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-1: 0, 0, 0; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-2: 16, 28, 20; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-3: 23, 25, 28; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-4: 33, 35, 39; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-5: 40, 42, 47; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-6: 50, 53, 57; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-7: 61, 63, 67; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-8: 80, 84, 88; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-9: 113, 117, 122; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-10: 147, 152, 159; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-11: 172, 177, 185; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-12: 198, 202, 210; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-13: 231, 234, 238; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-14: 255, 255, 255; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-1: 77, 54, 0; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-2: 119, 87, 2; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-3: 161, 126, 11; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-4: 203, 167, 24; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-5: 245, 211, 42; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-6: 247, 222, 54; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-7: 249, 234, 100; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-8: 251, 244, 146; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-9: 253, 251, 192; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-10: 255, 255, 240; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-1: 41, 77, 0; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-2: 63, 109, 3; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-3: 91, 142, 14; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-4: 121, 174, 30; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-5: 155, 207, 50; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-6: 172, 217, 68; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-7: 194, 226, 104; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-8: 214, 236, 144; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-9: 233, 245, 186; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-10: 251, 255, 232; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-1: 0, 73, 77; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-2: 2, 101, 103; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-3: 9, 129, 127; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-4: 18, 155, 148; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-5: 30, 181, 167; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-6: 42, 196, 178; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-7: 84, 211, 192; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-8: 130, 255, 208; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-9: 182, 240, 227; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-10: 239, 255, 251; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-1: 0, 34, 77; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-2: 1, 57, 117; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-3: 8, 86, 158; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-4: 18, 118, 199; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-5: 31, 153, 240; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-6: 42, 166, 243; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-7: 89, 191, 246; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-8: 137, 214, 249; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-9: 187, 233, 252; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-10: 237, 250, 255; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-1: 22, 0, 77; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-2: 40, 3, 118; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-3: 66, 15, 160; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-4: 98, 33, 202; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-5: 134, 57, 244; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-6: 152, 74, 246; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-7: 179, 114, 248; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-8: 205, 156, 251; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-9: 228, 198, 253; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-10: 249, 240, 255; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-1: 61, 0, 77; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-2: 93, 5, 110; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-3: 127, 16, 144; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-4: 164, 33, 178; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-5: 200, 54, 212; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-6: 216, 72, 221; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-7: 229, 109, 229; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-8: 238, 149, 235; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-9: 246, 191, 243; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-10: 255, 236, 253; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-1: 77, 0, 48; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-2: 114, 3, 70; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-3: 151, 12, 91; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-4: 189, 25, 112; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-5: 226, 41, 133; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-6: 232, 53, 137; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-7: 238, 97, 158; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-8: 243, 143, 183; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-9: 249, 192, 213; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-10: 255, 242, 247; - /** - * @name - * @type color - * @group base - * @description - */ - --o-color-white: rgb(var(--o-white)); - /** - * @name - * @type color - * @group base - * @description - */ - --o-color-black: rgb(var(--o-black)); - /** - * @name - * @type color - * @group primary - * @description 常规 - */ - --o-color-primary1: rgb(var(--o-mixedgray-14)); - /** - * @name - * @type color - * @group primary - * @description 悬浮 - */ - --o-color-primary2: rgb(var(--o-mixedgray-13)); - /** - * @name - * @type color - * @group primary - * @description 激活 - */ - --o-color-primary3: rgb(var(--o-mixedgray-12)); - /** - * @name - * @type color - * @group primary - * @description 禁用 - */ - --o-color-primary4: rgb(var(--o-mixedgray-8)); - /** - * @name - * @type color - * @group primary - * @description 常规-浅 - */ - --o-color-primary1-light: rgb(var(--o-mixedgray-5)); - /** - * @name - * @type color - * @group primary - * @description 悬浮-浅 - */ - --o-color-primary2-light: rgb(var(--o-mixedgray-6)); - /** - * @name - * @type color - * @group primary - * @description 激活-浅 - */ - --o-color-primary3-light: rgb(var(--o-mixedgray-7)); - /** - * @name - * @type color - * @group primary - * @description 禁用-浅 - */ - --o-color-primary4-light: rgb(var(--o-mixedgray-6)); - /** - * @name - * @type color - * @group success - * @description 常规 - */ - --o-color-success1: rgb(var(--o-green-6)); - /** - * @name - * @type color - * @group success - * @description 悬浮 - */ - --o-color-success2: rgb(var(--o-green-4)); - /** - * @name - * @type color - * @group success - * @description 激活 - */ - --o-color-success3: rgb(var(--o-green-7)); - /** - * @name - * @type color - * @group success - * @description 禁用 - */ - --o-color-success4: rgb(var(--o-green-3)); - /** - * @name - * @type color - * @group success - * @description 常规-浅 - */ - --o-color-success1-light: rgb(var(--o-green-2)); - /** - * @name - * @type color - * @group success - * @description 悬浮-浅 - */ - --o-color-success2-light: rgb(var(--o-green-3)); - /** - * @name - * @type color - * @group success - * @description 激活-浅 - */ - --o-color-success3-light: rgb(var(--o-green-4)); - /** - * @name - * @type color - * @group success - * @description 禁用-浅 - */ - --o-color-success4-light: rgb(var(--o-green-1)); - /** - * @name - * @type color - * @group warning - * @description 常规 - */ - --o-color-warning1: rgb(var(--o-orange-6)); - /** - * @name - * @type color - * @group warning - * @description 悬浮 - */ - --o-color-warning2: rgb(var(--o-orange-4)); - /** - * @name - * @type color - * @group warning - * @description 激活 - */ - --o-color-warning3: rgb(var(--o-orange-7)); - /** - * @name - * @type color - * @group warning - * @description 禁用 - */ - --o-color-warning4: rgb(var(--o-orange-3)); - /** - * @name - * @type color - * @group warning - * @description 常规-浅 - */ - --o-color-warning1-light: rgb(var(--o-orange-2)); - /** - * @name - * @type color - * @group warning - * @description 悬浮-浅 - */ - --o-color-warning2-light: rgb(var(--o-orange-3)); - /** - * @name - * @type color - * @group warning - * @description 激活-浅 - */ - --o-color-warning3-light: rgb(var(--o-orange-4)); - /** - * @name - * @type color - * @group warning - * @description 禁用-浅 - */ - --o-color-warning4-light: rgb(var(--o-orange-1)); - /** - * @name - * @type color - * @group danger - * @description 常规 - */ - --o-color-danger1: rgb(var(--o-red-6)); - /** - * @name - * @type color - * @group danger - * @description 悬浮 - */ - --o-color-danger2: rgb(var(--o-red-4)); - /** - * @name - * @type color - * @group danger - * @description 激活 - */ - --o-color-danger3: rgb(var(--o-red-7)); - /** - * @name - * @type color - * @group danger - * @description 禁用 - */ - --o-color-danger4: rgb(var(--o-red-3)); - /** - * @name - * @type color - * @group danger - * @description 常规-浅 - */ - --o-color-danger1-light: rgb(var(--o-red-2)); - /** - * @name - * @type color - * @group danger - * @description 悬浮-浅 - */ - --o-color-danger2-light: rgb(var(--o-red-3)); - /** - * @name - * @type color - * @group danger - * @description 激活-浅 - */ - --o-color-danger3-light: rgb(var(--o-red-4)); - /** - * @name - * @type color - * @group danger - * @description 禁用-浅 - */ - --o-color-danger4-light: rgb(var(--o-red-1)); - /** - * @name - * @type color - * @group fill - * @description 一级填充:页面背景 - */ - --o-color-fill1: rgb(var(--o-mixedgray-3)); - /** - * @name - * @type color - * @group fill - * @description 二级填充:区块/卡片 - */ - --o-color-fill2: rgb(var(--o-mixedgray-4)); - /** - * @name - * @type color - * @group fill - * @description 三级填充:卡片 - */ - --o-color-fill3: rgb(var(--o-mixedgray-5)); - /** - * @name - * @type color - * @group control - * @description 常规,常用于边框 - */ - --o-color-control1: rgba(var(--o-mixedgray-14), 0.25); - /** - * @name - * @type color - * @group control - * @description 悬浮,常用于边框 - */ - --o-color-control2: rgba(var(--o-mixedgray-14), 0.6); - /** - * @name - * @type color - * @group control - * @description 激活,常用于边框 - */ - --o-color-control3: rgba(var(--o-mixedgray-14), 0.8); - /** - * @name - * @type color - * @group control - * @description 禁用,常用于边框 - */ - --o-color-control4: rgba(var(--o-mixedgray-14), 0.15); - /** - * @name - * @type color - * @group control - * @description 常规-浅,常用于背景 - */ - --o-color-control1-light: rgb(var(--o-mixedgray-7)); - /** - * @name - * @type color - * @group control - * @description 悬浮-浅,常用于背景 - */ - --o-color-control2-light: rgb(var(--o-mixedgray-5)); - /** - * @name - * @type color - * @group control - * @description 激活-浅,常用于背景 - */ - --o-color-control3-light: rgb(var(--o-mixedgray-6)); - /** - * @name - * @type color - * @group control - * @description 禁用-浅,常用于背景 - */ - --o-color-control4-light: rgb(var(--o-mixedgray-5)); - /** - * @name - * @type color - * @group control - * @description 很浅,常用于表格背景色 - */ - --o-color-control-light: rgb(var(--o-mixedgray-4)); - /** - * @name - * @type color - * @group info - * @description 一级/强调/标题 - */ - --o-color-info1: rgba(var(--o-mixedgray-14), 1.0); - /** - * @name - * @type color - * @group info - * @description 二级/次强调/正文 - */ - --o-color-info2: rgba(var(--o-mixedgray-14), 0.8); - /** - * @name - * @type color - * @group info - * @description 三级/辅助信息 - */ - --o-color-info3: rgba(var(--o-mixedgray-14), 0.6); - /** - * @name - * @type color - * @group info - * @description 置灰/禁用 - */ - --o-color-info4: rgba(var(--o-mixedgray-14), 0.4); - /** - * @name - * @type color - * @group info - * @description 一级/次强调/正文反色 - */ - --o-color-info1-inverse: rgba(var(--o-mixedgray-1), 1.0); - /** - * @name - * @type color - * @group info - * @description 二级/辅助信息反色 - */ - --o-color-info2-inverse: rgba(var(--o-mixedgray-1), 0.8); - /** - * @name - * @type color - * @group info - * @description 三级/辅助信息反色 - */ - --o-color-info3-inverse: rgba(var(--o-mixedgray-1), 0.6); - /** - * @name - * @type color - * @group info - * @description 置灰/禁用反色 - */ - --o-color-info4-inverse: rgba(var(--o-mixedgray-1), 0.4); - /** - * @name - * @type color - * @group mask - * @description 全局遮罩 - */ - --o-color-mask1: rgba(var(--o-mixedgray-1), 0.4); - /** - * @name - * @type color - * @group mask - * @description 局部遮罩 - */ - --o-color-mask2: rgba(var(--o-mixedgray-4), 0.2); - /** - * @name - * @type color - * @group link - * @description 常规 - */ - --o-color-link1: rgba(var(--o-deepblue-6), 1.0); - /** - * @name - * @type color - * @group link - * @description 悬浮 - */ - --o-color-link2: rgba(var(--o-deepblue-6), 0.7); - /** - * @name - * @type color - * @group link - * @description 激活 - */ - --o-color-link3: rgba(var(--o-deepblue-6), 0.9); - /** - * @name - * @type color - * @group link - * @description 禁用 - */ - --o-color-link4: rgba(var(--o-deepblue-6), 0.4); - /** - * @name 阴影1 - * @type shadow - * @group shadow - * @description 用于卡片、小弹窗、楼层阴影 - */ - --o-shadow-1: 0 3px 8px rgba(var(--o-mixedgray-1), 0.08); - /** - * @name 阴影2 - * @type shadow - * @group shadow - * @description 用于卡片悬浮阴影 - */ - --o-shadow-2: 0 2px 24px rgba(var(--o-mixedgray-1), 0.15); - /** - * @name 阴影3 - * @type shadow - * @group shadow - * @description 用于提示阴影 - */ - --o-shadow-3: 0 8px 40px rgba(var(--o-mixedgray-1), 0.1); - /** - * @name 间距1 - * @type gap - * @group gap - * @description 用于组件之间的间距1 - */ - --o-gap-1: 4px; - /** - * @name 间距2 - * @type gap - * @group gap - * @description 用于组件之间的间距2 - */ - --o-gap-2: 8px; - /** - * @name 间距3 - * @type gap - * @group gap - * @description 用于组件之间的间距3 - */ - --o-gap-3: 12px; - /** - * @name 间距4 - * @type gap - * @group gap - * @description 用于组件之间的间距4 - */ - --o-gap-4: 16px; - /** - * @name 间距5 - * @type gap - * @group gap - * @description 用于组件之间的间距5 - */ - --o-gap-5: 24px; - /** - * @name 间距6 - * @type gap - * @group gap - * @description 用于组件之间的间距6 - */ - --o-gap-6: 32px; - /** - * @name 间距7 - * @type gap - * @group gap - * @description 用于组件之间的间距7 - */ - --o-gap-7: 40px; - /** - * @name 间距8 - * @type gap - * @group gap - * @description 用于组件之间的间距8 - */ - --o-gap-8: 48px; - /** - * @name 间距9 - * @type gap - * @group gap - * @description 用于组件之间的间距9 - */ - --o-gap-9: 64px; - /** - * @name 间距10 - * @type gap - * @group gap - * @description 用于组件之间的间距10 - */ - --o-gap-10: 72px; - /** - * @name 超小尺寸 - * @type size - * @group control_size - * @description 超小尺寸 - */ - --o-control_size-2xs: 14px; - /** - * @name 小尺寸 - * @type size - * @group control_size - * @description 小尺寸 - */ - --o-control_size-xs: 16px; - /** - * @name 小尺寸 - * @type size - * @group control_size - * @description 小尺寸 - */ - --o-control_size-s: 24px; - /** - * @name 中尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-m: 32px; - /** - * @name 大尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-l: 40px; - /** - * @name 大尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-xl: 48px; - /** - * @name 大尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-2xl: 56px; - /** - * @name 超小尺寸图标 - * @type size - * @group icon_size - * @description 超小尺寸图标 - */ - --o-icon_size-xs: 16px; - /** - * @name 小尺寸图标 - * @type size - * @group icon_size - * @description 小尺寸图标 - */ - --o-icon_size-s: 20px; - /** - * @name 中尺寸图标 - * @type size - * @group icon_size - * @description 中尺寸图标 - */ - --o-icon_size-m: 24px; - /** - * @name 大尺寸图标 - * @type size - * @group icon_size - * @description 大尺寸图标 - */ - --o-icon_size-l: 32px; - /** - * @name 超大尺寸图标 - * @type size - * @group icon_size - * @description 超大尺寸图标 - */ - --o-icon_size-xl: 40px; - /** - * @name 2xl尺寸图标 - * @type size - * @group icon_size - * @description 2xl尺寸图标 - */ - --o-icon_size-2xl: 48px; - /** - * @name 3xl尺寸图标 - * @type size - * @group icon_size - * @description 3xl尺寸图标 - */ - --o-icon_size-3xl: 56px; - /** - * @name 4xl尺寸图标 - * @type size - * @group icon_size - * @description 4xl尺寸图标 - */ - --o-icon_size-4xl: 64px; - /** - * @name 超小尺寸图标 - * @type size - * @group icon_size_control - * @description 超小尺寸控件图标(组件使用) - */ - --o-icon_size_control-xs: 16px; - /** - * @name 小尺寸图标 - * @type size - * @group icon_size_control - * @description 小尺寸控件图标(组件使用) - */ - --o-icon_size_control-s: 20px; - /** - * @name 中尺寸图标 - * @type size - * @group icon_size_control - * @description 中尺寸控件图标(组件使用) - */ - --o-icon_size_control-m: 24px; - /** - * @name 大尺寸图标 - * @type size - * @group icon_size_control - * @description 大尺寸控件图标(组件使用) - */ - --o-icon_size_control-l: 32px; - /** - * @name 超大尺寸图标 - * @type size - * @group icon_size_control - * @description 超大尺寸控件图标(组件使用) - */ - --o-icon_size_control-xl: 40px; - /** - * @name 一级数据展示 - * @type font - * @group font_size - * @description 一级数据展示 - */ - --o-font_size-display1: 56px; - /** - * @name 二级数据展示 - * @type font - * @group font_size - * @description 二级数据展示 - */ - --o-font_size-display2: 48px; - /** - * @name 三级数据展示 - * @type font - * @group font_size - * @description 三级数据展示 - */ - --o-font_size-display3: 40px; - /** - * @name 一级标题 - * @type font - * @group font_size - * @description 一级标题 - */ - --o-font_size-h1: 32px; - /** - * @name 二级标题 - * @type font - * @group font_size - * @description 二级标题 - */ - --o-font_size-h2: 24px; - /** - * @name 三级标题 - * @type font - * @group font_size - * @description 三级标题 - */ - --o-font_size-h3: 22px; - /** - * @name 四级标题 - * @type font - * @group font_size - * @description 四级标题 - */ - --o-font_size-h4: 20px; - /** - * @name 常规正文 - * @type font - * @group font_size - * @description 常规正文 - */ - --o-font_size-text1: 16px; - /** - * @name 大号正文 - * @type font - * @group font_size - * @description 大号正文 - */ - --o-font_size-text2: 18px; - /** - * @name 提示文本1 - * @type font - * @group font_size - * @description 提示文本1 - */ - --o-font_size-tip1: 14px; - /** - * @name 提示文本2 - * @type font - * @group font_size - * @description 提示文本2 - */ - --o-font_size-tip2: 12px; - /** - * @name 一级数据展示 - * @type font - * @group line_height - * @description 一级数据展示 - */ - --o-line_height-display1: 80px; - /** - * @name 二级数据展示 - * @type font - * @group line_height - * @description 二级数据展示 - */ - --o-line_height-display2: 64px; - /** - * @name 三级数据展示 - * @type font - * @group line_height - * @description 三级数据展示 - */ - --o-line_height-display3: 56px; - /** - * @name 一级标题 - * @type font - * @group line_height - * @description 一级标题 - */ - --o-line_height-h1: 44px; - /** - * @name 二级标题 - * @type font - * @group line_height - * @description 二级标题 - */ - --o-line_height-h2: 32px; - /** - * @name 三级标题 - * @type font - * @group line_height - * @description 三级标题 - */ - --o-line_height-h3: 30px; - /** - * @name 四级标题 - * @type font - * @group line_height - * @description 四级标题 - */ - --o-line_height-h4: 28px; - /** - * @name 正文 - * @type font - * @group line_height - * @description 正文 - */ - --o-line_height-text1: 24px; - /** - * @name 正文-大 - * @type font - * @group line_height - * @description 正文-大 - */ - --o-line_height-text2: 26x; - /** - * @name 提示文本1 - * @type font - * @group line_height - * @description 提示文本1 - */ - --o-line_height-tip1: 22px; - /** - * @name 提示文本2 - * @type font - * @group line_height - * @description 提示文本2 - */ - --o-line_height-tip2: 18px; - /** - * @name 超小尺寸圆角 - * @type size - * @group radius - * @description 超小尺寸圆角 - */ - --o-radius-xs: 4px; - /** - * @name 小尺寸圆角 - * @type size - * @group radius - * @description 小尺寸圆角 - */ - --o-radius-s: 8px; - /** - * @name 中尺寸圆角 - * @type size - * @group radius - * @description 中尺寸圆角 - */ - --o-radius-m: 12px; - /** - * @name 大尺寸圆角 - * @type size - * @group radius - * @description 大尺寸圆角 - */ - --o-radius-l: 16px; - /** - * @name 大尺寸圆角 - * @type size - * @group radius - * @description 大尺寸圆角,一般用于卡片 - */ - --o-radius-xl: 24px; - /** - * @name 超小尺寸控件圆角 - * @type size - * @group radius_control - * @description 超小尺寸控件圆角(组件使用) - */ - --o-radius_control-xs: 4px; - /** - * @name 小尺寸控件圆角 - * @type size - * @group radius_control - * @description 小尺寸控件圆角(组件使用) - */ - --o-radius_control-s: 8px; - /** - * @name 中尺寸控件圆角 - * @type size - * @group radius_control - * @description 中尺寸控件圆角(组件使用) - */ - --o-radius_control-m: 12px; - /** - * @name 大尺寸控件圆角 - * @type size - * @group radius_control - * @description 大尺寸控件圆角(组件使用) - */ - --o-radius_control-l: 16px; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于退出屏幕的动画 - */ - --o-duration-s: 200ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为standard-in时进入屏幕的动画 - */ - --o-duration-m1: 250ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为standard时开始、结束的动画 - */ - --o-duration-m2: 300ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为emphasized-in时进入屏幕的动画 - */ - --o-duration-m3: 400ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为emphasized时开始、结束的动画 - */ - --o-duration-l: 500ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为emphasized时,轮播切换动画 - */ - --o-duration-xl: 1000ms; - /** - * @name 线性动画曲线 - * @type animation - * @group easing - * @description 线性曲线 - */ - --o-easing-linear: cubic-bezier(0, 0, 1, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于组件 - */ - --o-easing-standard: cubic-bezier(0.2, 0, 0, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于组件 - */ - --o-easing-standard-in: cubic-bezier(0, 0, 0, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于组件 - */ - --o-easing-standard-out: cubic-bezier(0.3, 0, 1, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于大卡片、场景切换 - */ - --o-easing-emphasized: cubic-bezier(0.2, 0, 0, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于大卡片、场景切换 - */ - --o-easing-emphasized-in: cubic-bezier(0.3, 0, 0.8, 0.15); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于大卡片、场景切换 - */ - --o-easing-emphasized-out: cubic-bezier(0.05, 0.7, 0.1, 1); -} \ No newline at end of file diff --git a/packages/portal-ak/src/ak/theme/a.light.token.css b/packages/portal-ak/src/ak/theme/a.light.token.css deleted file mode 100644 index 350b18e2c800a508d4e9fa3f0f8b2a96a933249f..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/a.light.token.css +++ /dev/null @@ -1,1949 +0,0 @@ -/* theme: a.light */ -[data-o-theme="a.light"] { - /** - * @name - * @type palette - * @group white - * @description - */ - --o-white: 255, 255, 255; - /** - * @name - * @type palette - * @group black - * @description - */ - --o-black: 0, 0, 0; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-1: 232, 240, 255; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-2: 194, 213, 254; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-3: 157, 184, 253; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-4: 120, 153, 252; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-5: 83, 119, 251; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-6: 46, 83, 250; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-7: 29, 55, 207; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-8: 15, 32, 163; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-9: 6, 15, 120; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-10: 0, 4, 47; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-1: 232, 255, 238; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-2: 177, 239, 195; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-3: 128, 224, 158; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-4: 84, 208, 127; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-5: 45, 193, 101; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-6: 11, 177, 81; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-7: 7, 152, 72; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-8: 4, 127, 63; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-9: 2, 102, 53; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-10: 0, 77, 42; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-1: 255, 246, 232; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-2: 254, 226, 186; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-3: 253, 202, 140; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-4: 252, 176, 95; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-5: 251, 147, 50; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-6: 250, 115, 5; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-7: 207, 88, 3; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-8: 163, 64, 2; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-9: 120, 42, 1; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-10: 77, 24, 0; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-1: 255, 234, 232; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-2: 250, 185, 182; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-3: 245, 136, 134; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-4: 240, 87, 90; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-5: 235, 43, 52; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-6: 230, 0, 18; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-7: 192, 0, 22; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-8: 153, 0, 23; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-9: 115, 0, 21; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-10: 77, 0, 17; - /** - * @name - * @type palette - * @group huaweired - * @description - */ - --o-red-huawei: 199, 0, 11; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-1: 255, 255, 255; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-2: 247, 247, 247; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-3: 242, 242, 242; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-4: 237, 237, 237; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-5: 227, 227, 227; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-6: 214, 214, 214; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-7: 186, 186, 186; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-8: 148, 148, 148; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-9: 110, 110, 110; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-10: 79, 79, 79; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-11: 48, 48, 48; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-12: 36, 36, 36; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-13: 18, 18, 18; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-14: 0, 0, 0; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-1: 255, 255, 255; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-2: 244, 245, 247; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-3: 237, 239, 242; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-4: 232, 234, 237; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-5: 224, 226, 230; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-6: 209, 214, 219; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-7: 179, 185, 191; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-8: 144, 150, 158; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-9: 104, 109, 117; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-10: 79, 84, 92; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-11: 55, 59, 66; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-12: 32, 35, 41; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-13: 18, 20, 23; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-14: 0, 0, 0; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-1: 255, 255, 232; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-2: 253, 251, 185; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-3: 251, 244, 139; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-4: 249, 233, 94; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-5: 247, 221, 49; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-6: 245, 205, 5; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-7: 203, 163, 3; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-8: 161, 124, 2; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-9: 119, 87, 1; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-10: 77, 54, 0; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-1: 251, 255, 232; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-2: 233, 245, 184; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-3: 213, 236, 139; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-4: 192, 226, 97; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-5: 169, 217, 59; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-6: 146, 207, 23; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-7: 116, 174, 15; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-8: 88, 142, 8; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-9: 63, 109, 3; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-10: 41, 77, 0; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-1: 232, 255, 249; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-2: 176, 240, 226; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-3: 125, 225, 207; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-4: 79, 221, 191; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-5: 38, 196, 177; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-6: 3, 181, 165; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-7: 2, 155, 147; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-8: 1, 129, 127; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-9: 0, 101, 103; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-10: 0, 73, 77; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-1: 232, 249, 255; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-2: 185, 233, 252; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-3: 138, 214, 249; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-4: 93, 192, 246; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-5: 48, 168, 243; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-6: 5, 142, 240; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-7: 3, 111, 199; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-8: 2, 83, 158; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-9: 1, 57, 117; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-10: 0, 34, 77; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-1: 245, 232, 255; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-2: 225, 192, 253; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-3: 203, 152, 251; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-4: 178, 113, 248; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-5: 152, 75, 246; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-6: 123, 37, 244; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-7: 92, 23, 202; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-8: 64, 12, 160; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-9: 41, 4, 118; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-10: 22, 0, 77; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-1: 255, 232, 253; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-2: 246, 188, 243; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-3: 238, 146, 235; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-4: 229, 107, 229; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-5: 216, 71, 221; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-6: 199, 37, 212; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-7: 163, 23, 178; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-8: 127, 13, 144; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-9: 93, 5, 110; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-10: 61, 0, 77; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-1: 255, 232, 240; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-2: 249, 185, 209; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-3: 243, 141, 182; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-4: 238, 98, 158; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-5: 232, 57, 139; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-6: 226, 18, 122; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-7: 189, 11, 106; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-8: 151, 6, 88; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-9: 114, 2, 69; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-10: 77, 0, 48; - /** - * @name - * @type color - * @group base - * @description - */ - --o-color-white: rgb(var(--o-white)); - /** - * @name - * @type color - * @group base - * @description - */ - --o-color-black: rgb(var(--o-black)); - /** - * @name - * @type color - * @group primary - * @description 常规 - */ - --o-color-primary1: rgb(var(--o-mixedgray-12)); - /** - * @name - * @type color - * @group primary - * @description 悬浮 - */ - --o-color-primary2: rgb(var(--o-mixedgray-11)); - /** - * @name - * @type color - * @group primary - * @description 激活 - */ - --o-color-primary3: rgb(var(--o-mixedgray-13)); - /** - * @name - * @type color - * @group primary - * @description 禁用 - */ - --o-color-primary4: rgb(var(--o-mixedgray-6)); - /** - * @name - * @type color - * @group primary - * @description 常规-浅 - */ - --o-color-primary1-light: rgb(var(--o-mixedgray-4)); - /** - * @name - * @type color - * @group primary - * @description 悬浮-浅 - */ - --o-color-primary2-light: rgb(var(--o-mixedgray-5)); - /** - * @name - * @type color - * @group primary - * @description 激活-浅 - */ - --o-color-primary3-light: rgb(var(--o-mixedgray-6)); - /** - * @name - * @type color - * @group primary - * @description 禁用-浅 - */ - --o-color-primary4-light: rgb(var(--o-mixedgray-5)); - /** - * @name - * @type color - * @group success - * @description 常规 - */ - --o-color-success1: rgb(var(--o-green-6)); - /** - * @name - * @type color - * @group success - * @description 悬浮 - */ - --o-color-success2: rgb(var(--o-green-4)); - /** - * @name - * @type color - * @group success - * @description 激活 - */ - --o-color-success3: rgb(var(--o-green-7)); - /** - * @name - * @type color - * @group success - * @description 禁用 - */ - --o-color-success4: rgb(var(--o-green-3)); - /** - * @name - * @type color - * @group success - * @description 常规-浅 - */ - --o-color-success1-light: rgb(var(--o-green-2)); - /** - * @name - * @type color - * @group success - * @description 悬浮-浅 - */ - --o-color-success2-light: rgb(var(--o-green-3)); - /** - * @name - * @type color - * @group success - * @description 激活-浅 - */ - --o-color-success3-light: rgb(var(--o-green-4)); - /** - * @name - * @type color - * @group success - * @description 禁用-浅 - */ - --o-color-success4-light: rgb(var(--o-green-1)); - /** - * @name - * @type color - * @group warning - * @description 常规 - */ - --o-color-warning1: rgb(var(--o-orange-6)); - /** - * @name - * @type color - * @group warning - * @description 悬浮 - */ - --o-color-warning2: rgb(var(--o-orange-4)); - /** - * @name - * @type color - * @group warning - * @description 激活 - */ - --o-color-warning3: rgb(var(--o-orange-7)); - /** - * @name - * @type color - * @group warning - * @description 禁用 - */ - --o-color-warning4: rgb(var(--o-orange-3)); - /** - * @name - * @type color - * @group warning - * @description 常规-浅 - */ - --o-color-warning1-light: rgb(var(--o-orange-2)); - /** - * @name - * @type color - * @group warning - * @description 悬浮-浅 - */ - --o-color-warning2-light: rgb(var(--o-orange-3)); - /** - * @name - * @type color - * @group warning - * @description 激活-浅 - */ - --o-color-warning3-light: rgb(var(--o-orange-4)); - /** - * @name - * @type color - * @group warning - * @description 禁用-浅 - */ - --o-color-warning4-light: rgb(var(--o-orange-1)); - /** - * @name - * @type color - * @group danger - * @description 常规 - */ - --o-color-danger1: rgb(var(--o-red-6)); - /** - * @name - * @type color - * @group danger - * @description 悬浮 - */ - --o-color-danger2: rgb(var(--o-red-4)); - /** - * @name - * @type color - * @group danger - * @description 激活 - */ - --o-color-danger3: rgb(var(--o-red-7)); - /** - * @name - * @type color - * @group danger - * @description 禁用 - */ - --o-color-danger4: rgb(var(--o-red-3)); - /** - * @name - * @type color - * @group danger - * @description 常规-浅 - */ - --o-color-danger1-light: rgb(var(--o-red-2)); - /** - * @name - * @type color - * @group danger - * @description 悬浮-浅 - */ - --o-color-danger2-light: rgb(var(--o-red-3)); - /** - * @name - * @type color - * @group danger - * @description 激活-浅 - */ - --o-color-danger3-light: rgb(var(--o-red-4)); - /** - * @name - * @type color - * @group danger - * @description 禁用-浅 - */ - --o-color-danger4-light: rgb(var(--o-red-1)); - /** - * @name - * @type color - * @group fill - * @description 一级填充:页面背景 - */ - --o-color-fill1: rgb(var(--o-mixedgray-2)); - /** - * @name - * @type color - * @group fill - * @description 二级填充:区块/卡片 - */ - --o-color-fill2: rgb(var(--o-mixedgray-1)); - /** - * @name - * @type color - * @group fill - * @description 三级填充:卡片 - */ - --o-color-fill3: rgb(var(--o-mixedgray-3)); - /** - * @name - * @type color - * @group control - * @description 常规,常用于边框 - */ - --o-color-control1: rgba(var(--o-mixedgray-14), 0.25); - /** - * @name - * @type color - * @group control - * @description 悬浮,常用于边框 - */ - --o-color-control2: rgba(var(--o-mixedgray-14), 0.6); - /** - * @name - * @type color - * @group control - * @description 激活,常用于边框 - */ - --o-color-control3: rgba(var(--o-mixedgray-14), 0.8); - /** - * @name - * @type color - * @group control - * @description 禁用,常用于边框 - */ - --o-color-control4: rgba(var(--o-mixedgray-14), 0.1); - /** - * @name - * @type color - * @group control - * @description 常规-浅,常用于背景 - */ - --o-color-control1-light: rgb(var(--o-mixedgray-5)); - /** - * @name - * @type color - * @group control - * @description 悬浮-浅,常用于背景 - */ - --o-color-control2-light: rgb(var(--o-mixedgray-3)); - /** - * @name - * @type color - * @group control - * @description 激活-浅,常用于背景 - */ - --o-color-control3-light: rgb(var(--o-mixedgray-4)); - /** - * @name - * @type color - * @group control - * @description 禁用-浅,常用于背景 - */ - --o-color-control4-light: rgb(var(--o-mixedgray-3)); - /** - * @name - * @type color - * @group control - * @description 很浅,常用于表格背景色 - */ - --o-color-control-light: rgb(var(--o-mixedgray-1)); - /** - * @name - * @type color - * @group info - * @description 一级/强调/标题 - */ - --o-color-info1: rgba(var(--o-mixedgray-14), 1.0); - /** - * @name - * @type color - * @group info - * @description 二级/次强调/正文 - */ - --o-color-info2: rgba(var(--o-mixedgray-14), 0.8); - /** - * @name - * @type color - * @group info - * @description 三级/辅助信息 - */ - --o-color-info3: rgba(var(--o-mixedgray-14), 0.6); - /** - * @name - * @type color - * @group info - * @description 置灰/禁用 - */ - --o-color-info4: rgba(var(--o-mixedgray-14), 0.4); - /** - * @name - * @type color - * @group info - * @description 一级/次强调/正文反色 - */ - --o-color-info1-inverse: rgba(var(--o-mixedgray-1), 1.0); - /** - * @name - * @type color - * @group info - * @description 二级/辅助信息反色 - */ - --o-color-info2-inverse: rgba(var(--o-mixedgray-1), 0.8); - /** - * @name - * @type color - * @group info - * @description 三级/辅助信息反色 - */ - --o-color-info3-inverse: rgba(var(--o-mixedgray-1), 0.6); - /** - * @name - * @type color - * @group info - * @description 置灰/禁用反色 - */ - --o-color-info4-inverse: rgba(var(--o-mixedgray-1), 0.4); - /** - * @name - * @type color - * @group mask - * @description 全局遮罩 - */ - --o-color-mask1: rgba(var(--o-mixedgray-14), 0.4); - /** - * @name - * @type color - * @group mask - * @description 局部遮罩 - */ - --o-color-mask2: rgba(var(--o-mixedgray-1), 0.2); - /** - * @name - * @type color - * @group link - * @description 常规 - */ - --o-color-link1: rgba(var(--o-deepblue-6), 1.0); - /** - * @name - * @type color - * @group link - * @description 悬浮 - */ - --o-color-link2: rgba(var(--o-deepblue-6), 0.7); - /** - * @name - * @type color - * @group link - * @description 激活 - */ - --o-color-link3: rgba(var(--o-deepblue-6), 0.9); - /** - * @name - * @type color - * @group link - * @description 禁用 - */ - --o-color-link4: rgba(var(--o-deepblue-6), 0.4); - /** - * @name 阴影1 - * @type shadow - * @group shadow - * @description 用于卡片、小弹窗、楼层阴影 - */ - --o-shadow-1: 0 3px 8px rgba(var(--o-mixedgray-13), 0.08); - /** - * @name 阴影2 - * @type shadow - * @group shadow - * @description 用于卡片悬浮阴影 - */ - --o-shadow-2: 0 4px 24px rgba(var(--o-mixedgray-13), 0.1); - /** - * @name 阴影3 - * @type shadow - * @group shadow - * @description 用于提示阴影 - */ - --o-shadow-3: 0 8px 40px rgba(var(--o-mixedgray-13), 0.1); - /** - * @name 间距1 - * @type gap - * @group gap - * @description 用于组件之间的间距1 - */ - --o-gap-1: 4px; - /** - * @name 间距2 - * @type gap - * @group gap - * @description 用于组件之间的间距2 - */ - --o-gap-2: 8px; - /** - * @name 间距3 - * @type gap - * @group gap - * @description 用于组件之间的间距3 - */ - --o-gap-3: 12px; - /** - * @name 间距4 - * @type gap - * @group gap - * @description 用于组件之间的间距4 - */ - --o-gap-4: 16px; - /** - * @name 间距5 - * @type gap - * @group gap - * @description 用于组件之间的间距5 - */ - --o-gap-5: 24px; - /** - * @name 间距6 - * @type gap - * @group gap - * @description 用于组件之间的间距6 - */ - --o-gap-6: 32px; - /** - * @name 间距7 - * @type gap - * @group gap - * @description 用于组件之间的间距7 - */ - --o-gap-7: 40px; - /** - * @name 间距8 - * @type gap - * @group gap - * @description 用于组件之间的间距8 - */ - --o-gap-8: 48px; - /** - * @name 间距9 - * @type gap - * @group gap - * @description 用于组件之间的间距9 - */ - --o-gap-9: 64px; - /** - * @name 间距10 - * @type gap - * @group gap - * @description 用于组件之间的间距10 - */ - --o-gap-10: 72px; - /** - * @name 超小尺寸 - * @type size - * @group control_size - * @description 超小尺寸 - */ - --o-control_size-2xs: 14px; - /** - * @name 小尺寸 - * @type size - * @group control_size - * @description 小尺寸 - */ - --o-control_size-xs: 16px; - /** - * @name 小尺寸 - * @type size - * @group control_size - * @description 小尺寸 - */ - --o-control_size-s: 24px; - /** - * @name 中尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-m: 32px; - /** - * @name 大尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-l: 40px; - /** - * @name 大尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-xl: 48px; - /** - * @name 大尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-2xl: 56px; - /** - * @name 超小尺寸图标 - * @type size - * @group icon_size - * @description 超小尺寸图标 - */ - --o-icon_size-xs: 16px; - /** - * @name 小尺寸图标 - * @type size - * @group icon_size - * @description 小尺寸图标 - */ - --o-icon_size-s: 20px; - /** - * @name 中尺寸图标 - * @type size - * @group icon_size - * @description 中尺寸图标 - */ - --o-icon_size-m: 24px; - /** - * @name 大尺寸图标 - * @type size - * @group icon_size - * @description 大尺寸图标 - */ - --o-icon_size-l: 32px; - /** - * @name 超大尺寸图标 - * @type size - * @group icon_size - * @description 超大尺寸图标 - */ - --o-icon_size-xl: 40px; - /** - * @name 2xl尺寸图标 - * @type size - * @group icon_size - * @description 2xl尺寸图标 - */ - --o-icon_size-2xl: 48px; - /** - * @name 3xl尺寸图标 - * @type size - * @group icon_size - * @description 3xl尺寸图标 - */ - --o-icon_size-3xl: 56px; - /** - * @name 4xl尺寸图标 - * @type size - * @group icon_size - * @description 4xl尺寸图标 - */ - --o-icon_size-4xl: 64px; - /** - * @name 超小尺寸图标 - * @type size - * @group icon_size_control - * @description 超小尺寸控件图标(组件使用) - */ - --o-icon_size_control-xs: 16px; - /** - * @name 小尺寸图标 - * @type size - * @group icon_size_control - * @description 小尺寸控件图标(组件使用) - */ - --o-icon_size_control-s: 20px; - /** - * @name 中尺寸图标 - * @type size - * @group icon_size_control - * @description 中尺寸控件图标(组件使用) - */ - --o-icon_size_control-m: 24px; - /** - * @name 大尺寸图标 - * @type size - * @group icon_size_control - * @description 大尺寸控件图标(组件使用) - */ - --o-icon_size_control-l: 32px; - /** - * @name 超大尺寸图标 - * @type size - * @group icon_size_control - * @description 超大尺寸控件图标(组件使用) - */ - --o-icon_size_control-xl: 40px; - /** - * @name 一级数据展示 - * @type font - * @group font_size - * @description 一级数据展示 - */ - --o-font_size-display1: 56px; - /** - * @name 二级数据展示 - * @type font - * @group font_size - * @description 二级数据展示 - */ - --o-font_size-display2: 48px; - /** - * @name 三级数据展示 - * @type font - * @group font_size - * @description 三级数据展示 - */ - --o-font_size-display3: 40px; - /** - * @name 一级标题 - * @type font - * @group font_size - * @description 一级标题 - */ - --o-font_size-h1: 32px; - /** - * @name 二级标题 - * @type font - * @group font_size - * @description 二级标题 - */ - --o-font_size-h2: 24px; - /** - * @name 三级标题 - * @type font - * @group font_size - * @description 三级标题 - */ - --o-font_size-h3: 22px; - /** - * @name 四级标题 - * @type font - * @group font_size - * @description 四级标题 - */ - --o-font_size-h4: 20px; - /** - * @name 常规正文 - * @type font - * @group font_size - * @description 常规正文 - */ - --o-font_size-text1: 16px; - /** - * @name 大号正文 - * @type font - * @group font_size - * @description 大号正文 - */ - --o-font_size-text2: 18px; - /** - * @name 提示文本1 - * @type font - * @group font_size - * @description 提示文本1 - */ - --o-font_size-tip1: 14px; - /** - * @name 提示文本2 - * @type font - * @group font_size - * @description 提示文本2 - */ - --o-font_size-tip2: 12px; - /** - * @name 一级数据展示 - * @type font - * @group line_height - * @description 一级数据展示 - */ - --o-line_height-display1: 80px; - /** - * @name 二级数据展示 - * @type font - * @group line_height - * @description 二级数据展示 - */ - --o-line_height-display2: 64px; - /** - * @name 三级数据展示 - * @type font - * @group line_height - * @description 三级数据展示 - */ - --o-line_height-display3: 56px; - /** - * @name 一级标题 - * @type font - * @group line_height - * @description 一级标题 - */ - --o-line_height-h1: 44px; - /** - * @name 二级标题 - * @type font - * @group line_height - * @description 二级标题 - */ - --o-line_height-h2: 32px; - /** - * @name 三级标题 - * @type font - * @group line_height - * @description 三级标题 - */ - --o-line_height-h3: 30px; - /** - * @name 四级标题 - * @type font - * @group line_height - * @description 四级标题 - */ - --o-line_height-h4: 28px; - /** - * @name 正文 - * @type font - * @group line_height - * @description 正文 - */ - --o-line_height-text1: 24px; - /** - * @name 正文-大 - * @type font - * @group line_height - * @description 正文-大 - */ - --o-line_height-text2: 26px; - /** - * @name 提示文本1 - * @type font - * @group line_height - * @description 提示文本1 - */ - --o-line_height-tip1: 22px; - /** - * @name 提示文本2 - * @type font - * @group line_height - * @description 提示文本2 - */ - --o-line_height-tip2: 18px; - /** - * @name 超小尺寸圆角 - * @type size - * @group radius - * @description 超小尺寸圆角 - */ - --o-radius-xs: 4px; - /** - * @name 小尺寸圆角 - * @type size - * @group radius - * @description 小尺寸圆角 - */ - --o-radius-s: 8px; - /** - * @name 中尺寸圆角 - * @type size - * @group radius - * @description 中尺寸圆角 - */ - --o-radius-m: 12px; - /** - * @name 大尺寸圆角 - * @type size - * @group radius - * @description 大尺寸圆角 - */ - --o-radius-l: 16px; - /** - * @name 大尺寸圆角 - * @type size - * @group radius - * @description 大尺寸圆角,一般用于卡片 - */ - --o-radius-xl: 24px; - /** - * @name 超小尺寸控件圆角 - * @type size - * @group radius_control - * @description 超小尺寸控件圆角(组件使用) - */ - --o-radius_control-xs: 4px; - /** - * @name 小尺寸控件圆角 - * @type size - * @group radius_control - * @description 小尺寸控件圆角(组件使用) - */ - --o-radius_control-s: 8px; - /** - * @name 中尺寸控件圆角 - * @type size - * @group radius_control - * @description 中尺寸控件圆角(组件使用) - */ - --o-radius_control-m: 12px; - /** - * @name 大尺寸控件圆角 - * @type size - * @group radius_control - * @description 大尺寸控件圆角(组件使用) - */ - --o-radius_control-l: 16px; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于退出屏幕的动画 - */ - --o-duration-s: 200ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为standard-in时进入屏幕的动画 - */ - --o-duration-m1: 250ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为standard时开始、结束的动画 - */ - --o-duration-m2: 300ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为emphasized-in时进入屏幕的动画 - */ - --o-duration-m3: 400ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为emphasized时开始、结束的动画 - */ - --o-duration-l: 500ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为emphasized时,轮播切换动画 - */ - --o-duration-xl: 1000ms; - /** - * @name 线性动画曲线 - * @type animation - * @group easing - * @description 线性曲线 - */ - --o-easing-linear: cubic-bezier(0, 0, 1, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于组件 - */ - --o-easing-standard: cubic-bezier(0.2, 0, 0, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于组件 - */ - --o-easing-standard-in: cubic-bezier(0, 0, 0, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于组件 - */ - --o-easing-standard-out: cubic-bezier(0.3, 0, 1, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于大卡片、场景切换 - */ - --o-easing-emphasized: cubic-bezier(0.2, 0, 0, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于大卡片、场景切换 - */ - --o-easing-emphasized-in: cubic-bezier(0.3, 0, 0.8, 0.15); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于大卡片、场景切换 - */ - --o-easing-emphasized-out: cubic-bezier(0.05, 0.7, 0.1, 1); -} \ No newline at end of file diff --git a/packages/portal-ak/src/ak/theme/a.media.token.scss b/packages/portal-ak/src/ak/theme/a.media.token.scss deleted file mode 100644 index 006ee573729f0f28f72e9670f16bf9d620543745..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/a.media.token.scss +++ /dev/null @@ -1,34 +0,0 @@ -@use './mixin.scss' as *; - -[data-o-theme='a.light'], -[data-o-theme='a.dark'] { - @include respond-to('laptop') { - /** - * @name 中尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-m: 28px; - /** - * @name 大尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-l: 36px; - } -} - -[data-o-theme='a.light'], -[data-o-theme='a.dark'] { - @include respond-to('<=pad') { - /** - * @name 中尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-m: 28px; - } -} diff --git a/packages/portal-ak/src/ak/theme/badge.scss b/packages/portal-ak/src/ak/theme/badge.scss deleted file mode 100644 index 1e206277843dfbc06da8fbadbcae3cf2de884daf..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/badge.scss +++ /dev/null @@ -1,3 +0,0 @@ -.o-badge-primary { - --badge-bg-color: rgb(var(--o-red-huawei)); -} diff --git a/packages/portal-ak/src/ak/theme/base.scss b/packages/portal-ak/src/ak/theme/base.scss deleted file mode 100644 index b8c92d4d46cce7b01b09c1e0ae4e86d5a2a11455..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/base.scss +++ /dev/null @@ -1,22 +0,0 @@ -[class^='c-'], -[class*=' c-'] { - box-sizing: border-box; -} - -[data-o-theme='a.light'] { - --ak-color-band-start: 46, 83, 250; - --ak-color-band-end: 123, 37, 244; -} -[data-o-theme='a.dark'] { - --ak-color-band-start: 84, 120, 251; - --ak-color-band-end: 152, 74, 246; -} - -[data-o-theme='k.light'] { - --ak-color-band-start: 255, 153, 51; - --ak-color-band-end: 247, 77, 97; -} -[data-o-theme='k.dark'] { - --ak-color-band-start: 255, 153, 51; - --ak-color-band-end: 247, 77, 97; -} diff --git a/packages/portal-ak/src/ak/theme/button.scss b/packages/portal-ak/src/ak/theme/button.scss deleted file mode 100644 index d8477354e604d3099bf757ed42b782390cce35da..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/button.scss +++ /dev/null @@ -1,48 +0,0 @@ -@use './mixin.scss' as *; - -.o-btn.o-btn-solid { - --btn-color: var(--o-color-info1-inverse); - --btn-color-hover: var(--o-color-info1-inverse); - --btn-color-active: var(--o-color-info1-inverse); - --btn-color-disabled: var(--o-color-info1-inverse); -} - -.o-btn-outline.o-btn-primary:not(.o-btn-disabled) { - --btn-color: var(--o-color-info1); - --btn-color-hover: var(--o-color-info1-inverse); - --btn-color-active: var(--o-color-info1-inverse); - --btn-bg-color-hover: var(--o-color-primary2); - --btn-bg-color-active: var(--o-color-primary3); - @include hover { - background-color: var(--btn-bg-color-hover); - } - - &:active { - background-color: var(--btn-bg-color-active); - } -} - -.c-btn-activity, -.c-btn-kunpeng, -.c-btn-ascend { - color: var(--o-color-white) !important; - background: linear-gradient(90deg, rgb(var(--ak-color-band-start)) 0%, rgb(var(--ak-color-band-end)) 100%); - border-color: transparent; - background-repeat: no-repeat; - border: none; - @include hover { - background: linear-gradient(90deg, rgba(var(--ak-color-band-start), 0.8) 0%, rgba(var(--ak-color-band-end), 0.8) 100%); - border-color: transparent; - border: none; - } - &:active { - background: linear-gradient(90deg, rgba(var(--ak-color-band-start), 0.9) 0%, rgba(var(--ak-color-band-end), 0.9) 100%); - border-color: transparent; - border: none; - } - &.o-btn-disabled { - opacity: 0.4; - background: linear-gradient(90deg, rgb(var(--ak-color-band-start)) 0%, rgb(var(--ak-color-band-end)) 100%); - border: none; - } -} diff --git a/packages/portal-ak/src/ak/theme/card.a.scss b/packages/portal-ak/src/ak/theme/card.a.scss deleted file mode 100644 index 92f9b9bc794405f4f238d44bdf1b3086a49336ce..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/card.a.scss +++ /dev/null @@ -1,52 +0,0 @@ -@use './mixin.scss' as *; - -.o-card-detail-limited { - --card-detail-mask-bg-color: var(--o-color-control-light); - --card-detail-mask-width: 4em; - --card-detail-mask-heigt: var(--card-content-text-height); - - position: relative; - display: block; - text-overflow: clip; - - &::after { - background-image: linear-gradient(90deg, hsla(0, 0%, 93%, 0), hsla(0, 0%, 100%, 0.8) 59%, var(--card-detail-mask-bg-color) 100%); - bottom: 0; - content: ''; - pointer-events: none; - position: absolute; - right: 0; - width: var(--card-detail-mask-width); - height: var(--card-content-text-height); - } -} - -@include hoverable { - .c-card-ascend-hover { - position: relative; - } - - .c-card-ascend-hover:before { - background-image: linear-gradient(269deg, #e0f4f5, #e5f3f9 24%, #bac2ea 58%, #d0b4e5 97%); - content: ''; - height: 100%; - left: 0; - -webkit-mask-image: linear-gradient(180deg, #fff, hsla(0, 0%, 100%, 0.34) 22%, hsla(0, 0%, 100%, 0) 61%); - mask-image: linear-gradient(180deg, #fff, hsla(0, 0%, 100%, 0.34) 22%, hsla(0, 0%, 100%, 0) 61%); - opacity: 0; - position: absolute; - top: 0; - transition: opacity 0.3s; - width: 100%; - z-index: 0; - } - - .c-card-ascend-hover > * { - position: relative; - z-index: 1; - } - - .c-card-ascend-hover:hover:before { - opacity: 1; - } -} diff --git a/packages/portal-ak/src/ak/theme/card.k.scss b/packages/portal-ak/src/ak/theme/card.k.scss deleted file mode 100644 index 48fe33f54917f7e9ac88ab0149857b0959d04868..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/card.k.scss +++ /dev/null @@ -1,137 +0,0 @@ -@use './mixin.scss' as *; - -.o-card-detail-limited { - --card-detail-mask-bg-color: var(--o-color-control-light); - --card-detail-mask-width: 4em; - --card-detail-mask-heigt: var(--card-content-text-height); - - position: relative; - display: block; - text-overflow: clip; - - &::after { - background-image: linear-gradient(90deg, hsla(0, 0%, 93%, 0), hsla(0, 0%, 100%, 0.8) 59%, var(--card-detail-mask-bg-color) 100%); - bottom: 0; - content: ''; - pointer-events: none; - position: absolute; - right: 0; - width: var(--card-detail-mask-width); - height: var(--card-content-text-height); - } -} - -.c-card-kunpeng { - &.o-card { - --card-shadow: none; - --card-shadow-hover: none; - --card-shadow-active: none; - --card-radius: var(--o-radius-xl); - --card-cover-radius: var(--o-radius-xl) !important; - --card-icon-size: 48px; - } - - .o-card-cover-v, - .o-card-cover-h, - .o-card-cover-hr { - --card-cover-padding: 0 !important; - } - - &.o-card-hoverable { - .o-card-icon { - transition: color var(--o-duration-s) var(--o-easing-standard); - } - @include hover { - .o-card-icon { - color: rgb(var(--o-red-huawei)); - } - } - } - - &.o-card-hoverable.o-card-cursor-pointer { - .o-card-title { - transition: color var(--o-duration-s) var(--o-easing-standard); - } - @include hover { - .o-card-title { - color: rgb(var(--o-red-huawei)); - } - } - } -} - -@include respond-to('pad_h') { - .c-card-kunpeng { - &.o-card { - &:not(.o-card-no-responsive) { - --card-icon-size: var(--o-icon_size_control-xl); - } - } - } -} - -@include respond-to('pad_v') { - .c-card-kunpeng { - &.o-card { - &:not(.o-card-no-responsive) { - --card-icon-size: var(--o-icon_size_control-l); - } - } - } -} - -@include respond-to('phone') { - .c-card-kunpeng { - &.o-card { - --card-icon-size: var(--o-icon_size_control-l); - - .o-card-cover-v { - .o-card-cover-img { - border-top-left-radius: var(--card-cover-radius); - border-top-right-radius: var(--card-cover-radius); - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; - - img { - border-top-left-radius: var(--card-cover-radius); - border-top-right-radius: var(--card-cover-radius); - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; - } - } - } - - .o-card-cover-h { - .o-card-cover-img { - border-top-left-radius: var(--card-cover-radius); - border-top-right-radius: 0; - border-bottom-left-radius: var(--card-cover-radius); - border-bottom-right-radius: 0; - - img { - border-top-left-radius: var(--card-cover-radius); - border-top-right-radius: 0; - border-bottom-left-radius: var(--card-cover-radius); - border-bottom-right-radius: 0; - } - } - } - - .o-card-cover-hr { - .o-card-cover-img { - border-top-left-radius: 0; - border-top-right-radius: var(--card-cover-radius); - border-bottom-left-radius: 0; - border-bottom-right-radius: var(--card-cover-radius); - - img { - border-top-left-radius: 0; - border-top-right-radius: var(--card-cover-radius); - border-bottom-left-radius: 0; - border-bottom-right-radius: var(--card-cover-radius); - } - } - } - } - } -} diff --git a/packages/portal-ak/src/ak/theme/carousel.scss b/packages/portal-ak/src/ak/theme/carousel.scss deleted file mode 100644 index 16e3b962950590d751ff5dc4896e4541902698d2..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/carousel.scss +++ /dev/null @@ -1,17 +0,0 @@ -@use './mixin.scss' as *; - -.o-carousel { - --carousel-indicator-bg-color-selected: var(--o-color-info1); -} - -@include respond-to('<=pad') { - .o-carousel.carousel-floor { - --carousel-indicator-width: 24px; - } -} - -@include respond-to('phone') { - .o-carousel.carousel-floor { - --carousel-indicator-width: 16px; - } -} diff --git a/packages/portal-ak/src/ak/theme/cascader.scss b/packages/portal-ak/src/ak/theme/cascader.scss deleted file mode 100644 index d555c4b0296784a1bccf4a5f6c83b13a27b63292..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/cascader.scss +++ /dev/null @@ -1,3 +0,0 @@ -.o-cascader-option { - --cascader-option-color-hover: var(--o-color-info2); -} diff --git a/packages/portal-ak/src/ak/theme/checkbox.scss b/packages/portal-ak/src/ak/theme/checkbox.scss deleted file mode 100644 index 0b98e32799ae444bbeb034cb6a326fff7d27b9eb..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/checkbox.scss +++ /dev/null @@ -1,10 +0,0 @@ -.o-checkbox { - --checkbox-input-bd-color-hover: var(--o-color-control2); - --checkbox-input-bd-color-active: var(--o-color-control3); -} - -[data-o-theme*='dark'] { - .o-checkbox { - --checkbox-input-icon-color: var(--o-color-control1-light); - } -} diff --git a/packages/portal-ak/src/ak/theme/dialog.scss b/packages/portal-ak/src/ak/theme/dialog.scss deleted file mode 100644 index b5e5cee73089353935be75e8f328608627f345c1..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/dialog.scss +++ /dev/null @@ -1,45 +0,0 @@ -@use './mixin.scss' as *; - -.c-dlg-action-end { - display: flex; - - justify-content: flex-end; - > * + * { - margin-left: 8px; - } -} - -.c-dlg-action-center { - display: flex; - - justify-content: center; - > * + * { - margin-left: 8px; - } -} - -.c-dlg-operation { - --layer-align: center !important; - --dlg-body-padding: 0 !important; - --dlg-margin: 40px; - --dlg-min-height: 320px; - --dlg-max-height: 468px; - .o-dlg-btn-close { - right: 50%; - transform: translateX(50%); - top: calc(100% + 16px); - border: 1px solid var(--o-color-info1-inverse); - border-radius: 50%; - font-size: var(--o-icon_size_control-xs); - color: var(--o-color-info1-inverse); - padding: 4px; - display: flex; - } -} - -.o-dlg-body { - @include respond-to('<=laptop') { - font-size: var(--o-font_size-tip1); - line-height: var(--o-line_height-tip1); - } -} diff --git a/packages/portal-ak/src/ak/theme/dropdown.scss b/packages/portal-ak/src/ak/theme/dropdown.scss deleted file mode 100644 index a6515b03b2ae20992b37d0e489fc6daa5869a808..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/dropdown.scss +++ /dev/null @@ -1,3 +0,0 @@ -.o-dropdown-item { - --dropdown-item-color-hover: var(--o-color-info2); -} diff --git a/packages/portal-ak/src/ak/theme/figure.scss b/packages/portal-ak/src/ak/theme/figure.scss deleted file mode 100644 index 2162e0ce9f4a2df2416348f9c8d4d9c2010d33d1..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/figure.scss +++ /dev/null @@ -1 +0,0 @@ -@use './mixin.scss' as *; diff --git a/packages/portal-ak/src/ak/theme/icon.scss b/packages/portal-ak/src/ak/theme/icon.scss deleted file mode 100644 index 1799b04a2d743dcbcb957aab6623ca811495e584..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/icon.scss +++ /dev/null @@ -1,8 +0,0 @@ -.o-icon { - --icon-btn-color: var(--o-color-info2); - --icon-btn-color-hover: var(--o-color-info1); - --icon-btn-color-active: var(--o-color-info1); -} -.c-icon-large { - --icon-size: var(--o-icon_size_control-m); -} diff --git a/packages/portal-ak/src/ak/theme/index.a.scss b/packages/portal-ak/src/ak/theme/index.a.scss deleted file mode 100644 index cc558c06d21ad47e0382cb14dae366866e54663e..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/index.a.scss +++ /dev/null @@ -1,3 +0,0 @@ -@use './a.media.token.scss' as *; -@use './index.scss' as *; -@use './card.a.scss' as *; diff --git a/packages/portal-ak/src/ak/theme/index.k.scss b/packages/portal-ak/src/ak/theme/index.k.scss deleted file mode 100644 index d7a66bcbf43229b8c2ab2933d9c1349deeb03b18..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/index.k.scss +++ /dev/null @@ -1,3 +0,0 @@ -@use './k.media.token.scss' as *; -@use './index.scss' as *; -@use './card.k.scss' as *; diff --git a/packages/portal-ak/src/ak/theme/index.scss b/packages/portal-ak/src/ak/theme/index.scss deleted file mode 100644 index 7ecc11fbf8404f7442f37e51c8b7a9b13babafeb..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/index.scss +++ /dev/null @@ -1,29 +0,0 @@ -@use './base.scss' as *; -@use './icon.scss' as *; -@use './button.scss' as *; -@use './toggle.scss' as *; -@use './link.scss' as *; -@use './switch.scss' as *; -@use './radio.scss' as *; -@use './checkbox.scss' as *; -@use './input.scss' as *; -@use './progress.scss' as *; -@use './option.scss' as *; -@use './select.scss' as *; -@use './badge.scss' as *; -@use './message.scss' as *; -@use './dialog.scss' as *; -@use './rate.scss' as *; -@use './tag.scss' as *; -@use './textarea.scss' as *; -@use './upload.scss' as *; -@use './pagination.scss' as *; -@use './tab.scss' as *; -@use './figure.scss' as *; -@use './table.scss' as *; -@use './carousel.scss' as *; -@use './menu.scss' as *; -@use './loading.scss' as *; -@use './popover.scss' as *; -@use './cascader.scss' as *; -@use './dropdown.scss' as *; diff --git a/packages/portal-ak/src/ak/theme/input.scss b/packages/portal-ak/src/ak/theme/input.scss deleted file mode 100644 index 7b8705ec01842174f678cfc1b71143a277a65fa7..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/input.scss +++ /dev/null @@ -1,15 +0,0 @@ -@use './mixin.scss' as *; - -.o-input-normal { - --input-bd-color-hover: var(--o-color-control2); - --input-bd-color-focus: var(--o-color-control3); -} - -.c-input-verify-code { - color: var(--o-color-info4); - font-size: var(--o-font_size-tip1); - line-height: var(--o-line_height-tip1); - .c-code-loading { - color: var(--o-color-primary1); - } -} diff --git a/packages/portal-ak/src/ak/theme/k.dark.token.css b/packages/portal-ak/src/ak/theme/k.dark.token.css deleted file mode 100644 index 8e129fd9265058cec736e0c9a16c3505684f0e7d..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/k.dark.token.css +++ /dev/null @@ -1,1949 +0,0 @@ -/* theme: k.dark */ -[data-o-theme="k.dark"] { - /** - * @name - * @type palette - * @group white - * @description - */ - --o-white: 255, 255, 255; - /** - * @name - * @type palette - * @group black - * @description - */ - --o-black: 0, 0, 0; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-1: 0, 4, 77; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-2: 6, 15, 120; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-3: 20, 37, 163; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-4: 40, 65, 207; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-5: 66, 99, 250; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-6: 84, 120, 251; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-7: 122, 154, 252; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-8: 160, 186, 253; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-9: 199, 217, 254; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-10: 238, 244, 255; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-1: 0, 77, 42; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-2: 2, 102, 53; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-3: 10, 127, 66; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-4: 22, 152, 80; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-5: 36, 177, 95; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-6: 51, 193, 104; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-7: 90, 208, 131; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-8: 135, 224, 163; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-9: 185, 239, 200; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-10: 240, 255, 244; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-1: 77, 24, 0; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-2: 120, 42, 1; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-3: 163, 68, 8; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-4: 207, 97, 19; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-5: 250, 130, 33; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-6: 251, 143, 32; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-7: 252, 174, 91; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-8: 253, 202, 139; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-9: 254, 227, 188; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-10: 255, 248, 237; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-1: 77, 0, 17; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-2: 115, 3, 24; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-3: 153, 9, 31; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-4: 192, 17, 37; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-5: 230, 28, 43; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-6: 235, 35, 45; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-7: 240, 82, 85; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-8: 245, 132, 130; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-9: 250, 183, 180; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-10: 255, 234, 232; - /** - * @name - * @type palette - * @group huaweired - * @description - */ - --o-red-huawei: 199, 0, 11; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-1: 0, 0, 0; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-2: 18, 18, 20; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-3: 26, 26, 28; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-4: 36, 36, 39; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-5: 43, 43, 47; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-6: 53, 53, 57; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-7: 63, 63, 67; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-8: 85, 85, 88; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-9: 118, 118, 122; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-10: 156, 156, 159; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-11: 181, 181, 185; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-12: 208, 208, 210; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-13: 235, 235, 238; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-14: 255, 255, 255; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-1: 0, 0, 0; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-2: 16, 28, 20; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-3: 23, 25, 28; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-4: 33, 35, 39; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-5: 40, 42, 47; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-6: 50, 53, 57; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-7: 61, 63, 67; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-8: 80, 84, 88; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-9: 113, 117, 122; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-10: 147, 152, 159; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-11: 172, 177, 185; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-12: 198, 202, 210; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-13: 231, 234, 238; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-14: 255, 255, 255; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-1: 77, 54, 0; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-2: 119, 87, 2; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-3: 161, 126, 11; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-4: 203, 167, 24; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-5: 245, 211, 42; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-6: 247, 222, 54; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-7: 249, 234, 100; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-8: 251, 244, 146; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-9: 253, 251, 192; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-10: 255, 255, 240; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-1: 41, 77, 0; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-2: 63, 109, 3; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-3: 91, 142, 14; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-4: 121, 174, 30; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-5: 155, 207, 50; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-6: 172, 217, 68; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-7: 194, 226, 104; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-8: 214, 236, 144; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-9: 233, 245, 186; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-10: 251, 255, 232; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-1: 0, 73, 77; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-2: 2, 101, 103; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-3: 9, 129, 127; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-4: 18, 155, 148; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-5: 30, 181, 167; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-6: 42, 196, 178; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-7: 84, 211, 192; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-8: 130, 255, 208; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-9: 182, 240, 227; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-10: 239, 255, 251; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-1: 0, 34, 77; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-2: 1, 57, 117; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-3: 8, 86, 158; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-4: 18, 118, 199; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-5: 31, 153, 240; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-6: 42, 166, 243; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-7: 89, 191, 246; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-8: 137, 214, 249; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-9: 187, 233, 252; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-10: 237, 250, 255; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-1: 22, 0, 77; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-2: 40, 3, 118; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-3: 66, 15, 160; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-4: 98, 33, 202; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-5: 134, 57, 244; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-6: 152, 74, 246; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-7: 179, 114, 248; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-8: 205, 156, 251; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-9: 228, 198, 253; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-10: 249, 240, 255; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-1: 61, 0, 77; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-2: 93, 5, 110; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-3: 127, 16, 144; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-4: 164, 33, 178; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-5: 200, 54, 212; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-6: 216, 72, 221; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-7: 229, 109, 229; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-8: 238, 149, 235; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-9: 246, 191, 243; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-10: 255, 236, 253; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-1: 77, 0, 48; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-2: 114, 3, 70; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-3: 151, 12, 91; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-4: 189, 25, 112; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-5: 226, 41, 133; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-6: 232, 53, 137; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-7: 238, 97, 158; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-8: 243, 143, 183; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-9: 249, 192, 213; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-10: 255, 242, 247; - /** - * @name - * @type color - * @group base - * @description - */ - --o-color-white: rgb(var(--o-white)); - /** - * @name - * @type color - * @group base - * @description - */ - --o-color-black: rgb(var(--o-black)); - /** - * @name - * @type color - * @group primary - * @description 常规 - */ - --o-color-primary1: rgb(var(--o-gray-14)); - /** - * @name - * @type color - * @group primary - * @description 悬浮 - */ - --o-color-primary2: rgb(var(--o-gray-13)); - /** - * @name - * @type color - * @group primary - * @description 激活 - */ - --o-color-primary3: rgb(var(--o-gray-12)); - /** - * @name - * @type color - * @group primary - * @description 禁用 - */ - --o-color-primary4: rgb(var(--o-gray-8)); - /** - * @name - * @type color - * @group primary - * @description 常规-浅 - */ - --o-color-primary1-light: rgb(var(--o-gray-5)); - /** - * @name - * @type color - * @group primary - * @description 悬浮-浅 - */ - --o-color-primary2-light: rgb(var(--o-gray-6)); - /** - * @name - * @type color - * @group primary - * @description 激活-浅 - */ - --o-color-primary3-light: rgb(var(--o-gray-7)); - /** - * @name - * @type color - * @group primary - * @description 禁用-浅 - */ - --o-color-primary4-light: rgb(var(--o-gray-6)); - /** - * @name - * @type color - * @group success - * @description 常规 - */ - --o-color-success1: rgb(var(--o-green-6)); - /** - * @name - * @type color - * @group success - * @description 悬浮 - */ - --o-color-success2: rgb(var(--o-green-4)); - /** - * @name - * @type color - * @group success - * @description 激活 - */ - --o-color-success3: rgb(var(--o-green-7)); - /** - * @name - * @type color - * @group success - * @description 禁用 - */ - --o-color-success4: rgb(var(--o-green-3)); - /** - * @name - * @type color - * @group success - * @description 常规-浅 - */ - --o-color-success1-light: rgb(var(--o-green-2)); - /** - * @name - * @type color - * @group success - * @description 悬浮-浅 - */ - --o-color-success2-light: rgb(var(--o-green-3)); - /** - * @name - * @type color - * @group success - * @description 激活-浅 - */ - --o-color-success3-light: rgb(var(--o-green-4)); - /** - * @name - * @type color - * @group success - * @description 禁用-浅 - */ - --o-color-success4-light: rgb(var(--o-green-1)); - /** - * @name - * @type color - * @group warning - * @description 常规 - */ - --o-color-warning1: rgb(var(--o-orange-6)); - /** - * @name - * @type color - * @group warning - * @description 悬浮 - */ - --o-color-warning2: rgb(var(--o-orange-4)); - /** - * @name - * @type color - * @group warning - * @description 激活 - */ - --o-color-warning3: rgb(var(--o-orange-7)); - /** - * @name - * @type color - * @group warning - * @description 禁用 - */ - --o-color-warning4: rgb(var(--o-orange-3)); - /** - * @name - * @type color - * @group warning - * @description 常规-浅 - */ - --o-color-warning1-light: rgb(var(--o-orange-2)); - /** - * @name - * @type color - * @group warning - * @description 悬浮-浅 - */ - --o-color-warning2-light: rgb(var(--o-orange-3)); - /** - * @name - * @type color - * @group warning - * @description 激活-浅 - */ - --o-color-warning3-light: rgb(var(--o-orange-4)); - /** - * @name - * @type color - * @group warning - * @description 禁用-浅 - */ - --o-color-warning4-light: rgb(var(--o-orange-1)); - /** - * @name - * @type color - * @group danger - * @description 常规 - */ - --o-color-danger1: rgb(var(--o-red-6)); - /** - * @name - * @type color - * @group danger - * @description 悬浮 - */ - --o-color-danger2: rgb(var(--o-red-4)); - /** - * @name - * @type color - * @group danger - * @description 激活 - */ - --o-color-danger3: rgb(var(--o-red-7)); - /** - * @name - * @type color - * @group danger - * @description 禁用 - */ - --o-color-danger4: rgb(var(--o-red-3)); - /** - * @name - * @type color - * @group danger - * @description 常规-浅 - */ - --o-color-danger1-light: rgb(var(--o-red-2)); - /** - * @name - * @type color - * @group danger - * @description 悬浮-浅 - */ - --o-color-danger2-light: rgb(var(--o-red-3)); - /** - * @name - * @type color - * @group danger - * @description 激活-浅 - */ - --o-color-danger3-light: rgb(var(--o-red-4)); - /** - * @name - * @type color - * @group danger - * @description 禁用-浅 - */ - --o-color-danger4-light: rgb(var(--o-red-1)); - /** - * @name - * @type color - * @group fill - * @description 一级填充:页面背景 - */ - --o-color-fill1: rgb(var(--o-gray-3)); - /** - * @name - * @type color - * @group fill - * @description 二级填充:区块、卡片 - */ - --o-color-fill2: rgb(var(--o-gray-4)); - /** - * @name - * @type color - * @group fill - * @description 三级填充:卡片 - */ - --o-color-fill3: rgb(var(--o-gray-5)); - /** - * @name - * @type color - * @group control - * @description 常规,常用于边框 - */ - --o-color-control1: rgba(var(--o-gray-14), 0.25); - /** - * @name - * @type color - * @group control - * @description 悬浮,常用于边框 - */ - --o-color-control2: rgba(var(--o-gray-14), 0.6); - /** - * @name - * @type color - * @group control - * @description 激活,常用于边框 - */ - --o-color-control3: rgba(var(--o-gray-14), 0.8); - /** - * @name - * @type color - * @group control - * @description 禁用,常用于边框 - */ - --o-color-control4: rgba(var(--o-gray-14), 0.15); - /** - * @name - * @type color - * @group control - * @description 常规-浅,常用于背景 - */ - --o-color-control1-light: rgb(var(--o-gray-7)); - /** - * @name - * @type color - * @group control - * @description 悬浮-浅,常用于背景 - */ - --o-color-control2-light: rgb(var(--o-gray-5)); - /** - * @name - * @type color - * @group control - * @description 激活-浅,常用于背景 - */ - --o-color-control3-light: rgb(var(--o-gray-6)); - /** - * @name - * @type color - * @group control - * @description 禁用,常用于背景 - */ - --o-color-control4-light: rgb(var(--o-gray-5)); - /** - * @name - * @type color - * @group control - * @description 很浅,常用于表格背景色 - */ - --o-color-control-light: rgb(var(--o-gray-4)); - /** - * @name - * @type color - * @group info - * @description 一级/强调/标题 - */ - --o-color-info1: rgba(var(--o-gray-14), 1.0); - /** - * @name - * @type color - * @group info - * @description 二级/次强调/正文 - */ - --o-color-info2: rgba(var(--o-gray-14), 0.8); - /** - * @name - * @type color - * @group info - * @description 三级/辅助信息 - */ - --o-color-info3: rgba(var(--o-gray-14), 0.6); - /** - * @name - * @type color - * @group info - * @description 置灰/禁用 - */ - --o-color-info4: rgba(var(--o-gray-14), 0.4); - /** - * @name - * @type color - * @group info - * @description 一级/次强调/正文反色 - */ - --o-color-info1-inverse: rgba(var(--o-gray-1), 1.0); - /** - * @name - * @type color - * @group info - * @description 二级/辅助信息反色 - */ - --o-color-info2-inverse: rgba(var(--o-gray-1), 0.8); - /** - * @name - * @type color - * @group info - * @description 三级/辅助信息反色 - */ - --o-color-info3-inverse: rgba(var(--o-gray-1), 0.6); - /** - * @name - * @type color - * @group info - * @description 置灰/禁用反色 - */ - --o-color-info4-inverse: rgba(var(--o-gray-1), 0.4); - /** - * @name - * @type color - * @group mask - * @description 全局遮罩 - */ - --o-color-mask1: rgba(var(--o-gray-1), 0.4); - /** - * @name - * @type color - * @group mask - * @description 局部遮罩 - */ - --o-color-mask2: rgba(var(--o-gray-4), 0.2); - /** - * @name 阴影1 - * @type shadow - * @group shadow - * @description 用于卡片、小弹窗、楼层阴影 - */ - --o-shadow-1: 0 3px 8px rgba(var(--o-gray-1), 0.08); - /** - * @name 阴影2 - * @type shadow - * @group shadow - * @description 用于卡片悬浮阴影 - */ - --o-shadow-2: 0 2px 24px rgba(var(--o-gray-1), 0.15); - /** - * @name 阴影3 - * @type shadow - * @group shadow - * @description 用于提示阴影 - */ - --o-shadow-3: 0 8px 40px rgba(var(--o-gray-1), 0.1); - /** - * @name - * @type color - * @group link - * @description 常规 - */ - --o-color-link1: rgba(var(--o-deepblue-6), 1.0); - /** - * @name - * @type color - * @group link - * @description 悬浮 - */ - --o-color-link2: rgba(var(--o-deepblue-6), 0.7); - /** - * @name - * @type color - * @group link - * @description 激活 - */ - --o-color-link3: rgba(var(--o-deepblue-6), 0.9); - /** - * @name - * @type color - * @group link - * @description 禁用 - */ - --o-color-link4: rgba(var(--o-deepblue-6), 0.4); - /** - * @name 间距1 - * @type gap - * @group gap - * @description 用于组件之间的间距1 - */ - --o-gap-1: 4px; - /** - * @name 间距2 - * @type gap - * @group gap - * @description 用于组件之间的间距2 - */ - --o-gap-2: 8px; - /** - * @name 间距3 - * @type gap - * @group gap - * @description 用于组件之间的间距3 - */ - --o-gap-3: 12px; - /** - * @name 间距4 - * @type gap - * @group gap - * @description 用于组件之间的间距4 - */ - --o-gap-4: 16px; - /** - * @name 间距5 - * @type gap - * @group gap - * @description 用于组件之间的间距5 - */ - --o-gap-5: 24px; - /** - * @name 间距6 - * @type gap - * @group gap - * @description 用于组件之间的间距6 - */ - --o-gap-6: 32px; - /** - * @name 间距7 - * @type gap - * @group gap - * @description 用于组件之间的间距7 - */ - --o-gap-7: 40px; - /** - * @name 间距8 - * @type gap - * @group gap - * @description 用于组件之间的间距8 - */ - --o-gap-8: 48px; - /** - * @name 间距9 - * @type gap - * @group gap - * @description 用于组件之间的间距9 - */ - --o-gap-9: 64px; - /** - * @name 间距10 - * @type gap - * @group gap - * @description 用于组件之间的间距10 - */ - --o-gap-10: 72px; - /** - * @name 超小尺寸 - * @type size - * @group control_size - * @description 超小尺寸 - */ - --o-control_size-2xs: 14px; - /** - * @name 小尺寸 - * @type size - * @group control_size - * @description 小尺寸 - */ - --o-control_size-xs: 16px; - /** - * @name 小尺寸 - * @type size - * @group control_size - * @description 小尺寸 - */ - --o-control_size-s: 24px; - /** - * @name 中尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-m: 32px; - /** - * @name 大尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-l: 40px; - /** - * @name 大尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-xl: 48px; - /** - * @name 大尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-2xl: 56px; - /** - * @name 超小尺寸图标 - * @type size - * @group icon_size - * @description 超小尺寸图标 - */ - --o-icon_size-xs: 16px; - /** - * @name 小尺寸图标 - * @type size - * @group icon_size - * @description 小尺寸图标 - */ - --o-icon_size-s: 20px; - /** - * @name 中尺寸图标 - * @type size - * @group icon_size - * @description 中尺寸图标 - */ - --o-icon_size-m: 24px; - /** - * @name 大尺寸图标 - * @type size - * @group icon_size - * @description 大尺寸图标 - */ - --o-icon_size-l: 32px; - /** - * @name 超大尺寸图标 - * @type size - * @group icon_size - * @description 超大尺寸图标 - */ - --o-icon_size-xl: 40px; - /** - * @name 2xl尺寸图标 - * @type size - * @group icon_size - * @description 2xl尺寸图标 - */ - --o-icon_size-2xl: 48px; - /** - * @name 3xl尺寸图标 - * @type size - * @group icon_size - * @description 3xl尺寸图标 - */ - --o-icon_size-3xl: 56px; - /** - * @name 4xl尺寸图标 - * @type size - * @group icon_size - * @description 4xl尺寸图标 - */ - --o-icon_size-4xl: 64px; - /** - * @name 超小尺寸图标 - * @type size - * @group icon_size_control - * @description 超小尺寸控件图标(组件使用) - */ - --o-icon_size_control-xs: 16px; - /** - * @name 小尺寸图标 - * @type size - * @group icon_size_control - * @description 小尺寸控件图标(组件使用) - */ - --o-icon_size_control-s: 20px; - /** - * @name 中尺寸图标 - * @type size - * @group icon_size_control - * @description 中尺寸控件图标(组件使用) - */ - --o-icon_size_control-m: 24px; - /** - * @name 大尺寸图标 - * @type size - * @group icon_size_control - * @description 大尺寸控件图标(组件使用) - */ - --o-icon_size_control-l: 32px; - /** - * @name 超大尺寸图标 - * @type size - * @group icon_size_control - * @description 超大尺寸控件图标(组件使用) - */ - --o-icon_size_control-xl: 40px; - /** - * @name 一级数据展示 - * @type font - * @group font_size - * @description 一级数据展示 - */ - --o-font_size-display1: 56px; - /** - * @name 二级数据展示 - * @type font - * @group font_size - * @description 二级数据展示 - */ - --o-font_size-display2: 48px; - /** - * @name 三级数据展示 - * @type font - * @group font_size - * @description 三级数据展示 - */ - --o-font_size-display3: 40px; - /** - * @name 一级标题 - * @type font - * @group font_size - * @description 一级标题 - */ - --o-font_size-h1: 32px; - /** - * @name 二级标题 - * @type font - * @group font_size - * @description 二级标题 - */ - --o-font_size-h2: 24px; - /** - * @name 三级标题 - * @type font - * @group font_size - * @description 三级标题 - */ - --o-font_size-h3: 22px; - /** - * @name 四级标题 - * @type font - * @group font_size - * @description 四级标题 - */ - --o-font_size-h4: 20px; - /** - * @name 常规正文 - * @type font - * @group font_size - * @description 常规正文 - */ - --o-font_size-text1: 16px; - /** - * @name 大号正文 - * @type font - * @group font_size - * @description 大号正文 - */ - --o-font_size-text2: 18px; - /** - * @name 提示文本1 - * @type font - * @group font_size - * @description 提示文本1 - */ - --o-font_size-tip1: 14px; - /** - * @name 提示文本2 - * @type font - * @group font_size - * @description 提示文本2 - */ - --o-font_size-tip2: 12px; - /** - * @name 一级数据展示 - * @type font - * @group line_height - * @description 一级数据展示 - */ - --o-line_height-display1: 80px; - /** - * @name 二级数据展示 - * @type font - * @group line_height - * @description 二级数据展示 - */ - --o-line_height-display2: 64px; - /** - * @name 三级数据展示 - * @type font - * @group line_height - * @description 三级数据展示 - */ - --o-line_height-display3: 56px; - /** - * @name 一级标题 - * @type font - * @group line_height - * @description 一级标题 - */ - --o-line_height-h1: 44px; - /** - * @name 二级标题 - * @type font - * @group line_height - * @description 二级标题 - */ - --o-line_height-h2: 32px; - /** - * @name 三级标题 - * @type font - * @group line_height - * @description 三级标题 - */ - --o-line_height-h3: 30px; - /** - * @name 四级标题 - * @type font - * @group line_height - * @description 四级标题 - */ - --o-line_height-h4: 28px; - /** - * @name 正文 - * @type font - * @group line_height - * @description 正文 - */ - --o-line_height-text1: 24px; - /** - * @name 正文-大 - * @type font - * @group line_height - * @description 正文-大 - */ - --o-line_height-text2: 26x; - /** - * @name 提示文本1 - * @type font - * @group line_height - * @description 提示文本1 - */ - --o-line_height-tip1: 22px; - /** - * @name 提示文本2 - * @type font - * @group line_height - * @description 提示文本2 - */ - --o-line_height-tip2: 18px; - /** - * @name 超小尺寸圆角 - * @type size - * @group radius - * @description 超小尺寸圆角 - */ - --o-radius-xs: 4px; - /** - * @name 小尺寸圆角 - * @type size - * @group radius - * @description 小尺寸圆角 - */ - --o-radius-s: 4px; - /** - * @name 中尺寸圆角 - * @type size - * @group radius - * @description 中尺寸圆角 - */ - --o-radius-m: 4px; - /** - * @name 大尺寸圆角 - * @type size - * @group radius - * @description 大尺寸圆角 - */ - --o-radius-l: 4px; - /** - * @name 大尺寸圆角 - * @type size - * @group radius - * @description 大尺寸圆角,一般用于卡片 - */ - --o-radius-xl: 0px; - /** - * @name 超小尺寸控件圆角 - * @type size - * @group radius_control - * @description 超小尺寸控件圆角(组件使用) - */ - --o-radius_control-xs: 4px; - /** - * @name 小尺寸控件圆角 - * @type size - * @group radius_control - * @description 小尺寸控件圆角(组件使用) - */ - --o-radius_control-s: 4px; - /** - * @name 中尺寸控件圆角 - * @type size - * @group radius_control - * @description 中尺寸控件圆角(组件使用) - */ - --o-radius_control-m: 4px; - /** - * @name 大尺寸控件圆角 - * @type size - * @group radius_control - * @description 大尺寸控件圆角(组件使用) - */ - --o-radius_control-l: 4px; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于退出屏幕的动画 - */ - --o-duration-s: 200ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为standard-in时进入屏幕的动画 - */ - --o-duration-m1: 250ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为standard时开始、结束的动画 - */ - --o-duration-m2: 300ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为emphasized-in时进入屏幕的动画 - */ - --o-duration-m3: 400ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为emphasized时开始、结束的动画 - */ - --o-duration-l: 500ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为emphasized时,轮播切换动画 - */ - --o-duration-xl: 1000ms; - /** - * @name 线性动画曲线 - * @type animation - * @group easing - * @description 线性曲线 - */ - --o-easing-linear: cubic-bezier(0, 0, 1, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于组件 - */ - --o-easing-standard: cubic-bezier(0.2, 0, 0, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于组件 - */ - --o-easing-standard-in: cubic-bezier(0, 0, 0, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于组件 - */ - --o-easing-standard-out: cubic-bezier(0.3, 0, 1, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于大卡片、场景切换 - */ - --o-easing-emphasized: cubic-bezier(0.2, 0, 0, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于大卡片、场景切换 - */ - --o-easing-emphasized-in: cubic-bezier(0.3, 0, 0.8, 0.15); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于大卡片、场景切换 - */ - --o-easing-emphasized-out: cubic-bezier(0.05, 0.7, 0.1, 1); -} \ No newline at end of file diff --git a/packages/portal-ak/src/ak/theme/k.light.token.css b/packages/portal-ak/src/ak/theme/k.light.token.css deleted file mode 100644 index e711209c5b13dc1a1b1879a0e8324843a825b21e..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/k.light.token.css +++ /dev/null @@ -1,1949 +0,0 @@ -/* theme: k.light */ -[data-o-theme="k.light"] { - /** - * @name - * @type palette - * @group white - * @description - */ - --o-white: 255, 255, 255; - /** - * @name - * @type palette - * @group black - * @description - */ - --o-black: 0, 0, 0; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-1: 232, 240, 255; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-2: 194, 213, 254; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-3: 157, 184, 253; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-4: 120, 153, 252; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-5: 83, 119, 251; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-6: 46, 83, 250; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-7: 29, 55, 207; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-8: 15, 32, 163; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-9: 6, 15, 120; - /** - * @name - * @type palette - * @group deepblue - * @description - */ - --o-deepblue-10: 0, 4, 47; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-1: 232, 255, 238; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-2: 177, 239, 195; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-3: 128, 224, 158; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-4: 84, 208, 127; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-5: 45, 193, 101; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-6: 11, 177, 81; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-7: 7, 152, 72; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-8: 4, 127, 63; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-9: 2, 102, 53; - /** - * @name - * @type palette - * @group green - * @description - */ - --o-green-10: 0, 77, 42; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-1: 255, 246, 232; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-2: 254, 226, 186; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-3: 253, 202, 140; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-4: 252, 176, 95; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-5: 251, 147, 50; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-6: 250, 115, 5; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-7: 207, 88, 3; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-8: 163, 64, 2; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-9: 120, 42, 1; - /** - * @name - * @type palette - * @group orange - * @description - */ - --o-orange-10: 77, 24, 0; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-1: 255, 234, 232; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-2: 250, 185, 182; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-3: 245, 136, 134; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-4: 240, 87, 90; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-5: 235, 43, 52; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-6: 230, 0, 18; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-7: 192, 0, 22; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-8: 153, 0, 23; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-9: 115, 0, 21; - /** - * @name - * @type palette - * @group red - * @description - */ - --o-red-10: 77, 0, 17; - /** - * @name - * @type palette - * @group huaweired - * @description - */ - --o-red-huawei: 199, 0, 11; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-1: 255, 255, 255; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-2: 243, 243, 245; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-3: 237, 237, 240; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-4: 232, 232, 235; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-5: 222, 222, 227; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-6: 212, 212, 217; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-7: 186, 186, 186; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-8: 149, 149, 156; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-9: 111, 111, 117; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-10: 85, 85, 92; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-11: 61, 61, 66; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-12: 37, 37, 41; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-13: 21, 21, 23; - /** - * @name - * @type palette - * @group gray - * @description - */ - --o-gray-14: 0, 0, 0; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-1: 255, 255, 255; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-2: 244, 245, 247; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-3: 237, 239, 242; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-4: 232, 234, 237; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-5: 224, 226, 230; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-6: 209, 214, 219; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-7: 179, 185, 191; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-8: 144, 150, 158; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-9: 104, 109, 117; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-10: 79, 84, 92; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-11: 55, 59, 66; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-12: 32, 35, 41; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-13: 18, 20, 23; - /** - * @name - * @type palette - * @group mixedgray - * @description - */ - --o-mixedgray-14: 0, 0, 0; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-1: 255, 255, 232; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-2: 253, 251, 185; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-3: 251, 244, 139; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-4: 249, 233, 94; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-5: 247, 221, 49; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-6: 245, 205, 5; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-7: 203, 163, 3; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-8: 161, 124, 2; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-9: 119, 87, 1; - /** - * @name - * @type palette - * @group yellow - * @description - */ - --o-yellow-10: 77, 54, 0; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-1: 251, 255, 232; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-2: 233, 245, 184; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-3: 213, 236, 139; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-4: 192, 226, 97; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-5: 169, 217, 59; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-6: 146, 207, 23; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-7: 116, 174, 15; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-8: 88, 142, 8; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-9: 63, 109, 3; - /** - * @name - * @type palette - * @group lime - * @description - */ - --o-lime-10: 41, 77, 0; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-1: 232, 255, 249; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-2: 176, 240, 226; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-3: 125, 225, 207; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-4: 79, 221, 191; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-5: 38, 196, 177; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-6: 3, 181, 165; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-7: 2, 155, 147; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-8: 1, 129, 127; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-9: 0, 101, 103; - /** - * @name - * @type palette - * @group cyan - * @description - */ - --o-cyan-10: 0, 73, 77; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-1: 232, 249, 255; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-2: 185, 233, 252; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-3: 138, 214, 249; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-4: 93, 192, 246; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-5: 48, 168, 243; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-6: 5, 142, 240; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-7: 3, 111, 199; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-8: 2, 83, 158; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-9: 1, 57, 117; - /** - * @name - * @type palette - * @group blue - * @description - */ - --o-blue-10: 0, 34, 77; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-1: 245, 232, 255; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-2: 225, 192, 253; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-3: 203, 152, 251; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-4: 178, 113, 248; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-5: 152, 75, 246; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-6: 123, 37, 244; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-7: 92, 23, 202; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-8: 64, 12, 160; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-9: 41, 4, 118; - /** - * @name - * @type palette - * @group purple - * @description - */ - --o-purple-10: 22, 0, 77; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-1: 255, 232, 253; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-2: 246, 188, 243; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-3: 238, 146, 235; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-4: 229, 107, 229; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-5: 216, 71, 221; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-6: 199, 37, 212; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-7: 163, 23, 178; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-8: 127, 13, 144; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-9: 93, 5, 110; - /** - * @name - * @type palette - * @group pink - * @description - */ - --o-pink-10: 61, 0, 77; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-1: 255, 232, 240; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-2: 249, 185, 209; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-3: 243, 141, 182; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-4: 238, 98, 158; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-5: 232, 57, 139; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-6: 226, 18, 122; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-7: 189, 11, 106; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-8: 151, 6, 88; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-9: 114, 2, 69; - /** - * @name - * @type palette - * @group rosyred - * @description - */ - --o-rosyred-10: 77, 0, 48; - /** - * @name - * @type color - * @group base - * @description - */ - --o-color-white: rgb(var(--o-white)); - /** - * @name - * @type color - * @group base - * @description - */ - --o-color-black: rgb(var(--o-black)); - /** - * @name - * @type color - * @group primary - * @description 常规 - */ - --o-color-primary1: rgb(var(--o-gray-12)); - /** - * @name - * @type color - * @group primary - * @description 悬浮 - */ - --o-color-primary2: rgb(var(--o-gray-11)); - /** - * @name - * @type color - * @group primary - * @description 激活 - */ - --o-color-primary3: rgb(var(--o-gray-13)); - /** - * @name - * @type color - * @group primary - * @description 禁用 - */ - --o-color-primary4: rgb(var(--o-gray-6)); - /** - * @name - * @type color - * @group primary - * @description 常规-浅 - */ - --o-color-primary1-light: rgb(var(--o-gray-4)); - /** - * @name - * @type color - * @group primary - * @description 悬浮-浅 - */ - --o-color-primary2-light: rgb(var(--o-gray-5)); - /** - * @name - * @type color - * @group primary - * @description 激活-浅 - */ - --o-color-primary3-light: rgb(var(--o-gray-6)); - /** - * @name - * @type color - * @group primary - * @description 禁用-浅 - */ - --o-color-primary4-light: rgb(var(--o-gray-5)); - /** - * @name - * @type color - * @group success - * @description 常规 - */ - --o-color-success1: rgb(var(--o-green-6)); - /** - * @name - * @type color - * @group success - * @description 悬浮 - */ - --o-color-success2: rgb(var(--o-green-4)); - /** - * @name - * @type color - * @group success - * @description 激活 - */ - --o-color-success3: rgb(var(--o-green-7)); - /** - * @name - * @type color - * @group success - * @description 禁用 - */ - --o-color-success4: rgb(var(--o-green-3)); - /** - * @name - * @type color - * @group success - * @description 常规-浅 - */ - --o-color-success1-light: rgb(var(--o-green-2)); - /** - * @name - * @type color - * @group success - * @description 悬浮-浅 - */ - --o-color-success2-light: rgb(var(--o-green-3)); - /** - * @name - * @type color - * @group success - * @description 激活-浅 - */ - --o-color-success3-light: rgb(var(--o-green-4)); - /** - * @name - * @type color - * @group success - * @description 禁用-浅 - */ - --o-color-success4-light: rgb(var(--o-green-1)); - /** - * @name - * @type color - * @group warning - * @description 常规 - */ - --o-color-warning1: rgb(var(--o-orange-6)); - /** - * @name - * @type color - * @group warning - * @description 悬浮 - */ - --o-color-warning2: rgb(var(--o-orange-4)); - /** - * @name - * @type color - * @group warning - * @description 激活 - */ - --o-color-warning3: rgb(var(--o-orange-7)); - /** - * @name - * @type color - * @group warning - * @description 禁用 - */ - --o-color-warning4: rgb(var(--o-orange-3)); - /** - * @name - * @type color - * @group warning - * @description 常规-浅 - */ - --o-color-warning1-light: rgb(var(--o-orange-2)); - /** - * @name - * @type color - * @group warning - * @description 悬浮-浅 - */ - --o-color-warning2-light: rgb(var(--o-orange-3)); - /** - * @name - * @type color - * @group warning - * @description 激活-浅 - */ - --o-color-warning3-light: rgb(var(--o-orange-4)); - /** - * @name - * @type color - * @group warning - * @description 禁用-浅 - */ - --o-color-warning4-light: rgb(var(--o-orange-1)); - /** - * @name - * @type color - * @group danger - * @description 常规 - */ - --o-color-danger1: rgb(var(--o-red-6)); - /** - * @name - * @type color - * @group danger - * @description 悬浮 - */ - --o-color-danger2: rgb(var(--o-red-4)); - /** - * @name - * @type color - * @group danger - * @description 激活 - */ - --o-color-danger3: rgb(var(--o-red-7)); - /** - * @name - * @type color - * @group danger - * @description 禁用 - */ - --o-color-danger4: rgb(var(--o-red-3)); - /** - * @name - * @type color - * @group danger - * @description 常规-浅 - */ - --o-color-danger1-light: rgb(var(--o-red-2)); - /** - * @name - * @type color - * @group danger - * @description 悬浮-浅 - */ - --o-color-danger2-light: rgb(var(--o-red-3)); - /** - * @name - * @type color - * @group danger - * @description 激活-浅 - */ - --o-color-danger3-light: rgb(var(--o-red-4)); - /** - * @name - * @type color - * @group danger - * @description 禁用-浅 - */ - --o-color-danger4-light: rgb(var(--o-red-1)); - /** - * @name - * @type color - * @group fill - * @description 一级填充:页面背景 - */ - --o-color-fill1: rgb(var(--o-gray-2)); - /** - * @name - * @type color - * @group fill - * @description 二级填充:区块、卡片 - */ - --o-color-fill2: rgb(var(--o-gray-1)); - /** - * @name - * @type color - * @group fill - * @description 三级填充:卡片 - */ - --o-color-fill3: rgb(var(--o-gray-3)); - /** - * @name - * @type color - * @group control - * @description 常规,常用于边框 - */ - --o-color-control1: rgba(var(--o-gray-14), 0.25); - /** - * @name - * @type color - * @group control - * @description 悬浮,常用于边框 - */ - --o-color-control2: rgba(var(--o-gray-14), 0.6); - /** - * @name - * @type color - * @group control - * @description 激活,常用于边框 - */ - --o-color-control3: rgba(var(--o-gray-14), 0.8); - /** - * @name - * @type color - * @group control - * @description 禁用,常用于边框 - */ - --o-color-control4: rgba(var(--o-gray-14), 0.1); - /** - * @name - * @type color - * @group control - * @description 常规-浅,常用于背景 - */ - --o-color-control1-light: rgb(var(--o-gray-5)); - /** - * @name - * @type color - * @group control - * @description 悬浮-浅,常用于背景 - */ - --o-color-control2-light: rgb(var(--o-gray-3)); - /** - * @name - * @type color - * @group control - * @description 激活-浅,常用于背景 - */ - --o-color-control3-light: rgb(var(--o-gray-4)); - /** - * @name - * @type color - * @group control - * @description 禁用,常用于背景 - */ - --o-color-control4-light: rgb(var(--o-gray-3)); - /** - * @name - * @type color - * @group control - * @description 很浅,常用于表格背景色 - */ - --o-color-control-light: rgb(var(--o-gray-1)); - /** - * @name - * @type color - * @group info - * @description 一级/强调/标题 - */ - --o-color-info1: rgba(var(--o-gray-14), 1.0); - /** - * @name - * @type color - * @group info - * @description 二级/次强调/正文 - */ - --o-color-info2: rgba(var(--o-gray-14), 0.8); - /** - * @name - * @type color - * @group info - * @description 三级/辅助信息 - */ - --o-color-info3: rgba(var(--o-gray-14), 0.6); - /** - * @name - * @type color - * @group info - * @description 置灰/禁用 - */ - --o-color-info4: rgba(var(--o-gray-14), 0.4); - /** - * @name - * @type color - * @group info - * @description 一级/次强调/正文反色 - */ - --o-color-info1-inverse: rgba(var(--o-gray-1), 1.0); - /** - * @name - * @type color - * @group info - * @description 二级/辅助信息反色 - */ - --o-color-info2-inverse: rgba(var(--o-gray-1), 0.8); - /** - * @name - * @type color - * @group info - * @description 三级/辅助信息反色 - */ - --o-color-info3-inverse: rgba(var(--o-gray-1), 0.6); - /** - * @name - * @type color - * @group info - * @description 置灰/禁用反色 - */ - --o-color-info4-inverse: rgba(var(--o-gray-1), 0.4); - /** - * @name - * @type color - * @group mask - * @description 全局遮罩 - */ - --o-color-mask1: rgba(var(--o-gray-14), 0.4); - /** - * @name - * @type color - * @group mask - * @description 局部遮罩 - */ - --o-color-mask2: rgba(var(--o-gray-1), 0.2); - /** - * @name 阴影1 - * @type shadow - * @group shadow - * @description 用于卡片、小弹窗、楼层阴影 - */ - --o-shadow-1: 0 3px 8px rgba(var(--o-gray-14), 0.08); - /** - * @name 阴影2 - * @type shadow - * @group shadow - * @description 用于卡片悬浮阴影 - */ - --o-shadow-2: 0 2px 24px rgba(var(--o-gray-14), 0.15); - /** - * @name 阴影3 - * @type shadow - * @group shadow - * @description 用于提示阴影 - */ - --o-shadow-3: 0 8px 40px rgba(var(--o-gray-14), 0.1); - /** - * @name - * @type color - * @group link - * @description 常规 - */ - --o-color-link1: rgba(var(--o-deepblue-6), 1.0); - /** - * @name - * @type color - * @group link - * @description 悬浮 - */ - --o-color-link2: rgba(var(--o-deepblue-6), 0.7); - /** - * @name - * @type color - * @group link - * @description 激活 - */ - --o-color-link3: rgba(var(--o-deepblue-6), 0.9); - /** - * @name - * @type color - * @group link - * @description 禁用 - */ - --o-color-link4: rgba(var(--o-deepblue-6), 0.4); - /** - * @name 间距1 - * @type gap - * @group gap - * @description 用于组件之间的间距1 - */ - --o-gap-1: 4px; - /** - * @name 间距2 - * @type gap - * @group gap - * @description 用于组件之间的间距2 - */ - --o-gap-2: 8px; - /** - * @name 间距3 - * @type gap - * @group gap - * @description 用于组件之间的间距3 - */ - --o-gap-3: 12px; - /** - * @name 间距4 - * @type gap - * @group gap - * @description 用于组件之间的间距4 - */ - --o-gap-4: 16px; - /** - * @name 间距5 - * @type gap - * @group gap - * @description 用于组件之间的间距5 - */ - --o-gap-5: 24px; - /** - * @name 间距6 - * @type gap - * @group gap - * @description 用于组件之间的间距6 - */ - --o-gap-6: 32px; - /** - * @name 间距7 - * @type gap - * @group gap - * @description 用于组件之间的间距7 - */ - --o-gap-7: 40px; - /** - * @name 间距8 - * @type gap - * @group gap - * @description 用于组件之间的间距8 - */ - --o-gap-8: 48px; - /** - * @name 间距9 - * @type gap - * @group gap - * @description 用于组件之间的间距9 - */ - --o-gap-9: 64px; - /** - * @name 间距10 - * @type gap - * @group gap - * @description 用于组件之间的间距10 - */ - --o-gap-10: 72px; - /** - * @name 超小尺寸 - * @type size - * @group control_size - * @description 超小尺寸 - */ - --o-control_size-2xs: 14px; - /** - * @name 小尺寸 - * @type size - * @group control_size - * @description 小尺寸 - */ - --o-control_size-xs: 16px; - /** - * @name 小尺寸 - * @type size - * @group control_size - * @description 小尺寸 - */ - --o-control_size-s: 24px; - /** - * @name 中尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-m: 32px; - /** - * @name 大尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-l: 40px; - /** - * @name 大尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-xl: 48px; - /** - * @name 大尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-2xl: 56px; - /** - * @name 超小尺寸图标 - * @type size - * @group icon_size - * @description 超小尺寸图标 - */ - --o-icon_size-xs: 16px; - /** - * @name 小尺寸图标 - * @type size - * @group icon_size - * @description 小尺寸图标 - */ - --o-icon_size-s: 20px; - /** - * @name 中尺寸图标 - * @type size - * @group icon_size - * @description 中尺寸图标 - */ - --o-icon_size-m: 24px; - /** - * @name 大尺寸图标 - * @type size - * @group icon_size - * @description 大尺寸图标 - */ - --o-icon_size-l: 32px; - /** - * @name 超大尺寸图标 - * @type size - * @group icon_size - * @description 超大尺寸图标 - */ - --o-icon_size-xl: 40px; - /** - * @name 2xl尺寸图标 - * @type size - * @group icon_size - * @description 2xl尺寸图标 - */ - --o-icon_size-2xl: 48px; - /** - * @name 3xl尺寸图标 - * @type size - * @group icon_size - * @description 3xl尺寸图标 - */ - --o-icon_size-3xl: 56px; - /** - * @name 4xl尺寸图标 - * @type size - * @group icon_size - * @description 4xl尺寸图标 - */ - --o-icon_size-4xl: 64px; - /** - * @name 超小尺寸图标 - * @type size - * @group icon_size_control - * @description 超小尺寸控件图标(组件使用) - */ - --o-icon_size_control-xs: 16px; - /** - * @name 小尺寸图标 - * @type size - * @group icon_size_control - * @description 小尺寸控件图标(组件使用) - */ - --o-icon_size_control-s: 20px; - /** - * @name 中尺寸图标 - * @type size - * @group icon_size_control - * @description 中尺寸控件图标(组件使用) - */ - --o-icon_size_control-m: 24px; - /** - * @name 大尺寸图标 - * @type size - * @group icon_size_control - * @description 大尺寸控件图标(组件使用) - */ - --o-icon_size_control-l: 32px; - /** - * @name 超大尺寸图标 - * @type size - * @group icon_size_control - * @description 超大尺寸控件图标(组件使用) - */ - --o-icon_size_control-xl: 40px; - /** - * @name 一级数据展示 - * @type font - * @group font_size - * @description 一级数据展示 - */ - --o-font_size-display1: 56px; - /** - * @name 二级数据展示 - * @type font - * @group font_size - * @description 二级数据展示 - */ - --o-font_size-display2: 48px; - /** - * @name 三级数据展示 - * @type font - * @group font_size - * @description 三级数据展示 - */ - --o-font_size-display3: 40px; - /** - * @name 一级标题 - * @type font - * @group font_size - * @description 一级标题 - */ - --o-font_size-h1: 32px; - /** - * @name 二级标题 - * @type font - * @group font_size - * @description 二级标题 - */ - --o-font_size-h2: 24px; - /** - * @name 三级标题 - * @type font - * @group font_size - * @description 三级标题 - */ - --o-font_size-h3: 22px; - /** - * @name 四级标题 - * @type font - * @group font_size - * @description 四级标题 - */ - --o-font_size-h4: 20px; - /** - * @name 常规正文 - * @type font - * @group font_size - * @description 常规正文 - */ - --o-font_size-text1: 16px; - /** - * @name 大号正文 - * @type font - * @group font_size - * @description 大号正文 - */ - --o-font_size-text2: 18px; - /** - * @name 提示文本1 - * @type font - * @group font_size - * @description 提示文本1 - */ - --o-font_size-tip1: 14px; - /** - * @name 提示文本2 - * @type font - * @group font_size - * @description 提示文本2 - */ - --o-font_size-tip2: 12px; - /** - * @name 一级数据展示 - * @type font - * @group line_height - * @description 一级数据展示 - */ - --o-line_height-display1: 80px; - /** - * @name 二级数据展示 - * @type font - * @group line_height - * @description 二级数据展示 - */ - --o-line_height-display2: 64px; - /** - * @name 三级数据展示 - * @type font - * @group line_height - * @description 三级数据展示 - */ - --o-line_height-display3: 56px; - /** - * @name 一级标题 - * @type font - * @group line_height - * @description 一级标题 - */ - --o-line_height-h1: 44px; - /** - * @name 二级标题 - * @type font - * @group line_height - * @description 二级标题 - */ - --o-line_height-h2: 32px; - /** - * @name 三级标题 - * @type font - * @group line_height - * @description 三级标题 - */ - --o-line_height-h3: 30px; - /** - * @name 四级标题 - * @type font - * @group line_height - * @description 四级标题 - */ - --o-line_height-h4: 28px; - /** - * @name 正文 - * @type font - * @group line_height - * @description 正文 - */ - --o-line_height-text1: 24px; - /** - * @name 正文-大 - * @type font - * @group line_height - * @description 正文-大 - */ - --o-line_height-text2: 26px; - /** - * @name 提示文本1 - * @type font - * @group line_height - * @description 提示文本1 - */ - --o-line_height-tip1: 22px; - /** - * @name 提示文本2 - * @type font - * @group line_height - * @description 提示文本2 - */ - --o-line_height-tip2: 18px; - /** - * @name 超小尺寸圆角 - * @type size - * @group radius - * @description 超小尺寸圆角 - */ - --o-radius-xs: 4px; - /** - * @name 小尺寸圆角 - * @type size - * @group radius - * @description 小尺寸圆角 - */ - --o-radius-s: 4px; - /** - * @name 中尺寸圆角 - * @type size - * @group radius - * @description 中尺寸圆角 - */ - --o-radius-m: 4px; - /** - * @name 大尺寸圆角 - * @type size - * @group radius - * @description 大尺寸圆角 - */ - --o-radius-l: 4px; - /** - * @name 大尺寸圆角 - * @type size - * @group radius - * @description 大尺寸圆角,一般用于卡片 - */ - --o-radius-xl: 0px; - /** - * @name 超小尺寸控件圆角 - * @type size - * @group radius_control - * @description 超小尺寸控件圆角(组件使用) - */ - --o-radius_control-xs: 4px; - /** - * @name 小尺寸控件圆角 - * @type size - * @group radius_control - * @description 小尺寸控件圆角(组件使用) - */ - --o-radius_control-s: 4px; - /** - * @name 中尺寸控件圆角 - * @type size - * @group radius_control - * @description 中尺寸控件圆角(组件使用) - */ - --o-radius_control-m: 4px; - /** - * @name 大尺寸控件圆角 - * @type size - * @group radius_control - * @description 大尺寸控件圆角(组件使用) - */ - --o-radius_control-l: 4px; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于退出屏幕的动画 - */ - --o-duration-s: 200ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为standard-in时进入屏幕的动画 - */ - --o-duration-m1: 250ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为standard时开始、结束的动画 - */ - --o-duration-m2: 300ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为emphasized-in时进入屏幕的动画 - */ - --o-duration-m3: 400ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为emphasized时开始、结束的动画 - */ - --o-duration-l: 500ms; - /** - * @name 持续时间 - * @type animation - * @group duration - * @description 用于当曲线为emphasized时,轮播切换动画 - */ - --o-duration-xl: 1000ms; - /** - * @name 线性动画曲线 - * @type animation - * @group easing - * @description 线性曲线 - */ - --o-easing-linear: cubic-bezier(0, 0, 1, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于组件 - */ - --o-easing-standard: cubic-bezier(0.2, 0, 0, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于组件 - */ - --o-easing-standard-in: cubic-bezier(0, 0, 0, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于组件 - */ - --o-easing-standard-out: cubic-bezier(0.3, 0, 1, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于大卡片、场景切换 - */ - --o-easing-emphasized: cubic-bezier(0.2, 0, 0, 1); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于大卡片、场景切换 - */ - --o-easing-emphasized-in: cubic-bezier(0.3, 0, 0.8, 0.15); - /** - * @name 动画曲线 - * @type animation - * @group easing - * @description 用于大卡片、场景切换 - */ - --o-easing-emphasized-out: cubic-bezier(0.05, 0.7, 0.1, 1); -} \ No newline at end of file diff --git a/packages/portal-ak/src/ak/theme/k.media.token.scss b/packages/portal-ak/src/ak/theme/k.media.token.scss deleted file mode 100644 index 6f50cc1e2c71b57303d1477782b4ed9f83bbfdae..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/k.media.token.scss +++ /dev/null @@ -1,47 +0,0 @@ -@use './mixin.scss' as *; - -[data-o-theme='a.light'], -[data-o-theme='a.dark'] { - @include respond-to('laptop') { - /** - * @name 中尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-m: 28px; - /** - * @name 大尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-l: 36px; - } -} - -[data-o-theme='a.light'], -[data-o-theme='a.dark'] { - @include respond-to('<=pad') { - /** - * @name 中尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-control_size-m: 28px; - } -} - -[data-o-theme='a.light'], -[data-o-theme='a.dark'] { - @include respond-to('phone') { - /** - * @name 中尺寸 - * @type size - * @group control_size - * @description 尺寸 - */ - --o-radius-xl: 8px; - } -} diff --git a/packages/portal-ak/src/ak/theme/link.scss b/packages/portal-ak/src/ak/theme/link.scss deleted file mode 100644 index 84c14f2e4339c5fba710d2c06b0eb4266f1c3cc0..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/link.scss +++ /dev/null @@ -1,92 +0,0 @@ -@use './mixin.scss' as *; - -.o-link-normal { - --link-color: var(--o-color-info2); - --link-color-hover: var(--o-color-info1); - --link-color-active: var(--o-color-info1); -} -.o-link-primary { - --link-color: var(--o-color-link1); - --link-color-hover: var(--o-color-link1); - --link-color-active: var(--o-color-link1); -} - -.c-link-ascend { - --arrow-width: 0.375em; - &.o-link-medium { - --arrow-width: 5px; - .o-link-suffix { - width: var(--o-icon_size_control-xs); - height: var(--o-icon_size_control-xs); - } - } - &.o-link-large { - --arrow-width: 6px; - .o-link-suffix { - width: var(--o-icon_size_control-m); - height: var(--o-icon_size_control-m); - } - } - @include respond-to('>pad') { - @include hoverable { - &:not(.o-link-disabled):hover { - .c-link-ascend-arrow { - transform: translate3d(0, 0, 0); - &::before { - opacity: 1; - transform: translate3d(0, 0, 0) rotate(45deg); - } - &::after { - opacity: 1; - transform: translate3d(0, 0, 0) rotate(-45deg); - } - } - } - } - } -} -.c-link-ascend-arrow { - width: var(--arrow-width); - height: 1px; - background-color: currentColor; - display: inline-flex; - position: relative; - transform-origin: 0 center; - transition: transform var(--o-easing-standard-in) var(--o-duration-m2); - border-radius: 1px; - margin-left: 3px; - &::after, - &::before { - content: ''; - position: absolute; - right: -0.375em; - top: 0; - width: 130%; - height: 100%; - background-color: currentColor; - flex-shrink: 0; - transform-origin: 100% center; - transition: transform var(--o-easing-standard-in) var(--o-duration-m2), opacity var(--o-duration-m2); - border-radius: 1px; - } - &::before { - transform: translate3d(0, 0, 0) rotate(45deg); - } - &::after { - transform: translate3d(0, 0, 0) rotate(-45deg); - } - @include respond-to('>pad') { - transform: translate3d(-5px, 0.3em, 0); - &::before, - &::after { - transform: translate3d(-6px, 0, 0) scale(0.5); - opacity: 0; - } - } -} - -.c-link-kunpeng { - @include hover { - --link-color-hover: rgb(var(--o-red-huawei)); - } -} diff --git a/packages/portal-ak/src/ak/theme/loading.scss b/packages/portal-ak/src/ak/theme/loading.scss deleted file mode 100644 index 105fe7f5ce7b0477cd43653c752087a984dfedbf..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/loading.scss +++ /dev/null @@ -1,51 +0,0 @@ -@use './mixin.scss' as *; - -.c-loading-lg { - --loading-icon-size: 24px; - --loading-number-icon-size: 80px; - flex-direction: column; - font-size: var(--o-font_size-text1); - line-height: var(--o-line_height-text1); - @include respond-to('pad') { - --loading-number-icon-size: 64px; - } - @include respond-to('phone') { - --loading-number-icon-size: 48px; - } - .o-loading-label { - margin-left: 0; - margin-top: 16px; - @include respond-to('<=pad') { - font-size: var(--o-font_size-tip1); - line-height: var(--o-line_height-tip1); - margin-top: 12px; - } - } -} - -.c-loading-md { - --loading-number-icon-size: 48px; - --loading-icon-size: 16px; - flex-direction: column; - font-size: var(--o-font_size-tip2); - line-height: var(--o-line_height-tip2); - .o-loading-label { - margin-left: 0; - margin-top: 8px; - @include respond-to('<=pad') { - margin-top: 4px; - } - } -} - -.c-loading-sm { - --loading-icon-size: 24px; - font-size: var(--o-font_size-tip2); - line-height: var(--o-line_height-tip2); -} - -.c-loading-xs { - --loading-icon-size: 16px; - font-size: var(--o-font_size-tip2); - line-height: var(--o-line_height-tip2); -} diff --git a/packages/portal-ak/src/ak/theme/menu.scss b/packages/portal-ak/src/ak/theme/menu.scss deleted file mode 100644 index c6678f51b9e5c9decf9669b0ad1a6a25b9805b31..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/menu.scss +++ /dev/null @@ -1,11 +0,0 @@ -@use './mixin.scss' as *; - -.o-sub-menu { - --sub-menu-color-selected: var(--o-color-info1); - --sub-menu-icon-color-selected: var(--o-color-info1); -} - -.o-menu-item { - --menu-item-color-selected: var(--o-color-info1); - --menu-item-icon-color-selected: var(--o-color-info1); -} diff --git a/packages/portal-ak/src/ak/theme/message.scss b/packages/portal-ak/src/ak/theme/message.scss deleted file mode 100644 index 50d945dacd187eb9b405aaf8ecdb99351695f1d3..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/message.scss +++ /dev/null @@ -1,30 +0,0 @@ -@use './mixin.scss' as *; - -.o-message-info { - --message-icon-color: rgb(var(--o-blue-6)); - &.o-message-colorful { - --message-bg-color: rgb(var(--o-blue-1)); - } -} - -.o-message-list { - z-index: 1008; - --app-header-height: 80px; - --app-footer-height: 316px; - - --message-list-top-offset: calc(var(--app-header-height) + 32px); - --message-list-bottom-offset: calc(var(--app-footer-height) + 32px); - - @include respond-to('laptop') { - --app-footer-height: 310px; - } - - @include respond-to('pad') { - --app-footer-height: 292px; - } - - @include respond-to('phone') { - --app-header-height: 48px; - --app-footer-height: 200px; - } -} diff --git a/packages/portal-ak/src/ak/theme/mixin.scss b/packages/portal-ak/src/ak/theme/mixin.scss deleted file mode 100644 index 92db95c3a4aa473e4fe41fd2395e1c7b3cd2ee2f..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/mixin.scss +++ /dev/null @@ -1,84 +0,0 @@ -// 断点定义 -$breakpoints: ( - // phone - 'phone': (0, 600px), - '>phone': 601px, - // pad - 'pad': (601px, 1200px), - '<=pad': (0, 1200px), - '>pad': 1201px, - // pad-v - 'pad_v': (601px, 840px), - '<=pad_v': (0, 840px), - '>pad_v': 841px, - // pad-h - 'pad_h': (841px, 1200px), - // laptop - 'laptop': (1201px, 1440px), - '<=laptop': (0, 1440px), - '>laptop': 1441px, - 'pad-laptop': (601px, 1440px), - 'pad_v-laptop': (841px, 1440px) -); - -@mixin respond-to($breakname) { - $bp: map-get($breakpoints, $breakname); - @if type-of($bp) == 'list' { - $min: nth($bp, 1); - $max: nth($bp, 2); - @if $min == 0 { - @media (max-width: $max) { - @content; - } - } @else { - @media (min-width: $min) and (max-width: $max) { - @content; - } - } - } @else { - @media (min-width: $bp) { - @content; - } - } -} - -@mixin hoverable($hover: hover) { - @media (hover: $hover) { - @content; - } -} - -@mixin hover() { - @media (hover: hover) { - &:hover { - @content; - } - } -} - -@mixin me-hover() { - @content; - @media (hover: hover) { - &:hover { - @content; - } - } -} - -@mixin x-hover() { - transition: all var(--o-duration-m1) var(--o-easing-standard-in); - @include hover { - transform: rotate(180deg); - } -} - -@mixin x-svg-hover() { - svg { - transition: all var(--o-duration-m1) var(--o-easing-standard-in); - } - @include hover { - svg { - transform: rotate(180deg); - } - } -} diff --git a/packages/portal-ak/src/ak/theme/option.scss b/packages/portal-ak/src/ak/theme/option.scss deleted file mode 100644 index 2162e0ce9f4a2df2416348f9c8d4d9c2010d33d1..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/option.scss +++ /dev/null @@ -1 +0,0 @@ -@use './mixin.scss' as *; diff --git a/packages/portal-ak/src/ak/theme/pagination.scss b/packages/portal-ak/src/ak/theme/pagination.scss deleted file mode 100644 index b26bcb5cb8f564e5beef3da4d325f0457d98bed3..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/pagination.scss +++ /dev/null @@ -1,11 +0,0 @@ -@use './mixin.scss' as *; - -.o-pagination { - --pagination-item-bg-color-hover: var(--o-color-primary2); - --pagination-item-bg-color-active: var(--o-color-control3); - --pagination-item-bg-color-current: var(--o-color-primary1); - - --pagination-item-color-hover: var(--o-color-info1-inverse); - --pagination-item-color-active: var(--o-color-info1-inverse); - --pagination-item-color-current: var(--o-color-info1-inverse); -} diff --git a/packages/portal-ak/src/ak/theme/popover.scss b/packages/portal-ak/src/ak/theme/popover.scss deleted file mode 100644 index cf2f0c6d31c98290d5a3ec8c5200780d79d7b72b..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/popover.scss +++ /dev/null @@ -1,3 +0,0 @@ -.c-popover-lg { - padding: 8px; -} diff --git a/packages/portal-ak/src/ak/theme/progress.scss b/packages/portal-ak/src/ak/theme/progress.scss deleted file mode 100644 index 78836f7498585354b3def14b414c792c4a13438f..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/progress.scss +++ /dev/null @@ -1,4 +0,0 @@ -.o-progress-primary { - --progress-bar-bg-color: rgb(var(--o-deepblue-6)); - --progress-icon-color: rgb(var(--o-deepblue-6)); -} diff --git a/packages/portal-ak/src/ak/theme/radio.scss b/packages/portal-ak/src/ak/theme/radio.scss deleted file mode 100644 index a5fd35c9ba40e0813f3f9ec491910e42c401aa08..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/radio.scss +++ /dev/null @@ -1,10 +0,0 @@ -.o-radio { - --radio-input-bd-color-hover: var(--o-color-control2); - --radio-input-bd-color-active: var(--o-color-control3); -} - -[data-o-theme*='dark'] { - .o-radio { - --radio-input-icon-color: var(--o-color-control1-light); - } -} diff --git a/packages/portal-ak/src/ak/theme/rate.scss b/packages/portal-ak/src/ak/theme/rate.scss deleted file mode 100644 index 961f3203d2a5f7a16bd69f5b79c081e93776d4d4..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/rate.scss +++ /dev/null @@ -1,53 +0,0 @@ -.o-rate-primary { - --rate-color-selected: rgb(var(--o-red-huawei)); -} - -.o-rate-icon-bottom { - .o-icon-star { - path { - color: transparent; - } - path:nth-child(1) { - color: var(--rate-color-selected); - } - } -} - -.o-rate-item.is-half { - .o-rate-icon-top { - .o-icon-star { - path:nth-child(2) { - color: var(--rate-color-selected); - } - } - } -} - -.o-rate-item.is-full { - .o-rate-icon-bottom { - .o-icon-star { - path:nth-child(2) { - color: var(--rate-color-selected); - } - - path:nth-child(3) { - color: var(--rate-color-selected); - } - } - } -} - -.c-star-full { - color: rgb(var(--o-red-huawei)) !important; -} - -.c-star-empty { - color: var(--o-color-info4) !important; -} - -.c-star-label { - color: var(--o-color-info2); - font-size: var(--o-font_size-tip1); - line-height: var(--o-line_height-tip1); - margin-left: 8px; -} diff --git a/packages/portal-ak/src/ak/theme/select.scss b/packages/portal-ak/src/ak/theme/select.scss deleted file mode 100644 index c334b126c708fdab88cdb03cc359b207bd7ce274..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/select.scss +++ /dev/null @@ -1,15 +0,0 @@ -@use './mixin.scss' as *; - -.c-select-action { - padding: 8px 12px; - cursor: pointer; - display: flex; - align-items: center; - @include hover { - color: var(--o-color-link1); - } - > .o-icon { - font-size: var(--o-icon_size_control-xs); - margin-right: 4px; - } -} diff --git a/packages/portal-ak/src/ak/theme/switch.scss b/packages/portal-ak/src/ak/theme/switch.scss deleted file mode 100644 index 1b9b16d0fa3c22e113a87592fe7bc3114dcca75d..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/switch.scss +++ /dev/null @@ -1,9 +0,0 @@ -.o-switch { - --switch-icon-loading-color: var(--o-color-info1); -} - -[data-o-theme*='dark'] { - .o-switch-checked { - --switch-handler-bg-color: var(--o-color-control1-light); - } -} diff --git a/packages/portal-ak/src/ak/theme/tab.scss b/packages/portal-ak/src/ak/theme/tab.scss deleted file mode 100644 index 73ce392c8a8dbed53d134407349e49b1b0f19f2a..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/tab.scss +++ /dev/null @@ -1,6 +0,0 @@ -@use './mixin.scss' as *; - -.o-tab-text { - --tab-nav-color-hover: var(--o-color-info1); - --tab-nav-color-active: var(--o-color-info1); -} diff --git a/packages/portal-ak/src/ak/theme/table.scss b/packages/portal-ak/src/ak/theme/table.scss deleted file mode 100644 index cea857bf8cbb2b52314a18c5f8a514af22cda519..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/table.scss +++ /dev/null @@ -1,5 +0,0 @@ -@use './mixin.scss' as *; - -.o-table { - --table-head-bg: var(--o-color-control3-light); -} diff --git a/packages/portal-ak/src/ak/theme/tag.scss b/packages/portal-ak/src/ak/theme/tag.scss deleted file mode 100644 index 400a8225a384924490f9b74a3b20fa3b9a95e284..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/tag.scss +++ /dev/null @@ -1,44 +0,0 @@ -.o-tag-normal { - --tag-color: var(--o-color-info1); - --tag-bg-color: var(--o-color-control3-light); - --tag-bd-color: var(--o-color-control3-light); - - &.o-tag-outline { - --tag-bd-color: var(--o-color-control1); - } -} - -.o-tag-primary { - --tag-bg-color: rgb(var(--o-red-huawei)); - --tag-bd-color: rgb(var(--o-red-huawei)); - - &.o-tag-outline { - --tag-color: rgb(var(--o-red-huawei)); - } -} - -.o-tag-normal.c-tag-normal-inverse { - --tag-color: var(--o-color-white); - --tag-bg-color: rgba(var(--o-mixedgray-14), 0.2); - --tag-bd-color: transparent; -} - -.o-tag-normal.c-tag-unstart { - --tag-color: var(--o-color-white); - --tag-bg-color: rgba(var(--o-mixedgray-14), 0.4); - --tag-bd-color: transparent; -} - -.o-tag-normal.c-tag-processing { - --tag-color: var(--o-color-white); - --tag-bg-color: rgba(var(--o-blue-6)); - --tag-bd-color: rgba(var(--o-blue-6)); -} - -.c-tag-activity, -.c-tag-ascend, -.c-tag-kunpeng { - --tag-color: var(--o-color-white); - background: linear-gradient(90deg, rgb(var(--ak-color-band-start)) 0%, rgb(var(--ak-color-band-end)) 100%); - border: none; -} diff --git a/packages/portal-ak/src/ak/theme/textarea.scss b/packages/portal-ak/src/ak/theme/textarea.scss deleted file mode 100644 index 0fd13fd20aabc1cd8deca038cd00b5aec2210e97..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/textarea.scss +++ /dev/null @@ -1,9 +0,0 @@ -@use './mixin.scss' as *; - -.o-textarea { - height: 126px; - - @include respond-to('<=pad') { - height: 116px; - } -} diff --git a/packages/portal-ak/src/ak/theme/toggle.scss b/packages/portal-ak/src/ak/theme/toggle.scss deleted file mode 100644 index 0eacefcfd5b4acabdab2e481a1ac2933a4dc6a10..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/toggle.scss +++ /dev/null @@ -1,15 +0,0 @@ -@use './mixin.scss' as *; - -.o-toggle { - --toggle-bg-color: var(--o-color-fill1); - --toggle-bd-color: var(--o-color-fill1); -} - -@include respond-to('pad') { - .o-toggle { - --toggle-text-size: var(--o-font_size-tip2); - --toggle-text-height: var(--o-line_height-tip2); - --toggle-icon-size: var(--o-icon_size_control-xs); - --toggle-padding: 0 11px; - } -} diff --git a/packages/portal-ak/src/ak/theme/upload.scss b/packages/portal-ak/src/ak/theme/upload.scss deleted file mode 100644 index a433f296cd7992af38a5fb5b5528cba8d750a38b..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/ak/theme/upload.scss +++ /dev/null @@ -1,24 +0,0 @@ -@use './mixin.scss' as *; - -.o-upload { - --upload-drag-bd: 1px solid var(--o-color-control1); - --upload-drag-bd-hover: 1px solid var(--o-color-control2); - --upload-drag-bd-active: 1px solid var(--o-color-control3); - --upload-drag-bd-dragging: 1px solid var(--o-color-control2); - --upload-drag-bg-color-dragging: var(--o-color-control-light); - --upload-drag-bd-disabled: 1px solid var(--o-color-control4); -} -.o-upload-progress { - left: 28px; -} -.o-upload-card-progress { - left: 8px; - right: 8px; - bottom: 4px; -} -.o-upload-draggable { - width: 480px; - @include respond-to('<=laptop') { - width: 240px; - } -} diff --git a/packages/portal-ak/src/assets/loading-circle-l-o.png b/packages/portal-ak/src/assets/loading-circle-l-o.png deleted file mode 100644 index a78d5d0009d3abb7bb89cc7665bc423d0413e2d7..0000000000000000000000000000000000000000 Binary files a/packages/portal-ak/src/assets/loading-circle-l-o.png and /dev/null differ diff --git a/packages/portal-ak/src/assets/loading-circle-l.png b/packages/portal-ak/src/assets/loading-circle-l.png deleted file mode 100644 index 68823e40c0330c6d4ca8cba24f4dd68d041603da..0000000000000000000000000000000000000000 Binary files a/packages/portal-ak/src/assets/loading-circle-l.png and /dev/null differ diff --git a/packages/portal-ak/src/assets/loading-circle-s-o.png b/packages/portal-ak/src/assets/loading-circle-s-o.png deleted file mode 100644 index 9e9cdb6d60ff657bb78bd02b9076abed5fb0ba86..0000000000000000000000000000000000000000 Binary files a/packages/portal-ak/src/assets/loading-circle-s-o.png and /dev/null differ diff --git a/packages/portal-ak/src/assets/loading-circle-s.png b/packages/portal-ak/src/assets/loading-circle-s.png deleted file mode 100644 index 0aa102f421ea257a14c5d4120cbef57261672d1c..0000000000000000000000000000000000000000 Binary files a/packages/portal-ak/src/assets/loading-circle-s.png and /dev/null differ diff --git a/packages/portal-ak/src/assets/style/style.scss b/packages/portal-ak/src/assets/style/style.scss deleted file mode 100644 index 623ab0e0025cf002ef3ebd1211f049a16e563268..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/assets/style/style.scss +++ /dev/null @@ -1,59 +0,0 @@ -:root { - font-family: Roboto, Helvetica, 'Helvetica Neue', system-ui, -apple-system, sans-serif; - - font-size: 16px; - line-height: 24px; - font-weight: 400; - - color-scheme: light dark; - - color: var(--o-color-info1); - background-color: var(--o-color-fill1); - - font-synthesis: none; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - -webkit-text-size-adjust: 100%; -} -[data-system='windows'] { - font-family: 'HarmonyOS-Hans', Arial, 'Microsoft YaHei UI', sans-serif; -} - -body { - margin: 0; -} - -.page-demo { - padding: 8px 24px; - - h3 { - margin-top: 36px; - margin-bottom: 12px; - &:first-child { - margin-top: 12px; - } - } -} -section { - display: flex; - align-items: center; - justify-content: flex-start; - flex-wrap: wrap; - gap: 16px; - padding: 24px; - - border: 1px solid var(--o-color-control1-light); - - + section { - margin-top: 12px; - } - &.block { - display: block; - } -} - -[data-o-theme*='dark'] { - color: var(--o-color-info1); - background-color: var(--o-color-fill1); -} diff --git a/packages/portal-ak/src/components/TheAside.vue b/packages/portal-ak/src/components/TheAside.vue deleted file mode 100644 index 13cbb458524014b77b3afb273a96aad0783a4724..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/components/TheAside.vue +++ /dev/null @@ -1,75 +0,0 @@ - - - diff --git a/packages/portal-ak/src/components/TheFrame.vue b/packages/portal-ak/src/components/TheFrame.vue deleted file mode 100644 index e73ed4a1470c00ed581ff1ead67e2bee7a85a890..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/components/TheFrame.vue +++ /dev/null @@ -1,33 +0,0 @@ - - - diff --git a/packages/portal-ak/src/components/TheHeader.vue b/packages/portal-ak/src/components/TheHeader.vue deleted file mode 100644 index 53469bbd0c02f8bfd099a8c322d952f911b5479e..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/components/TheHeader.vue +++ /dev/null @@ -1,128 +0,0 @@ - - - diff --git a/packages/portal-ak/src/main.ts b/packages/portal-ak/src/main.ts deleted file mode 100644 index 00ce41513562bd0b67e3ff4dcad8c642fe67ce71..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/main.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { createApp } from 'vue'; -import './assets/style/style.scss'; -import 'normalize.css'; - -import './ak/fonts/HarmonyOS/harmonyos-hans-fonts.scss'; - -import './ak/theme/a.light.token.css'; -import './ak/theme/a.dark.token.css'; -import './ak/theme/a.media.token.scss'; - -import './ak/theme/k.light.token.css'; -import './ak/theme/k.dark.token.css'; -import './ak/theme/k.media.token.scss'; - -import '@opendesign-src/index.scss'; - -import './ak/theme/index.a.scss'; -import './ak/theme/index.k.scss'; -import './ak/theme/index.scss'; - -import { router } from '@/router'; - -import App from './App.vue'; -import TheFrame from './components/TheFrame.vue'; - -const app = createApp(App); - -app.use(router); - -app.component('TheFrame', TheFrame); - -app.mount('#app'); diff --git a/packages/portal-ak/src/pages/TheComponent.vue b/packages/portal-ak/src/pages/TheComponent.vue deleted file mode 100644 index 363d709b9c053e5cf59dab79c865ab342d3e8863..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/TheComponent.vue +++ /dev/null @@ -1,47 +0,0 @@ - - - - - diff --git a/packages/portal-ak/src/pages/TheHome.vue b/packages/portal-ak/src/pages/TheHome.vue deleted file mode 100644 index 02b8b08c97acc653a78196777d09eff497c503a5..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/TheHome.vue +++ /dev/null @@ -1,16 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/TheIcons.vue b/packages/portal-ak/src/pages/TheIcons.vue deleted file mode 100644 index a10408ce33658adb71733c7c1557d8bc836c26d1..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/TheIcons.vue +++ /dev/null @@ -1,93 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/TheText.vue b/packages/portal-ak/src/pages/TheText.vue deleted file mode 100644 index 75417cb31ef0c6e01e564e27db3e381c591665a9..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/TheText.vue +++ /dev/null @@ -1,29 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/badge/BadgeBasic.vue b/packages/portal-ak/src/pages/badge/BadgeBasic.vue deleted file mode 100644 index 101818aad294c2fe4fca151150aa671dc3081615..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/badge/BadgeBasic.vue +++ /dev/null @@ -1,18 +0,0 @@ - - - - - diff --git a/packages/portal-ak/src/pages/badge/TheIndex.vue b/packages/portal-ak/src/pages/badge/TheIndex.vue deleted file mode 100644 index 7d7049894b6a71d3f20c330383e81824463b34ec..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/badge/TheIndex.vue +++ /dev/null @@ -1,8 +0,0 @@ - - diff --git a/packages/portal-ak/src/pages/breadcrumb/BreadcrumbBasic.vue b/packages/portal-ak/src/pages/breadcrumb/BreadcrumbBasic.vue deleted file mode 100644 index b945e0ae1c84a9d6b5f9921d9f401a774120a739..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/breadcrumb/BreadcrumbBasic.vue +++ /dev/null @@ -1,22 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/breadcrumb/TheIndex.vue b/packages/portal-ak/src/pages/breadcrumb/TheIndex.vue deleted file mode 100644 index 94090a32e678f68cf16fbcdb99dc6b67bff58590..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/breadcrumb/TheIndex.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/button/BtnBasic.vue b/packages/portal-ak/src/pages/button/BtnBasic.vue deleted file mode 100644 index dab7158b22ae4659e097683812454eea4500610c..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/button/BtnBasic.vue +++ /dev/null @@ -1,146 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/button/TheIndex.vue b/packages/portal-ak/src/pages/button/TheIndex.vue deleted file mode 100644 index 2b450ffe44bc72e1c1c0e0cd5358c2550ed5aab4..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/button/TheIndex.vue +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/card/TheIndex.vue b/packages/portal-ak/src/pages/card/TheIndex.vue deleted file mode 100644 index df39c4c85ad7670ff003e3be45004f6e7bbc5a43..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/card/TheIndex.vue +++ /dev/null @@ -1,27 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/card/a/CardCoverAndText-A.vue b/packages/portal-ak/src/pages/card/a/CardCoverAndText-A.vue deleted file mode 100644 index d38046bf41fe0b020e40af9d8a319b0956206342..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/card/a/CardCoverAndText-A.vue +++ /dev/null @@ -1,95 +0,0 @@ - - - - - diff --git a/packages/portal-ak/src/pages/card/a/CardIcon-A.vue b/packages/portal-ak/src/pages/card/a/CardIcon-A.vue deleted file mode 100644 index 01f2017826796b20e9afa56c4fa6ed697f6c802c..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/card/a/CardIcon-A.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/card/a/CardText-A.vue b/packages/portal-ak/src/pages/card/a/CardText-A.vue deleted file mode 100644 index 93d6fea0ae3e5d286573a2d08a69d8d4d8da611a..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/card/a/CardText-A.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - - - diff --git a/packages/portal-ak/src/pages/card/k/CardCoverAndText-K.vue b/packages/portal-ak/src/pages/card/k/CardCoverAndText-K.vue deleted file mode 100644 index 66516ab53395e6f7fb04f8bfb252a56bb49e8677..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/card/k/CardCoverAndText-K.vue +++ /dev/null @@ -1,98 +0,0 @@ - - - - - diff --git a/packages/portal-ak/src/pages/card/k/CardIcon-K.vue b/packages/portal-ak/src/pages/card/k/CardIcon-K.vue deleted file mode 100644 index 8605b7ed8ee2967a2f19c2f1d82e3a8e280fe214..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/card/k/CardIcon-K.vue +++ /dev/null @@ -1,110 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/card/k/CardText-K.vue b/packages/portal-ak/src/pages/card/k/CardText-K.vue deleted file mode 100644 index 2f923edd07b1f8ae1a58847be3a9022078e825c2..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/card/k/CardText-K.vue +++ /dev/null @@ -1,88 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/carousel/CarouselBasic.vue b/packages/portal-ak/src/pages/carousel/CarouselBasic.vue deleted file mode 100644 index a492e4531f464d8f736828754ac9f89180a1fb4c..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/carousel/CarouselBasic.vue +++ /dev/null @@ -1,141 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/carousel/TheIndex.vue b/packages/portal-ak/src/pages/carousel/TheIndex.vue deleted file mode 100644 index 22565dc3b43d27d97c591affb081aefdc12fa667..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/carousel/TheIndex.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/checkbox/CheckboxBasic.vue b/packages/portal-ak/src/pages/checkbox/CheckboxBasic.vue deleted file mode 100644 index 9f81a4bfa70bb65c688cfd3ba8cdb3d55ba38b59..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/checkbox/CheckboxBasic.vue +++ /dev/null @@ -1,14 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/checkbox/CheckboxDirection.vue b/packages/portal-ak/src/pages/checkbox/CheckboxDirection.vue deleted file mode 100644 index ee8933809e184b09505d80c839a989d39c711846..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/checkbox/CheckboxDirection.vue +++ /dev/null @@ -1,27 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/checkbox/CheckboxDisabled.vue b/packages/portal-ak/src/pages/checkbox/CheckboxDisabled.vue deleted file mode 100644 index 1571718f17f24a73660c6d3be8cd33c4cf776b12..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/checkbox/CheckboxDisabled.vue +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/checkbox/CheckboxIndeterminate.vue b/packages/portal-ak/src/pages/checkbox/CheckboxIndeterminate.vue deleted file mode 100644 index 4dabe79a48917d696fae062ebd00789b2eb8c8a5..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/checkbox/CheckboxIndeterminate.vue +++ /dev/null @@ -1,45 +0,0 @@ - - - - - diff --git a/packages/portal-ak/src/pages/checkbox/TheIndex.vue b/packages/portal-ak/src/pages/checkbox/TheIndex.vue deleted file mode 100644 index 1179aed043edaa906c39c7d09939ecf6131277e6..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/checkbox/TheIndex.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/dialog/TheBasic.vue b/packages/portal-ak/src/pages/dialog/TheBasic.vue deleted file mode 100644 index f20704c4959b764c97a559c4008eff42ee4babc4..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/dialog/TheBasic.vue +++ /dev/null @@ -1,174 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/dialog/TheIndex.vue b/packages/portal-ak/src/pages/dialog/TheIndex.vue deleted file mode 100644 index 9f1c85ad075d3666d823897b7196a6d8eddfd935..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/dialog/TheIndex.vue +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/divider/TheIndex.vue b/packages/portal-ak/src/pages/divider/TheIndex.vue deleted file mode 100644 index fcc56d2f18d96c747fad8a4af84446588222cc5a..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/divider/TheIndex.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - - - diff --git a/packages/portal-ak/src/pages/figure/TheBasic.vue b/packages/portal-ak/src/pages/figure/TheBasic.vue deleted file mode 100644 index 0e38f657a01358fd95b0acbc183e489246c7350c..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/figure/TheBasic.vue +++ /dev/null @@ -1,33 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/figure/TheIndex.vue b/packages/portal-ak/src/pages/figure/TheIndex.vue deleted file mode 100644 index 9f1c85ad075d3666d823897b7196a6d8eddfd935..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/figure/TheIndex.vue +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/input/TheBasic.vue b/packages/portal-ak/src/pages/input/TheBasic.vue deleted file mode 100644 index 60dd42fb09dc46ba219ec3806d05f24afa996986..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/input/TheBasic.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/input/TheIndex.vue b/packages/portal-ak/src/pages/input/TheIndex.vue deleted file mode 100644 index 9f1c85ad075d3666d823897b7196a6d8eddfd935..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/input/TheIndex.vue +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/loading/LoadingDirective.vue b/packages/portal-ak/src/pages/loading/LoadingDirective.vue deleted file mode 100644 index 07f550506f96de0b0dfb1194c870c7a699cc3531..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/loading/LoadingDirective.vue +++ /dev/null @@ -1,32 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/loading/LoadingService.vue b/packages/portal-ak/src/pages/loading/LoadingService.vue deleted file mode 100644 index 23567853b48b1e51cf19b8bb2662dee7cfa12bd8..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/loading/LoadingService.vue +++ /dev/null @@ -1,45 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/loading/TheBasic.vue b/packages/portal-ak/src/pages/loading/TheBasic.vue deleted file mode 100644 index 162d9e88da9c9c38c9cca22227e495ff4853def0..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/loading/TheBasic.vue +++ /dev/null @@ -1,47 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/loading/TheIndex.vue b/packages/portal-ak/src/pages/loading/TheIndex.vue deleted file mode 100644 index be87284b4b53b72d7cb20bf9a1f33a652f8c1096..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/loading/TheIndex.vue +++ /dev/null @@ -1,14 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/menu/MenuBasic.vue b/packages/portal-ak/src/pages/menu/MenuBasic.vue deleted file mode 100644 index 134aaf68df3514cf5ada73e05abe4bb0d20f9d23..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/menu/MenuBasic.vue +++ /dev/null @@ -1,127 +0,0 @@ - - - - - diff --git a/packages/portal-ak/src/pages/menu/OIconMore.vue b/packages/portal-ak/src/pages/menu/OIconMore.vue deleted file mode 100644 index cff3d7590408558e4851f1ea96ae98ef2b0e2137..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/menu/OIconMore.vue +++ /dev/null @@ -1,16 +0,0 @@ - - \ No newline at end of file diff --git a/packages/portal-ak/src/pages/menu/TheIndex.vue b/packages/portal-ak/src/pages/menu/TheIndex.vue deleted file mode 100644 index f172a87a76d6fdd3f917d0bc1d7feb51d1c611c7..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/menu/TheIndex.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/message/MessageBasic.vue b/packages/portal-ak/src/pages/message/MessageBasic.vue deleted file mode 100644 index 15626066f584a7f0b6a41d375f01e099a6aa59b7..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/message/MessageBasic.vue +++ /dev/null @@ -1,92 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/message/MessageInline.vue b/packages/portal-ak/src/pages/message/MessageInline.vue deleted file mode 100644 index d1ae57837e34fccc6404907a435551bcb20c354d..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/message/MessageInline.vue +++ /dev/null @@ -1,36 +0,0 @@ - - - - - diff --git a/packages/portal-ak/src/pages/message/TheIndex.vue b/packages/portal-ak/src/pages/message/TheIndex.vue deleted file mode 100644 index d64d0678a48d9a3976f09692eb83dc405d0f202b..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/message/TheIndex.vue +++ /dev/null @@ -1,11 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/pagination/TheBasic.vue b/packages/portal-ak/src/pages/pagination/TheBasic.vue deleted file mode 100644 index ed1623117583fabc1b602d37f6f4a87e72016289..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/pagination/TheBasic.vue +++ /dev/null @@ -1,23 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/pagination/TheIndex.vue b/packages/portal-ak/src/pages/pagination/TheIndex.vue deleted file mode 100644 index 9f1c85ad075d3666d823897b7196a6d8eddfd935..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/pagination/TheIndex.vue +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/popover/TheBasic.vue b/packages/portal-ak/src/pages/popover/TheBasic.vue deleted file mode 100644 index e7ce33da25d31aac2555bbfa4ee8f5ba41267fcd..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/popover/TheBasic.vue +++ /dev/null @@ -1,47 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/popover/TheIndex.vue b/packages/portal-ak/src/pages/popover/TheIndex.vue deleted file mode 100644 index 9f1c85ad075d3666d823897b7196a6d8eddfd935..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/popover/TheIndex.vue +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/progress/ProgressBasic.vue b/packages/portal-ak/src/pages/progress/ProgressBasic.vue deleted file mode 100644 index 6e9d886e972962c559031045991c999b80bf794e..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/progress/ProgressBasic.vue +++ /dev/null @@ -1,45 +0,0 @@ - - - - - diff --git a/packages/portal-ak/src/pages/progress/TheIndex.vue b/packages/portal-ak/src/pages/progress/TheIndex.vue deleted file mode 100644 index bf4890c2098d1437a1095a3ee6a19beab0346ae5..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/progress/TheIndex.vue +++ /dev/null @@ -1,16 +0,0 @@ - - - - - diff --git a/packages/portal-ak/src/pages/radio/RadioBasic.vue b/packages/portal-ak/src/pages/radio/RadioBasic.vue deleted file mode 100644 index 81424058440689cada8c9d1ceaba95fea6b4decd..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/radio/RadioBasic.vue +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/radio/RadioDirection.vue b/packages/portal-ak/src/pages/radio/RadioDirection.vue deleted file mode 100644 index 1387eae4e2589275d4f51dc59df4ab2d49557202..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/radio/RadioDirection.vue +++ /dev/null @@ -1,29 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/radio/RadioDisabled.vue b/packages/portal-ak/src/pages/radio/RadioDisabled.vue deleted file mode 100644 index 0bec44d687225595006f4c6f363ca4ae5952961a..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/radio/RadioDisabled.vue +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/radio/TheIndex.vue b/packages/portal-ak/src/pages/radio/TheIndex.vue deleted file mode 100644 index 0665564adc012f469cda6547b3f9a6c5f5ae4641..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/radio/TheIndex.vue +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/rate/RateBasic.vue b/packages/portal-ak/src/pages/rate/RateBasic.vue deleted file mode 100644 index b00f08193bea770b1eec9f22e21e69ba00f272a4..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/rate/RateBasic.vue +++ /dev/null @@ -1,27 +0,0 @@ - - - - - diff --git a/packages/portal-ak/src/pages/rate/RateLabels.vue b/packages/portal-ak/src/pages/rate/RateLabels.vue deleted file mode 100644 index b50000210a1ff8eab8cfc30d3a8bc430838c4b87..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/rate/RateLabels.vue +++ /dev/null @@ -1,22 +0,0 @@ - - - - - diff --git a/packages/portal-ak/src/pages/rate/RateSize.vue b/packages/portal-ak/src/pages/rate/RateSize.vue deleted file mode 100644 index c8e5284d6e0e434a7de63a07872222298c9f2020..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/rate/RateSize.vue +++ /dev/null @@ -1,26 +0,0 @@ - - - - - diff --git a/packages/portal-ak/src/pages/rate/TheIndex.vue b/packages/portal-ak/src/pages/rate/TheIndex.vue deleted file mode 100644 index b4e044a01f74eb09caf8b8d80451e69f25e1578d..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/rate/TheIndex.vue +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/scroller/TheBasic.vue b/packages/portal-ak/src/pages/scroller/TheBasic.vue deleted file mode 100644 index 22399900cad1b175281a410c00dda7992f8c12d8..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/scroller/TheBasic.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/scroller/TheIndex.vue b/packages/portal-ak/src/pages/scroller/TheIndex.vue deleted file mode 100644 index 9f1c85ad075d3666d823897b7196a6d8eddfd935..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/scroller/TheIndex.vue +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/select/TheBasic.vue b/packages/portal-ak/src/pages/select/TheBasic.vue deleted file mode 100644 index 1f23198e8c6cefd54334fe663903a0ef6c9069e2..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/select/TheBasic.vue +++ /dev/null @@ -1,167 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/select/TheIndex.vue b/packages/portal-ak/src/pages/select/TheIndex.vue deleted file mode 100644 index 9f1c85ad075d3666d823897b7196a6d8eddfd935..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/select/TheIndex.vue +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/switch/TheIndex.vue b/packages/portal-ak/src/pages/switch/TheIndex.vue deleted file mode 100644 index b02765f92488a3d7b0f68634f8a4356e2f8e3c93..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/switch/TheIndex.vue +++ /dev/null @@ -1,28 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/tab/TheBasic.vue b/packages/portal-ak/src/pages/tab/TheBasic.vue deleted file mode 100644 index 4b964fc45681076ebd42780febfdfd3d4f393a7e..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/tab/TheBasic.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/tab/TheIndex.vue b/packages/portal-ak/src/pages/tab/TheIndex.vue deleted file mode 100644 index 9f1c85ad075d3666d823897b7196a6d8eddfd935..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/tab/TheIndex.vue +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/table/TheBasic.vue b/packages/portal-ak/src/pages/table/TheBasic.vue deleted file mode 100644 index 8881dbb061d0c08dc69811c3777b0b256558ebfd..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/table/TheBasic.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/table/TheIndex.vue b/packages/portal-ak/src/pages/table/TheIndex.vue deleted file mode 100644 index 9f1c85ad075d3666d823897b7196a6d8eddfd935..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/table/TheIndex.vue +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/table/data.ts b/packages/portal-ak/src/pages/table/data.ts deleted file mode 100644 index c982081dfef115d0f333d9988c0118670c2d4dd2..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/table/data.ts +++ /dev/null @@ -1,32 +0,0 @@ -function getItem(index: number) { - return { - no: index, - key: index, - name: `William Smith ${index}`, - salary: 27000 + index, - address: `${index} Park Road, London`, - email: `william.smith${index}@example.com`, - other: `other info ${index}`, - }; -} - -export function getTableData(total: number, idx = 0) { - const rlt = []; - for (let i = idx; i <= idx + total; i++) { - rlt.push(getItem(i + 1)); - } - return rlt; -} - -export function requestTableData(cursor: number, length: number): Promise<{ total: number, list: any[] }> { - const total = 100; - return new Promise((resolve) => { - const list = getTableData(length, cursor); - setTimeout(() => { - resolve({ - total, - list - }); - }, 1000); - }); -} \ No newline at end of file diff --git a/packages/portal-ak/src/pages/tag/TagBasic.vue b/packages/portal-ak/src/pages/tag/TagBasic.vue deleted file mode 100644 index ae6cc60229a80d85ce43d8c74bd0f26daf2baa74..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/tag/TagBasic.vue +++ /dev/null @@ -1,29 +0,0 @@ - - - - diff --git a/packages/portal-ak/src/pages/tag/TagClosable.vue b/packages/portal-ak/src/pages/tag/TagClosable.vue deleted file mode 100644 index 658699aeff4389dd7662fa7d6ca01ea5b54878e3..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/tag/TagClosable.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/tag/TagSize.vue b/packages/portal-ak/src/pages/tag/TagSize.vue deleted file mode 100644 index 4f97f8064deae1ceb97e3a746b8a25d3a4f7f63b..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/tag/TagSize.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - - diff --git a/packages/portal-ak/src/pages/tag/TheIndex.vue b/packages/portal-ak/src/pages/tag/TheIndex.vue deleted file mode 100644 index 56a296a80fb2154ee8c7526507042e059ecfe07b..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/tag/TheIndex.vue +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/textarea/TheBasic.vue b/packages/portal-ak/src/pages/textarea/TheBasic.vue deleted file mode 100644 index 04846554ff65e1dab524b96146c7a3ae1a5e6fdd..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/textarea/TheBasic.vue +++ /dev/null @@ -1,17 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/textarea/TheIndex.vue b/packages/portal-ak/src/pages/textarea/TheIndex.vue deleted file mode 100644 index 9f1c85ad075d3666d823897b7196a6d8eddfd935..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/textarea/TheIndex.vue +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/toggle/TheIndex.vue b/packages/portal-ak/src/pages/toggle/TheIndex.vue deleted file mode 100644 index dc8f19e838121d6db45f4cc2990b7012965345fa..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/toggle/TheIndex.vue +++ /dev/null @@ -1,12 +0,0 @@ - - diff --git a/packages/portal-ak/src/pages/toggle/ToggleCheckbox.vue b/packages/portal-ak/src/pages/toggle/ToggleCheckbox.vue deleted file mode 100644 index 93bbbb9f3d7cbcccd5cb4f87579e32d630e3c679..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/toggle/ToggleCheckbox.vue +++ /dev/null @@ -1,33 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/toggle/ToggleMinAndMax.vue b/packages/portal-ak/src/pages/toggle/ToggleMinAndMax.vue deleted file mode 100644 index c847fd5667dae55c67923ce02a2a1e1bfd5f0d2b..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/toggle/ToggleMinAndMax.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - - - diff --git a/packages/portal-ak/src/pages/toggle/ToggleRadio.vue b/packages/portal-ak/src/pages/toggle/ToggleRadio.vue deleted file mode 100644 index 7dde9cb0897901b07d62a352a29201ba5f7d5087..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/toggle/ToggleRadio.vue +++ /dev/null @@ -1,33 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/upload/TheBasic.vue b/packages/portal-ak/src/pages/upload/TheBasic.vue deleted file mode 100644 index 941606aa2f13fca9e4e05cf422ecfee48cec9a98..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/upload/TheBasic.vue +++ /dev/null @@ -1,62 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/upload/TheIndex.vue b/packages/portal-ak/src/pages/upload/TheIndex.vue deleted file mode 100644 index 9f1c85ad075d3666d823897b7196a6d8eddfd935..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/upload/TheIndex.vue +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/packages/portal-ak/src/pages/upload/upload.ts b/packages/portal-ak/src/pages/upload/upload.ts deleted file mode 100644 index 2a40b80c50cb992bb5f6ba8687bf369169744eb0..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/pages/upload/upload.ts +++ /dev/null @@ -1,113 +0,0 @@ -import { UploadRequestOptionT, UploadFileT } from '@opendesign-src/index'; - -export const onAfterSelect = (fileList: FileList): Promise => { - const files: File[] = []; - const nofiles: string[] = []; - Array.from(fileList).forEach((f) => { - if (f.size < 1024 * 1024 * 5) { - files.push(f); - } else { - nofiles.push(f.name); - } - }); - - if (nofiles.length > 0) { - console.warn(`Filtered by size: ${nofiles.join(', ')}`); - } - return Promise.resolve( - files.map((file) => { - return { - id: file.name, - name: file.name, - file: file, - }; - }) - ); -}; - -export const mockUpload = (file?: File, onFinished?: (success: boolean) => void, onProgress?: (p: number) => void) => { - if (!file) { - return; - } - let c = 0; - const size = file.size; - const speed = Math.floor(size * 0.05); - const timer = setInterval(() => { - const r = Math.random(); - if (r > 0.9) { - console.log(r); - - clearInterval(timer); - if (onFinished) { - onFinished(false); - } - } else { - c += speed; - if (c >= size) { - if (onProgress) { - onProgress(100); - } - clearInterval(timer); - if (onFinished) { - onFinished(true); - } - } else { - if (onProgress) { - onProgress(Math.floor((c * 100) / size)); - } - } - } - }, 200); - return () => { - clearInterval(timer); - if (onFinished) { - onFinished(false); - } - }; -}; - -export const uploadRequest = (options: UploadRequestOptionT, hasProgress: boolean = true) => { - const { onSuccess, onProgress, onError, file } = options; - - const abort = mockUpload( - file.file, - (success) => { - if (success) { - onSuccess(success); - } else { - onError( - { - message: '上传失败:失败原因', - }, - true - ); - } - }, - hasProgress ? onProgress : undefined - ); - - return { - abort: () => { - if (abort) { - abort(); - } - }, - }; -}; - -export const onBeforeUpload = (file: UploadFileT) => { - const reader = new FileReader(); - reader.onload = () => { - console.log(reader.result); - }; - if (file.file) { - reader.readAsDataURL(file.file); - } - - return Promise.resolve(file.file || true); -}; - -export const onBeforeRemove = (file: UploadFileT) => { - const r = window.confirm(`确认删除文件:${file.name}`); - return Promise.resolve(r); -}; diff --git a/packages/portal-ak/src/router.ts b/packages/portal-ak/src/router.ts deleted file mode 100644 index d364d48c2bdb11765137959b9164d770afff3d88..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/router.ts +++ /dev/null @@ -1,216 +0,0 @@ -import { createRouter, createWebHashHistory } from 'vue-router'; -import TheHome from './pages/TheHome.vue'; -import TheComponent from './pages/TheComponent.vue'; - -export const routes = [ - { - path: '/', - name: 'Home', - label: '通用', - component: TheHome, - }, - { - path: '/component', - name: 'component', - label: '通用', - component: TheComponent, - children: [ - { - path: 'text', - name: 'Text', - label: '文本 Text', - component: () => import('./pages/TheText.vue'), - }, - { - path: 'icons', - name: 'Icons', - label: '图标 Icon', - component: () => import('@opendesign-src/icon/__demo__/TheIndex.vue'), - }, - { - path: 'button', - name: 'Button', - label: '按钮 Button', - component: () => import('./pages/button/TheIndex.vue'), - }, - { - path: 'switch', - name: 'Switch', - label: '开关 Switch', - component: () => import('./pages/switch/TheIndex.vue'), - }, - - { - path: 'radio', - name: 'Radio', - label: '单选框 Radio', - component: () => import('./pages/radio/TheIndex.vue'), - }, - { - path: 'checkbox', - name: 'Checkbox', - label: '多选框 Checkbox', - component: () => import('./pages/checkbox/TheIndex.vue'), - }, - { - path: 'input', - name: 'input', - label: '输入框 input', - component: () => import('./pages/input/TheIndex.vue'), - }, - { - path: 'textarea', - name: 'textarea', - label: '文本域 textarea', - component: () => import('./pages/textarea/TheIndex.vue'), - }, - { - path: 'divider', - name: 'Divider', - label: '分割线 Divider', - component: () => import('./pages/divider/TheIndex.vue'), - }, - { - path: 'progress', - name: 'Progress', - label: '进度条 Progress', - component: () => import('./pages/progress/TheIndex.vue'), - }, - { - path: 'scroller', - name: 'scroller', - label: '滚动条 scroller', - component: () => import('./pages/scroller/TheIndex.vue'), - }, - { - path: 'popover', - name: 'popover', - label: '气泡提示 popover', - component: () => import('./pages/popover/TheIndex.vue'), - }, - { - path: 'dialog', - name: 'dialog', - label: '弹窗 dialog', - component: () => import('./pages/dialog/TheIndex.vue'), - }, - { - path: 'select', - name: 'select', - label: '下拉选择器 select', - component: () => import('./pages/select/TheIndex.vue'), - }, - { - path: 'badge', - name: 'Badge', - label: '徽标 Badge', - component: () => import('./pages/badge/TheIndex.vue'), - }, - { - path: 'message', - name: 'Message', - label: '消息 Message', - component: () => import('./pages/message/TheIndex.vue'), - }, - { - path: 'rate', - name: 'Rate', - label: '评分 Rate', - component: () => import('./pages/rate/TheIndex.vue'), - }, - { - path: 'tag', - name: 'Tag', - label: '标签 Tag', - component: () => import('./pages/tag/TheIndex.vue'), - }, - { - path: 'breadcrumb', - name: 'Breadcrumb', - label: '面包屑 Breadcrumb', - component: () => import('./pages/breadcrumb/TheIndex.vue'), - }, - { - path: 'toggle', - name: 'Toggle', - label: '选择块 Toggle', - component: () => import('./pages/toggle/TheIndex.vue'), - }, - { - path: 'upload', - name: 'upload', - label: '上传 upload', - component: () => import('./pages/upload/TheIndex.vue'), - }, - { - path: 'figure', - name: 'figure', - label: '图片 figure', - component: () => import('./pages/figure/TheIndex.vue'), - }, - { - path: 'pagination', - name: 'pagination', - label: '分页 pagination', - component: () => import('./pages/pagination/TheIndex.vue'), - }, - { - path: 'card', - name: 'card', - label: '卡片 Card', - component: () => import('./pages/card/TheIndex.vue'), - }, - { - path: 'tab', - name: 'tab', - label: '页签 tab', - component: () => import('./pages/tab/TheIndex.vue'), - }, - { - path: 'table', - name: 'table', - label: '表格 table', - component: () => import('./pages/table/TheIndex.vue'), - }, - { - path: 'menu', - name: 'Menu', - label: '菜单 Menu', - component: () => import('./pages/menu/TheIndex.vue'), - }, - { - path: 'carousel', - name: 'carousel', - label: '轮播 Carousel', - component: () => import('./pages/carousel/TheIndex.vue'), - }, - { - path: 'loading', - name: 'loading', - label: '加载 Loading', - component: () => import('./pages/loading/TheIndex.vue'), - }, - ], - }, - { - path: '/mb/button', - name: 'mb-Button', - label: '按钮 Button', - component: () => import('./pages/button/TheIndex.vue'), - }, -]; - -export const router = createRouter({ - history: createWebHashHistory('./'), - routes, - scrollBehavior(to, from, savePosition) { - if (savePosition) { - return savePosition; - } else { - return { - top: 0, - behavior: 'smooth', - }; - } - }, -}); diff --git a/packages/portal-ak/src/shared/theme.ts b/packages/portal-ak/src/shared/theme.ts deleted file mode 100644 index c10db06a5d19f0107e3c5838d5205343b91ba7ce..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/shared/theme.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { computed, ref } from 'vue'; -const theme = ref(''); - -const darkTheme = computed(() => { - return theme.value.replace('light', 'dark'); -}); -const lightTheme = computed(() => { - return theme.value.replace('dark', 'light'); -}); - -export default theme; -export { darkTheme, lightTheme }; diff --git a/packages/portal-ak/src/vite-env.d.ts b/packages/portal-ak/src/vite-env.d.ts deleted file mode 100644 index b4c1d87edcacef40ecbf5089e1fb1c2f66111f4e..0000000000000000000000000000000000000000 --- a/packages/portal-ak/src/vite-env.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/// - -declare module '*.vue' { - import type { DefineComponent } from 'vue'; - const component: DefineComponent<{}, {}, any>; - export default component; -} -declare module '@opendesign-src'; diff --git a/packages/portal-ak/tsconfig.json b/packages/portal-ak/tsconfig.json deleted file mode 100644 index 8ba474d151f2f1715bb68d618b6abe171f47f703..0000000000000000000000000000000000000000 --- a/packages/portal-ak/tsconfig.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "compilerOptions": { - "target": "ESNext", - "useDefineForClassFields": true, - "module": "ESNext", - "moduleResolution": "Node", - "strict": true, - "jsx": "preserve", - "resolveJsonModule": true, - "isolatedModules": true, - "esModuleInterop": true, - "lib": [ - "ESNext", - "DOM" - ], - "skipLibCheck": true, - "noEmit": true, - "baseUrl": "./", - "paths": { - "@/*": [ - "src/*" - ], - "@opendesign-src/*": [ - "../opendesign/src/*" - ] - } - }, - "include": [ - "src/**/*.ts", - "src/**/*.d.ts", - "src/**/*.tsx", - "src/**/*.vue", - "../opendesign/**/*.ts" - ], - "exclude": [ - "../opendesign/**/*.config.ts" - ], - "references": [ - { - "path": "./tsconfig.node.json" - } - ] -} \ No newline at end of file diff --git a/packages/portal-ak/tsconfig.node.json b/packages/portal-ak/tsconfig.node.json deleted file mode 100644 index 9d31e2aed93c876bc048cf2f863cb2a847c901e8..0000000000000000000000000000000000000000 --- a/packages/portal-ak/tsconfig.node.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "compilerOptions": { - "composite": true, - "module": "ESNext", - "moduleResolution": "Node", - "allowSyntheticDefaultImports": true - }, - "include": ["vite.config.ts"] -} diff --git a/packages/portal-ak/vite.config.ts b/packages/portal-ak/vite.config.ts deleted file mode 100644 index b276c21620d64b0dd746962ac9b0e9ab5addc8bd..0000000000000000000000000000000000000000 --- a/packages/portal-ak/vite.config.ts +++ /dev/null @@ -1,30 +0,0 @@ -import path from 'path'; -import { defineConfig } from 'vite'; -import vue from '@vitejs/plugin-vue'; - -// https://vitejs.dev/config/ -export default defineConfig({ - base: './', - build: { - target: ['chrome74'], - outDir: '../../output/ak', - }, - plugins: [vue()], - resolve: { - alias: { - '@/': `${path.resolve(__dirname, './src')}/`, - '@opendesign-src': path.resolve(__dirname, '../opendesign/src'), - '@assets': path.resolve(__dirname, './src/assets'), - }, - }, - // css: { - // preprocessorOptions: { - // scss: { - // additionalData: "@use '@/assets/theme/mixin.scss' as *;", - // }, - // }, - // }, - server: { - port: 3202, - }, -});