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.

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

mercurial