summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/diff-changes.css
diff options
context:
space:
mode:
authorAaron Iker <[email protected]>2026-01-30 18:57:49 +0100
committerGitHub <[email protected]>2026-01-30 17:57:49 +0000
commit20619a6a26ec0cfc2707b7ed13387715e9f9cdaa (patch)
tree50b8aa69da65642789c3fa92f65034a9dd1361df /packages/ui/src/components/diff-changes.css
parent1bbe84ed8d0eceb96af06b971690ebd0b0213580 (diff)
downloadopencode-20619a6a26ec0cfc2707b7ed13387715e9f9cdaa.tar.gz
opencode-20619a6a26ec0cfc2707b7ed13387715e9f9cdaa.zip
feat: Transitions, spacing, scroll fade, prompt area update (#11168)
Co-authored-by: Github Action <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: aaroniker <[email protected]>
Diffstat (limited to 'packages/ui/src/components/diff-changes.css')
-rw-r--r--packages/ui/src/components/diff-changes.css66
1 files changed, 33 insertions, 33 deletions
diff --git a/packages/ui/src/components/diff-changes.css b/packages/ui/src/components/diff-changes.css
index be3cca885..6e0c3d01b 100644
--- a/packages/ui/src/components/diff-changes.css
+++ b/packages/ui/src/components/diff-changes.css
@@ -1,41 +1,41 @@
[data-component="diff-changes"] {
- display: flex;
- gap: 8px;
- justify-content: flex-end;
- align-items: center;
+ display: flex;
+ gap: 8px;
+ justify-content: flex-end;
+ align-items: center;
- [data-slot="diff-changes-additions"] {
- font-family: var(--font-family-mono);
- font-feature-settings: var(--font-family-mono--font-feature-settings);
- font-size: var(--font-size-small);
- font-style: normal;
- font-weight: var(--font-weight-regular);
- line-height: var(--line-height-large);
- letter-spacing: var(--letter-spacing-normal);
- text-align: right;
- color: var(--text-diff-add-base);
- }
+ [data-slot="diff-changes-additions"] {
+ font-family: var(--font-family-mono);
+ font-feature-settings: var(--font-family-mono--font-feature-settings);
+ font-size: var(--font-size-small);
+ font-style: normal;
+ font-weight: var(--font-weight-regular);
+ line-height: var(--line-height-large);
+ letter-spacing: var(--letter-spacing-normal);
+ text-align: right;
+ color: var(--text-diff-add-base);
+ }
- [data-slot="diff-changes-deletions"] {
- font-family: var(--font-family-mono);
- font-feature-settings: var(--font-family-mono--font-feature-settings);
- font-size: var(--font-size-small);
- font-style: normal;
- font-weight: var(--font-weight-regular);
- line-height: var(--line-height-large);
- letter-spacing: var(--letter-spacing-normal);
- text-align: right;
- color: var(--text-diff-delete-base);
- }
+ [data-slot="diff-changes-deletions"] {
+ font-family: var(--font-family-mono);
+ font-feature-settings: var(--font-family-mono--font-feature-settings);
+ font-size: var(--font-size-small);
+ font-style: normal;
+ font-weight: var(--font-weight-regular);
+ line-height: var(--line-height-large);
+ letter-spacing: var(--letter-spacing-normal);
+ text-align: right;
+ color: var(--text-diff-delete-base);
+ }
}
[data-component="diff-changes"][data-variant="bars"] {
- width: 18px;
- flex-shrink: 0;
+ width: 18px;
+ flex-shrink: 0;
- svg {
- display: block;
- width: 100%;
- height: auto;
- }
+ svg {
+ display: block;
+ width: 100%;
+ height: auto;
+ }
}