summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/diff-changes.css
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ui/src/components/diff-changes.css')
-rw-r--r--packages/ui/src/components/diff-changes.css28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/ui/src/components/diff-changes.css b/packages/ui/src/components/diff-changes.css
new file mode 100644
index 000000000..afca51474
--- /dev/null
+++ b/packages/ui/src/components/diff-changes.css
@@ -0,0 +1,28 @@
+[data-component="diff-changes"] {
+ display: flex;
+ gap: 8px;
+ justify-content: flex-end;
+ align-items: center;
+
+ [data-slot="additions"] {
+ font-family: var(--font-family-mono);
+ 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="deletions"] {
+ font-family: var(--font-family-mono);
+ 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);
+ }
+}