orphos 0.53.0 → 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/sidebar.js CHANGED
@@ -292,7 +292,7 @@ function SidebarMenu({ className, ...props }) {
292
292
  return /*#__PURE__*/ jsx("ul", {
293
293
  "data-slot": "sidebar-menu",
294
294
  "data-sidebar": "menu",
295
- className: cn("flex w-full min-w-0 flex-col gap-0", className),
295
+ className: cn("flex w-full min-w-0 flex-col gap-0.5", className),
296
296
  ...props
297
297
  });
298
298
  }
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-background-element", "transition-transform duration-100", "data-checked:translate-x-[calc(100%-2px)] data-unchecked:translate-x-0.5")
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orphos",
3
- "version": "0.53.0",
3
+ "version": "0.53.2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "exports": {
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: color-mix(
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: calc(var(--spacing) * 6);
226
- list-style-type: decimal;
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
- padding-left: calc(var(--spacing) * 2);
227
+ position: relative;
228
+ padding-left: calc(var(--spacing) * 7);
229
+ counter-increment: item;
231
230
  }
232
231
 
233
- ol li + li:where(:not(.not-prose, .not-prose *)) {
234
- margin-top: calc(var(--spacing) * 3);
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 *))::marker {
238
- font-weight: 500;
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) * 6);
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
  }