Sundown
by sheawilson0
A sky from my portfolio behind the chat and sidebar: sunrise in light mode, dusk in dark. Glass panels with squircle corners, blue message bubbles and a little sun for a send button.
This page is wearing Sundown — everything you see is drawn with the theme's own colors.
How to install
- Copy the theme JSON with the button above.
- In T3Code, open Settings → Themes → Import theme.
- Paste the JSON and confirm.
source: themes/sundown.json
Custom CSS
This theme changes more than colors. T3Code blocks theme CSS from loading files, but the CSS can still move, hide or restyle any part of the app and add text to it. Read it before you import.
It needs a T3Code version that imports theme CSS. If you installed an older colors-only copy, remove it and import this JSON again. Reduced-motion settings may turn off its animations.
View CSS · 17.3 KB, formatted for reading
/* Sundown by Shea Wilson (sheawilson.uk). The sky from my portfolio behind the chat and sidebar (dusk in dark mode, sunrise in light mode),
frosted glass on top, blue glass message bubbles and a little sun for a send button. */
/* ── The sky, from the site's SKIES ── */
:root {
--sky-top: #7aa4e2;
--sky-mid: #bccff0;
--sky-low: #fdd0a6;
--sky-glow: #ffbb85;
--sky-ga: .55;
--glass: rgb(255 255 255 / .42);
--glass-edge: rgb(255 255 255 / .55);
--glass-hi: rgb(255 255 255 / .6);
--bubble: #3b82f6;
}
.dark {
--sky-top: #070f24;
--sky-mid: #142a55;
--sky-low: #7d5a5c;
--sky-glow: #e08a5a;
--sky-ga: .45;
--glass: rgb(24 46 92 / .62);
--glass-edge: rgb(255 255 255 / .09);
--glass-hi: rgb(255 255 255 / .08);
}
[data-chat-column] {
position: relative;
isolation: isolate;
background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-low) 100%) !important;
}
[data-chat-column]::before {
content: "";
position: absolute;
inset: auto 0 0 0;
height: 45%;
z-index: -1;
pointer-events: none;
background: radial-gradient(60% 70% at 50% 100%, color-mix(in srgb, var(--sky-glow) calc(var(--sky-ga) * 100%), transparent), transparent 70%);
}
[data-chat-column] > *, [data-chat-header], [data-chat-header] + *,
[data-workspace-area="conversation"], .messages-timeline-scroll,
[data-chat-workspace-drop-target], [data-chat-workspace-drop-target] > .bg-background {
background: transparent !important;
background-image: none !important;
}
/* Any plain full-size panel inside the chat (the new-thread screen has its own): let the sky through. Cards and fields keep their fill. */
[data-chat-column] [class~="bg-background"]:not([class*="rounded"], [class*="border"]) {
background: transparent !important;
}
[data-chat-composer-overlay]::before, [data-chat-composer-overlay]::after {
background: none !important;
}
/* ── Glass ── */
[data-thread-details-card], [aria-label^="Approval from "],
[data-slot="popover-popup"], [data-slot="menu-popup"], [data-slot="select-popup"], [data-slot="tooltip-popup"] {
background: var(--glass) !important;
-webkit-backdrop-filter: blur(24px) saturate(1.6);
backdrop-filter: blur(24px) saturate(1.6);
border-color: var(--glass-edge) !important;
box-shadow: inset 0 1px 0 var(--glass-hi), 0 18px 50px rgb(0 0 0 / .18) !important;
}
[data-slot="composer-host"] > *, [data-chat-composer-main-surface], [data-chat-composer-surface] {
background: transparent !important;
}
.chat-markdown-codeblock {
background: color-mix(in srgb, var(--glass) 70%, rgb(0 0 0 / .25)) !important;
-webkit-backdrop-filter: blur(16px);
backdrop-filter: blur(16px);
border-color: var(--glass-edge) !important;
}
/* Questions from the agent open above the composer: let them share its glass instead of sitting on black. */
[data-chat-composer-top-drawer], [data-chat-composer-top-drawer] > * {
background: transparent !important;
border-color: transparent !important;
box-shadow: none !important;
}
/* Subagent approval cards: the command sits in a soft well inside the glass. */
[aria-label^="Approval from "] {
padding: 14px 16px !important;
box-shadow: inset 0 1px 0 var(--glass-hi) !important;
}
/* no outer shadow: the list clips it */
[aria-label^="Approval from "] pre {
background: rgb(0 0 0 / .18);
border-radius: 10px;
padding: 8px 10px;
}
:root:not(.dark) [aria-label^="Approval from "] pre {
background: rgb(255 255 255 / .5);
}
/* ── Your bubble: a thin blue glass ── */
[data-user-message-bubble] {
background: rgb(59 130 246 / .30) !important;
-webkit-backdrop-filter: blur(20px) saturate(1.5);
backdrop-filter: blur(20px) saturate(1.5);
color: #fff !important;
border: 0 !important;
box-shadow: none !important;
/* no outer shadow: the chat row clips it */
border-radius: 20px !important;
}
[data-user-message-bubble] *:not(.chat-markdown-codeblock, .chat-markdown-codeblock *) {
color: inherit !important;
}
/* code keeps its own colours */
/* Links in your own messages: white and underlined, never blue on blue. */
[data-user-message-bubble] :is(a, [href], [role="link"]) {
text-decoration: underline !important;
text-decoration-color: rgb(255 255 255 / .5) !important;
text-underline-offset: 3px;
}
/* ── The message box: T3 draws its own glass from these variables. Same navy glass as the portfolio's dark cards. ── */
[data-slot="composer-host"], [data-slot="composer-shell"] {
--chat-composer-glass-surface: rgb(24 46 92) !important;
--glass-opacity: 62% !important;
--glass-blur: 22px !important;
--glass-saturation: 1.4 !important;
--chat-composer-outline: rgb(255 255 255 / .09) !important;
--chat-composer-highlight: rgb(255 255 255 / .08) !important;
}
:root:not(.dark) :is([data-slot="composer-host"], [data-slot="composer-shell"]) {
--chat-composer-glass-surface: #ffffff !important;
--glass-opacity: 45% !important;
--chat-composer-outline: rgb(255 255 255 / .6) !important;
}
.dark [data-slot="composer-host"] {
--placeholder: #93a3c4;
--muted-foreground: #a3b0cc;
}
/* New threads show a machine and access row under the box: no panel behind it, just the sky. */
[data-slot="composer-shell"][data-context-row] {
background: transparent !important;
box-shadow: none !important;
}
[data-slot="composer-shell"][data-context-row] div:not([data-slot="composer-host"], [data-slot="composer-host"] *) {
background-color: transparent !important;
background-image: none !important;
box-shadow: none !important;
-webkit-backdrop-filter: none !important;
backdrop-filter: none !important;
}
/* ── Squircle corners, like sheawilson.uk. Round buttons stay round. ── */
@supports (corner-shape: squircle) {
[data-slot="composer-host"], [data-slot="composer-host"]::before, [data-slot="composer-host"]::after,
[data-slot="composer-shell"], [data-slot="composer-shell"]::before, [data-slot="composer-shell"]::after,
[data-chat-composer-main-surface], [data-chat-composer-main-surface]::before, [data-chat-composer-main-surface]::after, [data-chat-composer-surface] {
corner-shape: squircle;
border-radius: 34px !important;
}
[data-user-message-bubble] {
corner-shape: squircle;
border-radius: 26px !important;
}
[data-thread-details-card], [aria-label^="Approval from "], .chat-markdown-codeblock,
[data-slot="popover-popup"], [data-slot="menu-popup"], [data-slot="select-popup"], [data-slot="dialog-popup"] {
corner-shape: squircle;
border-radius: 22px !important;
}
[data-thread-item], [data-slot="input"], [data-slot="select-trigger"], [data-slot="tooltip-popup"],
[data-slot="menu-popup"] [data-slot="menu-item"] {
corner-shape: squircle;
border-radius: 14px !important;
}
[data-slot="button"]:not([class*="rounded-full"]) {
corner-shape: squircle;
border-radius: 12px !important;
}
}
/* ── Sunrise (light mode): the same pieces, tuned for a pale sky ── */
:root:not(.dark) [data-user-message-bubble] {
background: rgb(37 88 220 / .88) !important;
}
/* 4.5:1 with white text even over the palest sky */
:root:not(.dark) .chat-markdown-codeblock {
background: rgb(255 255 255 / .55) !important;
}
:root:not(.dark) [data-slot="composer-host"] {
--placeholder: #5d6d8c;
--muted-foreground: #4a5a78;
}
/* ── Right panel and terminal: the same sky under heavy glass, so code stays easy to read ── */
[data-workspace-area="panel"] {
background: linear-gradient(rgb(6 12 30 / .86), rgb(6 12 30 / .86)), linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-low) 100%) !important;
}
:root:not(.dark) [data-workspace-area="panel"] {
background: linear-gradient(rgb(255 255 255 / .72), rgb(255 255 255 / .72)), linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-low) 100%) !important;
}
:is([data-workspace-area="panel"], [data-thread-terminal-drawer]) [class~="bg-background"]:not([class*="rounded"], [class*="border"]) {
background: transparent !important;
}
.dark [data-thread-terminal-drawer] {
background: #0a1430 !important;
}
/* ── Top-right toggles: a small piece of glass when switched on ── */
[data-panel-layout-controls] :is([data-pressed], [aria-pressed="true"]) {
background: rgb(255 255 255 / .12) !important;
color: #fff !important;
-webkit-backdrop-filter: blur(12px) saturate(1.4);
backdrop-filter: blur(12px) saturate(1.4);
box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), inset 0 0 0 1px rgb(255 255 255 / .08) !important;
}
:root:not(.dark) [data-panel-layout-controls] :is([data-pressed], [aria-pressed="true"]) {
background: rgb(255 255 255 / .55) !important;
color: #13203a !important;
box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), 0 1px 3px rgb(19 32 58 / .12) !important;
}
@supports (corner-shape: squircle) {
[data-panel-layout-controls] :is(button, [data-pressed]) {
corner-shape: squircle;
border-radius: 12px !important;
}
}
/* ── Light mode: the message map down the left sits back a little ── */
:root:not(.dark) [data-minimap-strip] {
opacity: .4;
}
/* ── Notices above the message box (machine offline, usage limits, updates): same glass and corners as the box ── */
[data-composer-banner-surface] {
--chat-composer-attached-surface: rgb(24 46 92) !important;
--glass-opacity: 62% !important;
--glass-blur: 22px !important;
--glass-saturation: 1.4 !important;
}
[data-composer-banner-surface]:not([data-variant="warning"], [data-variant="error"]) {
--chat-composer-attached-outline: rgb(255 255 255 / .09) !important;
}
:root:not(.dark) [data-composer-banner-surface] {
--chat-composer-attached-surface: #ffffff !important;
--glass-opacity: 45% !important;
}
:root:not(.dark) [data-composer-banner-surface]:not([data-variant="warning"], [data-variant="error"]) {
--chat-composer-attached-outline: rgb(255 255 255 / .6) !important;
}
[data-composer-banner-surface]::before {
background-image: none !important;
box-shadow: none !important;
}
[data-composer-banner-surface="attached"]::before {
border-radius: 26px 26px 0 0 !important;
}
[data-composer-banner-surface="detached"]::before {
border-radius: 26px !important;
}
@supports (corner-shape: squircle) {
[data-composer-banner-surface]::before {
corner-shape: squircle;
}
}
/* With a notice attached, T3 moves the box's glass from its outer frame onto the inner surface: give that surface the same navy (or frosted white) glass. */
[data-slot="composer-shell"]:has([data-composer-banner-surface="attached"]) [data-chat-composer-main-surface] {
background: color-mix(in srgb, var(--chat-composer-glass-surface) var(--glass-opacity), transparent) !important;
}
/* ── Buttons switched on inside the box (Compact, and the like): glass, not a grey block ── */
[data-slot="composer-host"] button:is([aria-pressed="true"], [data-pressed]) {
background: rgb(255 255 255 / .12) !important;
color: #fff !important;
box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), inset 0 0 0 1px rgb(255 255 255 / .08) !important;
}
:root:not(.dark) [data-slot="composer-host"] button:is([aria-pressed="true"], [data-pressed]) {
background: rgb(255 255 255 / .55) !important;
color: #13203a !important;
box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), 0 1px 3px rgb(19 32 58 / .12) !important;
}
/* Hover on the box's own buttons (attach, model picker, mic): a lighter wash of the same glass, never black */
[data-slot="composer-host"] {
--accent: rgb(255 255 255 / .08) !important;
}
:root:not(.dark) [data-slot="composer-host"] {
--accent: rgb(19 32 58 / .06) !important;
}
/* ── Changed-files card: the header shares the card's glass instead of a black strip ── */
[data-changed-files-header] {
background: rgb(255 255 255 / .06) !important;
background-image: none !important;
-webkit-backdrop-filter: blur(20px) saturate(1.4);
backdrop-filter: blur(20px) saturate(1.4);
border-bottom: 1px solid rgb(255 255 255 / .07);
}
:root:not(.dark) [data-changed-files-header] {
background: rgb(255 255 255 / .5) !important;
border-bottom-color: rgb(19 32 58 / .08);
}
/* ── ⌘K search: a Raycast-style launcher in Sundown glass ── */
[data-slot="command-dialog-backdrop"] {
background: rgb(4 8 22 / .32) !important;
-webkit-backdrop-filter: blur(3px);
backdrop-filter: blur(3px);
}
:root:not(.dark) [data-slot="command-dialog-backdrop"] {
background: rgb(19 32 58 / .12) !important;
}
[data-slot="command-dialog-popup"] {
background: rgb(16 30 66 / .72) !important;
background-image: none !important;
-webkit-backdrop-filter: blur(40px) saturate(1.7);
backdrop-filter: blur(40px) saturate(1.7);
border: 1px solid rgb(255 255 255 / .11) !important;
border-radius: 26px !important;
box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 30px 80px rgb(0 0 0 / .45), 0 0 0 .5px rgb(0 0 0 / .3) !important;
}
:root:not(.dark) [data-slot="command-dialog-popup"] {
background: rgb(250 252 255 / .72) !important;
border-color: rgb(255 255 255 / .8) !important;
box-shadow: inset 0 1px 0 #fff, 0 30px 80px rgb(19 32 58 / .22), 0 0 0 .5px rgb(19 32 58 / .1) !important;
}
[data-slot="command-dialog-popup"] :is([data-slot="command-list"], [data-slot="command-footer"], [data-slot="command-group"]) {
background: transparent !important;
}
/* A big search line with a hairline under it */
[data-slot="command-dialog-popup"] [data-slot="autocomplete-input"] {
font-size: 18px !important;
letter-spacing: -.01em;
}
[data-slot="command-dialog-popup"] [data-slot="command-list"] {
border-top: 1px solid rgb(255 255 255 / .07);
padding-top: 6px;
}
:root:not(.dark) [data-slot="command-dialog-popup"] [data-slot="command-list"] {
border-top-color: rgb(19 32 58 / .07);
}
[data-slot="command-dialog-popup"] [data-slot="command-group-label"] {
font-size: 12px !important;
font-weight: 500;
opacity: .7;
}
/* Rows: hover is a faint glass wash, the current row a brighter glass pill */
[data-slot="command-dialog-popup"] [data-slot="command-item"] {
border-radius: 14px !important;
--accent: rgb(255 255 255 / .13);
--accent-foreground: #fff;
transition: background-color .12s ease-out, box-shadow .12s ease-out;
}
[data-slot="command-dialog-popup"] [data-slot="command-item"]:is([data-highlighted], :hover) {
background: rgb(255 255 255 / .09) !important;
}
[data-slot="command-dialog-popup"] [data-slot="command-item"]:is([data-selected], [class*="bg-accent!"]) {
background: rgb(255 255 255 / .13) !important;
box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), inset 0 0 0 1px rgb(255 255 255 / .06) !important;
}
:root:not(.dark) [data-slot="command-dialog-popup"] [data-slot="command-item"] {
--accent: rgb(255 255 255 / .8);
--accent-foreground: #13203a;
}
:root:not(.dark) [data-slot="command-dialog-popup"] [data-slot="command-item"]:is([data-highlighted], :hover) {
background: rgb(19 32 58 / .05) !important;
}
:root:not(.dark) [data-slot="command-dialog-popup"] [data-slot="command-item"]:is([data-selected], [class*="bg-accent!"]) {
background: rgb(255 255 255 / .8) !important;
box-shadow: 0 1px 3px rgb(19 32 58 / .1), inset 0 0 0 1px rgb(19 32 58 / .05) !important;
}
/* Key chips: little glass caps */
[data-slot="command-dialog-popup"] [data-slot="kbd"] {
background: rgb(255 255 255 / .08) !important;
box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08);
border-radius: 7px !important;
}
:root:not(.dark) [data-slot="command-dialog-popup"] [data-slot="kbd"] {
background: rgb(255 255 255 / .7) !important;
box-shadow: inset 0 0 0 1px rgb(19 32 58 / .1), 0 1px 0 rgb(19 32 58 / .06);
}
/* Footer: a quiet action bar, hints on the right like Raycast */
[data-slot="command-dialog-popup"] [data-slot="command-footer"] {
border-top: 1px solid rgb(255 255 255 / .07) !important;
background: rgb(255 255 255 / .03) !important;
justify-content: flex-end !important;
}
:root:not(.dark) [data-slot="command-dialog-popup"] [data-slot="command-footer"] {
border-top-color: rgb(19 32 58 / .07) !important;
background: rgb(255 255 255 / .35) !important;
}
@supports (corner-shape: squircle) {
[data-slot="command-dialog-popup"], [data-slot="command-dialog-popup"] [data-slot="command-item"] {
corner-shape: squircle;
}
[data-slot="command-dialog-popup"] {
border-radius: 34px !important;
}
[data-slot="command-dialog-popup"] [data-slot="command-item"] {
border-radius: 18px !important;
}
}
/* ── Sidebar under the same sky, behind smoked glass ── */
[data-slot="sidebar-inner"] {
background: linear-gradient(rgb(4 8 20 / .55), rgb(4 8 20 / .55)), linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-low) 100%) !important;
}
:root:not(.dark) [data-slot="sidebar-inner"] {
background: linear-gradient(rgb(255 255 255 / .35), rgb(255 255 255 / .35)), linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-low) 100%) !important;
}
[data-slot="sidebar-inner"] *:not([data-thread-item], [data-thread-item] *) {
background-color: transparent;
}
[data-chat-composer-footer] button:is([aria-label="Submit message"], [aria-label="Queue message"], [aria-label="Steer message"], [aria-label="Compact and send"], [aria-label="Update queued message"], [aria-label="Resume thread"], [aria-label="Submitting message"], [aria-label="Updating queued message"], [aria-label="Preparing worktree"]) {
background: radial-gradient(circle at 50% 30%, #fff1d2 0%, #ffb86b 38%, #ff7a4d 70%, #ed4f7d 100%) !important;
color: #3a1206 !important;
border: 0 !important;
box-shadow: 0 0 0 1px rgb(255 255 255 / .25), 0 0 18px rgb(255 140 90 / .55) !important;
}