Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-6682

semantic.colors.json won't work/log on iOS

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: None
    • Component/s: Titanium SDK & CLI
    • Labels:
      None
    • Environment:

      Description

      File: assets/semantic.colors.json

      {
        "windowBackgroundColor": {
          "dark": "#666666",
          "light": "#ff0000"
        },
        "background":{
          "dark": "#00ff00",
          "light": "#0000ff"
        }
      }
      

      Open new window

      const window = Ti.UI.createWindow();
      window.open();
      console.log(Ti.UI.fetchSemanticColor('windowBackgroundColor'))
      console.log(Ti.UI.fetchSemanticColor('background'))
      

      Returns

      [INFO]  {}
      [INFO]  {}
      

        Attachments

          Activity

            People

            • Assignee:
              amukherjee Abir Mukherjee
              Reporter:
              benutzername Sebastian Klaus
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Integration