Skip to content

Commit

Permalink
docs: screenshot update
Browse files Browse the repository at this point in the history
  • Loading branch information
Shan Shaji committed Aug 5, 2021
1 parent cdd99fb commit 45dfb3a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions example/bin/example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ import 'package:chalk/chalk.dart';
void main(List<String> arguments) {
chalk.Chalk ch = chalk.Chalk();

print('\n');
print('-- VS Code Output --');
print('\n');

// Specify font face by using [ftFace] property
print(ch.blue('blue text', ftFace: ChalkFtFace.italic));
print(ch.red('red Text', ftFace: ChalkFtFace.bold));
Expand All @@ -13,8 +17,8 @@ void main(List<String> arguments) {
print(ch.cyan('cyan').bold());

// Not widely supported
print(ch.yellow('yellow').underLined());
print(ch.yellow('yellow').strikeThrough());
print(ch.yellow('underlined(not widely supported)').underLined());
print(ch.cyan('strikeThrough(not widely supported)').strikeThrough());

// Combine styled and normal strings
print('chain text'.green() + ' Normal Text ' + 'chain text2'.red());
Expand Down
2 changes: 1 addition & 1 deletion example/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import 'package:chalk/chalk.dart';

void main() {
var ch = Chalk();
var ch = Chalk();

print('/n');
// Specify font face by using [ftFace] property
print(ch.blue('blue text', ftFace: ChalkFtFace.italic));
print(ch.red('red Text', ftFace: ChalkFtFace.bold));
Expand Down
Binary file modified screenshot.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 45dfb3a

Please sign in to comment.