-
-
Notifications
You must be signed in to change notification settings - Fork 237
feat(komodo): init #1968
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
base: main
Are you sure you want to change the base?
feat(komodo): init #1968
Conversation
Can you elaborate more? What does the HTML and CSS for those look like? Can we theme them via classes? |
|
no, they can't be themed via classes, they are svgs without proper classing <path d="M 85.7 50 A 35.7 35.7 0 1 1 49.99999999999999 14.299999999999997" fill="none" stroke-width="12.6" stroke="#22C55E">
<title>Healthy</title>
</path>and i managed to theme it with following css: path[stroke="#22C55E"] {
stroke: @green;
} |
|
for the server stat graphs i sadly don't know how to style it, this is the html for it: <path d="<data>" style="stroke-width: 2px; opacity: 0.5; stroke: rgb(34, 197, 94); fill: rgb(34, 197, 94);"></path> |
You can do: path[style$="stroke: rgb(34, 197, 94); fill: rgb(34, 197, 94);"] {
stroke: @color !important;
fill: @color !important;
} |
|
thank you, with that i have managed to also style the graphs :) |
|
I'm trying to test this on the demo site Komodo has, https://demo.komo.do, but I can't figure out how to log in. Is there a hosted instance that I can log into/view? When I was trying (and failing) to log in, there was an unthemed error banner:
Can be themed by the |
|
the demo instance should work with username & password = the error message is themed, it is the same variables as the delete buttons |
|
i have now styled the buttons and the destructive colors correctly and have overwritten the button hover colour |
styles/komodo/catppuccin.user.less
Outdated
| --muted-foreground: #lib.hslify(@subtext0) []; | ||
| --accent: #lib.hslify(@base) []; | ||
| --accent-foreground: #lib.hslify(@text) []; | ||
| --destructive: #lib.hslify(darken(@red, 20%)) []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| --destructive: #lib.hslify(darken(@red, 20%)) []; | |
| --destructive: #lib.hslify(mix(@red, @base, 25%)) []; |
I think this works a bit better, and doesn't make the colour very distorted on Latte
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, you are right that would work better but i just forgot to actually commit the colours the last time, because since my last fix the unaltered colours actually work too



🎉 Theme for Komodo 🎉
Komodo is a self hosted service for managing docker containers
💬 Additional Comments 💬
Neither the graphs nor the status colours can be changed easily since they are not controlled by css variables
🗒 Checklist 🗒
/styles/<name-of-website>containing the contents of the/templatedirectory.userstyles.ymlfile with information about the new userstyle.catppuccin.user.less- all the CSS for the userstyle, based on the template.