I love the forum and find a lot of kind help for my learning purposes. Yet the syntax highlight for rust code is a bit tad and grey:
pub fn run(&mut self) {
let mut last_tick = std::time::SystemTime::now();
loop {
// takes user input and move the shape accordingly
self.take_directions();
// check if we reached time to tick again, then tick
if last_tick.elapsed().unwrap().as_millis() >= self.speed {
self.game_over(); // checks if game is over
self.tick();
self.clear_full_rows(); //
last_tick = std::time::SystemTime::now();
}
}
}
Please don't! On my Mac the Atom example is a black blob with overlays of red, yellow, blue and gray that is very hard to read. The gray comments are virtually unreadable.
It does not allow you to configure it without registering an account, but that's a minor inconvenience compared the the expense of installing server-side customization to the forum software.
My main gripe with the code highlighting is the color of comments. Comments tend to be documentation so I like themes that make them colorful and stand out instead of dulling them into the background (your atom example does the same though).
@vmedea: Absolutely ! The S tylish plugin has a gorgeous dark theme for GitHub by the way, the comments stands out in a beautiful way:
I was thinking of such a theme when I wrote my post by the way. Should have precised.
Update on the other answers : in my first post I already display the forum's native dark theme. I'll have to look into what you tell me about, and I'll come back with better questions.