-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
36 lines (36 loc) · 716 Bytes
/
style.css
File metadata and controls
36 lines (36 loc) · 716 Bytes
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
:root {
--primary-color: #fafafa;
--accent-color: #282828;
}
[data-theme='dark'] {
--primary-color: #282828;
--accent-color: #fafafa;
}
* {
padding: 0;
margin: 0;
}
.theme-wrapper {
display: flex;
width: 100%;
height: 100vh;
align-items: center;
justify-content: center;
gap: 20px;
transition: all 1s;
font-size: 1.6rem;
background-color: var(--primary-color);
}
.title {
color: var(--accent-color);
}
.toggle-btn {
border-radius: 5px;
border: 1px solid var(--accent-color);
padding: 7px 15px;
transition: all .3s;
font-size: 1.2rem;
cursor: pointer;
background-color: var(--primary-color);
color: var(--accent-color);
}