Add minification script
This commit is contained in:
parent
ae03686b60
commit
206232ba39
@ -1,4 +1,8 @@
|
||||
/* Material-Color.css Copyright (c) 2017 Netsyms Technologies MIT License */
|
||||
/* Material-Color.css
|
||||
* Copyright (c) 2017 Netsyms Technologies
|
||||
* MIT License
|
||||
* https://source.netsyms.com/Netsyms/Material-Color
|
||||
*/
|
||||
|
||||
/*****************************************************\
|
||||
VARIABLES
|
||||
@ -2070,4 +2074,4 @@
|
||||
.progress-bar-blue-grey {
|
||||
background-color: var(--material-color-primary-blue-grey);
|
||||
color: var(--material-text-primary-blue-grey);
|
||||
}
|
||||
}
|
||||
|
7
material-color.min.css
vendored
7
material-color.min.css
vendored
File diff suppressed because one or more lines are too long
6
minify.sh
Executable file
6
minify.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
command -v yui-compressor >/dev/null 2>&1 || { echo >&2 "Please install yui-compressor and try again."; exit 1; }
|
||||
echo "Compressing CSS..."
|
||||
echo "$(head -n 5 material-color.css)" > material-color.min.css
|
||||
echo "$(yui-compressor material-color.css)" >> material-color.min.css
|
||||
echo "Done."
|
Loading…
x
Reference in New Issue
Block a user