Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readability improvements and diff formatting #44

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

trevor-coleman
Copy link
Collaborator

@trevor-coleman trevor-coleman commented Apr 11, 2024

CSS Styling Adjustments (custom.css)

  • Updated @font-face for NotoSans-Mono to support variable font properties.
  • Increased font weight in pre tags to 490 from 400
  • Improved legibility of sidebar in dark mode.

Font File Management

  • Removed all static variations of "NotoSansMono" font files and replaced with a single variable font.

Code Theme Enhancements in ir-code Themes (dark.ts and light.ts)

  • Fine-tuned the syntax highlighting theme in both light and dark modes to improve code legibility
  • Separated and improved formatting for diff blocks

Before and Afters

TSX

Light Mode

Before:
Button-Light-Before

After:
Button-Light-After

Dark Mode

Before:
Button-Dark-before

After:
Button-Dark-After

Diff

Light Mode

Before:
Diff-Light-Before

After:
Diff-Light-After

Dark Mode

Before:
Diff-Dark-Before

After:
Diff-Dark-After

Sidebar

Before:
Sidebar Dark Before

After:
Sidebar-Dark-After

@trevor-coleman trevor-coleman marked this pull request as draft April 11, 2024 21:18
@trevor-coleman trevor-coleman marked this pull request as ready for review April 11, 2024 21:35
@trevor-coleman trevor-coleman merged commit b314228 into main Apr 12, 2024
1 check passed
@trevor-coleman trevor-coleman deleted the trevor-coleman/readability branch April 12, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant