Viewing File: /usr/local/cpanel/base/frontend/meridian/_assets/meridian-shell/index.html

<!doctype html>
<html lang="en" data-theme="light">
  <head>
    <meta charset="utf-8" />
    <title>cPanel - Meridian</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
    <link href="https://cdn.jsdelivr.net/npm/remixicon@4.6.0/fonts/remixicon.css" rel="stylesheet">
    <!-- %CPANEL_PAGE_SCRIPTS% -->
    <script>
      // When make dev-live is used, the placeholder above is replaced by the
      // real window.PAGE <script> blocks fetched from cpsrvd per request.
      // When plain pnpm dev is used, the placeholder is stripped and main.tsx
      // synthesizes a minimal window.PAGE fallback.
      window.CPANEL_MODE = "local";
      // Pre-hydration theme hint: read the server-rendered color mode from
      // window.PAGE.shell.colorMode (set by theme/_assets/react_shell_data.html.tt).
      // localStorage is intentionally not consulted — the server is the source
      // of truth for Personalization preferences (see DUCKS-5767). An explicit
      // 'light'/'dark' preference wins; otherwise ('system' or no saved
      // preference — standalone dev, new user) we follow the OS color scheme,
      // defaulting to light when it cannot be determined (DUCKS-6231).
      try {
        const mode = window.PAGE?.shell?.colorMode;
        const prefersDark =
          window.matchMedia?.('(prefers-color-scheme: dark)').matches;
        const resolvedMode =
          mode === 'light' ? 'light' : mode === 'dark' ? 'dark' : prefersDark ? 'dark' : 'light';
        document.documentElement.dataset.theme = resolvedMode;
      } catch (_e) {
        document.documentElement.dataset.theme = 'light';
      }
    </script>
    <script type="module" crossorigin src="./assets/index.js"></script>
    <link rel="modulepreload" crossorigin href="./assets/rolldown-runtime.js">
    <link rel="modulepreload" crossorigin href="./assets/src.js">
    <link rel="modulepreload" crossorigin href="./assets/src2.js">
    <link rel="stylesheet" crossorigin href="./assets/index.css">
  </head>
  <body>
    <div id="root"></div>
  </body>
</html>
Back to Directory