2014-06-25 09:12:07 +04:00
|
|
|
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
2011-11-10 14:09:18 +04:00
|
|
|
/* vim: set ts=2 et sw=2 tw=80: */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2011-11-10 14:09:18 +04:00
|
|
|
"use strict";
|
|
|
|
|
2013-04-12 00:59:08 +04:00
|
|
|
let {TiltMath} = require("devtools/tilt/tilt-math");
|
2011-11-10 14:09:18 +04:00
|
|
|
let rgba = TiltMath.hex2rgba;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Various colors and style settings used throughout Tilt.
|
|
|
|
*/
|
2013-04-12 00:59:08 +04:00
|
|
|
module.exports = {
|
2011-11-10 14:09:18 +04:00
|
|
|
canvas: {
|
2013-04-09 02:44:26 +04:00
|
|
|
background: "linear-gradient(#454545 0%, #000 100%)",
|
2011-11-10 14:09:18 +04:00
|
|
|
},
|
|
|
|
|
|
|
|
nodes: {
|
|
|
|
highlight: {
|
|
|
|
defaultFill: rgba("#555"),
|
|
|
|
defaultStroke: rgba("#000"),
|
|
|
|
defaultStrokeWeight: 1
|
|
|
|
},
|
|
|
|
|
|
|
|
html: rgba("#8880"),
|
|
|
|
body: rgba("#fff0"),
|
|
|
|
h1: rgba("#e667af"),
|
|
|
|
h2: rgba("#c667af"),
|
|
|
|
h3: rgba("#a667af"),
|
|
|
|
h4: rgba("#8667af"),
|
|
|
|
h5: rgba("#8647af"),
|
|
|
|
h6: rgba("#8627af"),
|
|
|
|
div: rgba("#5dc8cd"),
|
|
|
|
span: rgba("#67e46f"),
|
|
|
|
table: rgba("#ff0700"),
|
|
|
|
tr: rgba("#ff4540"),
|
|
|
|
td: rgba("#ff7673"),
|
|
|
|
ul: rgba("#4671d5"),
|
|
|
|
li: rgba("#6c8cd5"),
|
|
|
|
p: rgba("#aaa"),
|
|
|
|
a: rgba("#123eab"),
|
|
|
|
img: rgba("#ffb473"),
|
|
|
|
iframe: rgba("#85004b")
|
|
|
|
}
|
|
|
|
};
|