Browse Source

Add minification script

css-variables
Skylar Ittner 4 years ago
parent
commit
206232ba39
  1. 8
      material-color.css
  2. 7
      material-color.min.css
  3. 6
      minify.sh

8
material-color.css

@ -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
File diff suppressed because it is too large
View File

6
minify.sh

@ -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…
Cancel
Save