Tiktok
Create any theme for Tiktok
Description
TikTok Starter Template
A deliberately narrow starting point for your own TikTok theme. TikTok's web app is built from generated class hashes that rotate between builds, so this starter sticks to what is documented: the observed --ui-text-* text tokens, the search and Explore page surfaces, and light chrome on interactive elements. Videos are never resized, cropped, filtered or covered.
/*
* CoolStyles Starter Template — TikTok
* TikTok's web app exposes a small set of observed --ui-text-*
* tokens; the starter recolors those, tints the two observed
* page surfaces (search and Explore), and adds chrome to video
* tiles without touching their size, clipping or playback.
* Change the --cs-* colors to make it yours, paste into the
* CoolStyles CSS Editor on tiktok.com, Preview, then Save.
* Coverage is deliberately narrow: TikTok rotates its generated
* class hashes between builds, so this template sticks to the
* hooks documented below.
*/
:root {
--cs-page: #12101d;
--cs-surface: #1e1930;
--cs-ink: #f6f3ff;
--cs-muted: rgba(246, 243, 255, .62);
--cs-primary: #ff576f;
--cs-secondary: #20d5ec;
--cs-line: rgba(246, 243, 255, .16);
--cs-focus: #ffd166;
--ui-text-1: var(--cs-ink);
--ui-text-1-display: var(--cs-ink);
--ui-text-2: rgba(246, 243, 255, .88);
--ui-text-3: var(--cs-muted);
--ui-text-placeholder: rgba(246, 243, 255, .4);
--ui-text-primary: var(--cs-primary);
--ui-text-primary-display: var(--cs-primary);
--ui-text-secondary: var(--cs-secondary);
--ui-text-secondary-display: var(--cs-secondary);
}
/* 01 · Observed page surfaces: search + Explore mains */
#grid-main,
#main-content-explore_page {
background: var(--cs-page);
color: var(--cs-ink);
}
/* 02 · Topic slider on Explore: surface + chip chrome */
#category-list-container {
background: var(--cs-surface);
border: 1px solid var(--cs-line);
}
/* 03 · Action capsules (like/share buttons): color only, clicks untouched */
.tux-button--capsule___8kVNR_v1_8_0 {
border: 1px solid var(--cs-line);
}
/* 04 · Keyboard focus — keep it clearly visible */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
outline: 3px solid var(--cs-focus) !important;
outline-offset: 2px;
}
/* 05 · Reduced motion */
@media(prefers-reduced-motion: reduce) {
* {
transition: none !important;
animation: none !important;
}
}
Tip: if a rule stops working after a TikTok update, its class hash has rotated — re-check the element in DevTools and update the hash, or drop the rule and let the token layer carry the theme.
How to Use This Template
Install the free CoolStyles extension in your browser.
Open tiktok.com in a tab and keep it active.
Click the CoolStyles icon and open the CSS Editor tab.
Paste the starter template (or a full example below) and give your style a name.
Press Preview to try it live on the page, then Save Style to keep it. Your style is stored in the extension and applied automatically every time you visit tiktok.com.
Selector Reference
Every hook below was observed on a live TikTok page on 2026-10-20 and is listed with the treatment it safely allows. There is no reference CSS for TikTok yet — this map is the whole documented surface.
| Area | Selector | What it styles |
|---|---|---|
| Tokens | --ui-text-1, --ui-text-2, --ui-text-3 |
TikTok's observed text-token ladder: primary, secondary and muted text |
| Tokens | --ui-text-primary, --ui-text-secondary |
Brand/action text colors (the pink and cyan accents) |
| Tokens | --ui-text-placeholder, --ui-text-danger |
Placeholder text and danger/error text |
| Surfaces | #grid-main |
Search page main surface: background and text coverage only |
| Surfaces | #main-content-explore_page |
Explore page main surface: background and text coverage only |
| Surfaces | #category-list-container |
Explore topic slider: surface, border and shadow — keep its scrolling and selection intact |
| Navigation | .css-dznzmc-7937d88b--DivSideNavContainer |
Side navigation container (hash class): surface and border only, and only after live confirmation |
| Tiles | .css-8j3opo-7937d88b--DivContainer |
Video tile container (hash class): background, border, radius and shadow — preserve dimensions, overflow and media rendering |
| Tiles | .css-1ojew0u-7937d88b--SectionMediaCardContainer |
Media-card item (hash class): card chrome only; media dimensions and playback stay untouched |
| Actions | .tux-button--capsule___8kVNR_v1_8_0 |
Article action capsules: background, border, inherited icon/text color, hover and focus |
| Player | .css-bfblgq-7937d88b--BasePlayerContainer |
Video player inner surface: corner radius and edge only — never resize, crop, filter, hide or intercept the player or its controls |
.css-… and .tux-… class above contains a build hash that TikTok can rotate at any deploy — a rule that works today may silently stop matching tomorrow. Never invent rules for unobserved features (player controls, comments, dialogs, profiles): an unmatched guess is harmless, but a half-matched one can break the layout. Do not block or overlay the player.
--ui-text-* tokens, and always use the extension's Preview on the current tiktok.com before saving.
Example Themes Built From This Template
Every theme below was generated from this same documentation — a name, a short description and the observed hook map above. Use them as inspiration for your own palette and mood.
TikTok - Anime Shonen Energy Theme
AnimePower up your TikTok feed with the TikTok - Anime Shonen Energy Theme, a dark action-anime skin for viewers who live for power-up scenes, tournament…
TikTok - Aurora Borealis Theme
NatureChase the northern lights across your TikTok feed with the TikTok - Aurora Borealis Theme, a dark, atmospheric skin inspired by arctic nights and…
TikTok - Christmas Snow Lounge Theme
HolidaySettle into a warm winter lounge with the TikTok - Christmas Snow Lounge Theme, a cozy seasonal skin for holiday scrolling.
TikTok - Cyberpunk Neon District Theme
Sci-FiJack into the night city with the TikTok - Cyberpunk Neon District Theme, a futuristic skin for late-night scrolling.
TikTok - Halloween Haunted Feed Theme
HolidayScroll if you dare with the TikTok - Halloween Haunted Feed Theme, a stylish spooky-season skin in midnight plum and candlelight.
TikTok - Kawaii Café Theme
CuteTake a seat in a pastel corner with the TikTok - Kawaii Café Theme, a soft dessert-café skin inspired by Japanese cafés, stationery and latte art.
TikTok - Lunar New Year Lantern Night Theme
HolidayHang lanterns over your feed with the TikTok - Lunar New Year Lantern Night Theme, a celebratory festival skin in lacquer red and glowing gold.
TikTok - Minecraft Creeper Craft Theme
GamingCraft a survival mood for your feed with the TikTok - Minecraft Creeper Craft Theme, a blocky gaming skin in creeper green and charcoal shadow.
TikTok - Monochrome Editorial Theme
MinimalEdit your feed like a magazine with the TikTok - Monochrome Editorial Theme, a refined black, ivory and silver skin inspired by print editorials.
TikTok - Naruto Hidden Leaf Theme
AnimeReport for your next mission with the TikTok - Naruto Hidden Leaf Theme, a shinobi skin in chakra orange, leaf green and midnight navy.
TikTok - Ocean Twilight Theme
NatureDrift into a calm coastal evening with the TikTok - Ocean Twilight Theme, an immersive seaside skin in deep navy, teal currents and cyan moonlight.
TikTok - One Piece Grand Line Theme
AnimeSet sail across your feed with the TikTok - One Piece Grand Line Theme, a nautical adventure skin in navy, treasure gold, pirate red and sea-glass…
TikTok - Pokémon Trainer Hub Theme
AnimeOpen your trainer dashboard with the TikTok - Pokémon Trainer Hub Theme, a bright adventure skin in adventure blue and electric yellow.
TikTok - Sakura Moonlit Garden Theme
NatureWalk through a moonlit garden with the TikTok - Sakura Moonlit Garden Theme, a calm nightscape skin in moonlit navy, blossom pink and lilac glow.
TikTok - Sonic Blue Blur Theme
GamingBoost through your feed with the TikTok - Sonic Blue Blur Theme, an arcade skin in cobalt blue, cyan, ring gold and magenta sparks.
TikTok - Studio Ghibli Forest Spirit Theme
AnimeStep into an enchanted woodland with the TikTok - Studio Ghibli Forest Spirit Theme, a gentle anime skin in moss green, stream teal, moonlit cream…
TikTok - Sunset Beach Club Theme
NatureGolden hour, all day, with the TikTok - Sunset Beach Club Theme, a relaxed coastal-nightlife skin in ocean blue, coral and warm sunset gold.
TikTok - Super Mario Mushroom Arcade Theme
GamingStart a retro platform adventure with the TikTok - Super Mario Mushroom Arcade Theme, a playful arcade skin in mushroom red, coin gold, sky blue and…
TikTok - Valentine Love Letter Theme
HolidayWrite your feed a love letter with the TikTok - Valentine Love Letter Theme, a romantic evening skin in burgundy, rose pink and soft ivory.
TikTok - Y2K Chrome Pop Theme
RetroRewind to the glossy future with the TikTok - Y2K Chrome Pop Theme, a turn-of-the-millennium skin in chrome silver, bubblegum pink, electric aqua and…
See a complete example — TikTok - Sakura Moonlit Garden Theme (full CSS)
Pure CSS on the observed tokens and hooks — no external images, fonts or scripts, and video playback left completely untouched. Copy it into the CSS Editor as-is, or mine it for techniques.
/* TikTok — Sakura Moonlit Garden | USER_OBSERVED / UNVERIFIED */
:root {
--cs-tiktok-page: #0b1024; --cs-tiktok-nav: #121838; --cs-tiktok-surface: #1b2346; --cs-tiktok-surface-hover: #2a3562; --cs-tiktok-accent: #f59bbb; --cs-tiktok-focus: #c9c5ff; --cs-tiktok-radius: 18px; --cs-tiktok-shadow: 0 15px 34px rgb(0 0 0 / 40%), 0 0 22px rgb(201 197 255 / 8%);
--ui-text-1: #f9f8ff !important; --ui-text-1-display: #ffffff !important; --ui-text-2: #deddf0 !important; --ui-text-3: #b2b0ce !important; --ui-text-danger: #ff8fa8 !important; --ui-text-danger-display: #ff718f !important; --ui-text-info: #c9c5ff !important; --ui-text-info-display: #c9c5ff !important; --ui-text-placeholder: #9391b0 !important; --ui-text-primary: #f59bbb !important; --ui-text-primary-display: #ffb5cd !important; --ui-text-secondary: #c9c5ff !important; --ui-text-secondary-display: #c9c5ff !important; --ui-text-success: #8cdbb1 !important; --ui-text-success-display: #8cdbb1 !important; --ui-text-warning: #f4ce82 !important; --ui-text-warning-display: #ffda92 !important;
}
/* Nav parent and cover share one moonlit-navy color. */
.css-dznzmc-7937d88b--DivSideNavContainer.e14x0w7w1, .css-1t1o5to-7937d88b--DivAnimationCover { background-color: var(--cs-tiktok-nav) !important; }
.css-dznzmc-7937d88b--DivSideNavContainer.e14x0w7w1 { border-right: 0 !important; box-shadow: 14px 0 34px rgb(0 0 0 / 24%); color: var(--ui-text-1) !important; }
.TUXTooltip-reference.css-1r5snri-7937d88b--StyledTUXTooltip.e1o9pl7m1 { border: 0 !important; border-radius: 14px; color: var(--ui-text-1) !important; transition: background-color 160ms ease, box-shadow 160ms ease, color 160ms ease; }
.TUXTooltip-reference.css-1r5snri-7937d88b--StyledTUXTooltip.e1o9pl7m1:hover { background: linear-gradient(100deg, rgb(245 155 187 / 24%), rgb(201 197 255 / 16%)) !important; box-shadow: 0 7px 16px rgb(0 0 0 / 18%); color: var(--ui-text-primary) !important; }
.TUXTooltip-reference.css-1r5snri-7937d88b--StyledTUXTooltip.e1o9pl7m1:focus-visible, .tux-interaction-container__ohUjRG_v1_8_0:focus-visible, .tux-button__rFq4rS_v1_8_0.tux-button--capsule___8kVNR_v1_8_0:focus-visible { outline: 2px solid var(--cs-tiktok-focus); outline-offset: 2px; }
/* Feed, Search and Explore share a moonlit garden canvas. */
.css-acgxju-7937d88b--DivColumnListContainer.e3bfsj60, #grid-main, #main-content-explore_page { background-color: var(--cs-tiktok-page) !important; background-image: radial-gradient(circle at 88% 9%, rgb(201 197 255 / 13%), transparent 25%), radial-gradient(circle at 9% 93%, rgb(245 155 187 / 12%), transparent 31%), linear-gradient(145deg, #0b1024 0%, #121735 60%, #091021 100%) !important; color: var(--ui-text-1) !important; }
#category-list-container { background-color: var(--cs-tiktok-page) !important; background-image: none !important; border-bottom: 0 !important; box-shadow: none !important; }
.tux-interaction-container__ohUjRG_v1_8_0 { background: linear-gradient(135deg, #c575a3 0%, #ec9fbe 50%, #c9c5ff 100%) !important; border: 0 !important; border-radius: 999px; box-shadow: 0 0 17px rgb(245 155 187 / 24%), 0 0 12px rgb(201 197 255 / 16%) !important; color: #111530 !important; text-shadow: none !important; transition: box-shadow 160ms ease; }
.css-147nqk9-7937d88b--DivVideoFeedV2 { display: grid !important; gap: 24px 16px !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
/* Video tile and wrapper share matching rounded blossom frames. */
.css-8j3opo-7937d88b--DivContainer { background: linear-gradient(135deg, rgb(201 197 255 / 13%), transparent 36%), linear-gradient(315deg, rgb(245 155 187 / 13%), transparent 42%), #202953 !important; border: 0 !important; border-radius: 18px !important; box-shadow: 0 14px 31px rgb(0 0 0 / 42%), 0 0 19px rgb(201 197 255 / 9%) !important; transition: box-shadow 160ms ease; }
.css-8j3opo-7937d88b--DivContainer:hover { box-shadow: 0 19px 39px rgb(0 0 0 / 48%), 0 0 25px rgb(245 155 187 / 19%), 0 0 17px rgb(201 197 255 / 14%) !important; }
.css-199xmpd-7937d88b--DivContainer-7937d88b--StyledDivContainerV2 { border-radius: 18px !important; }
.css-1ojew0u-7937d88b--SectionMediaCardContainer.ezfgn9c0 { background: linear-gradient(135deg, rgb(201 197 255 / 9%), transparent 31%), linear-gradient(315deg, rgb(245 155 187 / 9%), transparent 40%), var(--cs-tiktok-surface) !important; border: 0 !important; border-radius: var(--cs-tiktok-radius); box-shadow: var(--cs-tiktok-shadow) !important; color: var(--ui-text-1) !important; }
.css-1ojew0u-7937d88b--SectionMediaCardContainer.ezfgn9c0:hover { box-shadow: 0 17px 38px rgb(0 0 0 / 46%), 0 0 26px rgb(245 155 187 / 14%), 0 0 17px rgb(201 197 255 / 11%) !important; }
.css-bfblgq-7937d88b--BasePlayerContainer-7937d88b--DivVideoPlayerContainer > div { border-bottom-left-radius: 18px !important; border-bottom-right-radius: 18px !important; box-shadow: 0 13px 28px rgb(0 0 0 / 40%), 0 8px 18px rgb(201 197 255 / 8%) !important; }
.tux-button__rFq4rS_v1_8_0.tux-button--capsule___8kVNR_v1_8_0 { background: linear-gradient(135deg, rgb(197 117 163 / 35%), rgb(201 197 255 / 18%)) !important; border: 0 !important; border-radius: 999px; box-shadow: 0 0 12px rgb(245 155 187 / 8%); color: var(--ui-text-1) !important; transition: background-color 160ms ease, box-shadow 160ms ease; }
.tux-button__rFq4rS_v1_8_0.tux-button--capsule___8kVNR_v1_8_0:hover { background: linear-gradient(135deg, rgb(197 117 163 / 48%), rgb(201 197 255 / 31%)) !important; box-shadow: 0 0 19px rgb(245 155 187 / 21%), 0 0 13px rgb(201 197 255 / 15%) !important; }
@media(prefers-reduced-motion: reduce) { .TUXTooltip-reference.css-1r5snri-7937d88b--StyledTUXTooltip.e1o9pl7m1, .tux-interaction-container__ohUjRG_v1_8_0, .css-8j3opo-7937d88b--DivContainer, .tux-button__rFq4rS_v1_8_0.tux-button--capsule___8kVNR_v1_8_0 { transition: none; } }
Theme Quality Rules
-
Define your palette once as CSS variables in
:root— recoloring then takes seconds and stays consistent. -
Never hide essential UI: no
display: noneon navigation, the video player, action buttons or search results. - Keep playback, scrolling, searching and all video controls fully functional — keyboard navigation, Enter and Escape must behave as usual.
- Keep text readable: check the contrast of your text and link colors against your backgrounds.
-
Always style
:focus-visibleso keyboard users can see where they are. -
Respect
prefers-reduced-motionfor transitions and animations. -
Avoid deep
nth-childselector chains — they are the first thing to break when TikTok shuffles its markup. -
Prefer the documented hooks over global rules such as
a { color: ... !important; }, which recolor every link on the page.
Specifications
<div></div>
tiktok.com
Fast Deployment
Ready to use in seconds
DO YOU LIKE CUTE THEMES FOR WEBSITES ?
Choose from 1000+ unique themes and personalize your favourite websites.
Style Added
Failed. Please try again.
Click on the button below to install the extension!