diff options
Diffstat (limited to 'packages/ui/src/components/diff-changes.css')
| -rw-r--r-- | packages/ui/src/components/diff-changes.css | 39 |
1 files changed, 39 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..eb95c4676 --- /dev/null +++ b/packages/ui/src/components/diff-changes.css @@ -0,0 +1,39 @@ +[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); + } +} + +[data-component="diff-changes"][data-variant="bars"] { + width: 18px; + flex-shrink: 0; + + svg { + display: block; + width: 100%; + height: auto; + } +} |
