x-star-editor 0.0.5 → 0.0.7

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.
@@ -1,135 +0,0 @@
1
- @import './global.less';
2
-
3
- @md-prefix: ~'@{prefix}md-editor-';
4
-
5
- .@{md-prefix}block {
6
- margin: 0.2em;
7
- padding: 0.2em;
8
- border-radius: 0.2em;
9
- }
10
-
11
- .@{md-prefix}block:hover {
12
- background-color: #f8f8f8;
13
- }
14
-
15
- .@{md-prefix}delimiter,
16
- .@{md-prefix}break {
17
- color: #f5771280;
18
- }
19
-
20
- .@{md-prefix}heading {
21
- font-weight: bold;
22
- }
23
-
24
- .@{md-prefix}heading1 {
25
- font-size: 1.6em;
26
- }
27
-
28
- .@{md-prefix}heading2 {
29
- font-size: 1.3em;
30
- }
31
-
32
- .@{md-prefix}heading3 {
33
- font-size: 1.2em;
34
- }
35
-
36
- .@{md-prefix}heading4 {
37
- font-size: 1.1em;
38
- }
39
-
40
- .@{md-prefix}heading5 {
41
- font-size: 1em;
42
- }
43
-
44
- .@{md-prefix}heading6 {
45
- font-size: 0.9em;
46
- }
47
-
48
- .@{md-prefix}thematicBreak,
49
- .@{md-prefix}listItem > .@{md-prefix}delimiter,
50
- .@{md-prefix}definition,
51
- .@{md-prefix}link,
52
- .@{md-prefix}image,
53
- .@{md-prefix}linkReference,
54
- .@{md-prefix}imageReference,
55
- .@{md-prefix}footnoteDefinition,
56
- .@{md-prefix}footnoteReference {
57
- color: #f57712;
58
- }
59
-
60
- .@{md-prefix}html,
61
- .@{md-prefix}code {
62
- padding: 0 0.2em;
63
- tab-size: 4;
64
- font-family: Consolas;
65
- color: #022679;
66
- background-color: #02267910;
67
- border-right: 1px solid #02267920;
68
- border-left: 1px solid #02267920;
69
- }
70
-
71
- .@{md-prefix}html.@{md-prefix}first,
72
- .@{md-prefix}code.@{md-prefix}first {
73
- border-top: 1px solid #02267920;
74
- border-top-left-radius: 0.2em;
75
- border-top-right-radius: 0.2em;
76
- }
77
-
78
- .@{md-prefix}html.@{md-prefix}last,
79
- .@{md-prefix}code.@{md-prefix}last {
80
- border-bottom: 1px solid #02267920;
81
- border-bottom-right-radius: 0.2em;
82
- border-bottom-left-radius: 0.2em;
83
- }
84
-
85
- .@{md-prefix}inlineCode {
86
- margin: 0 0.2em;
87
- padding: 0 0.2em;
88
- tab-size: 4;
89
- font-family: Consolas;
90
- color: #022679;
91
- background-color: #02267910;
92
- border: 1px solid #02267920;
93
- border-radius: 0.2em;
94
- }
95
-
96
- .@{md-prefix}emphasis {
97
- font-style: italic;
98
- }
99
-
100
- .@{md-prefix}strong {
101
- font-weight: bold;
102
- }
103
-
104
- .@{md-prefix}delete > :not(.@{md-prefix}delimiter) {
105
- text-decoration: line-through;
106
- }
107
-
108
- .@{md-prefix}math {
109
- padding: 0 0.2em;
110
- color: #f57712;
111
- background-color: #f5771210;
112
- border-right: 1px solid #f5771220;
113
- border-left: 1px solid #f5771220;
114
- }
115
-
116
- .@{md-prefix}math.@{md-prefix}first {
117
- border-top: 1px solid #f5771220;
118
- border-top-left-radius: 0.2em;
119
- border-top-right-radius: 0.2em;
120
- }
121
-
122
- .@{md-prefix}math.@{md-prefix}last {
123
- border-bottom: 1px solid #f5771220;
124
- border-bottom-right-radius: 0.2em;
125
- border-bottom-left-radius: 0.2em;
126
- }
127
-
128
- .@{md-prefix}inlineMath {
129
- margin: 0 0.2em;
130
- padding: 0 0.2em;
131
- color: #f57712;
132
- background-color: #f5771210;
133
- border: 1px solid #f5771220;
134
- border-radius: 0.2em;
135
- }
@@ -1,171 +0,0 @@
1
- /**
2
- * VS theme by Andrew Lock (https://andrewlock.net)
3
- * Inspired by Visual Studio syntax coloring
4
- */
5
-
6
- @import './global.less';
7
-
8
- .@{prefix}md-viewer.@{prefix}md-viewer {
9
- code,
10
- pre {
11
- color: #393a34;
12
- font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier,
13
- monospace;
14
- direction: ltr;
15
- text-align: left;
16
- white-space: pre;
17
- word-spacing: normal;
18
- word-break: normal;
19
- font-size: 1em;
20
- line-height: 1.2em;
21
- tab-size: 4;
22
- tab-size: 4;
23
- tab-size: 4;
24
- hyphens: none;
25
- hyphens: none;
26
- hyphens: none;
27
- hyphens: none;
28
- }
29
-
30
- pre > code {
31
- font-size: 1.1em;
32
- }
33
-
34
- /* Code blocks */
35
- pre {
36
- padding: 1em;
37
- margin: 0.5em 0;
38
- overflow: auto;
39
- border: 1px solid #ddd;
40
- background-color: white;
41
- }
42
-
43
- /* Inline code */
44
- :not(pre) > code {
45
- padding: 0.2em;
46
- padding-top: 1px;
47
- padding-bottom: 1px;
48
- background: #f8f8f8;
49
- border: 1px solid #ddd;
50
- }
51
-
52
- .token.comment,
53
- .token.prolog,
54
- .token.doctype,
55
- .token.cdata {
56
- color: #008000;
57
- font-style: italic;
58
- }
59
-
60
- .token.namespace {
61
- opacity: 0.7;
62
- }
63
-
64
- .token.string {
65
- color: #a31515;
66
- }
67
-
68
- .token.punctuation,
69
- .token.operator {
70
- color: #393a34; /* no highlight */
71
- }
72
-
73
- .token.url,
74
- .token.symbol,
75
- .token.number,
76
- .token.boolean,
77
- .token.variable,
78
- .token.constant,
79
- .token.inserted {
80
- color: #36acaa;
81
- }
82
-
83
- .token.atrule,
84
- .token.keyword,
85
- .token.attr-value,
86
- .language-autohotkey .token.selector,
87
- .language-json .token.boolean,
88
- .language-json .token.number,
89
- code[class*='language-css'] {
90
- color: #00f;
91
- }
92
-
93
- .token.function {
94
- color: #393a34;
95
- }
96
-
97
- .token.deleted,
98
- .language-autohotkey .token.tag {
99
- color: #9a050f;
100
- }
101
-
102
- .token.selector,
103
- .language-autohotkey .token.keyword {
104
- color: #00009f;
105
- }
106
-
107
- .token.important {
108
- color: #e90;
109
- }
110
-
111
- .token.important,
112
- .token.bold {
113
- font-weight: bold;
114
- }
115
-
116
- .token.italic {
117
- font-style: italic;
118
- }
119
-
120
- .token.class-name,
121
- .language-json .token.property {
122
- color: #2b91af;
123
- }
124
-
125
- .token.tag,
126
- .token.selector {
127
- color: #800000;
128
- }
129
-
130
- .token.attr-name,
131
- .token.property,
132
- .token.regex,
133
- .token.entity {
134
- color: #f00;
135
- }
136
-
137
- .token.directive.tag .tag {
138
- background: #ff0;
139
- color: #393a34;
140
- }
141
-
142
- .line-number::before {
143
- content: attr(line);
144
- width: 1.6em;
145
- margin-right: 0.8em;
146
- display: inline-block;
147
- text-align: right;
148
- color: #2b91af;
149
- }
150
-
151
- .code-line {
152
- padding-left: 0.4em;
153
- display: block;
154
- border-left: 4px solid transparent;
155
- }
156
-
157
- .highlight-line {
158
- background: rgba(193, 222, 241, 20%);
159
- background: linear-gradient(
160
- left,
161
- rgba(193, 222, 241, 20%) 70%,
162
- rgba(221, 222, 241, 0%)
163
- );
164
- background: linear-gradient(
165
- to right,
166
- rgba(193, 222, 241, 20%) 70%,
167
- rgba(221, 222, 241, 0%)
168
- );
169
- border-left: 4px solid rgb(59, 130, 246);
170
- }
171
- }
File without changes
File without changes
File without changes
File without changes
File without changes