Skip to content

Change between dark/light theme #55

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

christian-byrne
Copy link
Contributor

Resolves #36 by adjusting UI colors based on theme.

The neutral tailwind colors used in CC code are white and gray. This PR remaps those tailwind colors to match the associated PrimeVue colors used by Comfy-Org/ComfyUI_frontend.

dark-theme.mp4

Note: The user can also customize the UI with a custom color palette in the settings. In order to make CC UI match custom color palettes, it requires re-styling all CC components to use these classes. In Comfy-Org/ComfyUI_frontend code, these customizable color classes are not used for the sidebar or dialogs. Since CC UI is similar to a sidebar/dialog, I didn't make the colors fully customizable.

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.

Dark Mode 🤍 - According to the UI settings from Comfy
1 participant