File size: 1,559 Bytes
0b2e8c3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* Set default font and background colors */
:root {
    --main-bg-color-dark: #202124;
    --main-color-dark: #e8eaed;
    --main-bg-color-light: #f5f5f5;
    --main-color-light: #202124;
    --accent-color: #2263a4;
    --accent-color-1: #f1f0ab;
    --primary: #044BD9;
    --primary-hover: #366FE1;
    --primary-pressed: #6893E8;
    --secondary: #DFE4F2;
    --bg: #111;
    --grayscale-gs-primary: #232329;
    --primary-2: #43434E;
    --grayscale-gs-secondary-1: #68687B;
    --grayscale-gs-secondary-2: #A1A1AF;
    --grayscale-gs-tetriary-1: #B0B0BC;
    --grayscale-gs-tetriary-2: #D0D0D7;
    --grayscale-gs-quarterly-1: #DFDFE4;
    --grayscale-gs-background-darker: #F3F4F7;
    --grayscale-gs-background: #FAFAFA;
    --grayscale-gs-quarterly-2: #FDFDFD;
    --grayscale-gs-white: #FFF;
}

/* Set colors for Gradio elements */
.root {
    background-color: var(--main-bg-color-dark);
    color: var(--main-color-dark);
}

.gr-button {
    background-color: var(--primary);
    color: var(--grayscale-gs-white);
}

.gr-button:hover {
    background-color: var(--primary-hover);
}

.gr-button:active {
    background-color: var(--primary-pressed);
}

.gr-input {
    background-color: var(--secondary);
    color: var(--main-color-dark);
}

.gr-output {
    background-color: var(--grayscale-gs-quarterly-1);
    color: var(--main-color-dark);
}

.gr-box {
    background-color: var(--grayscale-gs-background);
    color: var(--main-color-light);
}

.gr-header {
    background-color: var(--accent-color);
    color: var(--grayscale-gs-white);
}