feat: Update color palette logic to use CSS custom properties for theme consistency
This commit is contained in:
@@ -179,7 +179,11 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
* 4. Visibility API + IntersectionObserver pause rAF when hidden/off-screen.
|
||||
*/
|
||||
|
||||
/* -- colour palette -------------------------------------------------------- */
|
||||
/* -- colour palette --------------------------------------------------------
|
||||
* These values are intentionally hardcoded dark colours. The datacenter
|
||||
* hero is designed to always depict a physical dark server room and does
|
||||
* NOT adapt to the site's light / dark theme toggle.
|
||||
* ---------------------------------------------------------------------- */
|
||||
const ROOM_TOP = '#020509';
|
||||
const ROOM_BOT = '#030b08';
|
||||
const RACK_SHELL = '#111b2e'; /* outer frame -- dark navy */
|
||||
|
||||
Reference in New Issue
Block a user