Skip to content

Commit f518deb

Browse files
authored
fix: use proper color for file info dialog
1 parent 24d0c54 commit f518deb

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

src/styles/fileInfo.scss

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
.file-name {
99
font-size: 1.25rem;
1010
font-weight: 500;
11-
color: var(--secondary-text-color);
11+
color: var(--popup-text-color);
1212
display: flex;
1313
align-items: center;
1414
gap: 0.5rem;
@@ -31,11 +31,15 @@
3131
}
3232
}
3333
.file-extension {
34-
background: var(--popup-active-color);
34+
background: color-mix(
35+
in srgb,
36+
var(--button-background-color) 40%,
37+
transparent
38+
);
3539
padding: 0.25rem 0.5rem;
3640
border-radius: 4px;
3741
font-size: 0.875rem;
38-
color: var(--link-text-color);
42+
color: var(--active-color);
3943
font-weight: 600;
4044
letter-spacing: 0.5px;
4145
text-transform: uppercase;
@@ -57,22 +61,22 @@
5761

5862
.info-label {
5963
font-size: 0.875rem;
60-
color: color-mix(in srgb, var(--secondary-text-color) 60%, transparent);
64+
color: color-mix(in srgb, var(--popup-text-color) 60%, transparent);
6165
text-transform: uppercase;
6266
letter-spacing: 0.5px;
6367
}
6468

6569
.info-value {
6670
font-size: 1rem;
67-
color: var(--secondary-text-color);
71+
color: var(--popup-text-color);
6872
font-weight: 500;
6973
}
7074
}
7175

7276
.path-section {
7377
margin-top: 1.5rem;
7478
padding-top: 1.5rem;
75-
border-top: 1px solid var(--popup-border-color);
79+
border-top: 1px solid var(--border-color);
7680

7781
.path-value {
7882
word-break: break-all;

0 commit comments

Comments
 (0)