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

Ability to customize theme/design #286

Closed
gouku opened this issue Jun 7, 2022 · 5 comments · Fixed by #943
Closed

Ability to customize theme/design #286

gouku opened this issue Jun 7, 2022 · 5 comments · Fixed by #943
Assignees
Labels
area/ui Related to the user interface feature New feature or request

Comments

@gouku
Copy link

gouku commented Jun 7, 2022

Describe the feature request

It would be great to have the ability to customize the theme/design via custom CSS

Why do you personally want this feature to be implemented?

This can be a simple options in yaml that let users add some custom CSS then this will be injected to the footer of the HTML output.

How long have you been using this project?

1 mo

Additional information

N/A

@TwiN TwiN added the feature New feature or request label Jun 7, 2022
@TwiN TwiN added the area/ui Related to the user interface label Jan 30, 2023
@TwiN TwiN added the good first issue Good for newcomers label Apr 6, 2023
@NOCanoa
Copy link

NOCanoa commented Nov 4, 2024

+1, just wanted to say realy like this project so far 🚀, just the css mould need some light tweaking and it would be perfect

@sparanoid
Copy link

I'm not familar with Vue so I created a custom Gatus frontend using React and Next.js.

It's a separate project that leverages the Gatus REST API and uses Tailwind CSS for styling. You can simply fork it and customize the appearance as you like.

image

@NOCanoa
Copy link

NOCanoa commented Nov 7, 2024

@sparanoid ohh nice, dont know any next/react tho lul, my gota do somting like that, but would still be cool to have a way to add some minimal css to the standart site

@TwiN
Copy link
Owner

TwiN commented Nov 20, 2024

FYI custom CSS is now on my radar. I'm not sure how I'm going to implement it yet, but a rough idea of what I have in mind right now is that I want to make it so people can choose from multiple "themes", all of which is essentially just pre-written custom CSS under the hood, and alternatively, the ability for people to just provide their own CSS to design it as they see fit.

I've been wanting to redo Gatus' entire UI for a while now, but I just haven't had the time.

Also @sparanoid that looks amazing!

@TwiN TwiN pinned this issue Dec 23, 2024
@TwiN
Copy link
Owner

TwiN commented Dec 23, 2024

Implementation will be far simpler than what I initially envisioned. For now, at least.

Here's what the configuration will look like:

ui:
  custom-css: |
    .endpoint-group {
      background-color: blue !important;
    }
    .endpoint-group-content {
      background-color: red !important;
    }

Using the example above, here's what the dashboard would look like:
image

@TwiN TwiN removed the good first issue Good for newcomers label Dec 23, 2024
@TwiN TwiN self-assigned this Dec 23, 2024
@TwiN TwiN closed this as completed in #943 Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui Related to the user interface feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants