Skip to content

Commit 142dac0

Browse files
committed
Fix the icons
1 parent 77d010f commit 142dac0

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

src/css/custom.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919

2020
/* For readability concerns, you should choose a lighter palette in dark mode. */
21-
[data-theme='dark'] {
21+
[data-theme="dark"] {
2222
--ifm-color-primary: #25c2a0;
2323
--ifm-color-primary-dark: #21af90;
2424
--ifm-color-primary-darker: #1fa588;
@@ -37,7 +37,7 @@
3737
height: 28px;
3838
}
3939

40-
[data-theme='dark'] .custom-margin-right {
40+
[data-theme="dark"] .custom-margin-right {
4141
border-right: 1px solid #fff;
4242
}
4343

@@ -53,7 +53,7 @@
5353

5454
.header-github-link:before,
5555
.header-twitter-link:before {
56-
content: '';
56+
content: "";
5757
width: 20px;
5858
height: 20px;
5959
display: block;
@@ -62,22 +62,22 @@
6262
}
6363

6464
.header-github-link:before {
65-
background: url('data:image/svg+xml,%3Csvg viewBox='002424' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M120.297c-6.630-125.373-121205.3033.4389.88.20511.385.6.113.82-0.258.82-.5770-0.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.42218.073.63317.73.63317.7c-1.087-0.744.084-.729.084-.7291.205.0841.8381.2361.8381.2361.071.8352.8091.3053.495.998.108-0.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.930-1.31.465-2.381.235-3.22-0.135-.303-.54-1.523.105-3.176001.005-0.3223.31.23.96-0.2671.98-0.3993-0.4051.02.0062.04.13830.4052.28-1.5523.285-1.233.285-1.23.6451.653.242.873.123.176.765.841.231.911.233.2204.61-2.8055.625-5.4755.92.42.36.811.096.812.2201.606-0.0152.896-0.0153.28600.315.21.69.825.57C20.56522.0922417.5922412.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E')
65+
background: url('data:image/svg+xml,%3Csvg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath fill="%23000" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/%3E%3C/svg%3E')
6666
no-repeat;
6767
}
6868

6969
.header-twitter-link:before {
70-
background: url('data:image/svg+xml,%3Csvg viewBox='002424' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M18.9011.153h3.68l-8.049.19L2422.846h-7.406l-5.8-7.584-6.6387.584H.474l8.6-9.83L01.154h7.594l5.2436.932ZM17.6120.644h2.039L6.4863.24H4.298Z'/%3E%3C/svg%3E')
70+
background: url('data:image/svg+xml,%3Csvg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath fill="%23000" d="M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"/%3E%3C/svg%3E')
7171
no-repeat;
7272
}
7373

7474
/* Dark theme icons */
75-
[data-theme='dark'] .header-github-link:before {
76-
background: url('data:image/svg+xml,%3Csvg viewBox='002424' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' d='M120.297c-6.630-125.373-121205.3033.4389.88.20511.385.6.113.82-0.258.82-.5770-0.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.42218.073.63317.73.63317.7c-1.087-0.744.084-.729.084-.7291.205.0841.8381.2361.8381.2361.071.8352.8091.3053.495.998.108-0.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.930-1.31.465-2.381.235-3.22-0.135-.303-.54-1.523.105-3.176001.005-0.3223.31.23.96-0.2671.98-0.3993-0.4051.02.0062.04.13830.4052.28-1.5523.285-1.233.285-1.23.6451.653.242.873.123.176.765.841.231.911.233.2204.61-2.8055.625-5.4755.92.42.36.811.096.812.2201.606-0.0152.896-0.0153.28600.315.21.69.825.57C20.56522.0922417.5922412.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E')
75+
[data-theme="dark"] .header-github-link:before {
76+
background: url('data:image/svg+xml,%3Csvg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath fill="%23fff" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/%3E%3C/svg%3E')
7777
no-repeat;
7878
}
7979

80-
[data-theme='dark'] .header-twitter-link:before {
81-
background: url('data:image/svg+xml,%3Csvg viewBox='002424' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fff' d='M18.9011.153h3.68l-8.049.19L2422.846h-7.406l-5.8-7.584-6.6387.584H.474l8.6-9.83L01.154h7.594l5.2436.932ZM17.6120.644h2.039L6.4863.24H4.298Z'/%3E%3C/svg%3E')
80+
[data-theme="dark"] .header-twitter-link:before {
81+
background: url('data:image/svg+xml,%3Csvg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath fill="%23fff" d="M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"/%3E%3C/svg%3E')
8282
no-repeat;
8383
}

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4394,6 +4394,11 @@ fs.realpath@^1.0.0:
43944394
resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz"
43954395
integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
43964396

4397+
fsevents@~2.3.2:
4398+
version "2.3.3"
4399+
resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz"
4400+
integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==
4401+
43974402
function-bind@^1.1.2:
43984403
version "1.1.2"
43994404
resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz"

0 commit comments

Comments
 (0)