@sveltia/ui 0.15.4 → 0.15.5
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.
|
@@ -141,10 +141,11 @@
|
|
|
141
141
|
margin: var(--sui-vertical-tab-list-margin, var(--sui-tab-list-margin, 0 32px 0 0));
|
|
142
142
|
border-width: var(--sui-vertical-tab-list-border-width, var(--sui-tab-list-border-width, 0 1px 0 0));
|
|
143
143
|
padding: var(--sui-vertical-tab-list-padding, var(--sui-tab-list-padding, 8px 0));
|
|
144
|
-
width: var(--sui-vertical-tab-list-width,
|
|
144
|
+
width: var(--sui-vertical-tab-list-width, auto);
|
|
145
145
|
}
|
|
146
146
|
.tab-list[aria-orientation=vertical] :global(button) {
|
|
147
147
|
justify-content: var(--sui-vertical-tab-justify-content, flex-start);
|
|
148
|
+
padding-right: 32px;
|
|
148
149
|
width: var(--sui-vertical-tab-width, var(--sui-tab-width, 100%));
|
|
149
150
|
height: var(--sui-vertical-tab-height, var(--sui-tab-height, auto));
|
|
150
151
|
}
|
|
@@ -490,6 +490,10 @@
|
|
|
490
490
|
color: var(--sui-primary-accent-color-text);
|
|
491
491
|
text-decoration: none;
|
|
492
492
|
}
|
|
493
|
+
:global(:root[data-underline-links=true]) :global(a), :global(:host[data-underline-links=true]) :global(a) {
|
|
494
|
+
text-decoration: underline;
|
|
495
|
+
text-underline-offset: 2px;
|
|
496
|
+
}
|
|
493
497
|
|
|
494
498
|
:global(p),
|
|
495
499
|
:global(li) {
|
package/package/styles/core.scss
CHANGED
|
@@ -95,6 +95,12 @@ strong {
|
|
|
95
95
|
a {
|
|
96
96
|
color: var(--sui-primary-accent-color-text);
|
|
97
97
|
text-decoration: none;
|
|
98
|
+
|
|
99
|
+
:root[data-underline-links="true"] &,
|
|
100
|
+
:host[data-underline-links="true"] & {
|
|
101
|
+
text-decoration: underline;
|
|
102
|
+
text-underline-offset: 2px;
|
|
103
|
+
}
|
|
98
104
|
}
|
|
99
105
|
|
|
100
106
|
p,
|