Repository navigation
Let themes set their own display name (e.g. acronyms like "CCRU") #18520
Zollicoff
started this conversation in
Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Theme names are always shown title-cased from the theme's folder name, so a theme named after an acronym can't display correctly. My theme
omarchy-ccru-themeshows up as Ccru in the theme switcher,omarchy theme current,omarchy theme listand fastfetch, when it should be CCRU.Theme authors can't fix this from their end. The folder name has to stay lowercase, because
omarchy-theme-setandomarchy-theme-installboth lowercase the name. The label is then built from that name:labelForPathinshell/plugins/image-picker/ImagePickerModel.js, and thesedtitle-casing inomarchy-theme-currentandomarchy-theme-list.Proposal: an optional display name in the theme, for example:
Wherever a theme name is shown, use
nameif it's set, otherwise keep today's title-casing. The slug stays lowercase for paths,omarchy theme setand installs, so nothing existing changes.If a separate file fits better than a key in
colors.toml(anamefile next toicons.theme, say), that works too. Happy to open a PR for whichever you prefer.All reactions