Skip to content

Commit e88b9eb

Browse files
committed
chore(ui): Regenerate static assets
1 parent e0a093b commit e88b9eb

File tree

4 files changed

+63
-44
lines changed

4 files changed

+63
-44
lines changed

web/static/css/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/static/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,21 @@
22
Function(`window.config = {{ toJSON .UI }};`)(); // Wrapped in Function to prevent error in development mode
33
}
44
else {
5+
console.warn('Running in development mode; UI configuration is not injected.');
56
document.title = "Gatus (Development)";
7+
window.config = {
8+
themes: {
9+
"default": {
10+
"stateColors": {"healthy": "#22C55E","maintenance": "#3B82F6","unhealthy": "#E43B3C"}
11+
}
12+
},
13+
};
614
}
15+
window.config.localStateColors = {
16+
unknown: "#374151",
17+
invalid: "#8B5CF6"
18+
};
19+
720
(function() {
821
// Initialize theme immediately to prevent flash
922
const themeFromCookie = document.cookie.match(/theme=(dark|light);?/)?.[1];

web/static/js/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)