Skip to content

Add theme support and refactor painters#9

Merged
PlugFox merged 2 commits into
DoctorinaAI:masterfrom
dened:feat-theme
Sep 10, 2025
Merged

Add theme support and refactor painters#9
PlugFox merged 2 commits into
DoctorinaAI:masterfrom
dened:feat-theme

Conversation

@dened

@dened dened commented Sep 3, 2025

Copy link
Copy Markdown
Contributor

This pull request adds better theme support and refactors some painters.

Theme Support:

The markdown widget can now use your app's theme. This makes it easy to support both light and dark modes.
Use the new MarkdownThemeData.mergeTheme(Theme.of(context)) to match your app's style.

Quote Block Refactor:

The quote block is now simpler. It just draws a vertical line.
The line color can be changed using the new dividerColor property in the theme.

Example App:

The example app was updated to show how to switch between light and dark themes.

@PlugFox PlugFox merged commit f8c798f into DoctorinaAI:master Sep 10, 2025
1 check passed
@dened dened deleted the feat-theme branch September 10, 2025 13:08
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