Skip to content

Latest commit

 

History

History
89 lines (65 loc) · 2.16 KB

CHANGELOG.md

File metadata and controls

89 lines (65 loc) · 2.16 KB

v0.2.4

  • Fixed memory leak
  • Added ability to inject variables into stylesheets
  • Added various UIKit properties. Thanks awesome contributors

v0.2.3

  • Live reload, ensure imported stylesheet files are not watched more than once.
  • Subtract less precedence points for subclass matching issue #30

v0.2.2

  • Call cas_updateStyling on live reload
  • Added support for [UIButton setImage:forState:] (skeeet)
  • Only wrap variable values in brackets if variable has more than one value

v0.2.1

  • Fixed crash when using media queries issue #24
  • Added UILabel textAlignment
  • Fixed error with style selector nesting
  • Removed delay in style updates in didMoveToWindow

v0.2.0

  • Added @media/@device queries
UIView.widget {
  /* default background color */
  background-color red
  
  /* background color on iPads running iOS7 and above */
  @media ipad and (version:>=7) {
    background-color blue
  }
}
  • Added support for images from documents/caches folder as well as from bundle. (flippinjoe21)
  • Fixed Scrolling delaying the update of styling. Fixes issue #16
  • Fixed style selector subclass matching with styleClass. Fixes issue #18

v0.1.0

  • Added ability to seperate stylesheets into multiple files and @import them
@import "variables.cas"

UITableView UILabel {
  text-color $mainColor
}

v0.0.3

  • Added ability to use rgb, rgba, hsl and hsla colors (avalanched)
  background-color  rgb(200, 100, 150)
  text-color        rgba(200, 100, 150, 0.5)
  layer @{
    border-color    hsl(200, 60%, 100%)
    shadow-color    hsla(200, 60%, 100%, 0.2)
  }

v0.0.2

  • Added ability to specify UIViewController class/subclass in style selector hierarchy. eg
MYHomeViewController > UIButton.main { 
  background-color black
}