@moneko/core 2.0.8 → 2.0.9

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.
@@ -33,8 +33,8 @@
33
33
  &&-inline-collapsed > &-submenu > &-submenu-title {
34
34
  .@{ant-prefix}-menu-item-icon,
35
35
  .@{iconfont-css-prefix} {
36
- font-size: 20px !important;
37
36
  margin: 0 2px !important;
37
+ font-size: 20px !important;
38
38
  }
39
39
  }
40
40
  }
@@ -1,6 +1,6 @@
1
1
  .tabs {
2
- margin: 16px 16px 0 !important;
3
2
  overflow: initial !important;
3
+ margin: 16px 16px 0 !important;
4
4
 
5
5
  > :global(.@{ant-prefix}-tabs-nav) {
6
6
  margin-bottom: 0 !important;
@@ -19,9 +19,9 @@
19
19
 
20
20
  .layout-content {
21
21
  display: flex;
22
- flex-direction: column;
23
- margin: 0 16px;
24
22
  overflow-y: auto;
23
+ margin: 0 16px;
24
+ flex-direction: column;
25
25
  }
26
26
 
27
27
  .content {
@@ -38,26 +38,32 @@
38
38
  position: sticky;
39
39
  top: 0;
40
40
  z-index: 1;
41
- height: 68px;
42
- padding: 14px;
43
41
  overflow: hidden;
44
- color: #de4553;
45
- text-align: center;
46
- background-color: var(--sider-logo-bg, #fff) !important;
47
42
  border-color: var(--sider-logo-bg, #fff);
48
43
  border-right: 16px solid var(--sider-logo-bg, #fff);
49
44
  border-bottom: 1px solid var(--border-color);
50
45
  border-bottom-color: var(--border-color);
51
46
  border-left: 16px solid var(--sider-logo-bg, #fff);
47
+ padding: 14px;
48
+ height: 68px;
49
+ text-align: center;
50
+ color: #de4553;
51
+ background-color: var(--sider-logo-bg, #fff) !important;
52
+ transition-property: background-color, border-color;
53
+ transition-duration: @transition-duration;
54
+ transition-timing-function: @transition-timing-function;
52
55
  cursor: pointer;
53
- transition: border-color @transition-duration @transition-timing-function,
54
- background-color @transition-duration @transition-timing-function;
55
56
  user-select: none;
56
57
 
58
+ > svg,&::before {
59
+ transition-property: opacity;
60
+ transition-duration: @transition-duration;
61
+ transition-timing-function: @transition-timing-function;
62
+ }
63
+
57
64
  > svg {
58
65
  height: 32px;
59
66
  opacity: 0;
60
- transition: opacity @transition-duration @transition-timing-function;
61
67
  }
62
68
 
63
69
  &::before {
@@ -66,12 +72,11 @@
66
72
  bottom: 0;
67
73
  left: 0;
68
74
  display: block;
75
+ margin: auto;
69
76
  width: 22px;
70
77
  height: 32px;
71
- margin: auto;
72
78
  background: url('@{favicon}') no-repeat center center / contain;
73
79
  opacity: 1;
74
- transition: opacity @transition-duration @transition-timing-function;
75
80
  content: '';
76
81
  }
77
82
  }
@@ -40,7 +40,7 @@ main {
40
40
 
41
41
  input,
42
42
  textarea {
43
- caret-color: var(--primary-color-deprecated-bg);;
43
+ caret-color: var(--primary-color-bg);;
44
44
  }
45
45
 
46
46
  h1 {
@@ -245,7 +245,7 @@ template {
245
245
  }
246
246
 
247
247
  :hover::-webkit-scrollbar-thumb {
248
- background-color: var(--primary-color-deprecated-bg);
248
+ background-color: var(--primary-color-bg);
249
249
  }
250
250
 
251
251
  ::-webkit-scrollbar-thumb:hover {
@@ -1,37 +1,35 @@
1
1
  :root {
2
- --text-shadow-color: rgb(0 0 0 / 10%);
3
2
  --font-size: 14px;
4
- --border-color-base: #d9d9d9;
5
- --border-radius-base: 8px;
3
+ --font-size-sm: 12px;
4
+ --font-size-xs: 10px;
5
+ --font-size-lg: 16px;
6
+ --border-base: 1px solid var(--border-color);
7
+ --border-color: #d9d9d9;
8
+ --border-radius: 8px;
6
9
  --body-background: #f8f8f8;
7
10
  --component-background: rgb(255 255 255 / 80%);
8
11
  --table-header-bg: rgb(0 0 0 / 2%);
9
12
  --text-color: rgb(0 0 0 / 65%);
10
- --text-color-secondary: rgb(0 0 0 / 45%);
11
- --heading-color: rgb(0 0 0 / 85%);
12
- --text-selection-bg: var(--primary-color-deprecated-bg);
13
- --box-shadow-small: 0 0 12px rgb(0 0 0 / 10%);
13
+ --text-secondary: #4e4e4e;
14
+ --text-heading: #1b1b1b;
15
+ --text-selection-bg: var(--primary-color-bg);
16
+ --text-shadow-color: rgb(0 0 0 / 10%);
14
17
  --box-shadow-base: 0 3px 6px -4px rgb(0 0 0 / 12%), 0 6px 16px 0 rgb(0 0 0 / 8%),
15
- 0 9px 28px 8px rgb(0 0 0 / 5%);
16
- --font-family: -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial',
17
- 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
18
- 'Noto Color Emoji', 'Helvetica', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans';
18
+ 0 9px 28px 8px rgb(0 0 0 / 5%);
19
+ --font-family: -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue',
20
+ 'Arial', 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
21
+ 'Noto Color Emoji', 'Helvetica', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans';
19
22
  --transition-duration: 0.3s;
20
23
  --transition-timing-function: cubic-bezier(0.94, -0.1, 0.1, 1.2);
21
- --disable-color: rgb(0 0 0 / 25%);
22
- --btn-disable-bg: var(--disable-color);
23
- --btn-disable-border: var(--disable-color);
24
- }
24
+ }
25
25
 
26
- [data-theme='dark'] {
27
- --text-color-secondary: rgb(255 255 255 / 25%);
26
+ [data-theme='dark'] {
27
+ --text-color: #ffffffd9;
28
+ --text-secondary: #cdcdcd;
29
+ --text-heading: rgb(255 255 255 / 85%);
28
30
  --text-shadow-color: rgb(255 255 255 / 10%);
29
- --header-shadow: rgb(255 255 255 / 5%);
30
31
  --body-background: #000;
31
32
  --component-background: rgb(20 20 20 / 80%);
32
33
  --header-bg: rgb(20 20 20 / 90%);
33
- --text-color: #ffffffd9;
34
- --border-color-base: #303030;
35
- --heading-color: rgb(255 255 255 / 85%);
36
- --disabled-color: rgb(255 255 255 / 30%);
37
- }
34
+ --border-color: #303030;
35
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moneko/core",
3
- "version": "2.0.8",
3
+ "version": "2.0.9",
4
4
  "description": "core",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {