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

Initialize LVGL Theme #37

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Initialize LVGL Theme #37

wants to merge 5 commits into from

Conversation

AndrewLuGit
Copy link

@AndrewLuGit AndrewLuGit commented May 10, 2023

Default theme is light, which has white background color. This PR sets the theme to a dark theme so that the background color is dark.

@@ -117,7 +117,12 @@ void display_initialize(void) {
printf("Error initializing input driver\n");
}

// lv_theme_set_current(lv_theme_alien_init(40, NULL));
lv_theme_t *th = lv_theme_default_init(lv_disp_get_default(),
Copy link
Contributor

Choose a reason for hiding this comment

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

you can set LVGL default theme without writing code.

image

image

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