Rollup merge of #92854 - Urgau:better-rust-logo, r=GuillaumeGomez
Use the updated Rust logo in rustdoc This pull-request use the updated Rust logo from https://github.com/rust-lang/rust-artwork/pull/9 and also change the logo format from PNG to SVG. | Before | After | | --- | --- | |  |  | I also took the liberty to update the two PNG favicons with the SVG reducing their size by ~35% each. Fixes https://github.com/rust-lang/rust/issues/92831 r? ```@jsha```
This commit is contained in:
commit
dae3ef2eb2
7 changed files with 67 additions and 5 deletions
|
|
@ -240,7 +240,7 @@ pub(super) fn write_shared(
|
|||
}
|
||||
|
||||
if (*cx.shared).layout.logo.is_empty() {
|
||||
write_toolchain("rust-logo.png", static_files::RUST_LOGO)?;
|
||||
write_toolchain("rust-logo.svg", static_files::RUST_LOGO_SVG)?;
|
||||
}
|
||||
if (*cx.shared).layout.favicon.is_empty() {
|
||||
write_toolchain("favicon.svg", static_files::RUST_FAVICON_SVG)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue