@instacks/peak 1.5.0 → 1.6.0
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 +3 -0
- package/dist/peak.css +43 -0
- package/dist/peak.min.css +1 -1
- package/dist/peak.scoped.css +43 -0
- package/dist/peak.scoped.min.css +1 -1
- package/package.json +1 -1
package/dist/peak.scoped.css
CHANGED
|
@@ -4207,6 +4207,10 @@ meter {
|
|
|
4207
4207
|
}
|
|
4208
4208
|
}
|
|
4209
4209
|
|
|
4210
|
+
[data-peak-anchor] > [popovertarget] {
|
|
4211
|
+
margin-block-end: 0;
|
|
4212
|
+
}
|
|
4213
|
+
|
|
4210
4214
|
:is([popover="hint"], [role="tooltip"][popover]) {
|
|
4211
4215
|
border-radius: var(--pico-border-radius);
|
|
4212
4216
|
background-color: var(--pico-tooltip-background-color);
|
|
@@ -5187,6 +5191,45 @@ dialog.peak-drawer > article {
|
|
|
5187
5191
|
background-clip: text;
|
|
5188
5192
|
}
|
|
5189
5193
|
|
|
5194
|
+
.peak-icon {
|
|
5195
|
+
inline-size: var(--peak-icon-size, 1.25em);
|
|
5196
|
+
block-size: var(--peak-icon-size, 1.25em);
|
|
5197
|
+
vertical-align: middle;
|
|
5198
|
+
mask: var(--peak-icon) center / contain no-repeat;
|
|
5199
|
+
forced-color-adjust: none;
|
|
5200
|
+
-webkit-print-color-adjust: exact;
|
|
5201
|
+
print-color-adjust: exact;
|
|
5202
|
+
background-color: currentColor;
|
|
5203
|
+
flex: none;
|
|
5204
|
+
display: inline-block;
|
|
5205
|
+
}
|
|
5206
|
+
|
|
5207
|
+
.peak-icon.sm {
|
|
5208
|
+
--peak-icon-size: 1em;
|
|
5209
|
+
}
|
|
5210
|
+
|
|
5211
|
+
.peak-icon.lg {
|
|
5212
|
+
--peak-icon-size: 1.75em;
|
|
5213
|
+
}
|
|
5214
|
+
|
|
5215
|
+
.peak-icon.xl {
|
|
5216
|
+
--peak-icon-size: 2.5em;
|
|
5217
|
+
}
|
|
5218
|
+
|
|
5219
|
+
:where(a:not([role="button"], aside li a, .dropdown li a, [popover] li a):has( > .peak-icon)) {
|
|
5220
|
+
align-items: baseline;
|
|
5221
|
+
gap: .25em;
|
|
5222
|
+
display: inline-flex;
|
|
5223
|
+
}
|
|
5224
|
+
|
|
5225
|
+
:where(a:not([role="button"], aside li a, .dropdown li a, [popover] li a)) > .peak-icon {
|
|
5226
|
+
line-height: var(--peak-icon-size, 1.25em);
|
|
5227
|
+
}
|
|
5228
|
+
|
|
5229
|
+
:where(a:not([role="button"], aside li a, .dropdown li a, [popover] li a)) > .peak-icon:before {
|
|
5230
|
+
content: "" / "";
|
|
5231
|
+
}
|
|
5232
|
+
|
|
5190
5233
|
.site-nav .site-menu, .site-nav .site-menu-popover[popover] {
|
|
5191
5234
|
display: contents;
|
|
5192
5235
|
}
|