Skip to content

Instantly share code, notes, and snippets.

@chrislerum
Created September 26, 2012 16:13
Show Gist options
  • Save chrislerum/3788939 to your computer and use it in GitHub Desktop.
Save chrislerum/3788939 to your computer and use it in GitHub Desktop.
Teacup::Stylesheet.new :base do
style UILabel,
backgroundColor: :firebrick.uicolor(0.60),
top: 100,
left: 100,
width: 200,
height: 100,
textColor: :white.uicolor,
textAlignment: :center.uialignment,
font: :bold.uifont(30)
end
Teacup::Stylesheet.new :bunny do
import :base
style UILabel,
text: 'Bunny!'
end
Teacup::Stylesheet.new :bunny_categories do
import :base
style UILabel,
text: 'Bunny Categories!',
width: 400
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment