comparison hgext3rd/topic/__init__.py @ 1976:ebdc2a6a9a25

topic: add color for the active topic We reuse the same color that the one used for the active bookmark.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Sun, 14 Aug 2016 20:40:46 +0200
parents acbbf7f0751e
children 137f8b04901e
comparison
equal deleted inserted replaced
1975:acbbf7f0751e 1976:ebdc2a6a9a25
42 discovery, 42 discovery,
43 ) 43 )
44 44
45 cmdtable = {} 45 cmdtable = {}
46 command = cmdutil.command(cmdtable) 46 command = cmdutil.command(cmdtable)
47 colortable = {'topic.stack.index': 'yellow', 47 colortable = {'topic.active': 'green',
48 'topic.stack.index': 'yellow',
48 'topic.stack.state.base': 'dim', 49 'topic.stack.state.base': 'dim',
49 'topic.stack.state.clean': 'green', 50 'topic.stack.state.clean': 'green',
50 'topic.stack.index.current': 'cyan', # random pick 51 'topic.stack.index.current': 'cyan', # random pick
51 'topic.stack.state.current': 'cyan bold', # random pick 52 'topic.stack.state.current': 'cyan bold', # random pick
52 'topic.stack.desc.current': 'cyan', # random pick 53 'topic.stack.desc.current': 'cyan', # random pick