Skip to content

Commit cf5ee8f

Browse files
Fix links' color
1 parent afd0a2f commit cf5ee8f

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

src/Cargo.lock

+10-4
Original file line numberDiff line numberDiff line change
@@ -1215,6 +1215,11 @@ name = "mac"
12151215
version = "0.1.1"
12161216
source = "registry+https://github.com/rust-lang/crates.io-index"
12171217

1218+
[[package]]
1219+
name = "macro-utils"
1220+
version = "0.1.2"
1221+
source = "registry+https://github.com/rust-lang/crates.io-index"
1222+
12181223
[[package]]
12191224
name = "maplit"
12201225
version = "1.0.1"
@@ -1292,10 +1297,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
12921297

12931298
[[package]]
12941299
name = "minifier"
1295-
version = "0.0.14"
1300+
version = "0.0.19"
12961301
source = "registry+https://github.com/rust-lang/crates.io-index"
12971302
dependencies = [
1298-
"regex 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
1303+
"macro-utils 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
12991304
]
13001305

13011306
[[package]]
@@ -2431,7 +2436,7 @@ dependencies = [
24312436
name = "rustdoc"
24322437
version = "0.0.0"
24332438
dependencies = [
2434-
"minifier 0.0.14 (registry+https://github.com/rust-lang/crates.io-index)",
2439+
"minifier 0.0.19 (registry+https://github.com/rust-lang/crates.io-index)",
24352440
"pulldown-cmark 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
24362441
"tempfile 3.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
24372442
]
@@ -3197,14 +3202,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
31973202
"checksum log_settings 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "19af41f0565d7c19b2058153ad0b42d4d5ce89ec4dbf06ed6741114a8b63e7cd"
31983203
"checksum lzma-sys 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "d1eaa027402541975218bb0eec67d6b0412f6233af96e0d096d31dbdfd22e614"
31993204
"checksum mac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
3205+
"checksum macro-utils 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f2c4deaccc2ead6a28c16c0ba82f07d52b6475397415ce40876e559b0b0ea510"
32003206
"checksum maplit 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "08cbb6b4fef96b6d77bfc40ec491b1690c779e77b05cd9f07f787ed376fd4c43"
32013207
"checksum markup5ever 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bfedc97d5a503e96816d10fedcd5b42f760b2e525ce2f7ec71f6a41780548475"
32023208
"checksum matches 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "835511bab37c34c47da5cb44844bea2cfde0236db0b506f90ea4224482c9774a"
32033209
"checksum mdbook 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "90b5a8d7e341ceee5db3882a06078d42661ddcfa2b3687319cc5da76ec4e782f"
32043210
"checksum memchr 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "796fba70e76612589ed2ce7f45282f5af869e0fdd7cc6199fa1aa1f1d591ba9d"
32053211
"checksum memmap 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e2ffa2c986de11a9df78620c01eeaaf27d94d3ff02bf81bfcca953102dd0c6ff"
32063212
"checksum memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0f9dc261e2b62d7a622bf416ea3c5245cdd5d9a7fcc428c0d06804dfce1775b3"
3207-
"checksum minifier 0.0.14 (registry+https://github.com/rust-lang/crates.io-index)" = "78cb57f9a385530d60f2d67f6e108050b478b7a0ffd0bb9c350803e1356535dd"
3213+
"checksum minifier 0.0.19 (registry+https://github.com/rust-lang/crates.io-index)" = "9908ed7c62f990c21ab41fdca53a864a3ada0da69d8729c4de727b397e27bc11"
32083214
"checksum miniz-sys 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "609ce024854aeb19a0ef7567d348aaa5a746b32fb72e336df7fcc16869d7e2b4"
32093215
"checksum miow 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "9224c91f82b3c47cf53dcf78dfaa20d6888fbcc5d272d5f2fcdf8a697f3c987d"
32103216
"checksum new_debug_unreachable 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0cdc457076c78ab54d5e0d6fa7c47981757f1e34dc39ff92787f217dede586c4"

src/librustdoc/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ path = "lib.rs"
99

1010
[dependencies]
1111
pulldown-cmark = { version = "0.1.2", default-features = false }
12-
minifier = "0.0.14"
12+
minifier = "0.0.19"
1313
tempfile = "3"

src/librustdoc/html/static/themes/dark.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ a {
165165
color: #ddd;
166166
}
167167

168-
.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow), .docblock-short
169-
a:not(.srclink):not(.test-arrow), .stability a {
168+
.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),
169+
.docblock-short a:not(.srclink):not(.test-arrow), .stability a {
170170
color: #D2991D;
171171
}
172172

src/librustdoc/html/static/themes/light.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ a {
165165
color: #000;
166166
}
167167

168-
.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow), .docblock-short
169-
a:not(.srclink):not(.test-arrow), .stability a {
168+
.docblock:not(.type-decl) a:not(.srclink):not(.test-arrow),
169+
.docblock-short a:not(.srclink):not(.test-arrow), .stability a {
170170
color: #3873AD;
171171
}
172172

0 commit comments

Comments
 (0)