Titanium JIRA Archive
Alloy (ALOY)

[ALOY-87] Platform and form factor specific styling, like media queries

GitHub Issuen/a
TypeStory
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2012-07-23T15:58:44.000+0000
Affected Version/sn/a
Fix Version/s2012 Sprint 15, Release 3.0.0
ComponentsXML
Labelsn/a
ReporterTony Lukasavage
AssigneeUnknown
Created2012-07-16T08:33:40.000+0000
Updated2018-03-07T22:25:53.000+0000

Description

Jira ticket for adding a bulk style setter and getter - we should watch this and if it appears performance is bad with setting individual styles we may need to up this tickets priority. We want to be able to specify styles specific to the current platform and/or form factor, much like media queries on the web. To do so, we have 2 options

use separate files sporting a specific convention to identify platform and/or form factor

use "selectors" of some kind in the style files themselves

These methods are detailed in the sub-tasks related to this issue

Comments

  1. Russell McMahon 2012-07-16

    I think both options will be needed for GA but probably doing the selectors is more of a priority. Since this has a runtime component and could bring up issues that right now are unforeseen.
  2. Russell McMahon 2012-07-16

    The high priority and due date is for the selector approach. The styles in separate directories have less priority.
  3. Russell McMahon 2012-07-23

    Alloy-89 which applies queries to apply styles from platform files instead of components styles still could probably a post pre-realse item. Alloy-88 the more common "media query" way of applying styles is resolved.
  4. Russell McMahon 2012-07-23

    Alloy-89 created as a separate task.

JSON Source