Posts Tagged sass

railsconf2011: JavaScript the newest first class citizen

This is actually from a combined set of sessions. One of the larger problems in Rails has always been how to deal with JavaScript in a proper way. There are the .js.erb files but they are not really a proper solution to the problem.

In many ways Rails has always treated JavaScript as a second class citizen. As it wasn’t a real programming language… This while in the current state of the web standards is embracing JavaScript more and more. Rails is not running far behind actually. From Rails 3.1 CoffeeScript and Sass are both introduced as first class citizens to the Rails community with the introduction of the asset pipeline. But is it really becoming that first class citizen?

Read the rest of this entry »

, , , , ,

Leave a comment

Sass revisited

About half a year ago I talked about how you could use sass do create stylesheets dynamically with different color. I was asked to go further into detail on how to do this. I’ll also illuminate on some of the thing I learned since last time and how I incorporated the new insights.

I have also done a lot of discovering on how to make css more efficient with sass. I have also needed to do some alternative work with colors to have it working for me. Going through an existing css code base there are a lot of issues with optimization of your code. These issues are not new and are quite common in css but sass can solve these common issues.

Read the rest of this entry »

, , ,

1 Comment

Dynamic coloring with Sass

When building a web-application you’ll need to do some sort of styling to get it looking a kind of decent. To enhance your web app you would probably like to do some more advanced styling with lots of css, images and other stuff… But what if you needed a styling system that dynamically changes the colors of your style?

I’ve designed and implemented an application that uses Sass to created dynamically colored styling for such a system!

Read the rest of this entry »

, , , , , , , , ,