@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.
@@ -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;
@@ -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, #7c3aed);
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, #0f766e);
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
  }