Inital commit
This commit is contained in:
13
renderSCSS.py
Normal file
13
renderSCSS.py
Normal file
@@ -0,0 +1,13 @@
|
||||
code = """li {
|
||||
display: block;
|
||||
}
|
||||
|
||||
"""
|
||||
import sass
|
||||
|
||||
def renderSCSS(src):
|
||||
srcFile = open(src, 'r')
|
||||
# print(src)
|
||||
css = sass.compile(string=srcFile.read())
|
||||
srcFile.close()
|
||||
return css
|
||||
Reference in New Issue
Block a user