Skip to content

Commit ef73447

Browse files
committed
feat: update new wireframe status bar item to use theme color token
1 parent e9bd5bb commit ef73447

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export const STATUS_BAR_PRIORITY = 100;
22
export const ITEM_TEXT = '$(lightbulb) Quickmock';
33
export const ITEM_TOOLTIP = 'Create new Quickmock wireframe';
4-
export const ITEM_COLOR = '#309a8a';
4+
export const ITEM_COLOR_THEME_TOKEN = 'statusBarItem.prominentForeground';

packages/vscode-extension/src/status-bar/new-wireframe/new-wireframe.status-bar.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { QUICKMOCK_NEW_WIREFRAME_COMMAND_ID } from '#commands';
22
import * as vscode from 'vscode';
33
import {
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

0 commit comments

Comments
 (0)