Compare commits

...

5 Commits

5 changed files with 24 additions and 10 deletions

5
editor.xml Normal file
View File

@ -0,0 +1,5 @@
<application>
<component name="EditorSettings">
<option name="USE_SOFT_WRAPS" value="" />
</component>
</application>

View File

@ -1,8 +1,8 @@
<application> <application>
<component name="FindSettings"> <component name="FindSettings">
<option name="customScope" value="Project 'coursework'" /> <option name="customScope" value="All Places" />
<option name="defaultScopeName" value="Project 'coursework'" /> <option name="defaultScopeName" value="All Places" />
<option name="SEARCH_SCOPE" value="Project 'coursework'" /> <option name="SEARCH_SCOPE" value="All Places" />
<mask>*.css</mask> <mask>*.css</mask>
<mask>*.html</mask> <mask>*.html</mask>
<mask>*.xml</mask> <mask>*.xml</mask>

View File

@ -1,7 +1,7 @@
<templateSet group="CSS"> <templateSet group="CSS">
<template name="dc" value="display: flex;&#10;flex-direction: $END$;&#10;justify-content: center;&#10;align-items: center;" description="Display flex center" toReformat="false" toShortenFQNames="true"> <template name="dc" value="display: flex;&#10;flex-direction: $END$;&#10;justify-content: center;&#10;align-items: center;" description="Display flex center" toReformat="false" toShortenFQNames="true">
<context> <context>
<option name="CSS" value="true" /> <option name="CSS_DECLARATION_BLOCK" value="true" />
</context> </context>
</template> </template>
<template name="df" value="display: flex;&#10;flex-direction: $DIR$;&#10;justify-content: $JC$;&#10;align-items: $AI$;" description="Dipslay flex" toReformat="false" toShortenFQNames="true"> <template name="df" value="display: flex;&#10;flex-direction: $DIR$;&#10;justify-content: $JC$;&#10;align-items: $AI$;" description="Dipslay flex" toReformat="false" toShortenFQNames="true">
@ -9,12 +9,7 @@
<variable name="JC" expression="" defaultValue="" alwaysStopAt="true" /> <variable name="JC" expression="" defaultValue="" alwaysStopAt="true" />
<variable name="AI" expression="" defaultValue="" alwaysStopAt="true" /> <variable name="AI" expression="" defaultValue="" alwaysStopAt="true" />
<context> <context>
<option name="CSS" value="true" /> <option name="CSS_DECLARATION_BLOCK" value="true" />
</context>
</template>
<template name="bgcv" value="background-color: var(--$END$);" description="Background colour from var" toReformat="false" toShortenFQNames="true">
<context>
<option name="CSS" value="true" />
</context> </context>
</template> </template>
</templateSet> </templateSet>

7
templates/Zen CSS.xml Normal file
View File

@ -0,0 +1,7 @@
<templateSet group="Zen CSS">
<template name="bgc:v" value="background-color: var(--$END$);" description="Background colour from var" toReformat="false" toShortenFQNames="true">
<context>
<option name="CSS_DECLARATION_BLOCK" value="true" />
</context>
</template>
</templateSet>

7
templates/Zen HTML.xml Normal file
View File

@ -0,0 +1,7 @@
<templateSet group="Zen HTML">
<template name="label" value="&lt;label for=&quot;$VAR0$&quot;&gt;$END$&lt;/label&gt;" description="&lt;label for=&quot;...&quot;&gt;...&lt;/label&gt;" toReformat="true" toShortenFQNames="true">
<variable name="VAR0" expression="" defaultValue="&quot;&quot;" alwaysStopAt="true" />
<variable name="id" expression="" defaultValue="" alwaysStopAt="true" />
<context />
</template>
</templateSet>