sass-site/source/playground.liquid

63 lines
1.9 KiB
Plaintext
Raw Normal View History

2023-05-31 16:04:29 +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
---
<div class="sl-c-playground" data-compiler-has-error="false">
<div class="sl-c-playground__code-editor-wrapper" data-code="precompiled">
<div
class="sl-c-playground__editor-tabbar"
data-active="scss"
2023-06-06 22:02:26 +02:00
data-setting="inputFormat">
<button
type="button"
data-value="scss"
data-tabbar="item"
class="sl-c-button sl-c-button--tab"
2023-06-06 22:02:26 +02:00
data-setting="inputFormat">SCSS</button>
<button
type="button"
data-value="indented"
data-tabbar="item"
class="sl-c-button sl-c-button--tab"
2023-06-06 22:02:26 +02:00
data-setting="inputFormat">Sass</button>
</div>
<div id="editor"></div>
</div>
<div class="sl-c-playground__code-editor-wrapper" data-code="compiled">
<div
class="sl-c-playground__editor-tabbar"
data-active="expanded"
2023-06-06 22:02:26 +02:00
data-setting="outputFormat">
<span data-tabbar="item">
<strong>CSS</strong>
(Compiled)
</span>
<button
type="button"
data-value="expanded"
data-tabbar="item"
class="sl-c-button sl-c-button--tab"
2023-06-06 22:02:26 +02:00
data-setting="outputFormat">Expanded</button>
<button
type="button"
data-value="compressed"
data-tabbar="item"
class="sl-c-button sl-c-button--tab"
2023-06-06 22:02:26 +02:00
data-setting="outputFormat">Compressed</button>
</div>
<div id="code-editor-error-alert" class="sl-c-callout sl-c-callout--warning">Please resolve error to view compiled CSS.</div>
<div id="css-view" class="is-compiled"></div>
</div>
<div class="sl-c-playground__console-wrapper">
<div class="sl-c-playground__editor-tabbar">
<span data-tabbar="item">
Console
</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-10 18:31:43 +02:00
<script type="module" src="/assets/dist/js/playground.js" async></script>