Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update default colors to match the node client #32

Merged
merged 3 commits into from Jan 30, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
52 changes: 26 additions & 26 deletions tests/data/gem_rendered
@@ -1,26 +1,26 @@
# gem 
 
 Interact with the package manager for the Ruby programming language. 
 
- Install latest version of a gem 
 
 gem install gemname 
 
- Install specific version of a gem 
 
 gem install gemname -v 1.0.0 
 
- Update a gem 
 
 gem update gemname 
 
- List all gems 
 
 gem list 
 
- Uninstall a gem 
 
 gem uninstall gemname 
 
 
 
# gem 
 
 Interact with the package manager for the Ruby programming language. 
 
- Install latest version of a gem 
 
 gem install gemname 
 
- Install specific version of a gem 
 
 gem install gemname -v 1.0.0 
 
- Update a gem 
 
 gem update gemname 
 
- List all gems 
 
 gem list 
 
- Uninstall a gem 
 
 gem uninstall gemname 
 
 
 
12 changes: 6 additions & 6 deletions tldr.py
Expand Up @@ -166,12 +166,12 @@ def get_page(command, platform=None):


DEFAULT_COLORS = {
'blank': 'white on_blue',
'name': 'cyan on_blue bold',
'description': 'white on_blue',
'example': 'green on_blue',
'command': 'red on_grey',
'parameter': 'white on_grey',
'blank': 'white',
'name': 'white bold',
'description': 'white',
'example': 'green',
'command': 'red',
'parameter': 'white',
}

LEADING_SPACES_NUM = 2
Expand Down