diff options
| author | Adam <[email protected]> | 2025-12-29 09:47:42 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-12-29 09:47:57 -0600 |
| commit | 5de73abd820d9425e82f85f95f50568332ca7cdc (patch) | |
| tree | b0b197e92686f2cf2ec22332abe655a437e6b98c | |
| parent | 3adbbc1b230add8ffec4e0fba725f43ba6b32770 (diff) | |
| download | opencode-5de73abd820d9425e82f85f95f50568332ca7cdc.tar.gz opencode-5de73abd820d9425e82f85f95f50568332ca7cdc.zip | |
fix(desktop): markdown styles
| -rw-r--r-- | packages/ui/src/components/markdown.css | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/packages/ui/src/components/markdown.css b/packages/ui/src/components/markdown.css index 534e93e46..dd0fd21a3 100644 --- a/packages/ui/src/components/markdown.css +++ b/packages/ui/src/components/markdown.css @@ -6,7 +6,7 @@ color: var(--text-base); font-family: var(--font-family-sans); font-size: var(--font-size-base); /* 14px */ - line-height: var(--line-height-large); + line-height: var(--line-height-x-large); /* Spacing for flow */ > *:first-child { @@ -65,7 +65,7 @@ } li { - margin-bottom: 0.25rem; + margin-bottom: 1.5rem; } li::marker { @@ -117,13 +117,15 @@ :not(pre) > code { font-family: var(--font-family-mono); font-feature-settings: var(--font-family-mono--font-feature-settings); - font-size: 13px; + color: var(--syntax-string); + font-weight: var(--font-weight-medium); + /* font-size: 13px; */ - padding: 2px 2px; - margin: 0 1.5px; - border-radius: 2px; - background: var(--surface-base); - box-shadow: 0 0 0 0.5px var(--border-weak-base); + /* padding: 2px 2px; */ + /* margin: 0 1.5px; */ + /* border-radius: 2px; */ + /* background: var(--surface-base); */ + /* box-shadow: 0 0 0 0.5px var(--border-weak-base); */ } /* Tables */ |
