TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Managing Styles with Sass on Heroku

3 点作者 avand超过 14 年前

2 条评论

Agamapapa超过 14 年前
Avand, your blog is really hard to read in Chrome, thanks to the shadow on all the regular text, which ends up appearing blurry. Firefox is actually significantly easier to read, though I'm still thinking you should drop the text shadow. Nice post otherwise, though!
manume超过 14 年前
avand, one file in your code reads:<p>Dir.glob("#{Rails.root}/app/stylesheets/#{params[:package]}/<i></i>/<i>.css</i>") do |filename|<p>Don't you want to compile all SCSS files? Why '<i>.css</i>' then? Also, wouldn't you have to exclude partials (_foo.scss)?<p>I had to add ':load_paths =&#62; %w(. ./app/stylesheets)' to the sass_options to get the @imports working. Did it work for you without that?