Create any themes for facebook
Description
Facebook Starter Template
A ready-to-paste starting point for your own Facebook theme. Instead of chasing Facebook's generated class names, it recolors the app through its own design-variable layer — the same layer the generated themes below use — so the feed, post cards, comments and Messenger surfaces all restyle together in light and dark mode. The public login card is styled through the DOM-verified #login_form anchors. It changes appearance only: posting, commenting and messaging keep working exactly as before.
/*
* CoolStyles Starter Template — Facebook
* Facebook themes recolor the app's own design variables, so one
* variable block restyles the feed, cards, comments and Messenger
* in both light and dark mode. Change the --cs-* colors to make it
* yours, paste into the CoolStyles CSS Editor on facebook.com,
* Preview, then Save. Appearance only — nothing here moves or
* hides any Facebook control.
*/
:root {
--cs-bg: #f6f2ea;
--cs-surface: #fffdf8;
--cs-ink: #33272a;
--cs-muted: #7a6a70;
--cs-accent: #c2437a;
--cs-accent-soft: #f7dbe7;
--cs-line: #e5cfd8;
--cs-focus: #7c6cf0;
}
/* 01 · Feed Facebook's own variables (applies in light + dark shells) */
:root,
.__fb-light-mode,
.__fb-dark-mode {
--primary-text: var(--cs-ink);
--secondary-text: var(--cs-muted);
--primary-icon: var(--cs-accent);
--blue-link: var(--cs-accent);
--card-background: var(--cs-surface);
--card-background-flat: var(--cs-surface);
--comment-background: #fdf3e3;
--comment-footer-background: var(--cs-accent-soft);
--web-wash: var(--cs-bg);
--divider: var(--cs-line);
--primary-button-background: var(--cs-accent);
--primary-deemphasized-button-background: var(--cs-accent-soft);
--messenger-card-background: var(--cs-surface);
}
/* 02 · Page canvas */
body {
background-color: var(--cs-bg);
color: var(--cs-ink);
}
/* 03 · Public login card (DOM-verified anchors) */
#login_form {
background: var(--cs-surface);
border: 2px solid var(--cs-line);
border-radius: 16px;
box-shadow: 0 10px 30px rgba(51, 39, 42, .12);
}
#login_form input[name="email"],
#login_form input[name="pass"] {
border-radius: 10px;
}
/* 04 · Keyboard focus — keep it clearly visible */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible {
outline: 3px solid var(--cs-focus) !important;
outline-offset: 2px;
}
/* 05 · Reduced motion */
@media(prefers-reduced-motion: reduce) {
* { transition: none !important; }
}
Tip: recolor the whole theme from the --cs-* variables in :root — the Facebook variables below them update automatically.
How to Use This Template
Install the free CoolStyles extension in your browser.
Open facebook.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 facebook.com.
Selector Reference
The hooks below come from the project's Facebook selector reference. Only the public-login anchors are verified against the live page; everything else is extracted from a historical reference theme, so the design variables — not class names — are the layer worth building on.
| Area | Selector | What it styles |
|---|---|---|
| Variables | :root, .__fb-light-mode, .__fb-dark-mode |
Facebook's design-variable layer — recolor these and the whole app follows, in both appearance modes |
| Variables | --card-background, --web-wash |
Post/card surfaces and the page wash behind the feed |
| Variables | --primary-text, --secondary-text |
Main and muted text colors across feed, comments and menus |
| Variables | --primary-button-background, --primary-deemphasized-button-background |
Primary and soft action buttons |
| Variables | --comment-background, --messenger-card-background |
Comment threads and Messenger panels |
| Login | #login_form |
Login form container — DOM-verified on the public login page |
| Login | #login_form input[name="email"], #login_form input[name="pass"] |
Email and password fields — DOM-verified |
| Login | #login_form [role="button"][aria-label="Log in"] |
Log-in control — the ARIA label changes with the page language, so scope it to #login_form |
| Page | body:has(#login_form) |
Context anchor that limits page-wide decoration to the login screen |
| Historical | .x… classes, ._… classes |
Generated classes from the old reference theme — deprecated and risky; do not build new themes on them |
Example Themes Built From This Template
Every theme below was generated from this same documentation — a name, a short description and the design-variable layer above. Use them as inspiration for your own palette and mood.
Facebook - Among Us Cosmic Crew Room Theme
GamingTurn Facebook into the control room of a very suspicious spaceship with the Facebook - Among Us Cosmic Crew Room Theme, a dark social-deduction…
Facebook - Chiikawa Tiny Friends Corner Theme
CuteMake Facebook feel like a tiny pastel stationery corner with the Facebook - Chiikawa Tiny Friends Corner Theme, a gentle kawaii reskin inspired by…
Facebook - Dragon Ball Capsule Power Network Theme
AnimePower up your Facebook feed with the Facebook - Dragon Ball Capsule Power Network Theme, an anime reskin that wraps the whole community in Capsule…
Facebook - Halloween Haunted Community Night Theme
HolidayTurn Facebook into a moonlit haunted gathering with the Facebook - Halloween Haunted Community Night Theme, a spooky-night reskin for groups, pages…
Facebook - Kung Fu Panda Dragon Warrior Circle Theme
CartoonBring the calm of a mountain dojo to Facebook with the Facebook - Kung Fu Panda Dragon Warrior Circle Theme, a warm animated-film reskin built on…
Facebook - Labubu Mischief Collector Club Theme
ToysOpen the toy cabinet and let your Facebook community play with the Facebook - Labubu Mischief Collector Club Theme, a moody collector reskin in plum…
Facebook - Lunar New Year Lantern Family Hall Theme
HolidayCelebrate the festival season on Facebook with the Facebook - Lunar New Year Lantern Family Hall Theme, a warm reskin in lantern red, auspicious gold…
Facebook - Minecraft Creeper Craft Community Hub Theme
GamingDig into a blockier Facebook with the Facebook - Minecraft Creeper Craft Community Hub Theme, a dark earthy reskin for gaming communities.
Facebook - Naruto Hidden Leaf Ninja Network Theme
AnimeReport to the Hidden Leaf on Facebook with the Facebook - Naruto Hidden Leaf Ninja Network Theme, an anime reskin that wraps your community in forest…
Facebook - One Piece Grand Line Crew Deck Theme
AnimeSet sail across Facebook with the Facebook - One Piece Grand Line Crew Deck Theme, a pirate-adventure reskin in open-ocean blues.
Facebook - Peppa Pig Sunny Puddles Playground Theme
CartoonBring a sunny playground day to Facebook with the Facebook - Peppa Pig Sunny Puddles Playground Theme, a cheerful cartoon reskin for family-friendly…
Facebook - Pokémon Trainer Timeline Network Theme
AnimeCatch a whole new look for Facebook with the Facebook - Pokémon Trainer Timeline Network Theme, a polished trainer reskin in stadium blues, Poké Ball…
Facebook - Roblox Block Builder Guild Theme
GamingBuild your Facebook community like a well-planned baseplate with the Facebook - Roblox Block Builder Guild Theme, a modular gaming reskin in builder…
Facebook - Sakura Blossom Timeline Garden Theme
NatureLet your Facebook timeline bloom with the Facebook - Sakura Blossom Timeline Garden Theme, a soft floral reskin that turns everyday scrolling into a…
Facebook - Sakura Legacy Template Theme
NaturePreserved as the foundation of the Facebook theme family, the Facebook - Sakura Legacy Template Theme is the original sakura template from which the…
Facebook - Sakura Login Theme
NatureGive the Facebook login page a gentle spring welcome with the Facebook - Sakura Login Theme, a focused blossom reskin for the unauthenticated login…
Facebook - Sanrio Kawaii Friend Cafe Theme
CuteSit down to something sweet on Facebook with the Facebook - Sanrio Kawaii Friend Cafe Theme, a warm pastel reskin styled like a friendly character…
Facebook - Sonic Blue Blur Social Sprint Theme
GamingRace through your Facebook feed at full speed with the Facebook - Sonic Blue Blur Social Sprint Theme, a high-energy gaming reskin built on…
Facebook - Squid Game Neon Challenge Board Theme
TV ShowStep onto the challenge board with the Facebook - Squid Game Neon Challenge Board Theme, a neon-drenched reskin inspired by the hit survival series.
Facebook - Super Mario Mushroom Kingdom Social Arcade Theme
GamingBring Mushroom Kingdom energy to Facebook with the Facebook - Super Mario Mushroom Kingdom Social Arcade Theme, a bright retro-arcade reskin derived…
Facebook - Tom & Jerry Cartoon Chase Feed Theme
CartoonStart the chase on Facebook with the Facebook - Tom & Jerry Cartoon Chase Feed Theme, a playful cartoon reskin in classic kitchen colors.
Facebook - Valentine Love Letter Lounge Theme
HolidayWrite your Facebook community a love letter with the Facebook - Valentine Love Letter Lounge Theme, an elegant romantic reskin in wine, rose and…
See a complete example — Facebook - Sakura Blossom Timeline Garden Theme (full CSS)
Pure CSS built on Facebook's design variables plus the DOM-verified login anchors — no external images, fonts or scripts. Copy it into the CSS Editor as-is, or mine it for techniques.
/*
* Sakura: Blossom Timeline Garden — facebook.com
* No external assets. Logged-in Facebook class hooks are SOURCE_EXTRACTED and
* DEPRECATED_OR_RISKY until checked against the current signed-in page.
*/
:root,
.__fb-light-mode,
.__fb-dark-mode {
--sakura-ink: #513346;
--sakura-rose: #c75e86;
--sakura-petal: #f4b8cd;
--sakura-blush: #ffe7ee;
--sakura-paper: #fffaf2;
--sakura-leaf: #719979;
--sakura-gold: #d99d4b;
--sakura-muted: #745a69;
--sakura-line: #dfa0b8;
--sakura-shadow: #5d3449;
--primary-text: var(--sakura-ink);
--secondary-text: var(--sakura-muted);
--primary-icon: var(--sakura-rose);
--blue-link: #9a4b75;
--card-background: var(--sakura-paper);
--card-background-flat: var(--sakura-paper);
--comment-background: #fff0f3;
--comment-footer-background: #ffe9ee;
--web-wash: #fff5f5;
--divider: var(--sakura-line);
--primary-button-background: var(--sakura-rose);
--primary-deemphasized-button-background: #f5cedb;
--messenger-card-background: var(--sakura-paper);
--always-black: var(--sakura-ink);
--pi: var(--sakura-rose);
--base-cherry: var(--sakura-rose);
--base-lemon: var(--sakura-gold);
--base-lime: var(--sakura-leaf);
--base-seafoam: #7bc7b5;
--base-teal: #4b9b8e;
}
/* Blossom-garden paper with quiet petals made only from gradients. */
html,
body,
._4rtl,
._95kb {
background-color: #fff5f5;
background-image:
radial-gradient(circle at 12% 9%, rgb(244 184 205 / 38%) 0 3px, transparent 3.5px),
radial-gradient(circle at 78% 18%, rgb(244 184 205 / 28%) 0 4px, transparent 4.5px),
radial-gradient(circle at 90% 76%, rgb(113 153 121 / 12%) 0 7px, transparent 7.5px),
linear-gradient(145deg, #fffaf2, #ffe8ef 52%, #f2f5e9);
color: var(--sakura-ink);
font-family: ui-rounded, "Avenir Next", "Trebuchet MS", sans-serif;
}
._6s5d { background-color: transparent; color: var(--sakura-ink); }
/* DOM-verified public-login anchors. */
body:has(#login_form) { background-color: #fff5f5; }
#login_form {
background: linear-gradient(145deg, #fffaf2, #ffe5ed);
border: 2px solid var(--sakura-petal);
border-radius: 13px;
box-shadow: 0 7px 0 rgb(93 52 73 / 24%), inset 0 0 0 1px rgb(255 255 255 / 84%);
color: var(--sakura-ink);
}
#login_form input[name="email"],
#login_form input[name="pass"] {
background: #fffefa;
border: 2px solid #dca1b7;
border-radius: 8px;
color: var(--sakura-ink);
}
#login_form input[name="email"]:focus,
#login_form input[name="pass"]:focus {
border-color: var(--sakura-rose);
box-shadow: 0 0 0 3px rgb(199 94 134 / 24%);
outline: 2px solid transparent;
}
#login_form label[for] { color: var(--sakura-muted); }
#login_form [role="button"][aria-label="Log in"],
body:has(#login_form) [aria-label="Create new account"] {
background: var(--sakura-rose);
border: 2px solid #f7d98b;
border-radius: 999px;
box-shadow: 0 3px 0 #8b3c5d;
color: #fff;
font-weight: 800;
text-shadow: none;
}
#login_form [role="button"][aria-label="Log in"]:hover,
body:has(#login_form) [aria-label="Create new account"]:hover { background: #da7098; }
#login_form [role="button"][aria-label="Log in"]:focus-visible,
body:has(#login_form) [aria-label="Create new account"]:focus-visible,
a:focus-visible { outline: 3px solid var(--sakura-rose); outline-offset: 3px; }
/* SOURCE_EXTRACTED logged-in hooks; current selector compatibility is unverified. */
.xvo6coq, .cddn0xzi, .thodolrn, .xuk3077 {
background: linear-gradient(100deg, #ffe5ed, #f3f5e9);
border-color: var(--sakura-petal);
box-shadow: inset 0 -3px 0 rgb(93 52 73 / 10%);
color: var(--sakura-ink);
}
.b3i9ofy5, .rirtxc74, .x6ikm8r, .xyuz3pd, .oqq733wu, .s13u9afw {
background: linear-gradient(145deg, #fffaf2, #ffeaf0);
border: 1px solid var(--sakura-line);
border-radius: 12px;
box-shadow: 0 4px 0 rgb(93 52 73 / 13%);
color: var(--sakura-ink);
}
._4jy0, .s1i5eluu, .ovq5dppa, .eb3gnj61 {
background: var(--sakura-rose);
border: 2px solid #f7d98b;
border-radius: 999px;
box-shadow: 0 3px 0 #8b3c5d;
color: #fff;
font-family: inherit;
font-weight: 800;
text-shadow: none;
transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
._4jy0:hover, .s1i5eluu:hover, .ovq5dppa:hover, .eb3gnj61:hover {
background: #da7098;
box-shadow: 0 4px 0 #8b3c5d;
transform: translateY(-1px);
}
._4jy0:focus-visible, .s1i5eluu:focus-visible, .ovq5dppa:focus-visible, .eb3gnj61:focus-visible {
outline: 3px solid var(--sakura-rose);
outline-offset: 2px;
}
.ojkyduve, .lrazzd5p, ._95kc, ._8e63, ._8esf, h1, h2, h3, h4, h5, h6 {
color: var(--sakura-ink);
font-family: ui-rounded, "Avenir Next", "Trebuchet MS", sans-serif;
font-weight: 800;
letter-spacing: 0.01em;
}
a { color: #9a4b75; text-decoration-color: rgb(154 75 117 / 50%); }
a:hover { color: var(--sakura-rose); text-decoration-thickness: 2px; }
.s06bi357 { stroke: var(--sakura-petal); }
.aaxa7vy3,
[d="M15 35.8C6.5 34.3 0 26.9 0 18 0 8.1 8.1 0 18 0s18 8.1 18 18c0 8.9-6.5 16.3-15 17.8l-1-.8h-4l-1 .8z"] { fill: var(--sakura-rose); }
@media(prefers-reduced-motion: reduce) {
._4jy0, .s1i5eluu, .ovq5dppa, .eb3gnj61 { 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 the login form, navigation, post controls or any dialog. - Keep posting, commenting, messaging and login 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 Facebook 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>
facebook.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!