LoginSignup
1
1

More than 5 years have passed since last update.

Sencha Touch 2.4.0 のテーマをコンパイルするときにエラー

Posted at

Sencha Touch 2.4.0 を試してみてます。
Sencha Cmd 5.0.3 を使って新規アプリのセットアップをし、最初の何にもない画面ができたところで、今風のフラットデザインにするべく、

Sencha Touch Flat UI Theme
(http://dev.ariel-networks.com/wp/archives/3816)

を使わせてもらおうと思いました。

Compass によるSCSSのコンパイルが必要なので、Compassをインストールして、説明の通りファイルをセットアップして、コンパイル。

$ compass compile resources/sass/

残念ながらエラーで止まります。

error resources/sass/app.scss (Line 3 of touch/resources/themes/stylesheets/sencha-touch/_base.scss: File to import not found or unreadable: blueprint/typography.

いろいろ調べて見つけたのがこれ。http://compass-style.org/CHANGELOG/

0.13.alpha.8 (10/21/2013)

The blueprint framework has been removed from compass. The docs are now at compass-blueprint.org and the code is maintained as its own project by Stephen Way. Full details can be found on the blog.

Compass のバージョンは、1.0.1だったのですが、そのままではコンパイルできなかったので、アンインストールして、古いバージョンを入れました。

$ sudo gem uninstall compass
$ sudo gem uninstall sass
$ sudo gem install compass --version 0.12.7

無事コンパイルできるようになりました。

実際はここまで来るまでに、Compass 1.0.1 のままで、gemを追加したり、パスやソースを修正したりしてみたのですが、結局コンパイルが通るところまでたどり着きませんでした。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1