browser/devtools/tilt/tilt-visualizer-style.js

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 /* -*- Mode: javascript, tab-width: 2, indent-tabs-mode: nil, c-basic-offset: 2 -*- */
     2 /* vim: set ts=2 et sw=2 tw=80: */
     3 /* This Source Code Form is subject to the terms of the Mozilla Public
     4  * License, v. 2.0. If a copy of the MPL was not distributed with this
     5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 "use strict";
     8 let {TiltMath} = require("devtools/tilt/tilt-math");
     9 let rgba = TiltMath.hex2rgba;
    11 /**
    12  * Various colors and style settings used throughout Tilt.
    13  */
    14 module.exports = {
    15   canvas: {
    16     background: "linear-gradient(#454545 0%, #000 100%)",
    17   },
    19   nodes: {
    20     highlight: {
    21       defaultFill: rgba("#555"),
    22       defaultStroke: rgba("#000"),
    23       defaultStrokeWeight: 1
    24     },
    26     html: rgba("#8880"),
    27     body: rgba("#fff0"),
    28     h1: rgba("#e667af"),
    29     h2: rgba("#c667af"),
    30     h3: rgba("#a667af"),
    31     h4: rgba("#8667af"),
    32     h5: rgba("#8647af"),
    33     h6: rgba("#8627af"),
    34     div: rgba("#5dc8cd"),
    35     span: rgba("#67e46f"),
    36     table: rgba("#ff0700"),
    37     tr: rgba("#ff4540"),
    38     td: rgba("#ff7673"),
    39     ul: rgba("#4671d5"),
    40     li: rgba("#6c8cd5"),
    41     p: rgba("#aaa"),
    42     a: rgba("#123eab"),
    43     img: rgba("#ffb473"),
    44     iframe: rgba("#85004b")
    45   }
    46 };

mercurial