MCPcopy Create free account
hub / github.com/microsoft/SandDance / load

Function load

packages/sanddance-explorer/src/palettes/diverging.tsx:8–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6let loaded = false;
7
8function load() {
9 schemesJSX['blueorange'] = (
10 <svg viewBox="0,0,1,1" preserveAspectRatio="none">
11 <defs>
12 <linearGradient id="gradient-blueorange">
13 <stop offset="0%" stopColor="rgb(5, 48, 97)"></stop>
14 <stop offset="10%" stopColor="rgb(34, 101, 163)"></stop>
15 <stop offset="20%" stopColor="rgb(75, 148, 196)"></stop>
16 <stop offset="30%" stopColor="rgb(143, 194, 221)"></stop>
17 <stop offset="40%" stopColor="rgb(205, 227, 238)"></stop>
18 <stop offset="50%" stopColor="rgb(242, 240, 235)"></stop>
19 <stop offset="60%" stopColor="rgb(253, 221, 179)"></stop>
20 <stop offset="70%" stopColor="rgb(248, 182, 100)"></stop>
21 <stop offset="80%" stopColor="rgb(221, 132, 31)"></stop>
22 <stop offset="90%" stopColor="rgb(178, 90, 9)"></stop>
23 <stop offset="100%" stopColor="rgb(127, 59, 8)"></stop>
24 </linearGradient>
25 </defs>
26 <rect fill="url(#gradient-blueorange)" x="0" y="0" width="1" height="1"></rect>
27 </svg>
28 );
29 schemesJSX['brownbluegreen'] = (
30 <svg viewBox="0,0,1,1" preserveAspectRatio="none">
31 <defs>
32 <linearGradient id="gradient-brownbluegreen">
33 <stop offset="0%" stopColor="rgb(84, 48, 5)"></stop>
34 <stop offset="10%" stopColor="rgb(139, 84, 15)"></stop>
35 <stop offset="20%" stopColor="rgb(188, 132, 53)"></stop>
36 <stop offset="30%" stopColor="rgb(222, 190, 123)"></stop>
37 <stop offset="40%" stopColor="rgb(242, 228, 192)"></stop>
38 <stop offset="50%" stopColor="rgb(238, 241, 234)"></stop>
39 <stop offset="60%" stopColor="rgb(195, 231, 226)"></stop>
40 <stop offset="70%" stopColor="rgb(127, 201, 191)"></stop>
41 <stop offset="80%" stopColor="rgb(57, 152, 143)"></stop>
42 <stop offset="90%" stopColor="rgb(10, 103, 95)"></stop>
43 <stop offset="100%" stopColor="rgb(0, 60, 48)"></stop>
44 </linearGradient>
45 </defs>
46 <rect fill="url(#gradient-brownbluegreen)" x="0" y="0" width="1" height="1"></rect>
47 </svg>
48 );
49 schemesJSX['purplegreen'] = (
50 <svg viewBox="0,0,1,1" preserveAspectRatio="none">
51 <defs>
52 <linearGradient id="gradient-purplegreen">
53 <stop offset="0%" stopColor="rgb(64, 0, 75)"></stop>
54 <stop offset="10%" stopColor="rgb(115, 47, 128)"></stop>
55 <stop offset="20%" stopColor="rgb(154, 109, 170)"></stop>
56 <stop offset="30%" stopColor="rgb(193, 164, 205)"></stop>
57 <stop offset="40%" stopColor="rgb(228, 210, 230)"></stop>
58 <stop offset="50%" stopColor="rgb(239, 240, 239)"></stop>
59 <stop offset="60%" stopColor="rgb(214, 238, 209)"></stop>
60 <stop offset="70%" stopColor="rgb(162, 215, 158)"></stop>
61 <stop offset="80%" stopColor="rgb(92, 173, 101)"></stop>
62 <stop offset="90%" stopColor="rgb(33, 120, 57)"></stop>
63 <stop offset="100%" stopColor="rgb(0, 68, 27)"></stop>
64 </linearGradient>
65 </defs>

Callers 1

divergingFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected