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-13 18:12:07 +02:00
|
|
|
|
2023-06-12 18:59:27 +02:00
|
|
|
<div class="sl-c-playground" data-compiler-has-error="false">
|
2023-07-02 18:42:05 +02:00
|
|
|
<div class="sl-c-playground__code-editor-wrapper sl-c-playground__panel" data-code="source">
|
2023-06-15 20:50:34 +02:00
|
|
|
<div class="sl-c-playground__editor-tabbar" data-setting="inputFormat">
|
2023-06-02 18:52:24 +02:00
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
data-value="scss"
|
2023-06-15 20:50:34 +02:00
|
|
|
data-active="true"
|
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-15 20:50:34 +02:00
|
|
|
data-active="false"
|
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-21 18:25:00 +02:00
|
|
|
<span data-tabbar="item" class="sl-c-playground__tabbar-title tabbar-title sl-c-playground__tabbar-version"></span>
|
2023-06-02 18:52:24 +02:00
|
|
|
</div>
|
2023-07-02 18:42:05 +02:00
|
|
|
<div class="sl-c-playground__panel-content sl-code-is-source"></div>
|
2023-06-02 18:52:24 +02:00
|
|
|
</div>
|
2023-06-21 00:07:07 +02:00
|
|
|
<div class="sl-c-playground__code-editor-wrapper sl-c-playground__panel" data-code="compiled">
|
2023-06-15 20:50:34 +02:00
|
|
|
<div class="sl-c-playground__editor-tabbar" data-setting="outputFormat">
|
2023-06-02 18:52:24 +02:00
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
data-value="expanded"
|
2023-06-15 20:50:34 +02:00
|
|
|
data-active="true"
|
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-15 20:50:34 +02:00
|
|
|
data-active="false"
|
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-15 21:19:37 +02:00
|
|
|
<div class="sl-c-callout sl-c-callout--warning sl-c-playground__error">Please resolve error to view compiled CSS.</div>
|
2023-06-21 00:07:07 +02:00
|
|
|
<div class="sl-c-playground__panel-content sl-code-is-compiled"></div>
|
2023-06-02 18:52:24 +02:00
|
|
|
</div>
|
2023-06-21 00:07:07 +02:00
|
|
|
<div class="sl-c-playground__console-wrapper sl-c-playground__panel">
|
2023-06-12 18:59:27 +02:00
|
|
|
<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-21 00:07:07 +02:00
|
|
|
<pre class="sl-c-playground__console sl-c-playground__panel-content"></pre>
|
2023-06-07 21:13:23 +02:00
|
|
|
</div>
|
2023-06-02 16:53:32 +02:00
|
|
|
</div>
|
2023-06-02 15:24:32 +02:00
|
|
|
|
2023-06-13 18:12:07 +02:00
|
|
|
<script
|
|
|
|
type="module"
|
|
|
|
src="/assets/dist/js/playground.js"
|
|
|
|
async></script>
|