Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Commit

Permalink
compile .less files to hopscotch.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordon Koo committed Aug 1, 2012
1 parent 91ac815 commit a0dc126
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
16 changes: 16 additions & 0 deletions css/hopscotch.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions css/hopscotch.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import "util.less";
@import "bounce.less";

@anim-duration: .5s;
@bubble-corner-radius: 10px;
Expand Down
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--
<link href="css/hopscotch.less" rel="stylesheet/less"></link>
<link href="css/bounce.less" rel="stylesheet/less"></link>
<script src="js/less-1.3.0.min.js"></script>
-->
<link href="css/hopscotch.css" rel="stylesheet"></link>
<style>
body {
font-family: Helvetica, Arial;
Expand Down
4 changes: 4 additions & 0 deletions minify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ echo "hopscotch.js"
java -jar /Users/gkoo/workspace/yuicompressor-2.4.7/build/yuicompressor-2.4.7.jar --type js js/hopscotch.js > js/hopscotch-min.js

echo "Done minifying..."

echo ""
echo "Compiling LESS > CSS..."
lessc -x css/hopscotch.less > css/hopscotch.css

0 comments on commit a0dc126

Please # to comment.