Skip to content

"Modern" theme#288

Merged
mcmonkey4eva merged 10 commits into
Stability-AI:masterfrom
pythongosssss:modern-theme
Apr 9, 2024
Merged

"Modern" theme#288
mcmonkey4eva merged 10 commits into
Stability-AI:masterfrom
pythongosssss:modern-theme

Conversation

@pythongosssss
Copy link
Copy Markdown
Contributor

Adds a new theme supporting Dark & Light mode:
dark
light

Most changes are in the modern.css file which is shared between the light & dark variations just changing some variables.
I've made a couple of structural changes to the HTML such as wrapping things in labels (e.g. so clicking on the custom file picker triggers the file browser and adding a custom radio button) but none of these should have any impact on any of the other themes.

I am importing the font used from googles font api, however I can change this to be included in the repo instead if you'd prefer:
@import url('https://fonts.googleapis.com/css2?family=Jura:wght@300..700&display=swap');

Comment thread src/wwwroot/css/themes/modern.css Outdated

#user_settings_container .input-group .auto-input {
display: block;
} No newline at end of file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

(minor format) newline at end of file

- Increase clickable area of slider
- Update button icons
- Change help icon color
- Decrease padding on small panel size
- Add background color to expanded panels
- Reorder input parts (help/label/toggle)
- Fix slider wrapping on small size
- Support drag+drop files to input
- Change prompt input color
- A few minor tweaks/fixes
Fix inputs alignment
Fix visible disabled file picker
- Further increase range clickable area
- Decrease padding
@mcmonkey4eva mcmonkey4eva merged commit 09bb9dd into Stability-AI:master Apr 9, 2024
@pythongosssss pythongosssss deleted the modern-theme branch April 10, 2024 06:41
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