add modules and options to tree view
parent
805ddd2879
commit
163c3fc633
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="#44a8b3"><path d="M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5C13 2.12 11.88 1 10.5 1S8 2.12 8 3.5V5H4c-1.1 0-1.99.9-1.99 2v3.8H3.5c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-1.5c0-1.49 1.21-2.7 2.7-2.7 1.49 0 2.7 1.21 2.7 2.7V22H17c1.1 0 2-.9 2-2v-4h1.5c1.38 0 2.5-1.12 2.5-2.5S21.88 11 20.5 11z"/></svg>
|
After Width: | Height: | Size: 409 B |
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="#44a8b3"><path d="M15.95 10.78c.03-.25.05-.51.05-.78s-.02-.53-.06-.78l1.69-1.32c.15-.12.19-.34.1-.51l-1.6-2.77c-.1-.18-.31-.24-.49-.18l-1.99.8c-.42-.32-.86-.58-1.35-.78L12 2.34c-.03-.2-.2-.34-.4-.34H8.4c-.2 0-.36.14-.39.34l-.3 2.12c-.49.2-.94.47-1.35.78l-1.99-.8c-.18-.07-.39 0-.49.18l-1.6 2.77c-.1.18-.06.39.1.51l1.69 1.32c-.04.25-.07.52-.07.78s.02.53.06.78L2.37 12.1c-.15.12-.19.34-.1.51l1.6 2.77c.1.18.31.24.49.18l1.99-.8c.42.32.86.58 1.35.78l.3 2.12c.04.2.2.34.4.34h3.2c.2 0 .37-.14.39-.34l.3-2.12c.49-.2.94-.47 1.35-.78l1.99.8c.18.07.39 0 .49-.18l1.6-2.77c.1-.18.06-.39-.1-.51l-1.67-1.32zM10 13c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z"/></svg>
|
After Width: | Height: | Size: 751 B |
|
@ -38,7 +38,9 @@ const ICONS = {
|
||||||
padding: 'padding.svg',
|
padding: 'padding.svg',
|
||||||
margin: 'select_all.svg',
|
margin: 'select_all.svg',
|
||||||
negativeMargin: 'select_all.svg',
|
negativeMargin: 'select_all.svg',
|
||||||
tracking: 'tracking.svg'
|
tracking: 'tracking.svg',
|
||||||
|
modules: 'extension.svg',
|
||||||
|
options: 'settings.svg'
|
||||||
}
|
}
|
||||||
|
|
||||||
function configValueToString(value: any): string {
|
function configValueToString(value: any): string {
|
||||||
|
@ -126,7 +128,7 @@ class TailwindDataProvider implements TreeDataProvider<ConfigItem> {
|
||||||
}
|
}
|
||||||
|
|
||||||
return Object.keys(this.config)
|
return Object.keys(this.config)
|
||||||
.filter(key => ['modules', 'plugins', 'options'].indexOf(key) === -1)
|
.filter(key => ['plugins'].indexOf(key) === -1)
|
||||||
.map(
|
.map(
|
||||||
key =>
|
key =>
|
||||||
new ConfigItem(
|
new ConfigItem(
|
||||||
|
|
Loading…
Reference in New Issue