File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ function getPlatformType(assetName: string): PlatformType {
175
175
176
176
.download-button-wrapper {
177
177
display: flex;
178
- height: 78px ;
178
+ height: 64px ;
179
179
padding: 0px 20px;
180
180
justify-content: space-between;
181
181
align-items: center;
@@ -186,9 +186,18 @@ function getPlatformType(assetName: string): PlatformType {
186
186
cursor: pointer;
187
187
transition: all 0.2s ease;
188
188
189
+ // Default state for SVG
190
+ svg {
191
+ path {
192
+ stroke: currentColor;
193
+ transition: stroke 0.2s ease;
194
+ }
195
+ }
196
+
189
197
&:hover {
190
198
background-color: var(--surface-frame-bg);
191
199
border-color: #0c8ce0;
200
+ color: #0c8ce0; // Set color on the wrapper itself
192
201
193
202
.download-text-wrapper {
194
203
.download-filename {
@@ -198,14 +207,14 @@ function getPlatformType(assetName: string): PlatformType {
198
207
color: var(--theme-text);
199
208
}
200
209
}
201
-
210
+
202
211
svg {
203
212
path {
204
- stroke: #0c8ce0 !important;
213
+ stroke: currentColor; // Use currentColor to inherit from parent
205
214
}
206
215
}
207
216
}
208
- }
217
+ }
209
218
210
219
.download-text-wrapper {
211
220
display: flex;
@@ -216,6 +225,7 @@ function getPlatformType(assetName: string): PlatformType {
216
225
217
226
.download-filename {
218
227
@include typography(paragraph);
228
+ font-size: calc(18px * var(--font-scale-factor));
219
229
color: var(--theme-text);
220
230
}
221
231
Original file line number Diff line number Diff line change 65
65
66
66
.download-main {
67
67
display : flex ;
68
- height : 78 px ;
68
+ height : 64 px ;
69
69
padding : 0px 20px ;
70
70
justify-content : space-between ;
71
71
align-items : center ;
98
98
justify-content : flex-start ;
99
99
align-items : flex-start ;
100
100
@include typography (paragraph);
101
+ font-size : calc (18px * var (--font-scale-factor ));
101
102
transition : color 0.2s ease ;
102
103
103
104
p {
You can’t perform that action at this time.
0 commit comments