mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-25 03:34:22 +01:00
40 lines
953 B
CSS
40 lines
953 B
CSS
[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;
|
|
}
|
|
}
|