Skip to content

Commit 163c3fc

Browse files
committed
add modules and options to tree view
1 parent 805ddd2 commit 163c3fc

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

resources/icons/extension.svg

Lines changed: 1 addition & 0 deletions
Loading

resources/icons/settings.svg

Lines changed: 1 addition & 0 deletions
Loading

src/treeView.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ const ICONS = {
3838
padding: 'padding.svg',
3939
margin: 'select_all.svg',
4040
negativeMargin: 'select_all.svg',
41-
tracking: 'tracking.svg'
41+
tracking: 'tracking.svg',
42+
modules: 'extension.svg',
43+
options: 'settings.svg'
4244
}
4345

4446
function configValueToString(value: any): string {
@@ -126,7 +128,7 @@ class TailwindDataProvider implements TreeDataProvider<ConfigItem> {
126128
}
127129

128130
return Object.keys(this.config)
129-
.filter(key => ['modules', 'plugins', 'options'].indexOf(key) === -1)
131+
.filter(key => ['plugins'].indexOf(key) === -1)
130132
.map(
131133
key =>
132134
new ConfigItem(

0 commit comments

Comments
 (0)