budibase/packages/builder/src/main.js

28 lines
916 B
JavaScript
Raw Normal View History

import "remixicon/fonts/remixicon.css"
import "@spectrum-css/vars/dist/spectrum-global.css"
import "@spectrum-css/vars/dist/spectrum-medium.css"
import "@spectrum-css/vars/dist/spectrum-darkest.css"
import "@spectrum-css/vars/dist/spectrum-dark.css"
import "@spectrum-css/vars/dist/spectrum-light.css"
import "@spectrum-css/vars/dist/spectrum-lightest.css"
2022-03-15 12:20:06 +01:00
import "@budibase/frontend-core/src/themes/nord.css"
import "@spectrum-css/page/dist/index-vars.css"
import "./global.css"
2021-09-29 11:16:44 +02:00
import { suppressWarnings } from "./helpers/warnings"
import loadSpectrumIcons from "@budibase/bbui/spectrum-icons-vite.js"
2021-09-29 11:16:44 +02:00
import App from "./App.svelte"
// Init spectrum icons
2021-04-08 12:17:37 +02:00
loadSpectrumIcons()
2021-09-29 11:16:44 +02:00
// Suppress svelte runtime warnings
suppressWarnings([
"was created with unknown prop",
"was created without expected prop",
"received an unexpected slot",
])
2019-07-13 11:35:57 +02:00
export default new App({
target: document.getElementById("app"),
})