@owomark/view 0.1.4 → 0.1.6
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/README.md +16 -281
- package/dist/{chunk-Y72HQJQI.js → chunk-KHKPOH74.js} +2 -3
- package/dist/{chunk-F3LG7AML.js → chunk-WA6XHBZS.js} +34 -13
- package/dist/index.d.ts +21 -77
- package/dist/index.js +268 -46
- package/dist/internal/virtual/height-estimator.d.ts +2 -9
- package/dist/internal/virtual/height-estimator.js +1 -1
- package/dist/internal/virtual/viewport-manager.js +1 -1
- package/dist/types-DsL_4tUb.d.ts +93 -0
- package/package.json +2 -38
- package/src/style.css +0 -3
- package/src/theme/dark.css +6 -0
- package/src/theme/light.css +6 -0
- package/src/theme/owomark.css +22 -2
- package/dist/chunk-DHRAXGIK.js +0 -1710
- package/dist/static.d.ts +0 -220
- package/dist/static.js +0 -40
- package/src/mdx-components/mdx-components.css +0 -336
package/src/theme/light.css
CHANGED
|
@@ -59,8 +59,14 @@
|
|
|
59
59
|
--owo-syntax-code-fence: #64748b;
|
|
60
60
|
--owo-syntax-code-lang: #ea580c;
|
|
61
61
|
--owo-syntax-list-marker: #ea580c;
|
|
62
|
+
--owo-syntax-task-marker: #d97706;
|
|
63
|
+
--owo-syntax-task-marker-checked: #16a34a;
|
|
64
|
+
--owo-syntax-table-separator: #94a3b8;
|
|
65
|
+
--owo-syntax-strikethrough: #1f2937;
|
|
62
66
|
--owo-syntax-blockquote-marker: #9ca3af;
|
|
63
67
|
--owo-syntax-hr: #d1d5db;
|
|
68
|
+
--owo-syntax-html: #7c3aed;
|
|
69
|
+
--owo-syntax-math: #0f766e;
|
|
64
70
|
|
|
65
71
|
/* Toolbar */
|
|
66
72
|
--owo-toolbar-bg: #f8fafc;
|
package/src/theme/owomark.css
CHANGED
|
@@ -126,6 +126,20 @@
|
|
|
126
126
|
font-weight: 600;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
+
.owo-syntax-task-marker {
|
|
130
|
+
color: var(--owo-syntax-task-marker, var(--owo-syntax-list-marker, currentColor));
|
|
131
|
+
font-weight: 600;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.owo-syntax-task-marker-checked {
|
|
135
|
+
color: var(--owo-syntax-task-marker-checked, var(--owo-success, currentColor));
|
|
136
|
+
font-weight: 700;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.owo-syntax-table-separator {
|
|
140
|
+
color: var(--owo-syntax-table-separator, var(--owo-syntax-marker, currentColor));
|
|
141
|
+
}
|
|
142
|
+
|
|
129
143
|
.owo-syntax-blockquote-marker {
|
|
130
144
|
color: transparent;
|
|
131
145
|
font-size: inherit;
|
|
@@ -149,15 +163,21 @@
|
|
|
149
163
|
font-size: 0.9em;
|
|
150
164
|
}
|
|
151
165
|
|
|
166
|
+
.owo-syntax-strikethrough {
|
|
167
|
+
color: var(--owo-syntax-strikethrough, var(--owo-editor-text, currentColor));
|
|
168
|
+
text-decoration-line: line-through;
|
|
169
|
+
text-decoration-thickness: 0.08em;
|
|
170
|
+
}
|
|
171
|
+
|
|
152
172
|
.owo-syntax-hr {
|
|
153
173
|
color: var(--owo-syntax-hr, #d1d5db);
|
|
154
174
|
}
|
|
155
175
|
|
|
156
176
|
.owo-syntax-html {
|
|
157
|
-
color: var(--owo-syntax-keyword,
|
|
177
|
+
color: var(--owo-syntax-html, var(--owo-syntax-keyword, currentColor));
|
|
158
178
|
}
|
|
159
179
|
|
|
160
180
|
.owo-syntax-math {
|
|
161
|
-
color: var(--owo-syntax-string,
|
|
181
|
+
color: var(--owo-syntax-math, var(--owo-syntax-string, currentColor));
|
|
162
182
|
font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
|
|
163
183
|
}
|