@deppon/deppon-assets 2.2.1 → 2.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2022 xingxing
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2022 xingxing
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,3 @@
1
- # `@deppon/deppon-assets`
2
-
3
- 前端静态资源包(字体、样式、图标等)
1
+ # `@deppon/deppon-assets`
2
+
3
+ 前端静态资源包(字体、样式、图标等)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deppon/deppon-assets",
3
- "version": "2.2.1",
3
+ "version": "2.2.3",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "homepage": "",
@@ -1,14 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- /**
4
- * base.less - 全量引入入口文件
5
- * 为了保持向后兼容,此文件导入所有模块
6
- *
7
- * 如需按需引入,请直接引入对应的模块文件:
8
- * - @deppon/deppon-assets/dist/css/reset.less
9
- * - @deppon/deppon-assets/dist/css/fonts.less
10
- * - @deppon/deppon-assets/dist/css/utilities.less
11
- * - @deppon/deppon-assets/dist/css/variables.less
12
- */
13
-
14
- @import './fonts.less';
@@ -1,66 +0,0 @@
1
- @charset "UTF-8";
2
- @font-face {
3
- font-family: JDLangZhengTi;
4
- src: url('../font/JDLangZhengTi.ttf') format('truetype');
5
- font-style: normal;
6
- font-display: swap;
7
- }
8
- @font-face {
9
- font-family: PingFangSC-Regular;
10
- src: url('../font/PingFangSC-Regular.ttf') format('truetype');
11
- font-style: normal;
12
- font-weight: 400;
13
- font-display: swap;
14
- }
15
- @font-face {
16
- font-family: PingFangSC-Regular;
17
- src: url('../font/PingFangSC-Medium.ttf') format('truetype');
18
- font-style: normal;
19
- font-weight: 600;
20
- font-display: swap;
21
- }
22
- @font-face {
23
- font-family: 'AlibabaSans';
24
- font-style: normal;
25
- font-weight: 300;
26
- font-display: swap;
27
- src: url('//mdn.alipayobjects.com/huamei_iwk9zp/afts/file/A*1GSgSYDD_aIAAAAAQsAAAAgAegCCAQ/AlibabaSans-Light.woff2')
28
- format('woff2'),
29
- url('../font/AlibabaSans-Light.woff2') format('woff2');
30
- }
31
- @font-face {
32
- font-family: 'AlibabaSans';
33
- font-style: normal;
34
- font-weight: 400;
35
- font-display: swap;
36
- src: url('//mdn.alipayobjects.com/huamei_iwk9zp/afts/file/A*2zEUQqnPNesAAAAAQtAAAAgAegCCAQ/AlibabaSans-Regular.woff2')
37
- format('woff2'),
38
- url('../font/AlibabaSans-Regular.woff2') format('woff2');
39
- }
40
- @font-face {
41
- font-family: 'AlibabaSans';
42
- font-style: normal;
43
- font-weight: 500;
44
- font-display: swap;
45
- src: url('//mdn.alipayobjects.com/huamei_iwk9zp/afts/file/A*E_cxRbMlZqUAAAAAQuAAAAgAegCCAQ/AlibabaSans-Medium.woff2')
46
- format('woff2'),
47
- url('../font/AlibabaSans-Medium.woff2') format('woff2');
48
- }
49
- @font-face {
50
- font-family: 'AlibabaSans';
51
- font-style: normal;
52
- font-weight: 600;
53
- font-display: swap;
54
- src: url('//mdn.alipayobjects.com/huamei_iwk9zp/afts/file/A*E_cxRbMlZqUAAAAAQuAAAAgAegCCAQ/AlibabaSans-Bold.woff2')
55
- format('woff2'),
56
- url('../font/AlibabaSans-Bold.woff2') format('woff2');
57
- }
58
- @font-face {
59
- font-family: 'AlibabaSans';
60
- font-style: normal;
61
- font-weight: 700;
62
- font-display: swap;
63
- src: url('//mdn.alipayobjects.com/huamei_iwk9zp/afts/file/A*E_cxRbMlZqUAAAAAQuAAAAgAegCCAQ/AlibabaSans-Heavy.woff2')
64
- format('woff2'),
65
- url('../font/AlibabaSans-Heavy.woff2') format('woff2');
66
- }
@@ -1,16 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- /* 覆盖浏览器默认样式 */
4
- html,
5
- body,
6
- #app {
7
- margin: 0;
8
- padding: 0;
9
- height: 100vh;
10
- width: 100vw;
11
- /* 确保字体变量全局生效 */
12
- font-family: AlibabaSans, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
13
- 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
14
- font-size: 14px;
15
- font-weight: 400;
16
- }
@@ -1,47 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- /* flex布局工具类 */
4
- .u-f,
5
- .u-f-ac,
6
- .u-f-ajc,
7
- .u-f-jcc,
8
- .u-f-jsb,
9
- .u-f-jsa {
10
- display: flex;
11
- flex-direction: row;
12
- }
13
-
14
- .u-f-ac,
15
- .u-f-ajc,
16
- .u-f-jsb,
17
- .u-f-jsa {
18
- align-items: center;
19
- }
20
-
21
- .u-f-ajc,
22
- .u-f-jcc {
23
- justify-content: center;
24
- }
25
-
26
- .u-f-jsb {
27
- justify-content: space-between;
28
- }
29
-
30
- .u-f-jsa {
31
- justify-content: space-around;
32
- }
33
-
34
- .u-f-col {
35
- display: flex;
36
- flex-direction: column;
37
- }
38
-
39
- .u-f-jcs {
40
- display: flex;
41
- justify-content: flex-start;
42
- }
43
-
44
- .u-f-ais {
45
- display: flex;
46
- align-items: flex-start;
47
- }
@@ -1,81 +0,0 @@
1
- @charset "UTF-8";
2
-
3
- /**
4
- * variables.less - CSS 变量默认值定义
5
- * 定义 Element Plus 和业务组件的默认 CSS 变量值
6
- * 如需覆盖,请在项目的 :root 选择器中重新定义对应变量即可
7
- */
8
-
9
- :root {
10
- /* ==================== Element Plus 主题色设置 ==================== */
11
- --el-color-primary: #1957ff;
12
- --el-font-size: 14px;
13
- --el-line-width: 1px;
14
- --el-line-type: solid;
15
- --el-text-color-primary: rgba(0, 0, 0, 0.88);
16
- --el-text-color-regular: rgba(0, 0, 0, 0.6);
17
-
18
- --el-color-primary-light-3: rgb(94, 137, 255);
19
- --el-color-primary-light-5: rgb(140, 171, 255);
20
- --el-color-primary-light-7: rgb(186, 205, 255);
21
- --el-color-primary-light-8: rgb(209, 221, 255);
22
- --el-color-primary-light-9: rgb(232, 238, 255);
23
- --el-text-color-placeholder: rgba(0, 0, 0, 0.25);
24
-
25
- /* ==================== 字体设置 ==================== */
26
- /* 通用字体 - 用于大部分组件 */
27
- --pro-font-family: AlibabaSans;
28
-
29
- /* Logo 字体 - 用于 Logo 文字显示 */
30
- --pro-font-family-logo: JDLangZhengTi;
31
-
32
- /* ==================== 阴影颜色设置 ==================== */
33
- /* 标准阴影 - 用于 Dialog 等组件 */
34
- --pro-shadow-color: rgba(0, 0, 0, 0.1);
35
- /* 浅色阴影 - 用于下拉菜单等组件 */
36
- --pro-shadow-color-light: rgba(0, 0, 0, 0.08);
37
- /* 侧边栏阴影 - 用于侧边栏组件 */
38
- --pro-shadow-color-sider: rgba(0, 0, 0, 0.12);
39
- /* 按钮阴影 - 用于按钮组件 */
40
- --pro-shadow-color-btn: rgba(0, 0, 0, 0.15);
41
- /* Logo 阴影 - 用于 Logo 组件 */
42
- --pro-shadow-color-logo: rgba(0, 21, 41, 0.02);
43
-
44
- /* ==================== 表格相关颜色 ==================== */
45
- /* 表格边框颜色 - 用于表格边框 */
46
- --pro-table-border-color: rgba(0, 0, 0, 0.08);
47
- /* 表格底部边框颜色 - 用于表格无边框模式下的底部边框 */
48
- --pro-table-border-bottom-color: #f3f4f5;
49
- /* 表格表头背景色 - 用于表格表头 */
50
- --pro-table-header-bg: #f4f4f4;
51
- --pro-table-th-color-primary: rgba(0, 0, 0, 0.88);
52
- --pro-table-td-color-primary: rgba(0, 0, 0, 0.88);
53
- /* 表格单元格背景色 - 用于指定列的背景色 */
54
- --pro-table-cell-bg-color: #f4f4f4;
55
- /* 表格红色单元格背景色 - 用于红色标记的单元格 */
56
- --pro-table-cell-red-bg: #fef0f0;
57
- /* 表格红色单元格文字颜色 - 用于红色标记的单元格文字 */
58
- --pro-table-cell-red-color: #f56c6c;
59
- /* 表格浅红色单元格背景色 - 用于浅红色标记的单元格 */
60
- --pro-table-cell-light-red-bg: #fef5f5;
61
- /* 表格浅红色单元格文字颜色 - 用于浅红色标记的单元格文字 */
62
- --pro-table-cell-light-red-color: #f56c6c;
63
- /* 表格错误行背景色 - 用于错误状态的行 */
64
- --pro-table-row-error-bg: #fff5f5;
65
- /* 表格分页器背景色 - 用于分页器背景 */
66
- --pro-table-pagination-bg: rgba(255, 255, 255, 0.6);
67
- /* 表格分页器边框颜色 - 用于分页器边框 */
68
- --pro-table-pagination-border: rgba(5, 5, 5, 0.06);
69
- /* 表格分页器文字颜色 - 用于分页器文字 */
70
- --pro-table-pagination-color: rgba(0, 0, 0, 0.88);
71
- /* 表格底部栏背景色 - 用于批量操作底部栏背景 */
72
- --pro-table-footer-bg: rgba(255, 255, 255, 0.6);
73
- /* 表格底部栏边框颜色 - 用于批量操作底部栏边框 */
74
- --pro-table-footer-border: rgba(5, 5, 5, 0.06);
75
- /* 表格底部栏文字颜色 - 用于批量操作底部栏文字 */
76
- --pro-table-footer-color: rgba(0, 0, 0, 0.88);
77
- /* 表格选中数量文字颜色 - 用于批量操作选中数量文字 */
78
- --pro-table-selected-count-color: rgba(0, 0, 0, 0.88);
79
- /* 表单输入框禁用背景色 - 用于表单输入框禁用状态背景 */
80
- --pro-fill-color-light: rgba(244, 244, 244, 0.6);
81
- }