jquery / themeroller.jquerymobile.com

ThemeRoller site for jQuery Mobile
Other
140 stars 73 forks source link

Themeroller uses wrong swatch for dropdown contents #131

Closed atuttle closed 11 years ago

atuttle commented 11 years ago

I have created a theme with a dark set of colors for the A swatch and a light set for the B swatch, yet when I open the dropdown in the B swatch preview I get the dark colors for the preview. I believe this is simply an issue with specifying the wrong swatch for the dropdown. The generated HTML for the floating div containing the dropdown options is:

<div 
    id="select-choice-1-listbox"
    class="ui-selectmenu ui-popup ui-body-a ui-overlay-shadow ui-corner-all"
    aria-disabled="false"
    data-disabled="false"
    data-theme="a"
    data-shadow="true"
    data-corners="true"
    data-transition="none"
    data-position-to="origin"
    data-dismissible="true">

Note that the data-theme has value "a" even though this is part of the B swatch preview.

jaspermdegroot commented 11 years ago

@atuttle

Thanks for reporting the issue. I just fixed it.

atuttle commented 11 years ago

No sweat! Thanks for the quick response!