forked from bradlc/sublime-tailwindcss
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed: snippets work in css scope and remove dot in front of classes
- Loading branch information
1 parent
a84e7c8
commit 420cfbe
Showing
6 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
@apply .${1:uppercase}${0}; | ||
@apply ${1:uppercase}${0}; | ||
]]></content> | ||
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | ||
<tabTrigger>apply</tabTrigger> | ||
<description>tailwindcss: @apply snippet</description> | ||
<!-- Optional: Set a scope to limit where the snippet will trigger --> | ||
<scope>source.pcss, source.postcss</scope> | ||
<scope>source.pcss, source.postcss, source.css</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
@responsive { | ||
.${1:classname} { | ||
${2:@apply .${3:bg-white}};${0} | ||
${1:classname} { | ||
${2:@apply ${3:bg-white}};${0} | ||
} | ||
} | ||
]]></content> | ||
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | ||
<tabTrigger>responsive</tabTrigger> | ||
<description>@responsive snippet for tailwindcss</description> | ||
<!-- Optional: Set a scope to limit where the snippet will trigger --> | ||
<scope>source.pcss, source.postcss</scope> | ||
<scope>source.pcss, source.postcss, source.css</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
@screen ${1:md} { | ||
${2:@apply .${3:bg-white}};${0} | ||
${2:@apply ${3:bg-white}};${0} | ||
} | ||
]]></content> | ||
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | ||
<tabTrigger>screen</tabTrigger> | ||
<description>tailwindcss: @screen snippet</description> | ||
<!-- Optional: Set a scope to limit where the snippet will trigger --> | ||
<scope>source.pcss, source.postcss</scope> | ||
<scope>source.pcss, source.postcss, source.css</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
@variants ${1:focus, hover} { | ||
.${2:classname} { | ||
${3:@apply .${4:bg-white}};${0} | ||
${2:classname} { | ||
${3:@apply ${4:bg-white}};${0} | ||
} | ||
} | ||
]]></content> | ||
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | ||
<tabTrigger>variants</tabTrigger> | ||
<description>tailwindcss: @variants snippet</description> | ||
<!-- Optional: Set a scope to limit where the snippet will trigger --> | ||
<scope>source.pcss, source.postcss</scope> | ||
<scope>source.pcss, source.postcss, source.css</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters