mirror of
https://github.com/pebble-dev/clay.git
synced 2026-08-27 20:36:33 -04:00
add sunlight colors to color picker and tests
This commit is contained in:
+10
-2
@@ -41,8 +41,16 @@ module.exports = [
|
||||
{
|
||||
"type": "color",
|
||||
"appKey": "background",
|
||||
"value": "0xFF0000",
|
||||
"label": "Background Color"
|
||||
"value": "FF0000",
|
||||
"label": "Background Color",
|
||||
"sunlight": false
|
||||
},
|
||||
{
|
||||
"type": "color",
|
||||
"appKey": "background",
|
||||
"value": "00FF00",
|
||||
"label": "Sunny Color",
|
||||
"sunlight": true
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -4,6 +4,7 @@ window.returnTo = '$$RETURN_TO$$';
|
||||
window.clayConfig = require('./config.js');
|
||||
window.claySettings = {};
|
||||
window.customFn = require('./custom-fn.js');
|
||||
window.clayComponents = require('../src/scripts/components');
|
||||
|
||||
var platform = window.navigator.userAgent.match(/Android/) ? 'android' : 'ios';
|
||||
document.documentElement.classList.add('platform-' + platform);
|
||||
|
||||
Reference in New Issue
Block a user