Require the use of hex, rgb, rgba or rainbow for colors and refactor config types
This commit is contained in:
parent
436abf682f
commit
a96fa1622b
14 changed files with 178 additions and 147 deletions
|
|
@ -14,6 +14,11 @@ import { MenuItem } from "material-ui/Menu";
|
|||
import Button from "material-ui/Button";
|
||||
import { LinearProgress } from "material-ui/Progress";
|
||||
|
||||
import type {
|
||||
UIControl, UIToggle, UIDropDown, UILink,
|
||||
UISection, UIText, UIProgress
|
||||
} from "config/types";
|
||||
|
||||
import keyOf from "utils/keyOf";
|
||||
import { getInternals, getActuals } from "utils/state";
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ import {
|
|||
} from "material-ui/List";
|
||||
import { renderIcon } from "utils/parseIconName";
|
||||
|
||||
import type { ControlUI, UIControl, UISlider } from "config/types";
|
||||
|
||||
// TODO: Use something else
|
||||
import Slider from "material-ui-old/Slider";
|
||||
import MuiThemeProvider from "material-ui-old/styles/MuiThemeProvider";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue