orphos 0.53.1 → 0.53.2
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/dist/switch.js +1 -1
- package/package.json +1 -1
- package/theme.css +18 -18
package/dist/switch.js
CHANGED
|
@@ -9,7 +9,7 @@ function switch_Switch({ className, ...props }) {
|
|
|
9
9
|
...props,
|
|
10
10
|
children: /*#__PURE__*/ jsx(Switch.Thumb, {
|
|
11
11
|
"data-slot": "switch-thumb",
|
|
12
|
-
className: cn("pointer-events-none block size-3.5 rounded-full bg-
|
|
12
|
+
className: cn("pointer-events-none block size-3.5 rounded-full bg-white", "transition-transform duration-100", "data-checked:translate-x-[calc(100%-2px)] data-unchecked:translate-x-0.5")
|
|
13
13
|
})
|
|
14
14
|
});
|
|
15
15
|
}
|
package/package.json
CHANGED
package/theme.css
CHANGED
|
@@ -140,11 +140,7 @@
|
|
|
140
140
|
--prose-strong-color: var(--foreground);
|
|
141
141
|
--prose-link-color: var(--blue-9);
|
|
142
142
|
--prose-code-color: var(--foreground);
|
|
143
|
-
--prose-marker-color:
|
|
144
|
-
in oklab,
|
|
145
|
-
var(--foreground-subtle) 50%,
|
|
146
|
-
transparent
|
|
147
|
-
);
|
|
143
|
+
--prose-marker-color: var(--foreground);
|
|
148
144
|
--prose-link-underline-color: var(--blue-a8);
|
|
149
145
|
--prose-th-borders: var(--border-subtle);
|
|
150
146
|
--prose-td-borders: color-mix(
|
|
@@ -222,32 +218,36 @@
|
|
|
222
218
|
|
|
223
219
|
/* Lists */
|
|
224
220
|
ol:where(:not(.not-prose, .not-prose *)) {
|
|
225
|
-
padding-left:
|
|
226
|
-
|
|
221
|
+
padding-left: 0;
|
|
222
|
+
counter-reset: item;
|
|
223
|
+
list-style: none;
|
|
227
224
|
}
|
|
228
225
|
|
|
229
226
|
ol li:where(:not(.not-prose, .not-prose *)) {
|
|
230
|
-
|
|
227
|
+
position: relative;
|
|
228
|
+
padding-left: calc(var(--spacing) * 7);
|
|
229
|
+
counter-increment: item;
|
|
231
230
|
}
|
|
232
231
|
|
|
233
|
-
ol li
|
|
234
|
-
|
|
232
|
+
ol li:where(:not(.not-prose, .not-prose *))::before {
|
|
233
|
+
font-weight: 500;
|
|
234
|
+
color: var(--prose-marker-color);
|
|
235
|
+
content: counter(item, decimal) ".";
|
|
236
|
+
text-align: right;
|
|
237
|
+
width: 1.25em;
|
|
238
|
+
position: absolute;
|
|
239
|
+
left: 0;
|
|
235
240
|
}
|
|
236
241
|
|
|
237
|
-
ol li:where(:not(.not-prose, .not-prose *))
|
|
238
|
-
|
|
239
|
-
color: var(--prose-strong-color);
|
|
242
|
+
ol li + li:where(:not(.not-prose, .not-prose *)) {
|
|
243
|
+
margin-top: calc(var(--spacing) * 3);
|
|
240
244
|
}
|
|
241
245
|
|
|
242
246
|
ul:where(:not(.not-prose, .not-prose *)) {
|
|
243
|
-
padding-left: calc(var(--spacing) *
|
|
247
|
+
padding-left: calc(var(--spacing) * 7);
|
|
244
248
|
list-style-type: disc;
|
|
245
249
|
}
|
|
246
250
|
|
|
247
|
-
ul li:where(:not(.not-prose, .not-prose *)) {
|
|
248
|
-
padding-left: calc(var(--spacing) * 2);
|
|
249
|
-
}
|
|
250
|
-
|
|
251
251
|
ul li + li:where(:not(.not-prose, .not-prose *)) {
|
|
252
252
|
margin-top: calc(var(--spacing) * 3);
|
|
253
253
|
}
|