@hugocxl/design 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/dist/design.css +1 -1
  2. package/package.json +1 -1
package/dist/design.css CHANGED
@@ -251,7 +251,7 @@ body:has(> .ds) { margin: 0 }
251
251
  .ds-code { position: relative; border: 1px solid var(--ds-edge); border-radius: var(--ds-radius-media); background: var(--ds-surface) }
252
252
  .ds-code pre { padding: var(--ds-space-4) var(--ds-space-5); overflow-x: auto; font: 400 var(--ds-size-code)/1.6 var(--ds-mono); font-variant-numeric: tabular-nums slashed-zero; white-space: pre; tab-size: 2 }
253
253
  .ds-code pre code { font: inherit }
254
- .ds-code:has(button) pre { padding-right: 5rem }
254
+ .ds-code:has(button) pre { padding-top: calc(var(--ds-space-2) * 2 + 1.75rem) }
255
255
  .ds-code button { position: absolute; top: var(--ds-space-2); right: var(--ds-space-2); min-height: 1.75rem; padding: 0 var(--ds-space-3); border: 0; border-radius: var(--ds-radius-control); color: var(--ds-muted); background: var(--ds-rule); font: 500 var(--ds-size-small)/1 var(--ds-sans); cursor: pointer }
256
256
  .ds-code button:hover { color: var(--ds-ink) }
257
257
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hugocxl/design",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "The design system for @hugocxl product pages and personal sites: system font, pale canvas, ink greys, one cranberry accent, light and dark.",
5
5
  "type": "module",
6
6
  "license": "MIT",