tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

constants.mjs (682B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
      3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 export const IS_NEWTAB =
      6  globalThis.document && globalThis.document.documentURI === "about:newtab";
      7 export const NEWTAB_DARK_THEME = {
      8  ntp_background: {
      9    r: 42,
     10    g: 42,
     11    b: 46,
     12    a: 1,
     13  },
     14  ntp_card_background: {
     15    r: 66,
     16    g: 65,
     17    b: 77,
     18    a: 1,
     19  },
     20  ntp_text: {
     21    r: 249,
     22    g: 249,
     23    b: 250,
     24    a: 1,
     25  },
     26  sidebar: {
     27    r: 56,
     28    g: 56,
     29    b: 61,
     30    a: 1,
     31  },
     32  sidebar_text: {
     33    r: 249,
     34    g: 249,
     35    b: 250,
     36    a: 1,
     37  },
     38 };