@hugocxl/design 0.1.0 → 0.1.1
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/design.css +2 -1
- package/package.json +1 -1
package/dist/design.css
CHANGED
|
@@ -118,7 +118,7 @@ body:has(> .ds) { margin: 0 }
|
|
|
118
118
|
/* Links read as the text around them, underlined. The accent never means "clickable". */
|
|
119
119
|
.ds a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .2em }
|
|
120
120
|
.ds a:hover { text-decoration-color: currentColor }
|
|
121
|
-
.ds :where(code, kbd, samp) { font:
|
|
121
|
+
.ds :where(code, kbd, samp) { font-family: var(--ds-mono); font-size: .875em; font-weight: 400; font-variant-numeric: tabular-nums slashed-zero }
|
|
122
122
|
.ds :focus-visible { outline: 2px solid var(--ds-accent); outline-offset: 2px }
|
|
123
123
|
.ds-muted { color: var(--ds-muted) }
|
|
124
124
|
.ds-accent { color: var(--ds-accent-text) }
|
|
@@ -251,6 +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
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 }
|
|
255
256
|
.ds-code button:hover { color: var(--ds-ink) }
|
|
256
257
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hugocxl/design",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
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",
|