Skip to content

Are prebuilt themes no longer available? #1636

Discussion options

You must be logged in to vote

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()

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@keck-in-space
Comment options

Answer selected by keck-in-space
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1635 on March 03, 2022 21:19.