Skip to content

Commit a03a34b

Browse files
committed
style: Updated CSS files to fix text color and background color in track page
1 parent e8b2d76 commit a03a34b

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

src/components/ItemsPage.module.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,11 @@
6262
border-bottom: var(--border);
6363
border-left: var(--border);
6464
height: var(--baseline-6x);
65-
background-color: white;
65+
background-color: var(--background-color);
6666

6767
& p {
6868
margin: 0 0 var(--baseline) 0;
69+
color: var(--text-color);
6970
}
7071

7172
& svg {

src/components/Select.module.css

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
flex-direction: column;
5252
justify-content: space-between;
5353
height: calc(100% - var(--baseline));
54-
background-color: red;
5554
}
5655

5756
.select {
@@ -75,6 +74,8 @@
7574

7675
.select :global(.rs__menu) {
7776
border-radius: 0;
77+
color: var(--text-color) !important;
78+
background-color: var(--background-color);
7879
}
7980

8081
.select :global(.rs__menu-list) {
@@ -98,12 +99,13 @@
9899
}
99100

100101
& .select {
101-
color: var(--gray-dark);
102+
color: var(--text-color);
102103
background-color: var(--red-light);
103104
}
104105
& .select :global(.rs__option--is-focused),
105106
& .select :global(.rs__control) {
106107
background-color: var(--red-light);
108+
color: var(--text-color);
107109
}
108110
& .select :global(.rs__option--is-selected) {
109111
background-color: var(--red);
@@ -129,13 +131,14 @@
129131
}
130132

131133
& .select {
132-
color: var(--gray-dark);
134+
color: var(--text-color);
133135
background-color: var(--cyan-light);
134136
}
135137

136138
& .select :global(.rs__option--is-focused),
137139
& .select :global(.rs__control) {
138140
background-color: var(--cyan-light);
141+
color: var(--text-color);
139142
}
140143

141144
& .select :global(.rs__menu-list) {
@@ -165,7 +168,7 @@
165168
}
166169

167170
& .select {
168-
color: var(--gray-dark);
171+
color: var(--text-color);
169172
background-color: var(--purple-light);
170173
}
171174

src/components/tracks/Card.module.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
height: var(--baseline);
136136
padding: 0 var(--box-padding);
137137
line-height: var(--baseline);
138+
color: var(--text-color);
138139
}
139140

140141
.expand {
@@ -157,7 +158,7 @@
157158
height: var(--baseline);
158159
padding: 0 var(--box-padding);
159160
background: var(--red-light);
160-
color: var(--gray-dark);
161+
color: var(--text-color);
161162
font-size: var(--maru-normal);
162163
line-height: var(--maru-normal-line-height);
163164
& * + * {

0 commit comments

Comments
 (0)