Styledex
← Index

Bubblegum

tweakcnApache-2.0Light and dark · bothMedium · mediumPink · pinkVivid · vividSerif · serifGeneral · generalLanding · landingProfessional · professional

A theme based on the Bubblegum color palette.

NNorthwind
Product · Pricing
Specimen
Make the work feel finished

One interface, dressed in this style. Compare type, color, radius, and density.

128
Active
4.8
Score
12ms
Edge

Attribution

"Bubblegum" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/bubblegum.json @ a3b47b37cba9.

https://github.com/jnsahaj/tweakcn · r/themes/bubblegum.json · a3b47b37cba9 · © jnsahaj

Prompt

Design a user interface in the "Bubblegum" style.

A theme based on the Bubblegum color palette.

Apply these tokens to every surface. Do not invent a second palette.
- Background oklch(0.9399 0.0203 345.6985), foreground oklch(0.4712 0 0)
- Primary oklch(0.6209 0.1801 348.1385) on oklch(1.0000 0 0)
- Accent oklch(0.9195 0.0801 87.6670), muted oklch(0.8800 0.0504 212.0952), border oklch(0.6209 0.1801 348.1385)
- Radius 0.4rem, type Poppins, sans-serif
- Shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04)

"Bubblegum" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/bubblegum.json @ a3b47b37cba9.
powered by Styledex — https://styledex.dev

Tokens

DTCG

{
  "$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
  "$description": "Bubblegum. \"Bubblegum\" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/bubblegum.json @ a3b47b37cba9.",
  "$extensions": {
    "dev.styledex": {
      "id": "tweakcn-bubblegum",
      "license": "Apache-2.0",
      "attribution": "\"Bubblegum\" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/bubblegum.json @ a3b47b37cba9.",
      "banner": "powered by Styledex — https://styledex.dev"
    }
  },
  "color": {
    "background": {
      "$type": "color",
      "$value": "oklch(0.9399 0.0203 345.6985)"
    },
    "foreground": {
      "$type": "color",
      "$value": "oklch(0.4712 0 0)"
    },
    "card": {
      "$type": "color",
      "$value": "oklch(0.9498 0.0500 86.8891)"
    },
    "card-foreground": {
      "$type": "color",
      "$value": "oklch(0.4712 0 0)"
    },
    "primary": {
      "$type": "color",
      "$value": "oklch(0.6209 0.1801 348.1385)"
    },
    "primary-foreground": {
      "$type": "color",
      "$value": "oklch(1.0000 0 0)"
    },
    "secondary": {
      "$type": "color",
      "$value": "oklch(0.8095 0.0694 198.1863)"
    },
    "secondary-foreground": {
      "$type": "color",
      "$value": "oklch(0.3211 0 0)"
    },
    "accent": {
      "$type": "color",
      "$value": "oklch(0.9195 0.0801 87.6670)"
    },
    "accent-foreground": {
      "$type": "color",
      "$value": "oklch(0.3211 0 0)"
    },
    "muted": {
      "$type": "color",
      "$value": "oklch(0.8800 0.0504 212.0952)"
    },
    "muted-foreground": {
      "$type": "color",
      "$value": "oklch(0.5795 0 0)"
    },
    "border": {
      "$type": "color",
      "$value": "oklch(0.6209 0.1801 348.1385)"
    },
    "destructive": {
      "$type": "color",
      "$value": "oklch(0.7091 0.1697 21.9551)"
    },
    "ring": {
      "$type": "color",
      "$value": "oklch(0.7002 0.1597 350.7532)"
    }
  },
  "font": {
    "sans": {
      "$type": "fontFamily",
      "$value": [
        "Poppins",
        "sans-serif"
      ]
    },
    "serif": {
      "$type": "fontFamily",
      "$value": [
        "Lora",
        "serif"
      ]
    },
    "mono": {
      "$type": "fontFamily",
      "$value": [
        "Fira Code",
        "monospace"
      ]
    }
  },
  "radius": {
    "base": {
      "$type": "dimension",
      "$value": "0.4rem"
    }
  },
  "spacing": {
    "base": {
      "$type": "dimension",
      "$value": "0.25rem"
    }
  },
  "shadow": {
    "base": {
      "$type": "shadow",
      "$value": "0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04)"
    }
  },
  "dark": {
    "color": {
      "background": {
        "$type": "color",
        "$value": "oklch(0.2497 0.0305 234.1628)"
      },
      "foreground": {
        "$type": "color",
        "$value": "oklch(0.9306 0.0197 349.0785)"
      },
      "card": {
        "$type": "color",
        "$value": "oklch(0.2902 0.0299 233.5352)"
      },
      "card-foreground": {
        "$type": "color",
        "$value": "oklch(0.9306 0.0197 349.0785)"
      },
      "primary": {
        "$type": "color",
        "$value": "oklch(0.9195 0.0801 87.6670)"
      },
      "primary-foreground": {
        "$type": "color",
        "$value": "oklch(0.2497 0.0305 234.1628)"
      },
      "secondary": {
        "$type": "color",
        "$value": "oklch(0.7794 0.0803 4.1330)"
      },
      "secondary-foreground": {
        "$type": "color",
        "$value": "oklch(0.2497 0.0305 234.1628)"
      },
      "accent": {
        "$type": "color",
        "$value": "oklch(0.6699 0.0988 356.9762)"
      },
      "accent-foreground": {
        "$type": "color",
        "$value": "oklch(0.9306 0.0197 349.0785)"
      },
      "muted": {
        "$type": "color",
        "$value": "oklch(0.2713 0.0086 255.5780)"
      },
      "muted-foreground": {
        "$type": "color",
        "$value": "oklch(0.7794 0.0803 4.1330)"
      },
      "border": {
        "$type": "color",
        "$value": "oklch(0.3907 0.0399 242.2181)"
      },
      "destructive": {
        "$type": "color",
        "$value": "oklch(0.6702 0.1806 350.3599)"
      },
      "ring": {
        "$type": "color",
        "$value": "oklch(0.6998 0.0896 201.8672)"
      }
    }
  }
}

CSS

/* powered by Styledex — https://styledex.dev */
/* "Bubblegum" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/bubblegum.json @ a3b47b37cba9. */
:root {
  --background: oklch(0.9399 0.0203 345.6985);
  --foreground: oklch(0.4712 0 0);
  --card: oklch(0.9498 0.0500 86.8891);
  --card-foreground: oklch(0.4712 0 0);
  --primary: oklch(0.6209 0.1801 348.1385);
  --primary-foreground: oklch(1.0000 0 0);
  --secondary: oklch(0.8095 0.0694 198.1863);
  --secondary-foreground: oklch(0.3211 0 0);
  --accent: oklch(0.9195 0.0801 87.6670);
  --accent-foreground: oklch(0.3211 0 0);
  --muted: oklch(0.8800 0.0504 212.0952);
  --muted-foreground: oklch(0.5795 0 0);
  --border: oklch(0.6209 0.1801 348.1385);
  --destructive: oklch(0.7091 0.1697 21.9551);
  --ring: oklch(0.7002 0.1597 350.7532);
  --radius: 0.4rem;
  --font-sans: Poppins, sans-serif;
  --font-serif: Lora, serif;
  --font-mono: Fira Code, monospace;
  --spacing: 0.25rem;
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}

.dark {
  --background: oklch(0.2497 0.0305 234.1628);
  --foreground: oklch(0.9306 0.0197 349.0785);
  --card: oklch(0.2902 0.0299 233.5352);
  --card-foreground: oklch(0.9306 0.0197 349.0785);
  --primary: oklch(0.9195 0.0801 87.6670);
  --primary-foreground: oklch(0.2497 0.0305 234.1628);
  --secondary: oklch(0.7794 0.0803 4.1330);
  --secondary-foreground: oklch(0.2497 0.0305 234.1628);
  --accent: oklch(0.6699 0.0988 356.9762);
  --accent-foreground: oklch(0.9306 0.0197 349.0785);
  --muted: oklch(0.2713 0.0086 255.5780);
  --muted-foreground: oklch(0.7794 0.0803 4.1330);
  --border: oklch(0.3907 0.0399 242.2181);
  --destructive: oklch(0.6702 0.1806 350.3599);
  --ring: oklch(0.6998 0.0896 201.8672);
  --radius: 0.4rem;
  --font-sans: Poppins, sans-serif;
  --font-serif: Lora, serif;
  --font-mono: Fira Code, monospace;
  --spacing: 0.25rem;
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}

Tailwind

/* powered by Styledex — https://styledex.dev */
/* "Bubblegum" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/bubblegum.json @ a3b47b37cba9. */
/** Tailwind theme extend for Bubblegum (tweakcn-bubblegum) */
module.exports = {
  "theme": {
    "extend": {
      "colors": {
        "background": "oklch(0.9399 0.0203 345.6985)",
        "foreground": "oklch(0.4712 0 0)",
        "card": "oklch(0.9498 0.0500 86.8891)",
        "primary": "oklch(0.6209 0.1801 348.1385)",
        "primary-foreground": "oklch(1.0000 0 0)",
        "secondary": "oklch(0.8095 0.0694 198.1863)",
        "accent": "oklch(0.9195 0.0801 87.6670)",
        "muted": "oklch(0.8800 0.0504 212.0952)",
        "border": "oklch(0.6209 0.1801 348.1385)",
        "destructive": "oklch(0.7091 0.1697 21.9551)",
        "ring": "oklch(0.7002 0.1597 350.7532)"
      },
      "borderRadius": {
        "lg": "0.4rem"
      },
      "fontFamily": {
        "sans": [
          "Poppins",
          "sans-serif"
        ],
        "serif": [
          "Lora",
          "serif"
        ],
        "mono": [
          "Fira Code",
          "monospace"
        ]
      },
      "boxShadow": {
        "styledex": "0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04)"
      }
    }
  }
};

shadcn

/* powered by Styledex — https://styledex.dev */
/* "Bubblegum" from https://github.com/jnsahaj/tweakcn (Apache-2.0). © jnsahaj. r/themes/bubblegum.json @ a3b47b37cba9. */
@layer base {
:root {
  --background: oklch(0.9399 0.0203 345.6985);
  --foreground: oklch(0.4712 0 0);
  --card: oklch(0.9498 0.0500 86.8891);
  --card-foreground: oklch(0.4712 0 0);
  --primary: oklch(0.6209 0.1801 348.1385);
  --primary-foreground: oklch(1.0000 0 0);
  --secondary: oklch(0.8095 0.0694 198.1863);
  --secondary-foreground: oklch(0.3211 0 0);
  --accent: oklch(0.9195 0.0801 87.6670);
  --accent-foreground: oklch(0.3211 0 0);
  --muted: oklch(0.8800 0.0504 212.0952);
  --muted-foreground: oklch(0.5795 0 0);
  --border: oklch(0.6209 0.1801 348.1385);
  --destructive: oklch(0.7091 0.1697 21.9551);
  --ring: oklch(0.7002 0.1597 350.7532);
  --radius: 0.4rem;
  --font-sans: Poppins, sans-serif;
  --font-serif: Lora, serif;
  --font-mono: Fira Code, monospace;
  --spacing: 0.25rem;
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}

.dark {
  --background: oklch(0.2497 0.0305 234.1628);
  --foreground: oklch(0.9306 0.0197 349.0785);
  --card: oklch(0.2902 0.0299 233.5352);
  --card-foreground: oklch(0.9306 0.0197 349.0785);
  --primary: oklch(0.9195 0.0801 87.6670);
  --primary-foreground: oklch(0.2497 0.0305 234.1628);
  --secondary: oklch(0.7794 0.0803 4.1330);
  --secondary-foreground: oklch(0.2497 0.0305 234.1628);
  --accent: oklch(0.6699 0.0988 356.9762);
  --accent-foreground: oklch(0.9306 0.0197 349.0785);
  --muted: oklch(0.2713 0.0086 255.5780);
  --muted-foreground: oklch(0.7794 0.0803 4.1330);
  --border: oklch(0.3907 0.0399 242.2181);
  --destructive: oklch(0.6702 0.1806 350.3599);
  --ring: oklch(0.6998 0.0896 201.8672);
  --radius: 0.4rem;
  --font-sans: Poppins, sans-serif;
  --font-serif: Lora, serif;
  --font-mono: Fira Code, monospace;
  --spacing: 0.25rem;
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
}
}