Skip to content

Commit

Permalink
Merge pull request #9 from shmargum/styles-dir
Browse files Browse the repository at this point in the history
add some more default style dirs
  • Loading branch information
shmargum authored Jul 12, 2018
2 parents b11aa78 + 682ccf3 commit 5350f59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ There are several plugins out there that can highlight color literals, but for m
* Is only loaded for .scss or .sass files

### Definitions, constants, and options
* Default stylesheet directories: `/scss/`, `/sass/`, `/stylesheets/`
* Default stylesheet directories: `/scss/`, `/sass/`, `/stylesheets/`, `/style/`, `/styles/`
* Default color imports: `colors` or `_colors` (any suffix)
* Default color palette: 24 bits, 256 color (approximation) fallback
* Supported color formats: 6 digit hex, rgb, rgba
Expand Down
2 changes: 1 addition & 1 deletion autoload/sass-colors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@
HEX_VALS = CLUT_HASH.keys


prefix_regex = /\/(?:stylesheets|sass|scss)\//
prefix_regex = /\/(?:stylesheets|sass|scss|style|styles)\//
suffix_regex = /\.(?:scss|sass|less)/

current_file = ARGV[0]
Expand Down

0 comments on commit 5350f59

Please sign in to comment.