diff options
author | Jon Barlow <jon.barlow@fitbit.com> | 2017-08-24 15:05:51 +0100 |
---|---|---|
committer | Jon Barlow <jon.barlow@fitbit.com> | 2017-08-24 15:05:51 +0100 |
commit | 8a8a331096d0399f77bbac665e2523cf994353d3 (patch) | |
tree | 056417b68534c9787b23b42eee23a9f35ded010d /settings | |
parent | b20803d82026aaa15e69ef2f62a025f5fcae33f1 (diff) |
Initial
Diffstat (limited to 'settings')
-rw-r--r-- | settings/index.jsx | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/settings/index.jsx b/settings/index.jsx new file mode 100644 index 0000000..7160032 --- /dev/null +++ b/settings/index.jsx @@ -0,0 +1,77 @@ +function mySettings(props) { + return ( + <Page> + <Select + label="Theme" + settingsKey="theme" + options={[ + { + name: "Classic Green", + value: { + background: "#002200", + foreground: "#00ff00" + } + }, + { + name: "Classic Red", + value: { + background: "#220000", + foreground: "#ff0000" + } + }, + { + name: "Classic Blue", + value: { + background: "#000022", + foreground: "#0000ff" + } + }, + { + name: "Classic Yellow", + value: { + background: "#222200", + foreground: "#ffff00" + } + }, + { + name: "Classic Pink", + value: { + background: "#220022", + foreground: "#ff00ff" + } + }, + { + name: "Classic Cyan", + value: { + background: "#002222", + foreground: "#00ffff" + } + }, + { + name: "I love Gold", + value: { + background: "#221100", + foreground: "#FF8C00" + } + }, + { + name: "Black and White", + value: { + background: "#FFFFFF", + foreground: "#000000" + } + }, + { + name: "White and Black", + value: { + background: "#000000", + foreground: "#FFFFFF" + } + }] + } + /> + </Page> + ); +} + +registerSettingsPage(mySettings); |