Skip to content

Commit ea40309

Browse files
chore: make dark theme active by default (#2)
Signed-off-by: vitaliy-guliy <vgulyy@redhat.com>
1 parent 5234457 commit ea40309

File tree

3 files changed

+48
-3
lines changed

3 files changed

+48
-3
lines changed

server/public/style.css

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,4 +218,49 @@ a:visited {
218218

219219
.primary:hover {
220220
background-color: rgb(2, 88, 168)!important;
221-
}
221+
}
222+
223+
/******************************************************************************
224+
* DARK THEME
225+
******************************************************************************/
226+
227+
.dark {
228+
background-color: rgb(24, 24, 24);
229+
color: rgb(204, 204, 204);
230+
}
231+
232+
.dark a {
233+
color: #547ecd;
234+
}
235+
236+
.dark .console-button {
237+
color: rgb(150, 150, 204);
238+
}
239+
240+
.dark .console-button span {
241+
color: rgb(66, 66, 66);
242+
}
243+
244+
.dark .console-button:hover,
245+
.dark .console-button:hover span {
246+
color: rgb(0, 102, 204);
247+
}
248+
249+
.dark .login .popup {
250+
background-color: rgb(32, 32, 32);
251+
border-color: rgb(204, 204, 204);
252+
color: rgb(204, 204, 204);
253+
}
254+
255+
.dark .login .cancel {
256+
background-color: rgb(49, 49, 49);
257+
border-color: rgba(255, 255, 255, 0.07);
258+
color: rgb(204, 204, 204);
259+
}
260+
261+
.dark .login .authenticate-microsoft,
262+
.dark .login .authenticate-github {
263+
color: rgb(255, 255, 255);
264+
background-color: rgb(0, 120, 212);
265+
border-color: rgba(255, 255, 255, 0.07);
266+
}

server/views/create.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</script>
3535

3636
</head>
37-
<body>
37+
<body class="dark">
3838
<pre>
3939

4040
*

server/views/login.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
}
200200
</script>
201201
</head>
202-
<body>
202+
<body class="dark">
203203
<pre style="display: none">
204204

205205
*

0 commit comments

Comments
 (0)