File tree Expand file tree Collapse file tree 2 files changed +19
-6
lines changed Expand file tree Collapse file tree 2 files changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -55,33 +55,44 @@ export class Settings extends LitElement {
55
55
details summary {
56
56
cursor: pointer;
57
57
user-select: none;
58
+ color: var(--text-color);
59
+ font-family: var(--font-family);
58
60
}
59
61
60
62
#settings-content {
61
63
padding: 1.5rem 2rem;
62
- background: var(--bg-secondary, #232323);
63
- border-radius: 10px;
64
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
64
+ background: var(--bg-secondary);
65
+ border: 1px solid var(--border-color);
66
+ border-radius: 4px;
67
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
65
68
display: grid;
66
69
grid-template-columns: max-content 1fr;
67
70
gap: 1rem 1.5rem;
68
71
align-items: center;
69
72
max-width: 480px;
70
73
}
74
+
71
75
#settings-content label {
72
76
justify-self: end;
73
77
margin-right: 0.5rem;
74
78
font-weight: 500;
79
+ color: var(--text-color);
80
+ font-family: var(--font-family);
75
81
}
76
- #settings-content select,
77
- #settings-content input[type="checkbox"] {
82
+
83
+ #settings-content select {
78
84
margin-left: 0.5rem;
79
85
font-size: 1rem;
86
+ border-radius: 4px;
87
+ padding: 0.25rem 0.5rem;
88
+ font-family: var(--font-family);
80
89
}
90
+
81
91
#settings-content input[type="checkbox"] {
82
92
transform: scale(1.2);
83
- margin-right: 0.5rem ;
93
+ accent-color: var(--link-color) ;
84
94
}
95
+
85
96
@media (max-width: 600px) {
86
97
#settings-content {
87
98
grid-template-columns: 1fr;
Original file line number Diff line number Diff line change 5
5
/* Light theme (default) */
6
6
: root {
7
7
--bg-color : # ffffff ;
8
+ --bg-secondary : # f5f5f5 ;
8
9
--text-color : # 333333 ;
9
10
--text-secondary : # 666666 ;
10
11
--link-color : # 0066cc ;
19
20
@media (prefers-color-scheme : dark) {
20
21
: root {
21
22
--bg-color : # 1a1a1a ;
23
+ --bg-secondary : # 232323 ;
22
24
--text-color : # e0e0e0 ;
23
25
--text-secondary : # a0a0a0 ;
24
26
--link-color : # 66b3ff ;
You can’t perform that action at this time.
0 commit comments