Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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


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.


                <div id="q-app">
  <div class="q-pa-md">
      <q-toolbar class="bg-listtoolbar text-white shadow-15">
          <q-icon name="fas fa-user-friends" class="q-pl-md"></q-icon>
          <span class="q-pl-lg">LEADS</span>

          icon="far fa-user"
          label="ADD NEW LEAD"
  <div class="q-pa-md">
    <q-btn label="red" color="red" @click="click('red')"></q-btn>
    <q-btn label="blue" color="blue" @click="click('blue')"></q-btn>


                // app brand styles
$actionbutton = #FFC107
$cancelbutton = #FFFFFF
$listToolbar = #31CCEC

  --q-color-actionbutton $actionbutton
  --q-color-cancelbutton $cancelbutton
  --q-color-listtoolbar $listToolbar

// actionbutton - for action buttons
  color $actionbutton
  background $actionbutton !important
  background: var(--q-color-actionbutton) !important
  color #FFFFFF

// cancelbutton - for cancel buttons
  color $cancelbutton
  background $cancelbutton !important
  background: var(--q-color-cancelbutton) !important
  color #000000

// listtoolbar - for q-list Toolbar
  color #31CCEC
  background: $listToolbar !important
  background: var(--q-color-listtoolbar) !important
  color #FFFFFF



                new Vue({
  el: '#q-app',
  data: function () {
    return {
      version: Quasar.version
  methods: {
  	click(color) {
      Quasar.utils.colors.setBrand('listtoolbar', color)