Commit 64609588 authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Fix the hot reload colors to look better (#6753)

parent 7f182dac
...@@ -595,12 +595,12 @@ class HotRunner extends ResidentRunner { ...@@ -595,12 +595,12 @@ class HotRunner extends ResidentRunner {
@override @override
void printHelp({ @required bool details }) { void printHelp({ @required bool details }) {
const String fire = '🔥'; const String fire = '🔥';
const String redOnBlack = '\u001B[31;40m'; const String red = '\u001B[31m';
const String bold = '\u001B[0;1m'; const String bold = '\u001B[0;1m';
const String reset = '\u001B[0m'; const String reset = '\u001B[0m';
printStatus( printStatus(
'$fire To hot reload your app on the fly, press "r" or F5. To restart the app entirely, press "R".', '$fire To hot reload your app on the fly, press "r" or F5. To restart the app entirely, press "R".',
ansiAlternative: '$redOnBlack$fire$bold To ${redOnBlack}hot reload$bold your app on the fly, ' ansiAlternative: '$red$fire$bold To hot reload your app on the fly, '
'press "r" or F5. To restart the app entirely, press "R".$reset' 'press "r" or F5. To restart the app entirely, press "R".$reset'
); );
printStatus('The Observatory debugger and profiler is available at: http://127.0.0.1:$_observatoryPort/'); printStatus('The Observatory debugger and profiler is available at: http://127.0.0.1:$_observatoryPort/');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment