require("../stylesheets/index.styl")

module.exports = {

  component(name) {
    return require(`./components/${name}.js`)
  },

}

import "../stylesheets/index.styl"
import Checkbox from "./components/checkbox.js"
import Color from "./components/color.js"
import FormErrorList from "./components/errors.js"
import File from "./components/file.js"
import Form from "./components/form.js"
import Input from "./components/input.js"
import Number from "./components/number.js"
import Select from "./components/select.js"
import Submit from "./components/submit.js"
import Switch from "./components/switch.js"
import Text from "./components/text.js"
import Timepicker from "./components/timepicker.js"

module.exports = {
  Checkbox,
  Color,
  FormErrorList,
  File,
  Input,
  Number,
  Select,
  Submit,
  Switch,
  Text,
  Timepicker,
}

Change how themes are loaded
Change how themes are loaded
