forked from hackclub/sprig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.js
37 lines (33 loc) · 683 Bytes
/
style.js
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
export const style = `
.color-picker-outer {
background: var(--bg-floating);
height: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 16px;
}
h3 {
color: #ffffff;
text-align: center;
margin: 0;
}
.color-picker-inner {
width: 380px;
height: 300px;
background: transparent;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
padding: 10px;
}
.color-picker-inner div {
border: 2px solid transparent;
border-radius: 4px;
cursor: pointer;
}
.color-picker-inner div.active {
border: 2px solid var(--switch-fg-high);
}
`;