@orz/ui-markdown 0.1.1 → 0.1.2-master.20261030020651.g906eefa

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/package.json +5 -5
  2. package/styles.css +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orz/ui-markdown",
3
- "version": "0.1.1",
3
+ "version": "0.1.2-master.20261030020651.g906eefa",
4
4
  "description": "GitHub-style markdown",
5
5
  "license": "BSD-3-Clause",
6
6
  "repository": {
@@ -36,8 +36,8 @@
36
36
  "lucide-react": "^1",
37
37
  "react": "^19",
38
38
  "react-dom": "^19",
39
- "@orz/ui": "^0.1.1",
40
- "@orz/ui-content": "^0.1.1"
39
+ "@orz/ui": "0.1.2-master.20261030020651.g906eefa",
40
+ "@orz/ui-content": "0.1.2-master.20261030020651.g906eefa"
41
41
  },
42
42
  "dependencies": {
43
43
  "@types/hast": "^3.0.5",
@@ -58,8 +58,8 @@
58
58
  "react": "^19.2.8",
59
59
  "react-dom": "^19.2.8",
60
60
  "vitest": "^5.0.5",
61
- "@orz/ui-content": "0.1.1",
62
- "@orz/ui": "0.1.1"
61
+ "@orz/ui": "0.1.2-master.20261030020651.g906eefa",
62
+ "@orz/ui-content": "0.1.2-master.20261030020651.g906eefa"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "tsc -p tsconfig.build.json",
package/styles.css CHANGED
@@ -4,7 +4,7 @@
4
4
  the renderer (react-markdown `components`) don't need class surgery.
5
5
  Sizes follow github.com issue comments (14px base). */
6
6
  .markdown-body {
7
- font-size: 0.875rem;
7
+ font-size: var(--text-sm);
8
8
  line-height: 1.6;
9
9
  overflow-wrap: break-word;
10
10
  }
@@ -214,7 +214,7 @@
214
214
  width: 100%;
215
215
  overflow-x: visible;
216
216
  border: 1px solid var(--border);
217
- border-radius: var(--radius-sm);
217
+ border-radius: min(var(--radius-frame), 6px);
218
218
  background-color: color-mix(in oklab, var(--muted) 45%, transparent);
219
219
  font-size: 0.9375em;
220
220
  }
@@ -274,13 +274,13 @@
274
274
  (T-31). */
275
275
  .markdown-body code {
276
276
  padding: 0.2em 0.4em;
277
- border-radius: var(--radius-sm);
277
+ border-radius: min(var(--radius-chip), 6px);
278
278
  background-color: var(--muted);
279
279
  font-size: 0.85em;
280
280
  }
281
281
  .markdown-body pre {
282
282
  padding: 0.75rem;
283
- border-radius: var(--radius-md);
283
+ border-radius: min(var(--radius-frame), 8px);
284
284
  background-color: var(--muted);
285
285
  overflow-x: auto;
286
286
  line-height: 1.45;