Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Vipul-Gejage/Disney-Hotstar-Clone/llms.txt

Use this file to discover all available pages before exploring further.

The Disney+ Hotstar Clone maintains a consistent dark theme across all three pages — Hotstar.html, login.html, and otp.html. The base background throughout is #0c111b (deep navy), and the primary interactive accent is #1f80e0 (blue). These two values appear repeatedly across Hotstar.css and login.css, making a full palette swap straightforward: locate every instance of each hex code and replace it with your chosen color.

Color Palette Reference

The table below lists every color role, the CSS selector that controls it, and the exact value from the source files.
RoleSelectorValue
Page backgroundbody background#0c111b
Navbar background.navbar background#0c111b
Slide content overlay.slide-content gradient start#030b17
Primary accent (buttons).sub-btn background#1f80e0
Search focus border.search-box:focus border-color#1f80e0
Watchlist alert screen#fullscreen-alert backgroundrgba(0, 0, 0, 0.9)
Alert dialog background.alert-content background#0c111b
Login card background.container background#fff
Login buttonbutton background#095ae5
Login button hoverbutton:hover background#062a99
Card hover overlay.card-body gradient end#192133

Key Color Declarations

The following CSS excerpts show exactly where each color is defined in the source. Every rule is taken directly from Hotstar.css and login.css.
/* Hotstar.css — global background and navbar */
body {
    background: #0c111b;
}
.navbar {
    background: #0c111b;
}

/* Hotstar.css — hero slide overlay gradient */
.slide-content {
    background: linear-gradient(to right, #030b17 80%, #0c111b00);
}

/* Hotstar.css — subscribe button (primary accent) */
.sub-btn {
    background: #1f80e0;
}

/* Hotstar.css — search box focus indicator */
.search-box:focus {
    border-color: #1f80e0;
}

/* Hotstar.css — watchlist alert card background */
.alert-content {
    background: #0c111b;
}

/* Hotstar.css — alert close button (shares primary accent) */
.alert-content button {
    background: #1f80e0;
}

/* Hotstar.css — card hover overlay */
.card-body {
    background: linear-gradient(to bottom, rgba(4,8,15,0), #192133 90%);
}

/* login.css — page background (same navy) */
body {
    background-color: #0c111b;
}

/* login.css — login card surface */
.container {
    background-color: #fff;
}

/* login.css — form button */
button {
    background-color: #095ae5;
}

/* login.css — form button hover state */
button:hover {
    background-color: #062a99;
}

Changing the Primary Accent Color

The blue accent #1f80e0 appears in three places across Hotstar.css:
  1. .sub-btn background — the “Subscribe” button in the navbar
  2. .search-box:focus border-color — the highlighted search field border
  3. .alert-content button background — the “Close” button in the watchlist alert overlay
To replace the accent with, for example, a red tone (#e03030), make the following edits in Hotstar.css:
/* Before */
.sub-btn {
    background: #1f80e0;
}
.search-box:focus {
    border-color: #1f80e0;
}
.alert-content button {
    background: #1f80e0;
}

/* After */
.sub-btn {
    background: #e03030;
}
.search-box:focus {
    border-color: #e03030;
}
.alert-content button {
    background: #e03030;
}
The login page has its own accent defined separately in login.css as #095ae5 (button) and #062a99 (hover). Update both values there as well to keep the two pages visually consistent.

Switching to a Light Theme

The project is built as a dark-first UI, but converting to a light theme requires updating a small set of selectors. At minimum, change these rules in Hotstar.css:
  • body → set background to a light value (e.g., #f4f4f4)
  • .navbar → set background to match the new page background
  • .slide-content → replace the gradient’s dark start color #030b17
  • .pre-btn and .nxt-btn → the gradient overlays reference #0c111b; update both to match the new background
  • .alert-content → set background to a light surface color
Nav link text, card title text, and section titles all use color: #fff — change these to a dark foreground color (e.g., #111) for legibility on a light background. The .name, .des, and .title selectors in Hotstar.css are the relevant targets.
Use your browser’s built-in DevTools (F12 → Elements → Styles panel) to preview color changes live before editing any files. Click a color swatch in the Styles panel to open a color picker, try your new value, and once you’re satisfied, copy the hex code directly into the source CSS file.

Build docs developers (and LLMs) love