Skip to content

Build a theme variant called Omni (No italic) that removes italics#45

Open
danarnold wants to merge 1 commit into
getomni:mainfrom
danarnold:no-italic-theme
Open

Build a theme variant called Omni (No italic) that removes italics#45
danarnold wants to merge 1 commit into
getomni:mainfrom
danarnold:no-italic-theme

Conversation

@danarnold
Copy link
Copy Markdown

Changes proposed

This creates a theme variant called Omni (No italic) that's identical to the main theme, but has no italics. Italic removal is done on build, so the no italic variant should require minimal or no maintenance if the main theme's colors are edited.

Additional context

Here's a screenshot of VS Code displaying the no italic variant.

image

@danarnold danarnold requested a review from diego3g as a code owner September 28, 2025 16:28
tbutkiewicz added a commit to tbutkiewicz/omni-theme-vscode that referenced this pull request May 11, 2026
Implements upstream PR getomni#45.

- scripts/build.js: deep-clone base theme, strip italic from all fontStyle
  values in tokenColors and semanticTokenColors, write omni-no-italics.json
- package.json: contribute second theme entry 'Omni (No Italics)'
- Follows idiomatic approach used by One Dark Pro, Dracula, Tokyo Night
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant