Verified Template

Instagram

Instagram

Description

Instagram

Instagram Starter Template

A ready-to-paste starting point for your own Instagram theme. It works in two layers: your palette lives in --cs-* tokens and is mapped onto Instagram's --ig-* variables, while a few semantic hooks (main, nav, article, ARIA roles) shape posts and dialogs. Photos and videos are explicitly protected — a theme may frame them, never filter or recolor them.

/*
 * CoolStyles Starter Template — Instagram
 * Two layers: your own --cs-* tokens, mapped onto Instagram's
 * --ig-* variables, plus a few semantic hooks (main, nav, article)
 * for shape. Change the --cs-* colors to make it yours, paste
 * into the CoolStyles CSS Editor on instagram.com, Preview, then
 * Save. Photos and videos are never filtered or recolored.
 */

:root {
  --cs-bg: #14101f;
  --cs-surface: #221a33;
  --cs-raised: #2e2145;
  --cs-ink: #faf5ff;
  --cs-muted: #c9b8d9;
  --cs-accent: #e780ae;
  --cs-link: #9fd8ff;
  --cs-line: #4a3566;
  --cs-focus: #ffd166;

  --ig-primary-background: var(--cs-bg) !important;
  --ig-secondary-background: var(--cs-surface) !important;
  --ig-elevated-background: var(--cs-raised) !important;
  --ig-primary-text: var(--cs-ink) !important;
  --ig-secondary-text: var(--cs-muted) !important;
  --ig-link: var(--cs-link) !important;
  --ig-stroke: var(--cs-line) !important;
  --ig-separator: var(--cs-line) !important;
  --ig-primary-button: var(--cs-accent) !important;
  --ig-primary-button-text: #1d1430 !important;
}

/* 01 · Page canvas */
html,
body {
  background: var(--cs-bg);
  color: var(--cs-ink);
}

/* 02 · Posts: surface and shape — the media itself stays untouched */
main article {
  background: var(--cs-surface);
  border: 1px solid var(--cs-line);
  border-radius: 20px;
}

/* 03 · Navigation, sidebars and dialogs */
nav,
aside {
  background: var(--cs-surface);
  border-color: var(--cs-line);
}

[role="dialog"],
[role="menu"] {
  background: var(--cs-raised);
  color: var(--cs-ink);
  border-radius: 16px;
}

/* 04 · Links and controls */
a {
  color: var(--cs-link);
}

button,
[role="button"] {
  border-radius: 999px;
}

input,
textarea {
  background: var(--cs-surface);
  color: var(--cs-ink);
}

/* 05 · Protect media: photos and videos keep their true colors */
img,
video {
  filter: none !important;
}

/* 06 · Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--cs-line);
  border-radius: 8px;
}

/* 07 · Keyboard focus — keep it clearly visible */
:focus-visible {
  outline: 3px solid var(--cs-focus) !important;
  outline-offset: 2px;
}

/* 08 · Reduced motion */
@media(prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

Tip: change the --cs-* tokens first. Touch the semantic hooks only when you want a different shape — rounder posts, flatter dialogs.

How to Use This Template

1

Install the free CoolStyles extension in your browser.

2

Open instagram.com in a tab and keep it active.

3

Click the CoolStyles icon and open the CSS Editor tab.

4

Paste the starter template (or a full example below) and give your style a name.

5

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 instagram.com.

Scope note: this template targets the Instagram web app (feed, profile, Explore, Reels pages and dialogs). The mobile apps are not affected — web themes apply in the browser only.

Selector Reference

The hooks below are the template-derived map from the project's Instagram selector reference: a token layer first, semantic hooks second, and a legacy class cluster that exists only as a risky fallback.

Area Selector What it styles
Tokens :root, --th-*, --ig-* The token system: your palette tokens mapped onto Instagram's own variables for background, text, links, strokes and buttons
Page html, body Page background and default typography
App roots main, nav, header, aside Main surfaces and navigation — prefer these semantic landmarks over generated classes
Posts main article The preferred modern post/card hook — style the frame, keep the media inside untouched
Overlays [role="dialog"], [role="menu"], [role="listbox"] Dialogs, menus and dropdown surfaces
Controls button, [role="button"], input, textarea Buttons and text fields: radius, surfaces, readable input text and focus rings
Links a Link and hover color — scope it if a section needs different treatment
Media img, video Protected: keep filter: none; never crop, recolor or overlay photos and videos
Scrollbars ::-webkit-scrollbar Browser chrome only — keep the thumb usable and visible
Legacy .lXJWB, ._6FEQj, .PjuAP Source-extracted legacy classes — fallback coverage only; do not extend them with invented class names
Handle with care: the reference template's legacy cluster and any unscoped span, svg or div color overrides restyle far more than intended — icons, badges and media chrome included. Keep overrides scoped to the semantic hooks above, and never put a filter on photos or videos.
Selector freshness: this map is template-derived and has not been live-verified against the current instagram.com, which renames classes frequently. Treat the hooks as documented starting points and always use the extension's Preview — checking Home, a profile, Explore, Reels and a dialog — before saving.

Example Themes Built From This Template

Every theme below was generated from this same documentation — a name, a short description and the token map above. Use them as inspiration for your own palette and mood.

Instagram - Among Us Cosmic Crew Theme

Gaming

Send your Instagram feed on a deep-space mission with the Instagram - Among Us Cosmic Crew Theme, a dark sci-fi reskin inspired by the hit…

Instagram - Christmas Snow Lodge Theme

Holiday

Turn your Instagram feed into a cozy winter retreat with the Instagram - Christmas Snow Lodge Theme.

Instagram - Cyberpunk Neon District Theme

Sci-Fi

Jack into a neon-soaked district with the Instagram - Cyberpunk Neon District Theme, a high-contrast futuristic reskin for night-city scrolling.

Instagram - Dragon Ball Capsule Power Arena Theme

Anime

Power up your feed inside the Instagram - Dragon Ball Capsule Power Arena Theme, a dark anime reskin with capsule-tech blues and explosive orange…

Instagram - Halloween Haunted Night Theme

Holiday

Scroll by candlelight with the Instagram - Halloween Haunted Night Theme, a spooky dark reskin for haunted-season feeds.

Instagram - Lunar New Year Lantern Hall Theme

Holiday

Hang lanterns over your feed with the Instagram - Lunar New Year Lantern Hall Theme, an elegant festive reskin in deep celebration reds and gold.

Instagram - Minecraft Creeper Craft Theme

Gaming

Respawn your feed in a crafted world with the Instagram - Minecraft Creeper Craft Theme, a blocky gaming reskin in grass, stone and creeper greens.

Instagram - Monochrome Editorial Theme

Minimal

Edit your feed down to essentials with the Instagram - Monochrome Editorial Theme, a black-and-white magazine reskin that lets photography carry the…

Instagram - Naruto Hidden Leaf Theme

Anime

Report for duty in the Instagram - Naruto Hidden Leaf Theme, a forest-green anime reskin with headband-orange energy.

Instagram - Ocean Twilight Theme

Nature

Dive into blue hour with the Instagram - Ocean Twilight Theme, a calm deep-sea reskin for unhurried scrolling.

Instagram - One Piece Grand Line Deck Theme

Anime

Chart a course across your feed with the Instagram - One Piece Grand Line Deck Theme, a nautical anime reskin in deep sea blues, pirate red and…

Instagram - Pokémon Trainer Hub Theme

Anime

Start your trainer journey on Instagram with the Instagram - Pokémon Trainer Hub Theme, a bright-eyed anime reskin in Pokédex navy, red and electric…

Instagram - Sakura Moonlit Garden Theme

Nature

Stroll through your feed by moonlight with the Instagram - Sakura Moonlit Garden Theme, a serene night-garden reskin in plum shadow and blossom pink.

Instagram - Sanrio Kawaii Café Theme

Cute

Take a seat in the sweetest corner of Instagram with the Instagram - Sanrio Kawaii Cafe Theme, a soft café reskin in plum, bow pink and cream.

Instagram - Sonic Blue Blur Theme

Gaming

Boost through your feed with the Instagram - Sonic Blue Blur Theme, a high-speed gaming reskin in cobalt blue, ring gold and chili-dog red energy.

Instagram - Squid Game Neon Challenge Theme

TV Show

Enter the arena on Instagram with the Instagram - Squid Game Neon Challenge Theme, a stark neon reskin inspired by the hit survival series.

Instagram - Studio Ghibli Forest Spirit Theme

Anime

Wander into a quiet forest on Instagram with the Instagram - Studio Ghibli Forest Spirit Theme, a gentle anime reskin in moss greens and warm cream…

Instagram - Super Mario Mushroom Arcade Theme

Gaming

Warp into the Mushroom Kingdom on Instagram with the Instagram - Super Mario Mushroom Arcade Theme, a cheerful retro-gaming reskin in deep arcade…

Instagram - Tom & Jerry Cartoon Chase Theme

Cartoon

Start the chase on Instagram with the Instagram - Tom & Jerry Cartoon Chase Theme, a bright classic-cartoon reskin in sky blue and cheese gold.

Instagram - Valentine Love Letter Theme

Holiday

Seal your feed with a kiss using the Instagram - Valentine Love Letter Theme, a romantic reskin in deep wine reds and rose pinks.

See a complete example — Instagram - Sakura Moonlit Garden Theme (full CSS)

Pure CSS on the documented token system and semantic hooks — no external images, fonts or scripts, and photo/video media left untouched. Copy it into the CSS Editor as-is, or mine it for techniques.

/* Instagram — Sakura Moonlit Garden
   TEMPLATE_DERIVED / UNVERIFIED: apply raw CSS only to instagram.com in Stylus.
   Selector coverage is limited to the supplied Instagram template. */

/* ===== 1. DESIGN TOKENS ===== */
:root {
  --th-bg: #171326;
  --th-bg-2: #30234a;
  --th-surface: #2a2140;
  --th-surface-raised: #3b2d57;
  --th-text: #fff8fc;
  --th-muted: #ded0e4;
  --th-accent: #e780ae;
  --th-accent-2: #ffd0e4;
  --th-link: #bde8ff;
  --th-border: #a87eaa;
  --th-font: Georgia, "Palatino Linotype", "Times New Roman", serif;
  --th-font-display: "Trebuchet MS", "Avenir Next", Arial, sans-serif;
  --th-size: 15px;
  --th-weight: 500;
  --th-heading-weight: 800;
  --th-radius-sm: 10px;
  --th-radius-md: 17px;
  --th-radius-lg: 26px;
  --th-radius-pill: 999px;
  --th-border-width: 1px;
  --th-shadow: 0 10px 30px rgba(12, 7, 25, .48), 0 0 0 1px rgba(255, 208, 228, .07);
  --th-shadow-hover: 0 15px 38px rgba(12, 7, 25, .62), 0 0 28px rgba(231, 128, 174, .18);
  --th-glow: 0 0 0 2px rgba(255, 208, 228, .44), 0 0 20px rgba(231, 128, 174, .28);
  --th-speed: 190ms;
  --th-backdrop: radial-gradient(circle at 78% 10%, rgba(255, 224, 242, .20), transparent 21%), radial-gradient(circle at 12% 82%, rgba(187, 158, 229, .18), transparent 34%), linear-gradient(138deg, var(--th-bg), var(--th-bg-2));

  --ig-primary-background: var(--th-bg) !important;
  --ig-secondary-background: var(--th-surface) !important;
  --ig-elevated-background: var(--th-surface-raised) !important;
  --ig-primary-text: var(--th-text) !important;
  --ig-secondary-text: var(--th-muted) !important;
  --ig-link: var(--th-link) !important;
  --ig-stroke: var(--th-border) !important;
  --ig-separator: var(--th-border) !important;
  --ig-primary-button: var(--th-accent) !important;
  --ig-primary-button-hover: var(--th-accent-2) !important;
  --ig-primary-button-text: var(--th-bg) !important;
}

/* ===== 2. PAGE / COLOR SYSTEM ===== */
html, body, .t30g8 {
  background: var(--th-backdrop) fixed !important;
  color: var(--th-text) !important;
  font: var(--th-weight) var(--th-size)/1.6 var(--th-font) !important;
}

body > div#mount_0_0, body > div#react-root, main, nav, header, aside,
[role='navigation'] {
  color: var(--th-text) !important;
  font-family: var(--th-font) !important;
}

nav, aside, [role='navigation'], [role='dialog'], [role='menu'],
[role='listbox'] {
  background-color: var(--th-surface) !important;
  color: var(--th-text) !important;
  border-color: var(--th-border) !important;
}

/* ===== 3. POSTS / CARDS ===== */
.home + #ige_feed, .ige_virtual, .ige_virtual_container, .ige_header {
  background: transparent !important;
}

.lXJWB, ._6FEQj, .PjuAP, ._lz6s, .zGtbP, .KQA-S,
._1MzIy, ._3MPWk, ._8Rm4L, .zMhqu, .iHqQ7, ._22l1,
.drKGC, .nCY9N, .NP414, .JyscU.ePUX4 .UE9AK,
.JyscU.ePUX4 .eo2As, .JyscU ._97aPb.wKWK0,
.mDC51, .GBPOY, .ZL6TI, .Nnq7C > *, .PdwC2,
.fPMEg, .N9abW, .ige_post,
main article {
  background: var(--th-surface) !important;
  color: var(--th-text) !important;
  border: var(--th-border-width) solid var(--th-border) !important;
  border-radius: var(--th-radius-lg) !important;
  box-shadow: var(--th-shadow) !important;
}

main article {
  background-color: var(--th-surface) !important;
  overflow: clip;
}

main article:hover { box-shadow: var(--th-shadow-hover) !important; }

/* ===== 4. TYPOGRAPHY / LINKS ===== */
body, button, input, textarea, select, [role='button'] {
  font-family: var(--th-font) !important;
}

h1, h2, h3, .yUEEX, .nJAzx {
  font-family: var(--th-font-display) !important;
  font-weight: var(--th-heading-weight) !important;
  letter-spacing: .025em;
}

main article, main article p, main article h1, main article h2,
[role='dialog'], [role='dialog'] p, nav, nav a { color: var(--th-text) !important; }

._0PwGv, ._8Scg1, .c-Yi7, .sH9wk, .X7cDz, .Z4IfV,
.sXUSN, .f5Yes, .KV-D4, .Fy4o8, .tc8A9, .g47SY,
h1.rhpdm, .Rebts, ._7cyhW, .FH9sR, .Ypffh,
.yWX7d, ._6auzh, .mnsX5, .DINPA, .HsXaJ { color: var(--th-text) !important; }

a { color: var(--th-link); }
a:hover { color: var(--th-accent-2); }

/* ===== 5. BUTTONS / INPUTS ===== */
button, [role='button'] {
  border-radius: var(--th-radius-md) !important;
  transition: box-shadow var(--th-speed) ease, background-color var(--th-speed) ease, border-color var(--th-speed) ease !important;
}

button:hover, [role='button']:hover { box-shadow: var(--th-glow) !important; }

input:not([type='checkbox']):not([type='radio']), textarea, select, [role='textbox'] {
  background-color: var(--th-surface-raised) !important;
  color: var(--th-text) !important;
  border: var(--th-border-width) solid var(--th-border) !important;
  border-radius: var(--th-radius-md) !important;
}

input::placeholder, textarea::placeholder { color: var(--th-muted) !important; opacity: 1; }

:where(button, a, input, textarea, [role='button']):focus-visible {
  outline: 2px solid var(--th-accent-2) !important;
  outline-offset: 2px;
}

/* ===== 6. MODALS / MEDIA ===== */
[role='dialog'], [role='menu'], [role='listbox'] {
  border-radius: var(--th-radius-lg) !important;
  box-shadow: var(--th-shadow-hover) !important;
}

/* Preserve photo, video, avatar, and playback rendering. */
img, video { filter: none !important; }

/* ===== 7. SCROLLBAR / ACCESSIBILITY ===== */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--th-bg); }
::-webkit-scrollbar-thumb {
  background: var(--th-accent);
  border: 2px solid var(--th-bg);
  border-radius: var(--th-radius-pill);
}
::-webkit-scrollbar-thumb:hover { background: var(--th-accent-2); }

main article .x6s0dn4.xyzq4qe.x78zum5 { border: 0 !important; }
@media(prefers-reduced-motion: reduce) {
  button, [role='button'] { transition: none !important; }
}

/* Live-DOM-informed feed-card refinements: article[data-interactable] is present in supplied markup. */
main article { margin-bottom: 15px !important; padding: 15px 0px !important; }
main article:nth-of-type(3n + 2) { border-radius: var(--th-radius-md) var(--th-radius-lg) var(--th-radius-md) var(--th-radius-lg) !important; }
main article, main article :where(p, h1, h2, h3, h4, h5, h6, a, time, [dir='auto']) { color: var(--th-text) !important; }

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: none on navigation, post media, the composer or any dialog.
  • Keep scrolling, posting, commenting and messaging 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-visible so keyboard users can see where they are.
  • Respect prefers-reduced-motion for transitions and animations.
  • Avoid deep nth-child selector chains — they are the first thing to break when Instagram 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>

instagram.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.

Coolstyles brings together themes, custom cursors, and cool symbols to personalize your browsing experience. New packs and tools are updated frequently to keep your desktop style fresh and fun.
Success

Style Added

Error

Failed. Please try again.