-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.js
More file actions
50 lines (44 loc) · 1.12 KB
/
styles.js
File metadata and controls
50 lines (44 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* styles.js */
import { createGlobalStyle } from "styled-components";
export default createGlobalStyle`
:root {
--color-background: #F0F4F8;
--color-primary: #7BBFDF;
--color-accent: #7D4E8C;
--color-text: #2D3748;
--color-button-text: #ffffff;
--color-header: #2D2A4A;
--color-success: #7D4E8C;
--color-success-bg: rgba(125, 78, 140, 0.08);
--color-error: #C0385A;
--color-error-bg: #FEF0F2;
--color-severity-low: #c5cce8;
--color-severity-medium: #8d97c9;
--color-severity-high: #5b6bb5;
--color-severity-critical: #2d3a7a;
--font-family: 'Inter', system-ui, sans-serif;
--font-weight-regular: 400;
--font-weight-medium: 500;
--font-weight-semibold: 600;
--gap: 8px;
}
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body {
height: 100%;
}
body {
font-family: var(--font-family);
font-weight: var(--font-weight-regular);
background-color: var(--color-background);
color: var(--color-text);
line-height: 1.6;
min-height: 100dvh;
padding: 24px 24px 88px 24px;
}
`;