mirror of
https://github.com/LukeHagar/skeleton.git
synced 2025-12-10 04:21:26 +00:00
Ordered the classes in tw-settings.json
This commit is contained in:
@@ -124,7 +124,8 @@ function generateKeyWordsFromProps() {
|
||||
}
|
||||
}
|
||||
}
|
||||
writeFileSync('scripts/tw-settings.json', JSON.stringify({ "tailwindCSS.classAttributes": [...propSet] }, null, '\t'));
|
||||
const finalProps = Array.from(propSet).sort()
|
||||
writeFileSync('scripts/tw-settings.json', JSON.stringify({ "tailwindCSS.classAttributes": [...finalProps] }, null, '\t'));
|
||||
}
|
||||
|
||||
extractScriptsFromComponents('src/lib/components');
|
||||
|
||||
@@ -1,78 +1,78 @@
|
||||
{
|
||||
"tailwindCSS.classAttributes": [
|
||||
"class",
|
||||
"spacing",
|
||||
"padding",
|
||||
"hover",
|
||||
"rounded",
|
||||
"regionControl",
|
||||
"regionPanel",
|
||||
"regionCaret",
|
||||
"background",
|
||||
"border",
|
||||
"shadow",
|
||||
"space",
|
||||
"gridColumns",
|
||||
"gap",
|
||||
"regionRowMain",
|
||||
"regionRowHeadline",
|
||||
"slotLead",
|
||||
"slotDefault",
|
||||
"slotTrail",
|
||||
"accent",
|
||||
"active",
|
||||
"width",
|
||||
"height",
|
||||
"regionLead",
|
||||
"regionDefault",
|
||||
"regionTrail",
|
||||
"regionIcon",
|
||||
"regionLabel",
|
||||
"regionPage",
|
||||
"slotHeader",
|
||||
"slotSidebarLeft",
|
||||
"slotSidebarRight",
|
||||
"slotPageHeader",
|
||||
"slotPageContent",
|
||||
"slotPageFooter",
|
||||
"slotFooter",
|
||||
"fill",
|
||||
"cursor",
|
||||
"regionCaption",
|
||||
"regionCone",
|
||||
"regionLegend",
|
||||
"amountText",
|
||||
"background",
|
||||
"badge",
|
||||
"border",
|
||||
"borderColor",
|
||||
"borderWidth",
|
||||
"button",
|
||||
"buttonBack",
|
||||
"buttonClasses",
|
||||
"buttonComplete",
|
||||
"buttonNext",
|
||||
"buttonTextNext",
|
||||
"buttonTextPrevious",
|
||||
"chips",
|
||||
"class",
|
||||
"color",
|
||||
"cursor",
|
||||
"display",
|
||||
"element",
|
||||
"fill",
|
||||
"flex",
|
||||
"gap",
|
||||
"gridColumns",
|
||||
"height",
|
||||
"hover",
|
||||
"invalid",
|
||||
"justify",
|
||||
"meter",
|
||||
"padding",
|
||||
"regionBody",
|
||||
"regionCaption",
|
||||
"regionCaret",
|
||||
"regionCone",
|
||||
"regionContent",
|
||||
"regionControl",
|
||||
"regionDefault",
|
||||
"regionFoot",
|
||||
"regionHead",
|
||||
"regionHeader",
|
||||
"regionIcon",
|
||||
"regionInterface",
|
||||
"regionInterfaceText",
|
||||
"regionLabel",
|
||||
"regionLead",
|
||||
"regionLegend",
|
||||
"regionList",
|
||||
"regionNavigation",
|
||||
"regionPage",
|
||||
"regionPanel",
|
||||
"regionRowHeadline",
|
||||
"regionRowMain",
|
||||
"regionTrail",
|
||||
"rounded",
|
||||
"select",
|
||||
"shadow",
|
||||
"slotDefault",
|
||||
"slotFooter",
|
||||
"slotHeader",
|
||||
"slotLead",
|
||||
"slotMessage",
|
||||
"slotMeta",
|
||||
"chips",
|
||||
"invalid",
|
||||
"select",
|
||||
"justify",
|
||||
"slotPageContent",
|
||||
"slotPageFooter",
|
||||
"slotPageHeader",
|
||||
"slotSidebarLeft",
|
||||
"slotSidebarRight",
|
||||
"slotTrail",
|
||||
"space",
|
||||
"spacing",
|
||||
"text",
|
||||
"amountText",
|
||||
"buttonClasses",
|
||||
"buttonTextPrevious",
|
||||
"buttonTextNext",
|
||||
"meter",
|
||||
"track",
|
||||
"display",
|
||||
"borderWidth",
|
||||
"borderColor",
|
||||
"color",
|
||||
"accent",
|
||||
"regionHeader",
|
||||
"regionContent",
|
||||
"regionNavigation",
|
||||
"badge",
|
||||
"buttonBack",
|
||||
"buttonNext",
|
||||
"buttonComplete",
|
||||
"flex",
|
||||
"regionList",
|
||||
"element",
|
||||
"regionHead",
|
||||
"regionBody",
|
||||
"regionFoot"
|
||||
"width"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user