File tree Expand file tree Collapse file tree
packages/vscode-extension/src/status-bar/new-wireframe Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11export const STATUS_BAR_PRIORITY = 100 ;
22export const ITEM_TEXT = '$(lightbulb) Quickmock' ;
33export const ITEM_TOOLTIP = 'Create new Quickmock wireframe' ;
4- export const ITEM_COLOR = '#309a8a ' ;
4+ export const ITEM_COLOR_THEME_TOKEN = 'statusBarItem.prominentForeground ' ;
Original file line number Diff line number Diff line change 11import { QUICKMOCK_NEW_WIREFRAME_COMMAND_ID } from '#commands' ;
22import * as vscode from 'vscode' ;
33import {
4- ITEM_COLOR ,
4+ ITEM_COLOR_THEME_TOKEN ,
55 ITEM_TEXT ,
66 ITEM_TOOLTIP ,
77 STATUS_BAR_PRIORITY ,
@@ -16,7 +16,7 @@ export const registerNewWireframeStatusBarItem = (
1616 ) ;
1717 item . text = ITEM_TEXT ;
1818 item . tooltip = ITEM_TOOLTIP ;
19- item . color = ITEM_COLOR ;
19+ item . color = new vscode . ThemeColor ( ITEM_COLOR_THEME_TOKEN ) ;
2020 item . command = QUICKMOCK_NEW_WIREFRAME_COMMAND_ID ;
2121 item . show ( ) ;
2222
You can’t perform that action at this time.
0 commit comments