ronds-metadata 1.2.40 → 1.2.42

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,102 +1,149 @@
1
- /* ---- Cross-editor content styles. --------------------------------------------------------------- */
2
- .ck.ck-content:not(.ck-style-grid__button__preview) {
3
- /* Make sure all content containers have some min height to make them easier to locate. */
4
- min-height: 300px;
5
- padding: 10px 20px;
6
- color: var(--ronds-metadata-color-text-2) !important;
7
- background-color: var(--ronds-metadata-color-bg-5) !important;
8
- border: 1px solid var(--ronds-metadata-color-border-1) !important;
9
- }
10
- .ck .ck-editor {
11
- background-color: var(--ronds-metadata-color-bg-5) !important;
12
- }
13
- .ck.ck-toolbar,
14
- .ck .ck-editor__top {
15
- color: var(--ronds-metadata-color-text-2) !important;
16
- background-color: var(--ronds-metadata-color-bg-5) !important;
17
- }
18
-
19
- .ck .ck-list {
20
- color: var(--ronds-metadata-color-text-2) !important;
21
- background-color: var(--ronds-metadata-color-bg-5) !important;
22
- }
23
-
24
- .ck.ck-button,
25
- .ck .ck-toolbar__separator,
26
- .ck .ck-button__label,
27
- .ck .ck-toolbar__items {
28
- color: var(--ronds-metadata-color-text-2) !important;
29
- }
30
- .ck .ck-on {
31
- color: var(--ck-color-button-on-color) !important;
32
- // background-color: blueviolet !important;
33
- }
34
-
35
- /* Make sure all content containers are distinguishable on a web page even of not focused. */
36
- .ck.ck-content:not(:focus) {
37
- border: 1px solid var(--ck-color-base-border);
38
- }
39
-
40
- /* Font sizes and vertical rhythm for common elements (headings, lists, paragraphs, etc.) */
41
- .ck-content h1 {
42
- font-size: 28px;
43
- }
44
- .ck-content h2 {
45
- font-size: 18px;
46
- }
47
- .ck-content h3 {
48
- font-size: 16px;
49
- }
50
- .ck-content h4 {
51
- font-size: 15px;
52
- }
53
- .ck-content h5 {
54
- font-size: 15px;
55
- }
56
- .ck-content h6 {
57
- font-size: 15px;
58
- }
59
- .ck-content h1,
60
- .ck-content h2,
61
- .ck-content h3,
62
- .ck-content h4,
63
- .ck-content h5,
64
- .ck-content h6 {
65
- color: var(--ronds-metadata-color-text-2) !important;
66
- margin: 42px 0 18px;
67
- font-weight: 600;
68
- line-height: 1.40625;
69
- }
70
- .ck-content blockquote,
71
- .ck-content ol,
72
- .ck-content p,
73
- .ck-content ul {
74
- font-size: 15px;
75
- line-height: 1.40625;
76
- padding-top: 10px;
77
- margin-bottom: var(--ck-spacing-large);
78
- }
79
-
80
- // .ck-content ol,
81
- // .ck-content ul {
82
- // margin-left: 10px !important;
83
- // }
84
-
85
- .ck-content ul li {
86
- list-style: disc !important;
87
- }
88
-
89
- .ck-content ol li {
90
- list-style: decimal !important;
91
- }
92
-
93
- .ck.ck-content.ck-editor__editable_inline > :first-child {
94
- margin-top: 0;
95
- }
96
-
97
- .ck-content .table {
98
- margin: 0px !important;
99
- }
100
- .ck-content .image {
101
- margin: 0px !important;
102
- }
1
+ /* ---- Cross-editor content styles. --------------------------------------------------------------- */
2
+ .ck.ck-content:not(.ck-style-grid__button__preview) {
3
+ /* Make sure all content containers have some min height to make them easier to locate. */
4
+ min-height: 300px;
5
+ padding: 10px 20px;
6
+ color: var(--ronds-metadata-color-text-2) !important;
7
+ background-color: var(--ronds-metadata-color-bg-5) !important;
8
+ border: 1px solid var(--ronds-metadata-color-border-1) !important;
9
+ }
10
+ .ck .ck-editor {
11
+ background-color: var(--ronds-metadata-color-bg-5) !important;
12
+ }
13
+
14
+ .ck-content pre {
15
+ background-color: var(--ronds-metadata-color-bg-2) !important;
16
+ border: 1px solid var(--ronds-metadata-color-border-1) !important;
17
+ }
18
+
19
+ .ck.ck-toolbar,
20
+ .ck .ck-editor__top {
21
+ color: var(--ronds-metadata-color-text-2) !important;
22
+ background-color: var(--ronds-metadata-color-bg-5) !important;
23
+ }
24
+
25
+ .ck .ck-toolbar {
26
+ border: 1px solid var(--ronds-metadata-color-border-1) !important;
27
+ }
28
+
29
+ .ck .ck-list {
30
+ color: var(--ronds-metadata-color-text-2) !important;
31
+ background-color: var(--ronds-metadata-color-bg-5) !important;
32
+ }
33
+
34
+ .ck.ck-button,
35
+ .ck .ck-button__label,
36
+ .ck .ck-toolbar__items {
37
+ color: var(--ronds-metadata-color-text-2) !important;
38
+ }
39
+
40
+ .ck .ck-toolbar__separator {
41
+ background-color: var(--ronds-metadata-color-border-1) !important;
42
+ }
43
+
44
+ /* Make sure all content containers are distinguishable on a web page even of not focused. */
45
+ .ck.ck-content:not(:focus) {
46
+ border: 1px solid var(--ck-color-base-border);
47
+ }
48
+
49
+ /* Font sizes and vertical rhythm for common elements (headings, lists, paragraphs, etc.) */
50
+ .ck-content h1 {
51
+ font-size: 28px;
52
+ }
53
+ .ck-content h2 {
54
+ font-size: 18px;
55
+ }
56
+ .ck-content h3 {
57
+ font-size: 16px;
58
+ }
59
+ .ck-content h4 {
60
+ font-size: 15px;
61
+ }
62
+ .ck-content h5 {
63
+ font-size: 15px;
64
+ }
65
+ .ck-content h6 {
66
+ font-size: 15px;
67
+ }
68
+ .ck-content h1,
69
+ .ck-content h2,
70
+ .ck-content h3,
71
+ .ck-content h4,
72
+ .ck-content h5,
73
+ .ck-content h6 {
74
+ color: var(--ronds-metadata-color-text-2) !important;
75
+ margin: 42px 0 18px;
76
+ font-weight: 600;
77
+ line-height: 1.40625;
78
+ }
79
+ .ck-content blockquote,
80
+ .ck-content ol,
81
+ .ck-content p,
82
+ .ck-content ul {
83
+ font-size: 15px;
84
+ line-height: 1.40625;
85
+ padding-top: 10px;
86
+ margin-bottom: var(--ck-spacing-large);
87
+ }
88
+
89
+ // .ck-content ol,
90
+ // .ck-content ul {
91
+ // margin-left: 10px !important;
92
+ // }
93
+
94
+ .ck-content ul li {
95
+ list-style: disc !important;
96
+ }
97
+
98
+ .ck-content ol li {
99
+ list-style: decimal !important;
100
+ }
101
+
102
+ .ck.ck-content.ck-editor__editable_inline > :first-child {
103
+ margin-top: 0;
104
+ }
105
+
106
+ .ck-content .table {
107
+ margin: 0px !important;
108
+ }
109
+ .ck-content .image {
110
+ margin: 0px !important;
111
+ }
112
+
113
+ .ronds-metadata-dark {
114
+ .ck {
115
+ th {
116
+ background-color: #0d1f40 !important;
117
+ }
118
+ table,
119
+ .ck-content .table table td,
120
+ .ck-content .table table th {
121
+ color: #9b9fa8 !important;
122
+ border: 1px solid var(--ronds-metadata-color-border-1) !important;
123
+ }
124
+ code {
125
+ color: #9b9fa8 !important;
126
+ }
127
+ code[class*='language-'],
128
+ pre[class*='language-'] {
129
+ text-shadow: none;
130
+ }
131
+ .ck.ck-button:hover,
132
+ a.ck.ck-button:hover {
133
+ background-color: #1d4085 !important;
134
+ }
135
+ .ck .ck-on {
136
+ color: var(--ck-color-button-on-color) !important;
137
+ background-color: #1d4085 !important;
138
+ }
139
+ .ck-dropdown__panel {
140
+ border: 1px solid var(--ronds-metadata-color-border-1) !important;
141
+ background-color: var(--ronds-metadata-color-bg-5) !important;
142
+ }
143
+ .ck .ck-form__header__label,
144
+ .ck-character-info__name,
145
+ .ck-special-characters-navigation {
146
+ color: var(--ck-color-button-on-color) !important;
147
+ }
148
+ }
149
+ }
package/es/config.js CHANGED
@@ -2,7 +2,7 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
2
  /*
3
3
  * @Author: wangxian
4
4
  * @Date: 2021-09-18 14:15:04
5
- * @LastEditTime: 2023-05-04 19:02:28
5
+ * @LastEditTime: 2023-05-05 08:33:16
6
6
  */
7
7
  import { BehaviorSubject, map, distinctUntilChanged } from 'rxjs';
8
8
  import { setLocale } from './comps/locales/index';
@@ -11,7 +11,7 @@ import { localeKey } from './framework/locale';
11
11
  window.jQuery = window.jQuery || jq;
12
12
  var defaultConfig = {
13
13
  locale: window.localStorage.getItem(localeKey) || 'zh-CN',
14
- theme: 'normal',
14
+ theme: 'dark',
15
15
  msgpack: false,
16
16
  openLoading: true,
17
17
  baseUrl: '/phm'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "public": true,
3
3
  "name": "ronds-metadata",
4
- "version": "1.2.40",
4
+ "version": "1.2.42",
5
5
  "scripts": {
6
6
  "start": "dumi dev",
7
7
  "docs:build": "dumi build",