Results 1 to 3 of 3

Thread: Custom theme and package repo

  1. #1
    Sencha Premium Member mcCrimson's Avatar
    Join Date
    Mar 2014
    Location
    hails from the 845
    Posts
    36
    Answers
    1

    Default Custom theme and package repo

    I have made a custom theme. I used css rules in a component folder structure in my theme package to set our base styling. When I require the package in an application those css rules override the default css even if the builds defined are saying to use a different theme.

    Code:
    "builds": {       
        "classic": {
                "toolkit": "classic",
                "theme": "theme-triton",
                "requires": [[email protected]"]
            }
        }
    The above builds section will download the package and apply it, even though "theme-triton" is specified.

    What am I doing wrong here?

  2. #2
    Sencha User
    Join Date
    Mar 2016
    Posts
    44
    Answers
    2

    Default

    you requires wrong :

    your: [[email protected]"]

    should be
    ["[email protected]"]

  3. #3
    Sencha Premium User
    Join Date
    Oct 2012
    Location
    United States
    Posts
    130
    Answers
    11

    Default viale avenue

    Quote Originally Posted by NoOnesThere89 View Post
    you requires wrong :

    your: [[email protected]"]

    should be
    ["[email protected]"]

    Good find, It's a good idea to use an IDE that will do syntax highlighting on the json files so you can easily catch these issues or using a site like jsonlint.com to validate your object

Similar Threads

  1. Replies: 0
    Last Post: 6 Feb 2017, 7:44 AM
  2. Publish ExtJS package to private repo?
    By pleszczynski in forum Sencha Cmd
    Replies: 1
    Last Post: 20 Jul 2016, 10:48 AM
  3. Replies: 2
    Last Post: 19 May 2014, 10:26 AM
  4. Replies: 0
    Last Post: 9 Apr 2014, 10:38 AM
  5. Is Sencha package necessary for a custom theme?
    By umr.ashrf in forum Sencha Touch 1.x: Q&A
    Replies: 5
    Last Post: 13 Oct 2011, 5:24 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •