Skip to content

Commit

Permalink
styling: Add monospace font to languageTag
Browse files Browse the repository at this point in the history
Ensures language is always using a monospace font, pre tags apply a monospace font by default, this ensures styling is consistent.
  • Loading branch information
AVGVSTVS96 committed Aug 4, 2024
1 parent 8b37aa6 commit bbccafd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
position: absolute;
right: 0.75rem; /* Right: 3 (0.75rem) */
top: 0.5rem; /* Top: 2 (0.5rem) */
font-family: monospace; /* Font family: monospace */
font-size: 0.75rem; /* Text size: xs (0.75rem) */
letter-spacing: -0.05em; /* Tracking: tighter (-0.05em) */
color: rgba(107, 114, 128, 0.85); /* Muted foreground color with 85% opacity */
Expand Down

0 comments on commit bbccafd

Please sign in to comment.