Are prebuilt themes no longer available? #1636
Answered
by
hoffstadt
keck-in-space
asked this question in
Support
-
My Improvement According to #1045, there should be a light and dark theme to choose from, but I don't see a way to do that in the documentation on themes. All I see is the ability to create your own theme. I really just want a light theme, like we used to have. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
hoffstadt
Mar 3, 2022
Replies: 1 comment 1 reply
-
Hey, themes have moved to DearPyGui_Ext. Example usage: import dearpygui.dearpygui as dpg
import dearpygui.demo as demo
from dearpygui_ext.themes import create_theme_imgui_light
dpg.create_context()
dpg.create_viewport(title='Custom Title', width=600, height=600)
demo.show_demo()
light_theme = create_theme_imgui_light()
dpg.bind_theme(light_theme)
dpg.setup_dearpygui()
dpg.show_viewport()
dpg.start_dearpygui()
dpg.destroy_context() |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
keck-in-space
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, themes have moved to DearPyGui_Ext.
Example usage: