Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="swatches-group">
<div class="swatches-info">Grey<br><code>--base-grey</code></div>
<ul class="swatches">
  <li><span class="grey-50 swatch-color"></span><span class="swatch-weight">50</span></li>
  <li><span class="grey-100 swatch-color"></span><span class="swatch-weight">100</span></li>
  <li><span class="grey-200 swatch-color"></span><span class="swatch-weight">200</span></li>
  <li><span class="grey-300 swatch-color"></span><span class="swatch-weight">300</span></li>
  <li><span class="grey-400 swatch-color"></span><span class="swatch-weight">400</span></li>
  <li><span class="grey-500 swatch-color"></span><span class="swatch-weight">500</span></li>
  <li><span class="grey-600 swatch-color"></span><span class="swatch-weight">600</span></li>
  <li><span class="grey-700 swatch-color"></span><span class="swatch-weight">700</span></li>
  <li><span class="grey-800 swatch-color"></span><span class="swatch-weight">800</span></li>
  <li><span class="grey-900 swatch-color"></span><span class="swatch-weight">900</span></li>
</ul>
</div>

<div class="swatches-group">
<div class="swatches-info">Red<br><code>--base-red</code></div>
<ul class="swatches">
  <li><span class="red-50 swatch-color"></span><span class="swatch-weight">50</span></li>
  <li><span class="red-100 swatch-color"></span><span class="swatch-weight">100</span></li>
  <li><span class="red-200 swatch-color"></span><span class="swatch-weight">200</span></li>
  <li><span class="red-300 swatch-color"></span><span class="swatch-weight">300</span></li>
  <li><span class="red-400 swatch-color"></span><span class="swatch-weight">400</span></li>
  <li><span class="red-500 swatch-color"></span><span class="swatch-weight">500</span></li>
  <li><span class="red-600 swatch-color"></span><span class="swatch-weight">600</span></li>
  <li><span class="red-700 swatch-color"></span><span class="swatch-weight">700</span></li>
  <li><span class="red-800 swatch-color"></span><span class="swatch-weight">800</span></li>
  <li><span class="red-900 swatch-color"></span><span class="swatch-weight">900</span></li>
</ul>
</div>

<div class="swatches-group">
<div class="swatches-info">Pink<br><code>--base-pink</code></div>
<ul class="swatches">
  <li><span class="pink-50 swatch-color"></span><span class="swatch-weight">50</span></li>
  <li><span class="pink-100 swatch-color"></span><span class="swatch-weight">100</span></li>
  <li><span class="pink-200 swatch-color"></span><span class="swatch-weight">200</span></li>
  <li><span class="pink-300 swatch-color"></span><span class="swatch-weight">300</span></li>
  <li><span class="pink-400 swatch-color"></span><span class="swatch-weight">400</span></li>
  <li><span class="pink-500 swatch-color"></span><span class="swatch-weight">500</span></li>
  <li><span class="pink-600 swatch-color"></span><span class="swatch-weight">600</span></li>
  <li><span class="pink-700 swatch-color"></span><span class="swatch-weight">700</span></li>
  <li><span class="pink-800 swatch-color"></span><span class="swatch-weight">800</span></li>
  <li><span class="pink-900 swatch-color"></span><span class="swatch-weight">900</span></li>
</ul>
</div>

<div class="swatches-group">
<div class="swatches-info">Purple<br><code>--base-purple</code></div>
<ul class="swatches">
  <li><span class="purple-50 swatch-color"></span><span class="swatch-weight">50</span></li>
  <li><span class="purple-100 swatch-color"></span><span class="swatch-weight">100</span></li>
  <li><span class="purple-200 swatch-color"></span><span class="swatch-weight">200</span></li>
  <li><span class="purple-300 swatch-color"></span><span class="swatch-weight">300</span></li>
  <li><span class="purple-400 swatch-color"></span><span class="swatch-weight">400</span></li>
  <li><span class="purple-500 swatch-color"></span><span class="swatch-weight">500</span></li>
  <li><span class="purple-600 swatch-color"></span><span class="swatch-weight">600</span></li>
  <li><span class="purple-700 swatch-color"></span><span class="swatch-weight">700</span></li>
  <li><span class="purple-800 swatch-color"></span><span class="swatch-weight">800</span></li>
  <li><span class="purple-900 swatch-color"></span><span class="swatch-weight">900</span></li>
</ul>
</div>


<div class="swatches-group">
<div class="swatches-info">Indigo<br><code>--base-indigo</code></div>
<ul class="swatches">
  <li><span class="indigo-50 swatch-color"></span><span class="swatch-weight">50</span></li>
  <li><span class="indigo-100 swatch-color"></span><span class="swatch-weight">100</span></li>
  <li><span class="indigo-200 swatch-color"></span><span class="swatch-weight">200</span></li>
  <li><span class="indigo-300 swatch-color"></span><span class="swatch-weight">300</span></li>
  <li><span class="indigo-400 swatch-color"></span><span class="swatch-weight">400</span></li>
  <li><span class="indigo-500 swatch-color"></span><span class="swatch-weight">500</span></li>
  <li><span class="indigo-600 swatch-color"></span><span class="swatch-weight">600</span></li>
  <li><span class="indigo-700 swatch-color"></span><span class="swatch-weight">700</span></li>
  <li><span class="indigo-800 swatch-color"></span><span class="swatch-weight">800</span></li>
  <li><span class="indigo-900 swatch-color"></span><span class="swatch-weight">900</span></li>
</ul>
</div>

<div class="swatches-group">
<div class="swatches-info">Blue<br><code>--base-blue</code></div>
<ul class="swatches">
  <li><span class="blue-50 swatch-color"></span><span class="swatch-weight">50</span></li>
  <li><span class="blue-100 swatch-color"></span><span class="swatch-weight">100</span></li>
  <li><span class="blue-200 swatch-color"></span><span class="swatch-weight">200</span></li>
  <li><span class="blue-300 swatch-color"></span><span class="swatch-weight">300</span></li>
  <li><span class="blue-400 swatch-color"></span><span class="swatch-weight">400</span></li>
  <li><span class="blue-500 swatch-color"></span><span class="swatch-weight">500</span></li>
  <li><span class="blue-600 swatch-color"></span><span class="swatch-weight">600</span></li>
  <li><span class="blue-700 swatch-color"></span><span class="swatch-weight">700</span></li>
  <li><span class="blue-800 swatch-color"></span><span class="swatch-weight">800</span></li>
  <li><span class="blue-900 swatch-color"></span><span class="swatch-weight">900</span></li>
</ul>
</div>

<div class="swatches-group">
<div class="swatches-info">Teal<br><code>--base-teal</code></div>
<ul class="swatches">
  <li><span class="teal-50 swatch-color"></span><span class="swatch-weight">50</span></li>
  <li><span class="teal-100 swatch-color"></span><span class="swatch-weight">100</span></li>
  <li><span class="teal-200 swatch-color"></span><span class="swatch-weight">200</span></li>
  <li><span class="teal-300 swatch-color"></span><span class="swatch-weight">300</span></li>
  <li><span class="teal-400 swatch-color"></span><span class="swatch-weight">400</span></li>
  <li><span class="teal-500 swatch-color"></span><span class="swatch-weight">500</span></li>
  <li><span class="teal-600 swatch-color"></span><span class="swatch-weight">600</span></li>
  <li><span class="teal-700 swatch-color"></span><span class="swatch-weight">700</span></li>
  <li><span class="teal-800 swatch-color"></span><span class="swatch-weight">800</span></li>
  <li><span class="teal-900 swatch-color"></span><span class="swatch-weight">900</span></li>
</ul>
</div>

<div class="swatches-group">
<div class="swatches-info">Green<br><code>--base-green</code></div>
<ul class="swatches">
  <li><span class="green-50 swatch-color"></span><span class="swatch-weight">50</span></li>
  <li><span class="green-100 swatch-color"></span><span class="swatch-weight">100</span></li>
  <li><span class="green-200 swatch-color"></span><span class="swatch-weight">200</span></li>
  <li><span class="green-300 swatch-color"></span><span class="swatch-weight">300</span></li>
  <li><span class="green-400 swatch-color"></span><span class="swatch-weight">400</span></li>
  <li><span class="green-500 swatch-color"></span><span class="swatch-weight">500</span></li>
  <li><span class="green-600 swatch-color"></span><span class="swatch-weight">600</span></li>
  <li><span class="green-700 swatch-color"></span><span class="swatch-weight">700</span></li>
  <li><span class="green-800 swatch-color"></span><span class="swatch-weight">800</span></li>
  <li><span class="green-900 swatch-color"></span><span class="swatch-weight">900</span></li>
</ul>
</div>

<div class="swatches-group">
<div class="swatches-info">Yellow<br><code>--base-yellow</code></div>
<ul class="swatches">
  <li><span class="yellow-50 swatch-color"></span><span class="swatch-weight">50</span></li>
  <li><span class="yellow-100 swatch-color"></span><span class="swatch-weight">100</span></li>
  <li><span class="yellow-200 swatch-color"></span><span class="swatch-weight">200</span></li>
  <li><span class="yellow-300 swatch-color"></span><span class="swatch-weight">300</span></li>
  <li><span class="yellow-400 swatch-color"></span><span class="swatch-weight">400</span></li>
  <li><span class="yellow-500 swatch-color"></span><span class="swatch-weight">500</span></li>
  <li><span class="yellow-600 swatch-color"></span><span class="swatch-weight">600</span></li>
  <li><span class="yellow-700 swatch-color"></span><span class="swatch-weight">700</span></li>
  <li><span class="yellow-800 swatch-color"></span><span class="swatch-weight">800</span></li>
  <li><span class="yellow-900 swatch-color"></span><span class="swatch-weight">900</span></li>
</ul>
</div>

<div class="swatches-group">
<div class="swatches-info">Orange<br><code>--base-orange</code></div>
<ul class="swatches">
  <li><span class="orange-50 swatch-color"></span><span class="swatch-weight">50</span></li>
  <li><span class="orange-100 swatch-color"></span><span class="swatch-weight">100</span></li>
  <li><span class="orange-200 swatch-color"></span><span class="swatch-weight">200</span></li>
  <li><span class="orange-300 swatch-color"></span><span class="swatch-weight">300</span></li>
  <li><span class="orange-400 swatch-color"></span><span class="swatch-weight">400</span></li>
  <li><span class="orange-500 swatch-color"></span><span class="swatch-weight">500</span></li>
  <li><span class="orange-600 swatch-color"></span><span class="swatch-weight">600</span></li>
  <li><span class="orange-700 swatch-color"></span><span class="swatch-weight">700</span></li>
  <li><span class="orange-800 swatch-color"></span><span class="swatch-weight">800</span></li>
  <li><span class="orange-900 swatch-color"></span><span class="swatch-weight">900</span></li>
</ul>
</div>
<h2>Block</h2>
<div class="block block-success"><span class="icon icon-success"></span> Block Success</div>
<div class="block block-danger"><span class="icon icon-danger"></span> Block Success</div>
<div class="block block-notice"><span class="icon icon-warning"></span> Block Notice</div>
<div class="block background-50">Background 50</div>
<div class="block background-100">Background 100</div>
<h2>Inline</h2>
<p class="inline inline-success">Inline Success</p>
<p class="inline inline-danger">Inline Success</p>
<h2>Borders</h2>
<div class="border border-50">Border 50</div>
<div class="border border-100">Border 100</div>
<h2>Icons</h2>
<div><span class="icon"></span> Standard Icon</div>
<div><span class="icon icon-success"></span> Success Icon</div>
<div><span class="icon icon-warning"></span> Warning Icon</div>
<div><span class="icon icon-danger"></span> Danger Icon</div>
<div><span class="icon icon-g"></span> G Icon</div>
<div><span class="icon icon-i"></span> I Icon</div>
<div><span class="icon icon-p"></span> P Icon</div>
<div><span class="icon icon-a"></span> A Icon</div>
<div><span class="icon icon-c"></span> C Icon</div>
              
            
!

CSS

              
                :root{
  /* Base colors share hue and saturation */
  --base-grey: 210, 12%;
  --base-red: 360, 90%;
  --base-pink: 340, 80%; 
  --base-purple: 280, 76%; 
  --base-indigo: 250, 50%; 
  --base-blue: 200, 76%; 
  --base-teal: 170, 76%; 
  --base-green: 110, 60%; 
  --base-yellow: 55, 100%;
  --base-orange: 40, 100%;

/* Palette colors vary by lightness*/
  --grey-900: var(--base-grey), 20%;
  --grey-800: var(--base-grey), 30%;
  --grey-700: var(--base-grey), 40%;
  --grey-600: var(--base-grey), 50%;
  --grey-500: var(--base-grey), 60%;
  --grey-400: var(--base-grey), 70%;
  --grey-300: var(--base-grey), 80%;
  --grey-200: var(--base-grey), 90%;
  --grey-100: var(--base-grey), 95%;
  --grey-50: var(--base-grey), 97%;
  
  --red-900: var(--base-red), 20%;
  --red-800: var(--base-red), 30%;
  --red-700: var(--base-red), 35%;
  --red-600: var(--base-red), 40%;
  --red-500: var(--base-red), 50%;
  --red-400: var(--base-red), 70%;
  --red-300: var(--base-red), 75%;
  --red-200: var(--base-red), 85%;
  --red-100: var(--base-red), 93%;
  --red-50: var(--base-red), 97%;

  --pink-900: var(--base-pink), 20%;
  --pink-800: var(--base-pink), 30%;
  --pink-700: var(--base-pink), 35%;
  --pink-600: var(--base-pink), 40%;
  --pink-500: var(--base-pink), 50%;
  --pink-400: var(--base-pink), 70%;
  --pink-300: var(--base-pink), 75%;
  --pink-200: var(--base-pink), 85%;
  --pink-100: var(--base-pink), 93%;
  --pink-50: var(--base-pink), 97%;

  --purple-900: var(--base-purple), 20%;
  --purple-800: var(--base-purple), 30%;
  --purple-700: var(--base-purple), 35%;
  --purple-600: var(--base-purple), 40%;
  --purple-500: var(--base-purple), 50%;
  --purple-400: var(--base-purple), 70%;
  --purple-300: var(--base-purple), 75%;
  --purple-200: var(--base-purple), 85%;
  --purple-100: var(--base-purple), 93%;
  --purple-50: var(--base-purple), 97%;

  --indigo-900: var(--base-indigo), 20%;
  --indigo-800: var(--base-indigo), 30%;
  --indigo-700: var(--base-indigo), 35%;
  --indigo-600: var(--base-indigo), 40%;
  --indigo-500: var(--base-indigo), 50%;
  --indigo-400: var(--base-indigo), 70%;
  --indigo-300: var(--base-indigo), 75%;
  --indigo-200: var(--base-indigo), 85%;
  --indigo-100: var(--base-indigo), 93%;
  --indigo-50: var(--base-indigo), 97%;

  --teal-900: var(--base-teal), 20%;
  --teal-800: var(--base-teal), 30%;
  --teal-700: var(--base-teal), 35%;
  --teal-600: var(--base-teal), 40%;
  --teal-500: var(--base-teal), 50%;
  --teal-400: var(--base-teal), 70%;
  --teal-300: var(--base-teal), 75%;
  --teal-200: var(--base-teal), 85%;
  --teal-100: var(--base-teal), 93%;
  --teal-50: var(--base-teal), 97%;

  --green-900: var(--base-green), 20%;
  --green-800: var(--base-green), 30%;
  --green-700: var(--base-green), 35%;
  --green-600: var(--base-green), 40%;
  --green-500: var(--base-green), 50%;
  --green-400: var(--base-green), 70%;
  --green-300: var(--base-green), 75%;
  --green-200: var(--base-green), 85%;
  --green-100: var(--base-green), 93%;
  --green-50: var(--base-green), 97%;
  
  --yellow-900: var(--base-yellow), 20%;
  --yellow-800: var(--base-yellow), 30%;
  --yellow-700: var(--base-yellow), 35%;
  --yellow-600: var(--base-yellow), 40%;
  --yellow-500: var(--base-yellow), 50%;
  --yellow-400: var(--base-yellow), 70%;
  --yellow-300: var(--base-yellow), 75%;
  --yellow-200: var(--base-yellow), 85%;
  --yellow-100: var(--base-yellow), 93%;
  --yellow-50: var(--base-yellow), 97%;
  
  --orange-900: var(--base-orange), 20%;
  --orange-800: var(--base-orange), 30%;
  --orange-700: var(--base-orange), 35%;
  --orange-600: var(--base-orange), 40%;
  --orange-500: var(--base-orange), 50%;
  --orange-400: var(--base-orange), 70%;
  --orange-300: var(--base-orange), 75%;
  --orange-200: var(--base-orange), 85%;
  --orange-100: var(--base-orange), 93%;
  --orange-50: var(--base-orange), 97%;

  --blue-900: var(--base-blue), 20%;
  --blue-800: var(--base-blue), 30%;
  --blue-700: var(--base-blue), 35%;
  --blue-600: var(--base-blue), 40%;
  --blue-500: var(--base-blue), 50%;
  --blue-400: var(--base-blue), 70%;
  --blue-300: var(--base-blue), 75%;
  --blue-200: var(--base-blue), 85%;
  --blue-100: var(--base-blue), 93%;
  --blue-50: var(--base-blue), 97%;

/*Compose colors based on meaning*/
  --success-block: hsla(var(--green-500), 0.2); 
  --success-border: hsla(var(--green-600));
  --success-inline: hsla(var(--green-800));
  --success-icon: hsla(var(--green-700));
 
  --notice-block: hsla(var(--yellow-500), 0.2); 
  --notice-border: hsla(var(--orange-500));
  --notice-icon: hsla(var(--orange-500));

  --danger-block: hsla(var(--red-500), 0.2); 
  --danger-border: hsla(var(--red-600));
  --danger-inline: hsla(var(--red-900));
  --danger-icon: hsla(var(--red-600));

  --border-50: hsla(var(--grey-200));
  --border-100: hsla(var(--grey-300));
  
  --background-50: hsla(var(--grey-50));
  --background-100: hsla(var(--grey-100));
  
  --g-icon: hsla(var(--indigo-500));
  --i-icon: hsla(var(--pink-500));
  --p-icon: hsla(var(--teal-500));
  --a-icon: hsla(var(--blue-500));
  --c-icon: hsla(var(--purple-500));
 }

@media (prefers-color-scheme: dark) {
  :root{
    --success-inline: hsla(var(--green-300));
    --danger-inline: hsla(var(--red-300));
    
    --border-50: hsla(var(--grey-800));
    --border-100: hsla(var(--grey-700));
    
   --background-50: hsla(var(--grey-900));
   --background-100: hsla(var(--grey-800));
  }
  
  body {background:hsla(var(--base-grey), 10%);color:#FFF;}
}

body {font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;}

.block{padding:1em;margin-bottom:2em;border-radius.5rem .5rem 0;border-left:4px solid transparent;border-radius:4px;}
.block-success {background:var(--success-block);border-color:var(--success-border)} /*block uses transparency*/
.inline-success {color:var(--success-inline)}/*inline does not not use transparency- will need to be updated for dark mode*/
.block-notice {background:var(--notice-block);border-color:var(--notice-border)} /*block uses transparency*/
.block-danger {background:var(--danger-block);border-color:var(--danger-border)} /*block uses transparency*/
.inline-danger {color:var(--danger-inline)}/*inline does not not use transparency- will need to be updated for dark mode*/

.border {border-top:4px solid;border-right:3px solid;border-bottom:2px solid;border-left: 1px solid;margin-bottom:2em;padding:1em;}

.background-50 {background:var(--background-50);}
.background-100 {background:var(--background-100);}
.border-50 {border-color:var(--border-50);}
.border-100 {border-color:var(--border-100);}

span.icon {border-radius:3px;display:inline-block;margin-right:.25em; width:1.5ch; height:1.5ch; background:#000;}
  span.icon-success {background:var(--success-icon)}
  span.icon-warning {background:var(--notice-icon)}
  span.icon-danger {background:var(--danger-icon)}
  span.icon-g {background:var(--g-icon)}
  span.icon-i {background:var(--i-icon)}
  span.icon-p {background:var(--p-icon)}
  span.icon-a {background:var(--a-icon)}
  span.icon-c {background:var(--c-icon)}



/* Swatches */
.swatches-group {display:flex;gap:1rem;}
.swatches-info {flex: 1 0 0;}
.swatches {display:flex;gap:.75rem 1rem;flex-wrap: wrap;padding:0;margin:0;list-style:none;margin-bottom:2rem;flex: 5 0 0;}
.swatches > * {flex: 1 1 17%;display:flex;flex-wrap: wrap;font-size:.75rem;}
.swatch-color {height:5ch;border-radius:.25em;flex: 1 100%;margin-bottom:.25rem;}
.swatch-weight {flex: 1 0 0;}

.grey-50 {background:hsla(var(--grey-50))}
.grey-100 {background:hsla(var(--grey-100))}
.grey-200 {background:hsla(var(--grey-200))}
.grey-300 {background:hsla(var(--grey-300))}
.grey-400 {background:hsla(var(--grey-400))}
.grey-500 {background:hsla(var(--grey-500))}
.grey-600 {background:hsla(var(--grey-600))}
.grey-700 {background:hsla(var(--grey-700))}
.grey-800 {background:hsla(var(--grey-800))}
.grey-900 {background:hsla(var(--grey-900))}

.red-50 {background:hsla(var(--red-50))}
.red-100 {background:hsla(var(--red-100))}
.red-200 {background:hsla(var(--red-200))}
.red-300 {background:hsla(var(--red-300))}
.red-400 {background:hsla(var(--red-400))}
.red-500 {background:hsla(var(--red-500))}
.red-600 {background:hsla(var(--red-600))}
.red-700 {background:hsla(var(--red-700))}
.red-800 {background:hsla(var(--red-800))}
.red-900 {background:hsla(var(--red-900))}

.pink-50 {background:hsla(var(--pink-50))}
.pink-100 {background:hsla(var(--pink-100))}
.pink-200 {background:hsla(var(--pink-200))}
.pink-300 {background:hsla(var(--pink-300))}
.pink-400 {background:hsla(var(--pink-400))}
.pink-500 {background:hsla(var(--pink-500))}
.pink-600 {background:hsla(var(--pink-600))}
.pink-700 {background:hsla(var(--pink-700))}
.pink-800 {background:hsla(var(--pink-800))}
.pink-900 {background:hsla(var(--pink-900))}

.purple-50 {background:hsla(var(--purple-50))}
.purple-100 {background:hsla(var(--purple-100))}
.purple-200 {background:hsla(var(--purple-200))}
.purple-300 {background:hsla(var(--purple-300))}
.purple-400 {background:hsla(var(--purple-400))}
.purple-500 {background:hsla(var(--purple-500))}
.purple-600 {background:hsla(var(--purple-600))}
.purple-700 {background:hsla(var(--purple-700))}
.purple-800 {background:hsla(var(--purple-800))}
.purple-900 {background:hsla(var(--purple-900))}

.indigo-50 {background:hsla(var(--indigo-50))}
.indigo-100 {background:hsla(var(--indigo-100))}
.indigo-200 {background:hsla(var(--indigo-200))}
.indigo-300 {background:hsla(var(--indigo-300))}
.indigo-400 {background:hsla(var(--indigo-400))}
.indigo-500 {background:hsla(var(--indigo-500))}
.indigo-600 {background:hsla(var(--indigo-600))}
.indigo-700 {background:hsla(var(--indigo-700))}
.indigo-800 {background:hsla(var(--indigo-800))}
.indigo-900 {background:hsla(var(--indigo-900))}

.teal-50 {background:hsla(var(--teal-50))}
.teal-100 {background:hsla(var(--teal-100))}
.teal-200 {background:hsla(var(--teal-200))}
.teal-300 {background:hsla(var(--teal-300))}
.teal-400 {background:hsla(var(--teal-400))}
.teal-500 {background:hsla(var(--teal-500))}
.teal-600 {background:hsla(var(--teal-600))}
.teal-700 {background:hsla(var(--teal-700))}
.teal-800 {background:hsla(var(--teal-800))}
.teal-900 {background:hsla(var(--teal-900))}

.green-50 {background:hsla(var(--green-50))}
.green-100 {background:hsla(var(--green-100))}
.green-200 {background:hsla(var(--green-200))}
.green-300 {background:hsla(var(--green-300))}
.green-400 {background:hsla(var(--green-400))}
.green-500 {background:hsla(var(--green-500))}
.green-600 {background:hsla(var(--green-600))}
.green-700 {background:hsla(var(--green-700))}
.green-800 {background:hsla(var(--green-800))}
.green-900 {background:hsla(var(--green-900))}

.yellow-50 {background:hsla(var(--yellow-50))}
.yellow-100 {background:hsla(var(--yellow-100))}
.yellow-200 {background:hsla(var(--yellow-200))}
.yellow-300 {background:hsla(var(--yellow-300))}
.yellow-400 {background:hsla(var(--yellow-400))}
.yellow-500 {background:hsla(var(--yellow-500))}
.yellow-600 {background:hsla(var(--yellow-600))}
.yellow-700 {background:hsla(var(--yellow-700))}
.yellow-800 {background:hsla(var(--yellow-800))}
.yellow-900 {background:hsla(var(--yellow-900))}

.orange-50 {background:hsla(var(--orange-50))}
.orange-100 {background:hsla(var(--orange-100))}
.orange-200 {background:hsla(var(--orange-200))}
.orange-300 {background:hsla(var(--orange-300))}
.orange-400 {background:hsla(var(--orange-400))}
.orange-500 {background:hsla(var(--orange-500))}
.orange-600 {background:hsla(var(--orange-600))}
.orange-700 {background:hsla(var(--orange-700))}
.orange-800 {background:hsla(var(--orange-800))}
.orange-900 {background:hsla(var(--orange-900))}

.blue-50 {background:hsla(var(--blue-50))}
.blue-100 {background:hsla(var(--blue-100))}
.blue-200 {background:hsla(var(--blue-200))}
.blue-300 {background:hsla(var(--blue-300))}
.blue-400 {background:hsla(var(--blue-400))}
.blue-500 {background:hsla(var(--blue-500))}
.blue-600 {background:hsla(var(--blue-600))}
.blue-700 {background:hsla(var(--blue-700))}
.blue-800 {background:hsla(var(--blue-800))}
.blue-900 {background:hsla(var(--blue-900))}

              
            
!

JS

              
                
              
            
!
999px

Console