summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/diff.css
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-02-26 18:23:04 -0600
committerGitHub <[email protected]>2026-02-26 18:23:04 -0600
commitfc52e4b2d3a41efde772e6de8fb2e01f27821701 (patch)
treecf23af294a00a10e55f230232585344c111f0bb9 /packages/ui/src/components/diff.css
parent9a6bfeb782766099d4ce3a98bb9e7b4e79f8bfe6 (diff)
downloadopencode-fc52e4b2d3a41efde772e6de8fb2e01f27821701.tar.gz
opencode-fc52e4b2d3a41efde772e6de8fb2e01f27821701.zip
feat(app): better diff/code comments (#14621)
Co-authored-by: adamelmore <[email protected]> Co-authored-by: David Hill <[email protected]>
Diffstat (limited to 'packages/ui/src/components/diff.css')
-rw-r--r--packages/ui/src/components/diff.css35
1 files changed, 0 insertions, 35 deletions
diff --git a/packages/ui/src/components/diff.css b/packages/ui/src/components/diff.css
deleted file mode 100644
index 1d94e417a..000000000
--- a/packages/ui/src/components/diff.css
+++ /dev/null
@@ -1,35 +0,0 @@
-[data-component="diff"] {
- content-visibility: auto;
-
- [data-slot="diff-hunk-separator-line-number"] {
- position: sticky;
- left: 0;
- background-color: var(--surface-diff-hidden-strong);
- z-index: 2;
- display: flex;
- align-items: center;
- justify-content: center;
-
- [data-slot="diff-hunk-separator-line-number-icon"] {
- aspect-ratio: 1;
- width: 24px;
- height: 24px;
- color: var(--icon-strong-base);
- }
- }
- [data-slot="diff-hunk-separator-content"] {
- position: sticky;
- background-color: var(--surface-diff-hidden-base);
- color: var(--text-base);
- width: var(--diffs-column-content-width);
- left: var(--diffs-column-number-width);
- padding-left: 8px;
- user-select: none;
- cursor: default;
- text-align: left;
-
- [data-slot="diff-hunk-separator-content-span"] {
- mix-blend-mode: var(--text-mix-blend-mode);
- }
- }
-}