@sveltia/ui 0.15.5 → 0.15.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.
|
@@ -309,8 +309,12 @@ button:global(.link) :global(.label) {
|
|
|
309
309
|
padding: 0;
|
|
310
310
|
line-height: var(--sui-line-height-compact);
|
|
311
311
|
text-decoration: var(--sui-button-link-text-decoration, none);
|
|
312
|
+
text-underline-offset: 2px;
|
|
312
313
|
white-space: normal;
|
|
313
314
|
}
|
|
315
|
+
:global(:root[data-underline-links="true"]) button:global(.link) :global(.label), :global(:host[data-underline-links="true"]) button:global(.link) :global(.label) {
|
|
316
|
+
text-decoration: underline;
|
|
317
|
+
}
|
|
314
318
|
button:global(.link):hover :global(.label), button:global(.link):focus :global(.label), button:global(.link):active :global(.label) {
|
|
315
319
|
text-decoration: var(--sui-button-link-text-decoration-focus, underline);
|
|
316
320
|
}
|
|
@@ -489,10 +489,13 @@
|
|
|
489
489
|
:global(a) {
|
|
490
490
|
color: var(--sui-primary-accent-color-text);
|
|
491
491
|
text-decoration: none;
|
|
492
|
+
text-underline-offset: 2px;
|
|
493
|
+
}
|
|
494
|
+
:global(a:hover), :global(a:focus), :global(a:active) {
|
|
495
|
+
text-decoration: underline;
|
|
492
496
|
}
|
|
493
497
|
:global(:root[data-underline-links=true]) :global(a), :global(:host[data-underline-links=true]) :global(a) {
|
|
494
498
|
text-decoration: underline;
|
|
495
|
-
text-underline-offset: 2px;
|
|
496
499
|
}
|
|
497
500
|
|
|
498
501
|
:global(p),
|
package/package/styles/core.scss
CHANGED
|
@@ -95,11 +95,17 @@ strong {
|
|
|
95
95
|
a {
|
|
96
96
|
color: var(--sui-primary-accent-color-text);
|
|
97
97
|
text-decoration: none;
|
|
98
|
+
text-underline-offset: 2px;
|
|
99
|
+
|
|
100
|
+
&:hover,
|
|
101
|
+
&:focus,
|
|
102
|
+
&:active {
|
|
103
|
+
text-decoration: underline;
|
|
104
|
+
}
|
|
98
105
|
|
|
99
106
|
:root[data-underline-links="true"] &,
|
|
100
107
|
:host[data-underline-links="true"] & {
|
|
101
108
|
text-decoration: underline;
|
|
102
|
-
text-underline-offset: 2px;
|
|
103
109
|
}
|
|
104
110
|
}
|
|
105
111
|
|