Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyyjs/scss2css
scss to css
https://github.com/cyyjs/scss2css
Last synced: 6 days ago
JSON representation
scss to css
- Host: GitHub
- URL: https://github.com/cyyjs/scss2css
- Owner: cyyjs
- Created: 2015-11-25T12:03:35.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-30T04:13:47.000Z (almost 9 years ago)
- Last Synced: 2024-05-28T16:13:19.016Z (6 months ago)
- Language: Python
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sublime-scss2css
Sublime Text 2 and 3 Plugin to compile scss files to css on save. Requires scss installed on PATH.
# Features
* Automatically compile scss -> css on save when editing a .scss file in sublime
* Reports compilation errors
* Compile all scss files in a directory to css filesNB This plugin requires scss to be in your execution path
# Setting
You can add the scss2css settings like this:
{
"autoCompile": true,
"createCssSourceMaps": false,
"ignorePrefixedFiles": false,
"scssBaseDir": "./",
"scssCommand": false,
"main_file": false,
"style" :"compressed", //nested,expanded,compact,compressed
"minName": false,
"outputDir": "./",
"outputFile": "", //[example.css] if left blank uses same name of .scss file
"showErrorWithWindow": true
}Now the user settings `autoCompile` and `style` will be overriden by the project setting.
# 中文报错
`/Library/Ruby/Gems/2.0.0/gems/sass-3.4.19/lib/sass`
在该路文件里面 `engine.rb`,添加一行代码:
`Encoding.default_external = Encoding.find('utf-8')`