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

🚧 WIP Loading and Dumping ImGui Styles as 'Theme' JSON #776

Closed
wants to merge 2 commits into from

Conversation

effs
Copy link
Contributor

@effs effs commented Dec 19, 2022

Partially addressing #715

Poorly factored, but it works to at least discuss the approach. (Need to actually put the theme stuff in a file and whatnot.)

/theme.json:

{
    "cetThemeSchemaVersion": "1.0.0",
    "cetThemeName": "Straight outta JSON",
    "style": {
        "WindowRounding": 0.0
    }
}

TBD:

  • Limit the values/colors that can be set in a theme?
  • Add dumping the style tweaks from ImGui Debug into a theme?
  • Make this a more generic mechanism for per-mod themes or something?

@effs effs force-pushed the feat/715/style-loading branch from f641a9d to 9b77ebc Compare December 19, 2022 06:07
@effs effs closed this Dec 21, 2022
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.

1 participant