Skip to content

Commit

Permalink
feat: redesign
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiq007 committed Feb 18, 2024
1 parent 11c03fb commit f5d6a36
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 15 deletions.
Binary file modified .github/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .github/assets/logo_full.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 23 additions & 10 deletions src/error_handler/pages/error.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Stack Trace:
<link rel="preconnect" href="https://fonts.googleapis.com" @nonceProp>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Roboto+Mono&display=swap"
href="https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;700&family=Roboto+Mono&display=swap"
@nonceProp
>
Expand All @@ -31,16 +31,26 @@ Stack Trace:
}
:root {
--bg: #030303;
--bg-block: #12151b;
--bg: #fff;
--bg-block: #1c1a1f;
--font-mono: 'Roboto Mono', monospace;
--font-sans: 'Inter', sans-serif;
--font-sans: 'Urbanist', sans-serif;
--red: #f43f5e;
--text: #e2e6ec;
--text: #2e1065;
--text-button: #ecfccb;
--text-gray: #c4cbd9;
--text-dark: #052133;
--text-dark: #2e1065;
--selection: #c4b5fd;
--theme: #a78bfa;
--theme: #8b5cf6;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #131214;
--text: #e2e6ec;
--text-button: #1a2e05;
--theme: #a78bfa;
}
}
::selection {
Expand All @@ -51,6 +61,8 @@ Stack Trace:
body {
font-family: var(--font-sans);
font-size: 16px;
font-weight: 500;
letter-spacing: 0.1px;
background: var(--bg);
color: var(--text);
display: grid;
Expand Down Expand Up @@ -159,11 +171,12 @@ Stack Trace:
align-items: center;
gap: 10px;
border: none;
border-radius: 12px;
font: inherit;
font-weight: 600;
background: var(--theme);
color: var(--text-dark);
padding: 14px 18px;
color: var(--text-button);
border-radius: 25px;
padding: 14px 20px;
text-decoration: none;
margin-top: 12px;
user-select: none;
Expand Down
20 changes: 15 additions & 5 deletions src/http/pages/status.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const statusPage = `<!doctype html>
<link rel="preconnect" href="https://fonts.googleapis.com" @nonceProp>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@600&display=swap"
href="https://fonts.googleapis.com/css2?family=Urbanist:wght@600&display=swap"
@nonceProp
>
Expand All @@ -26,14 +26,22 @@ export const statusPage = `<!doctype html>
}
:root {
--bg: #030303;
--font-sans: 'Inter', sans-serif;
--text: #e2e6ec;
--text-dark: #052133;
--bg: #fff;
--font-sans: 'Urbanist', sans-serif;
--text: #2e1065;
--text-dark: #2e1065;
--selection: #c4b5fd;
--theme: #a78bfa;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #131214;
--text: #e2e6ec;
--theme: #a78bfa;
}
}
::selection {
background: var(--selection);
color: var(--text-dark);
Expand All @@ -42,6 +50,8 @@ export const statusPage = `<!doctype html>
body {
font-family: var(--font-sans);
font-size: 16px;
font-weight: 500;
letter-spacing: 0.1px;
background: var(--bg);
color: var(--text);
display: grid;
Expand Down

0 comments on commit f5d6a36

Please sign in to comment.