Free Chat Themes

Chat box designs for OneComme and CastCraft

Published: Last updated:

These chat box designs for OneComme and CastCraft come as HTML and CSS you paste in.

The terms in one line

No credit is required. The HTML and CSS you copy are OK to use as is in your streams.

Width in OBS

px

Height in OBS

px

This preview imitates how comments appear in OneComme and CastCraft. The actual look and motion may differ.

Cross Stitch

Recommended clocks: Craft, Chime, Train

Customize

Changes here update the preview and the HTML and CSS below.

Colors

Comment direction

Icon and name

Frame

Text size

Space between comments

Super Chat text size

Super Chat color

  • OptionalCredit

For how to use it in OBS, see How to use

If you add a credit

Chat theme: Cross Stitch ( https://gyungyun.com/en/free/chat-themes/#stitch )

Not affected by site updates or connection problems.

CSS 156 lines
/* GyunGyun×Create - Cross Stitch Theme */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@500;700;800&display=swap');

/* Settings */
:root {
  --gy-chat-bg: #FBF9F1;
  --gy-chat-text: #4E1E00;
  --gy-chat-border: #B5A089;
  --gy-chat-cross: #AAD7D9;
  --gy-chat-accent: #FDBD76;
  --gy-chat-paid-stitch: #FFFFFF;
  --gy-chat-font-size: 20px;
  --gy-chat-gap: 10px;
  --gy-chat-paid-font-size: 40px;
}
body {
  font-family: 'M PLUS Rounded 1c', sans-serif;
}
/* Comment */
.comment {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  margin: 0 8px var(--gy-chat-gap, 10px);
  font-size: var(--gy-chat-font-size, 20px);
  color: var(--gy-chat-text, #4E1E00);
  padding: 12px 16px 12px 46px;
  background-color: var(--gy-chat-bg, #FBF9F1);
  border: 2px solid var(--gy-chat-border, #B5A089);
  border-radius: 12px;
}
.comment-block::before,
.comment-block::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 10px;
  width: 14px;
  height: calc(100% - 12px);
  height: round(down, calc(100% - 12px), 14px);
  transform: translateY(-50%);
  background-color: var(--gy-chat-cross, #AAD7D9);
  -webkit-mask-size: 14px 14px;
  mask-size: 14px 14px;
  -webkit-mask-repeat: repeat-y;
  mask-repeat: repeat-y;
  animation: gy-chat-sew 3s linear both;
  pointer-events: none;
}
.comment-block::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 3L11 11' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 3L11 11' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  clip-path: inset(0 0 max(0%, calc(100% - var(--gy-sew-f) * 100%)) 0);
}
.comment-block::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M11 3L3 11' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M11 3L3 11' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  clip-path: inset(max(0%, min(100%, calc(200% - var(--gy-sew-f) * 100%))) 0 0 0);
}
.comment::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  left: 30px;
  border: 2px dashed var(--gy-chat-accent, #FDBD76);
  border-radius: 8px;
  pointer-events: none;
}
.comment-block {
  display: contents;
}
/* Icon */
.avatar {
  grid-column: 1;
  grid-row: 1;
  margin: 0 10px 0 0;
  box-sizing: border-box;
  background-color: var(--gy-chat-bg, #FBF9F1);
}
.avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--gy-chat-accent, #FDBD76);
  pointer-events: none;
}
/* Name */
.name {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-shadow: none;
  -webkit-text-stroke: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 1px 12px;
  background-color: var(--gy-chat-accent, #FDBD76);
  color: var(--gy-chat-text, #4E1E00);
  font-weight: 800;
  font-size: 0.78em;
  border-radius: 999px;
}
/* Text */
.comment-body {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 8px;
}
.comment-text,
.paid-text {
  -webkit-text-stroke: 0;
  text-shadow: none;
  color: var(--gy-chat-text, #4E1E00);
  font-weight: 500;
}
/* Super Chat */
.comment[data-paid='true'] .comment-text {
  font-size: var(--gy-chat-paid-font-size, 2em);
}
.comment[style*='--lcv-background-color'] {
  background: var(--gy-chat-paid-bg, var(--lcv-background-color));
}
.comment[style*='--lcv-background-color']::after {
  border-color: var(--gy-chat-paid-stitch, #FFFFFF);
}
.comment[style*='--lcv-background-color'] .comment-block::before,
.comment[style*='--lcv-background-color'] .comment-block::after {
  background-color: var(--gy-chat-paid-stitch, #FFFFFF);
}
.comment[style*='--lcv-text-color'] .comment-text,
.comment[style*='--lcv-text-color'] .paid-text {
  color: var(--gy-chat-paid-text, var(--lcv-text-color));
}
/* Motion */
@property --gy-sew-f {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}
@keyframes gy-chat-sew {
  from {
    --gy-sew-f: 0;
  }
  to {
    --gy-sew-f: 2;
  }
}

If this design changes, the new design is applied automatically.

CSS 15 lines
/* GyunGyun×Create - Cross Stitch Theme */
@import url("https://gyungyun.com/free/chat-themes/css/stitch-onecomme.css");

/* Settings */
:root {
  --gy-chat-bg: #FBF9F1;
  --gy-chat-text: #4E1E00;
  --gy-chat-border: #B5A089;
  --gy-chat-cross: #AAD7D9;
  --gy-chat-accent: #FDBD76;
  --gy-chat-paid-stitch: #FFFFFF;
  --gy-chat-font-size: 20px;
  --gy-chat-gap: 10px;
  --gy-chat-paid-font-size: 40px;
}

Adjust the enter and exit animations in CastCraft. Depending on the theme, the rest of the look can't be changed in CastCraft, so adjust it in Customize above, then copy the HTML and CSS and paste them into CastCraft.

HTML 11 lines
<div class="chat-box-container"><div class="chat-box-item">
  {{#if showAvatarImage}}
  <div class="avatar-image-wrapper">{{{avatarIcon}}}</div>
  {{/if}}
  <div class="content-body">
    {{#if showAvatarName}}
    <div class="avatar-name">{{name}}</div>
    {{/if}}
    <div class="message">{{{message}}}</div>
  </div>
</div></div>

Not affected by site updates or connection problems.

CSS 160 lines
/* GyunGyun×Create - Cross Stitch Theme */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@500;700;800&display=swap');

/* Settings */
:root {
  --gy-chat-bg: #FBF9F1;
  --gy-chat-text: #4E1E00;
  --gy-chat-border: #B5A089;
  --gy-chat-cross: #AAD7D9;
  --gy-chat-accent: #FDBD76;
  --gy-chat-paid-stitch: #FFFFFF;
  --gy-chat-font-size: 20px;
  --gy-chat-gap: 10px;
  --gy-chat-flow: column;
}
/* Chat box */
* {
  box-sizing: border-box;
}
.chat-box {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: var(--gy-chat-flow, column);
  justify-content: flex-end;
  padding: 8px;
  overflow: hidden;
  color: var(--gy-chat-text, #4E1E00);
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: var(--gy-chat-font-size, 20px);
}
/* Comment */
.chat-box-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  margin: 0 0 var(--gy-chat-gap, 10px);
  line-height: 1.5;
  padding: 12px 16px 12px 46px;
  background-color: var(--gy-chat-bg, #FBF9F1);
  border: 2px solid var(--gy-chat-border, #B5A089);
  border-radius: 12px;
}
.content-body::before,
.content-body::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 10px;
  width: 14px;
  height: calc(100% - 12px);
  height: round(down, calc(100% - 12px), 14px);
  transform: translateY(-50%);
  background-color: var(--gy-chat-cross, #AAD7D9);
  -webkit-mask-size: 14px 14px;
  mask-size: 14px 14px;
  -webkit-mask-repeat: repeat-y;
  mask-repeat: repeat-y;
  animation: gy-chat-sew 3s linear both;
  pointer-events: none;
}
.content-body::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 3L11 11' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 3L11 11' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  clip-path: inset(0 0 max(0%, calc(100% - var(--gy-sew-f) * 100%)) 0);
}
.content-body::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M11 3L3 11' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M11 3L3 11' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  clip-path: inset(max(0%, min(100%, calc(200% - var(--gy-sew-f) * 100%))) 0 0 0);
}
.chat-box-item::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  left: 30px;
  border: 2px dashed var(--gy-chat-accent, #FDBD76);
  border-radius: 8px;
  pointer-events: none;
}
.content-body {
  display: contents;
}
/* Icon */
.avatar-image-wrapper {
  grid-column: 1;
  grid-row: 1;
  margin-right: 10px;
}
.avatar-image-wrapper img {
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--gy-chat-accent, #FDBD76);
  background-color: var(--gy-chat-bg, #FBF9F1);
}
/* Name */
.avatar-name {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: anywhere;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 1px 12px;
  background-color: var(--gy-chat-accent, #FDBD76);
  color: var(--gy-chat-text, #4E1E00);
  font-weight: 800;
  font-size: 0.78em;
  border-radius: 999px;
}
/* Text */
.message {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 8px;
  word-break: break-word;
  color: var(--gy-chat-text, #4E1E00);
  font-weight: 500;
}
/* Without icon or name */
.chat-box-item:not(:has(.avatar-image-wrapper)) .message {
  margin-top: 4px;
}
.chat-box-item:not(:has(.avatar-name)) .message {
  grid-column: 2 / -1;
  grid-row: 1;
  margin-top: 0;
}
.chat-box-item:not(:has(.avatar-image-wrapper)):not(:has(.avatar-name)) .message {
  grid-column: 1 / -1;
}
/* Motion */
@property --gy-sew-f {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}
@keyframes gy-chat-sew {
  from {
    --gy-sew-f: 0;
  }
  to {
    --gy-sew-f: 2;
  }
}
/* Animation */
{{#if animationEnabled}}
.chat-box-item {
  animation: {{animation}};
}
{{/if}}

If this design changes, the new design is applied automatically.

CSS 21 lines
/* GyunGyun×Create - Cross Stitch Theme */
@import url("https://gyungyun.com/free/chat-themes/css/stitch-castcraft.css");

/* Settings */
:root {
  --gy-chat-bg: #FBF9F1;
  --gy-chat-text: #4E1E00;
  --gy-chat-border: #B5A089;
  --gy-chat-cross: #AAD7D9;
  --gy-chat-accent: #FDBD76;
  --gy-chat-paid-stitch: #FFFFFF;
  --gy-chat-font-size: 20px;
  --gy-chat-gap: 10px;
  --gy-chat-flow: column;
}
/* Animation */
{{#if animationEnabled}}
.chat-box-item {
  animation: {{animation}};
}
{{/if}}

Terms of use

  • OKUse in your own streams and activities (monetized ones included)
  • OKChange the colors, text and so on in "Customize"
  • OKEdit the copied HTML or CSS for your own use
  • OKCustomize or edit one for someone who asked, without getting paid
  • NGDistributing or selling the copied HTML or CSS to the general public (edited versions included)

These terms may change without notice. HTML and CSS you got before a change stay under the terms at the time you got them.

* Last revised: Nov 18, 2026

How to use

OneComme

  • Show the OneComme template "basic" in an OBS browser source.
  • Paste the CSS into "Custom CSS" in the browser source's properties.

CastCraft

  • From the overlay list, open the chat box settings. Under template customization, paste the HTML into the HTML tab and the CSS into the CSS tab.
  • Paste only one of the two: "Full CSS (recommended)" or "Short CSS".
  • The text appears at the size you set on this page, regardless of the size settings in OneComme or CastCraft.