2023-05-31 16:04:29 +02:00
|
|
|
---
|
2023-06-06 22:25:18 +02:00
|
|
|
layout: base
|
2023-06-10 18:31:43 +02:00
|
|
|
title: Playground
|
2023-05-31 16:04:29 +02:00
|
|
|
is_playground: true
|
|
|
|
---
|
2023-06-12 18:59:27 +02:00
|
|
|
<div class="sl-c-playground" data-compiler-has-error="false">
|
|
|
|
<div class="sl-c-playground__code-editor-wrapper" data-code="precompiled">
|
2023-06-02 18:52:24 +02:00
|
|
|
<div
|
2023-06-12 18:59:27 +02:00
|
|
|
class="sl-c-playground__editor-tabbar"
|
2023-06-02 18:52:24 +02:00
|
|
|
data-active="scss"
|
2023-06-06 22:02:26 +02:00
|
|
|
data-setting="inputFormat">
|
2023-06-02 18:52:24 +02:00
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
data-value="scss"
|
2023-06-12 16:28:38 +02:00
|
|
|
data-tabbar="item"
|
2023-06-12 18:59:27 +02:00
|
|
|
class="sl-c-button sl-c-button--tab"
|
2023-06-06 22:02:26 +02:00
|
|
|
data-setting="inputFormat">SCSS</button>
|
2023-06-02 18:52:24 +02:00
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
data-value="indented"
|
2023-06-12 16:28:38 +02:00
|
|
|
data-tabbar="item"
|
2023-06-12 18:59:27 +02:00
|
|
|
class="sl-c-button sl-c-button--tab"
|
2023-06-06 22:02:26 +02:00
|
|
|
data-setting="inputFormat">Sass</button>
|
2023-06-02 18:52:24 +02:00
|
|
|
</div>
|
|
|
|
<div id="editor"></div>
|
|
|
|
</div>
|
2023-06-12 18:59:27 +02:00
|
|
|
<div class="sl-c-playground__code-editor-wrapper" data-code="compiled">
|
2023-06-02 18:52:24 +02:00
|
|
|
<div
|
2023-06-12 18:59:27 +02:00
|
|
|
class="sl-c-playground__editor-tabbar"
|
2023-06-02 18:52:24 +02:00
|
|
|
data-active="expanded"
|
2023-06-06 22:02:26 +02:00
|
|
|
data-setting="outputFormat">
|
2023-06-02 18:52:24 +02:00
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
data-value="expanded"
|
2023-06-12 16:28:38 +02:00
|
|
|
data-tabbar="item"
|
2023-06-12 18:59:27 +02:00
|
|
|
class="sl-c-button sl-c-button--tab"
|
2023-06-06 22:02:26 +02:00
|
|
|
data-setting="outputFormat">Expanded</button>
|
2023-06-02 18:52:24 +02:00
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
data-value="compressed"
|
2023-06-12 16:28:38 +02:00
|
|
|
data-tabbar="item"
|
2023-06-12 18:59:27 +02:00
|
|
|
class="sl-c-button sl-c-button--tab"
|
2023-06-06 22:02:26 +02:00
|
|
|
data-setting="outputFormat">Compressed</button>
|
2023-06-13 00:19:24 +02:00
|
|
|
<span data-tabbar="item" class="sl-c-playground__tabbar-title tabbar-title">
|
|
|
|
<strong>CSS</strong>
|
|
|
|
(Compiled)
|
|
|
|
</span>
|
2023-06-02 18:52:24 +02:00
|
|
|
</div>
|
2023-06-12 18:59:27 +02:00
|
|
|
<div id="code-editor-error-alert" class="sl-c-callout sl-c-callout--warning">Please resolve error to view compiled CSS.</div>
|
2023-06-13 00:19:24 +02:00
|
|
|
<div id="css-view" class="sl-code-is-compiled"></div>
|
2023-06-02 18:52:24 +02:00
|
|
|
</div>
|
2023-06-12 18:59:27 +02:00
|
|
|
<div class="sl-c-playground__console-wrapper">
|
|
|
|
<div class="sl-c-playground__editor-tabbar">
|
2023-06-13 00:19:24 +02:00
|
|
|
<span data-tabbar="item" class="sl-c-playground__tabbar-title">
|
2023-06-12 18:59:27 +02:00
|
|
|
Console
|
2023-06-12 16:28:38 +02:00
|
|
|
</span>
|
|
|
|
</div>
|
2023-06-07 21:13:23 +02:00
|
|
|
<pre class="console"></pre>
|
|
|
|
</div>
|
2023-06-02 16:53:32 +02:00
|
|
|
</div>
|
2023-06-02 15:24:32 +02:00
|
|
|
|
2023-06-10 18:31:43 +02:00
|
|
|
<script type="module" src="/assets/dist/js/playground.js" async></script>
|