@zealsolutions/zeal-ui 1.0.0-alpha.346 → 1.0.0-alpha.347
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.
|
@@ -20218,7 +20218,12 @@ const Ek = fe.create({
|
|
|
20218
20218
|
},
|
|
20219
20219
|
paragraph: {
|
|
20220
20220
|
HTMLAttributes: {
|
|
20221
|
-
|
|
20221
|
+
// The !important black was correct while the editor canvas was pinned light. It is
|
|
20222
|
+
// not any more -- Tiptap.vue now follows the page theme, and this rule left every
|
|
20223
|
+
// paragraph of authored content at 1.34:1 on the dark canvas (measured on the EDS
|
|
20224
|
+
// datasheet route: 44 paragraphs). The dark pair has to be !important too, or the
|
|
20225
|
+
// light one keeps winning.
|
|
20226
|
+
class: "text-style-base-body mb-2 !text-black-950 dark:!text-content"
|
|
20222
20227
|
}
|
|
20223
20228
|
},
|
|
20224
20229
|
orderedList: {
|
|
@@ -170,4 +170,17 @@
|
|
|
170
170
|
|
|
171
171
|
.tiptap p {
|
|
172
172
|
color: rgb(112 125 135 / var(--tw-text-opacity, 1));
|
|
173
|
-
}
|
|
173
|
+
}
|
|
174
|
+
/* Links inside authored content had NO rule at all, so they fell to the UA default blue —
|
|
175
|
+
rgb(0,0,255), which measures 1.61:1 on the dark editor canvas. Now that the canvas follows the
|
|
176
|
+
page theme (Tiptap.vue no longer pins itself light) that is unreadable rather than merely ugly.
|
|
177
|
+
A token in each theme, and the underline stays so a link is still identifiable without relying
|
|
178
|
+
on colour alone. */
|
|
179
|
+
.tiptap a {
|
|
180
|
+
color: #1a8a7d;
|
|
181
|
+
text-decoration: underline;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
[data-theme="dark"] .tiptap a {
|
|
185
|
+
color: #4fc3b4;
|
|
186
|
+
}
|