鏡像自
https://github.com/arsenetar/pelican-red.git
已同步 2026-03-13 23:41:37 +00:00
Consolidate scss output, clean up and restructure sass directory.
Changes output to only one stylesheet, removes uneeded files, renames and trims font files, creates utility script to convert from fontello css file to sass
此提交包含在:
11
utils/iconsCSStoSASS.sh
可執行檔
11
utils/iconsCSStoSASS.sh
可執行檔
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
SASS_PATH="../static/sass/voltaicideas/pelican-red/"
|
||||
INPUT_FILE="${SASS_PATH}pelican-red-codes.css"
|
||||
OUTPUT_FILE="${SASS_PATH}_iconList.scss"
|
||||
|
||||
PREFIX="icon"
|
||||
|
||||
sed -rn "s/^.${PREFIX}-(.*):before.*'\\\e(.*)'; \}.*/@include i-class('\1','\2'); /p" ${INPUT_FILE} > ${OUTPUT_FILE}
|
||||
echo -en '\n\n//Generated on ' >> ${OUTPUT_FILE}
|
||||
date -u >> ${OUTPUT_FILE}
|
||||
echo '' >> ${OUTPUT_FILE}
|
||||
新增問題並參考
封鎖使用者