2021-01-12 21:00:35 +01:00
|
|
|
<script>
|
|
|
|
// This component is overridden when running in a real app.
|
2021-01-14 10:09:23 +01:00
|
|
|
// This simply serves as a placeholder component for the real screen router
|
|
|
|
import { getContext } from "svelte"
|
|
|
|
|
|
|
|
const { styleable } = getContext("sdk")
|
|
|
|
const component = getContext("component")
|
2021-01-12 21:00:35 +01:00
|
|
|
</script>
|
|
|
|
|
2021-06-17 13:57:36 +02:00
|
|
|
<div use:styleable={{ ...$component.styles, empty: true }}>
|
2020-11-23 15:27:45 +01:00
|
|
|
<h1>Screen Slot</h1>
|
|
|
|
<span>
|
|
|
|
The screens that you create will be displayed inside this box.
|
|
|
|
<br />
|
|
|
|
This box is just a placeholder, to show you the position of screens.
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
div {
|
2021-01-14 10:09:23 +01:00
|
|
|
display: flex !important;
|
|
|
|
flex-direction: column !important;
|
|
|
|
justify-content: center !important;
|
2021-06-17 13:57:36 +02:00
|
|
|
align-items: center !important;
|
|
|
|
padding: 32px !important;
|
2021-01-14 10:09:23 +01:00
|
|
|
text-align: center !important;
|
2021-06-17 13:57:36 +02:00
|
|
|
}
|
|
|
|
h1 {
|
|
|
|
color: var(--spectrum-alias-text-color);
|
|
|
|
}
|
|
|
|
span {
|
|
|
|
font-size: var(--font-size-s);
|
|
|
|
color: var(--grey-6);
|
2020-11-23 15:27:45 +01:00
|
|
|
}
|
|
|
|
</style>
|