Towards a type safe color option

This commit is contained in:
uwap 2018-02-02 10:04:39 +01:00
parent 06aeba9d76
commit e46adf7dc7
3 changed files with 40 additions and 30 deletions

View file

@ -1,5 +1,5 @@
// @flow
import * as utils from './utils';
import * from './utils';
const config : Config = {
space: {
@ -28,7 +28,7 @@ const config : Config = {
name: "Hauptraum Tisch",
position: [450, 450],
icon: "white-balance-iridescent",
iconColor: () => "#000000",
iconColor: () => hex("#000000"),
ui: [
{
type: "toggle",