Skip to content

Add "none" theme to disable all styling#104

Merged
cyanzhong merged 1 commit into
mainfrom
develop
May 15, 2026
Merged

Add "none" theme to disable all styling#104
cyanzhong merged 1 commit into
mainfrom
develop

Conversation

@cyanzhong
Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for a "none" theme intended to disable preview styling and render raw HTML.

Changes:

  • Introduces showRawHtml when themeName === "none".
  • Skips core/theme CSS paths for the none theme.
  • Documents "none" as a supported themeName.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/settings.ts Adds a derived setting for detecting the "none" theme.
src/styling.ts Changes CSS generation behavior when raw/none theme mode is enabled.
README.md Documents the new "none" theme option.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
Comment thread src/styling.ts
@cyanzhong cyanzhong merged commit bc4b7c2 into main May 15, 2026
5 checks passed
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.

2 participants