about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-03-28 11:18:45 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2018-03-29 13:45:56 +0200
commit772a8028ffbb3386d8da8cf5a17517b453eed767 (patch)
treeb9d2d064d699d2aaaf55d03c010843e1e88f407f /src/tools
parent14ac1b5faab32d268a85dfde6c6592b7183c5864 (diff)
downloadrust-772a8028ffbb3386d8da8cf5a17517b453eed767.tar.gz
rust-772a8028ffbb3386d8da8cf5a17517b453eed767.zip
Rename main theme into light theme
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/error_index_generator/main.rs4
-rw-r--r--src/tools/rustdoc-themes/main.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/error_index_generator/main.rs b/src/tools/error_index_generator/main.rs
index cdeb6015672..ade7ae0a4ae 100644
--- a/src/tools/error_index_generator/main.rs
+++ b/src/tools/error_index_generator/main.rs
@@ -61,8 +61,8 @@ impl Formatter for HTMLFormatter {
 <head>
 <title>Rust Compiler Error Index</title>
 <meta charset="utf-8">
-<!-- Include rust.css after main.css so its rules take priority. -->
-<link rel="stylesheet" type="text/css" href="main.css"/>
+<!-- Include rust.css after light.css so its rules take priority. -->
+<link rel="stylesheet" type="text/css" href="light.css"/>
 <link rel="stylesheet" type="text/css" href="rust.css"/>
 <style>
 .error-undescribed {{
diff --git a/src/tools/rustdoc-themes/main.rs b/src/tools/rustdoc-themes/main.rs
index 4028cb4e8b6..c8fb65e9a2a 100644
--- a/src/tools/rustdoc-themes/main.rs
+++ b/src/tools/rustdoc-themes/main.rs
@@ -13,7 +13,7 @@ use std::fs::read_dir;
 use std::path::Path;
 use std::process::{Command, exit};
 
-const FILES_TO_IGNORE: &[&str] = &["main.css"];
+const FILES_TO_IGNORE: &[&str] = &["light.css"];
 
 fn get_folders<P: AsRef<Path>>(folder_path: P) -> Vec<String> {
     let mut ret = Vec::with_capacity(10);