1 <link rel="import" href="core-style.html">
12 <core-style id="main">
14 font-family: sans-serif;
22 border: 1px solid {{g.theme.colorOne | cycle(-50)}};
24 background-color: {{g.theme.colorOne}};
25 color: {{g.theme.colorTwo}};
29 border: 1px solid {{g.theme.colorTwo | cycle(50)}};
31 background-color: {{g.theme.colorTwo}};
32 color: {{g.theme.colorOne}};
35 <template repeat="{{item in g.items}}">
36 my-panel:nth-of-type({{item+1}}) {
37 background-color: {{ g.theme.colorThree | cycle(item * -1) }};
42 <core-style id="my-toolbar">
44 border-bottom: 8px solid {{g.theme.colorOne}};
45 color: {{g.theme.colorOne | cycle(100)}};
46 background-color: {{g.theme.colorTwo}};
50 <core-style id="my-panel">
52 box-sizing: border-box;
53 background-color: {{g.theme.colorOne}};
54 border: 8px solid {{g.theme.colorOne | cycle(50)}};
55 color: {{g.theme.colorOne | cycle(-100)}};
58 :host(:nth-of-type(2n + 1)) {
59 background-color: {{g.theme.colorTwo}};
60 border: 8px solid {{g.theme.colorTwo | cycle(-50)}};
61 color: {{g.theme.colorTwo | cycle(100)}}