diff-changes.css 953 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. [data-component="diff-changes"] {
  2. display: flex;
  3. gap: 8px;
  4. justify-content: flex-end;
  5. align-items: center;
  6. [data-slot="additions"] {
  7. font-family: var(--font-family-mono);
  8. font-size: var(--font-size-small);
  9. font-style: normal;
  10. font-weight: var(--font-weight-regular);
  11. line-height: var(--line-height-large);
  12. letter-spacing: var(--letter-spacing-normal);
  13. text-align: right;
  14. color: var(--text-diff-add-base);
  15. }
  16. [data-slot="deletions"] {
  17. font-family: var(--font-family-mono);
  18. font-size: var(--font-size-small);
  19. font-style: normal;
  20. font-weight: var(--font-weight-regular);
  21. line-height: var(--line-height-large);
  22. letter-spacing: var(--letter-spacing-normal);
  23. text-align: right;
  24. color: var(--text-diff-delete-base);
  25. }
  26. }
  27. [data-component="diff-changes"][data-variant="bars"] {
  28. width: 18px;
  29. flex-shrink: 0;
  30. svg {
  31. display: block;
  32. width: 100%;
  33. height: auto;
  34. }
  35. }