Skip to content

Commit

Permalink
2.0.1
Browse files Browse the repository at this point in the history
Updated readme and squashed a few more bugs
  • Loading branch information
Dennis committed Jul 28, 2014
1 parent 0e3dd7c commit 57b6284
Show file tree
Hide file tree
Showing 9 changed files with 74 additions and 310 deletions.
20 changes: 0 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,5 @@
.sass-cache
<<<<<<< HEAD
compass/css
sass/css
coverage
InstalledFiles
lib/bundler/man
pkg
rdoc
spec/reports
test/tmp
test/version_tmp
tmp
TODO.md

# YARD artifacts
.yardoc
_yardoc
doc/
=======
*.config.scss
skeleton.*
skeleton_template.css
*.html
>>>>>>> 2.x
336 changes: 60 additions & 276 deletions README.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions bin/theme_setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

Helper.cp("skeleton/themes/demo/_base.scss", "skeleton/themes/#{name}/_base.scss")
Helper.cp("skeleton/themes/demo/_vars.scss", "skeleton/themes/#{name}/_vars.scss")
Helper.cp("skeleton/themes/demo/marrow/_mixins.scss", "skeleton/themes/#{name}/marrow/_mixins.scss")

END {
puts "Theme setup complete!"
Expand Down
2 changes: 1 addition & 1 deletion bin/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ echo "Launch Setup Utility now? [y/n]"
read ans

if [[ ($ans != "n") && ($ans != "N") && ($ans != "no") && ($ans != "No") && ($ans != "NO") ]]; then
bin/setup.sh
bin/setup.rb
echo "Upgrade and Setup is complete!"
exit 0
fi
Expand Down
12 changes: 10 additions & 2 deletions bin/upgrade.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

STDOUT.flush

puts "Warning: this script is incomplete at the moment. If you are using a BASH shell, please run bin/upgrade instead\n\n"

puts "Disclaimer: this utility it meant to aid in upgrading from Skeleton Sass 1.x to Skeleton Sass 2.x. If you have followed the wiki articles then please do not use this script without a clean installation of Skeleton Sass 2.x. We, AtomicPages LLC, are not responsible for any unforeseen events that arise by using this script. Please follow the prompts."

resp = Helper.yesno("Did you add the contents from _vars.scss in Skeleton Sass 1.x to _MYconfig.scss in Skeleton Sass 2.x? [y/n]\nNote: If you ran the setup utility, your global configuration name might differ")
Expand Down Expand Up @@ -57,6 +59,12 @@
"mobileLandscapeWidth" => "mobile-landscape-width"
}

variables.each do |key, value|
%x(ruby -p -e "gsub /#{key}/, '#{value}' #{Dir.pwd}#{filename}")
# variables.each do |key, value|
# key = key.gsub(/(?<=[a-z])(?=[A-Z])/, '-').downcase
# end

File.open(Dir.pwd + "/" + filename, "r+") do |file|
file.each_line do |line|
puts line
end
end
10 changes: 0 additions & 10 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"name": "skeleton-sass",
<<<<<<< HEAD
"version": "1.6.3",
=======
"version": "2.0.0",
>>>>>>> 2.x
"author": "Dennis Thompson",
"homepage": "http://atomicpages.github.io/skeleton-sass/",
"repository": {
Expand All @@ -17,15 +13,9 @@
"url": "http://opensource.org/licenses/MIT"
}
],
<<<<<<< HEAD
"ignore": [
"demo",
"sass/dev"
=======
"main": "",
"ignore": [
".gitignore",
"sache.json"
>>>>>>> 2.x
]
}
1 change: 1 addition & 0 deletions skeleton/themes/demo/_vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// variables.

@import "../../core/config"; // default dependencies
@import "marrow/mixins";
// @import "my_folder/_foo.scss"; // import dependencies from a custom folder
// @import "bourbon"; // install bourbon in this directory and uncomment this line to enable bourbon, for example

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion skeleton/themes/sphenoid/_vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ $prefix-for-webkit: true !default;
$prefix-for-mozilla: true !default;
$prefix-for-microsoft: true !default;
$prefix-for-opera: true !default;
$prefix-for-spec: true !default;
$prefix-for-spec: true !default; // set all prefixes to false EXCEPT spec to disable all vendor prefixes

0 comments on commit 57b6284

Please sign in to comment.