-
Notifications
You must be signed in to change notification settings - Fork 624
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove punctuation from SCSS classes & identifiers
Prevent appended pseudos as well. This should make the tags file output more consistent with other language parsers, where the identifiers are more important than the delimiters that denote their types. This aids completion in existing tools and across languages (like HTML) where the delimiters are not used.
- Loading branch information
1 parent
227c65e
commit 1cad233
Showing
5 changed files
with
18 additions
and
18 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,6 +1,6 @@ | ||
.alert:hover input.scss /^.alert:hover, %strong-alert {$/;" c | ||
%strong-alert input.scss /^.alert:hover, %strong-alert {$/;" P | ||
%strong-alert:hover input.scss /^%strong-alert:hover {$/;" P | ||
%toolbelt input.scss /^%toolbelt {$/;" P | ||
.action-buttons input.scss /^.action-buttons {$/;" c | ||
.reset-buttons input.scss /^.reset-buttons {$/;" c | ||
alert input.scss /^.alert:hover, %strong-alert {$/;" c | ||
strong-alert input.scss /^.alert:hover, %strong-alert {$/;" P | ||
strong-alert input.scss /^%strong-alert:hover {$/;" P | ||
toolbelt input.scss /^%toolbelt {$/;" P | ||
action-buttons input.scss /^.action-buttons {$/;" c | ||
reset-buttons input.scss /^.reset-buttons {$/;" c |
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,5 +1,5 @@ | ||
.alert input.scss /^.alert, .warning {$/;" c | ||
.warning input.scss /^.alert, .warning {$/;" c | ||
.modal-open input.scss /^.modal-open {$/;" c | ||
.modal input.scss /^ .modal {$/;" c | ||
alert input.scss /^.alert, .warning {$/;" c | ||
warning input.scss /^.alert, .warning {$/;" c | ||
modal-open input.scss /^.modal-open {$/;" c | ||
modal input.scss /^ .modal {$/;" c | ||
foo input.scss /^ #foo {$/;" i |
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,7 +1,7 @@ | ||
base-color input.scss /^$base-color: #c6538c;$/;" v | ||
border-dark input.scss /^$border-dark: rgba($base-color, 0.88);$/;" v | ||
.alert input.scss /^.alert {$/;" c | ||
alert input.scss /^.alert {$/;" c | ||
i input.scss /^@for $i from 1 through 3 {$/;" v | ||
sizes input.scss /^$sizes: 40px, 50px, 80px;$/;" v | ||
size input.scss /^@each $size in $sizes {$/;" v | ||
.icon- input.scss /^ .icon-#{$size} {$/;" c | ||
icon- input.scss /^ .icon-#{$size} {$/;" c |
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