@spectrum-web-components/theme 0.11.3 → 0.12.1-devmode.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/core.dev.js +4 -0
- package/core.dev.js.map +7 -0
- package/core.js +4 -15
- package/core.js.map +7 -1
- package/custom-elements.json +46 -13
- package/express/scale-large.dev.js +5 -0
- package/express/scale-large.dev.js.map +7 -0
- package/express/scale-large.js +5 -16
- package/express/scale-large.js.map +7 -1
- package/express/scale-medium.dev.js +5 -0
- package/express/scale-medium.dev.js.map +7 -0
- package/express/scale-medium.js +5 -16
- package/express/scale-medium.js.map +7 -1
- package/express/theme-dark.dev.js +5 -0
- package/express/theme-dark.dev.js.map +7 -0
- package/express/theme-dark.js +5 -16
- package/express/theme-dark.js.map +7 -1
- package/express/theme-darkest.dev.js +5 -0
- package/express/theme-darkest.dev.js.map +7 -0
- package/express/theme-darkest.js +5 -16
- package/express/theme-darkest.js.map +7 -1
- package/express/theme-light.dev.js +5 -0
- package/express/theme-light.dev.js.map +7 -0
- package/express/theme-light.js +5 -16
- package/express/theme-light.js.map +7 -1
- package/express/theme-lightest.dev.js +5 -0
- package/express/theme-lightest.dev.js.map +7 -0
- package/express/theme-lightest.js +5 -16
- package/express/theme-lightest.js.map +7 -1
- package/package.json +97 -24
- package/scale-large.dev.js +5 -0
- package/scale-large.dev.js.map +7 -0
- package/scale-large.js +5 -16
- package/scale-large.js.map +7 -1
- package/scale-medium.dev.js +5 -0
- package/scale-medium.dev.js.map +7 -0
- package/scale-medium.js +5 -16
- package/scale-medium.js.map +7 -1
- package/sp-theme.dev.js +3 -0
- package/sp-theme.dev.js.map +7 -0
- package/sp-theme.js +3 -14
- package/sp-theme.js.map +7 -1
- package/src/Theme.d.ts +27 -0
- package/src/Theme.dev.js +297 -0
- package/src/Theme.dev.js.map +7 -0
- package/src/Theme.js +275 -313
- package/src/Theme.js.map +7 -1
- package/src/express/core.dev.js +4 -0
- package/src/express/core.dev.js.map +7 -0
- package/src/express/core.js +4 -15
- package/src/express/core.js.map +7 -1
- package/src/express/scale-large.css.dev.js +182 -0
- package/src/express/scale-large.css.dev.js.map +7 -0
- package/src/express/scale-large.css.js +5 -18
- package/src/express/scale-large.css.js.map +7 -1
- package/src/express/scale-medium.css.dev.js +190 -0
- package/src/express/scale-medium.css.dev.js.map +7 -0
- package/src/express/scale-medium.css.js +5 -18
- package/src/express/scale-medium.css.js.map +7 -1
- package/src/express/theme-dark.css.dev.js +56 -0
- package/src/express/theme-dark.css.dev.js.map +7 -0
- package/src/express/theme-dark.css.js +36 -15
- package/src/express/theme-dark.css.js.map +7 -1
- package/src/express/theme-light.css.dev.js +56 -0
- package/src/express/theme-light.css.dev.js.map +7 -0
- package/src/express/theme-light.css.js +36 -15
- package/src/express/theme-light.css.js.map +7 -1
- package/src/express/theme.css.dev.js +1846 -0
- package/src/express/theme.css.dev.js.map +7 -0
- package/src/express/theme.css.js +157 -16
- package/src/express/theme.css.js.map +7 -1
- package/src/express/themes.dev.js +7 -0
- package/src/express/themes.dev.js.map +7 -0
- package/src/express/themes.js +7 -18
- package/src/express/themes.js.map +7 -1
- package/src/index.dev.js +2 -0
- package/src/index.dev.js.map +7 -0
- package/src/index.js +2 -13
- package/src/index.js.map +7 -1
- package/src/scale-large.css.dev.js +190 -0
- package/src/scale-large.css.dev.js.map +7 -0
- package/src/scale-large.css.js +4 -17
- package/src/scale-large.css.js.map +7 -1
- package/src/scale-medium.css.dev.js +192 -0
- package/src/scale-medium.css.dev.js.map +7 -0
- package/src/scale-medium.css.js +4 -17
- package/src/scale-medium.css.js.map +7 -1
- package/src/theme-dark.css.dev.js +58 -0
- package/src/theme-dark.css.dev.js.map +7 -0
- package/src/theme-dark.css.js +36 -15
- package/src/theme-dark.css.js.map +7 -1
- package/src/theme-darkest.css.dev.js +58 -0
- package/src/theme-darkest.css.dev.js.map +7 -0
- package/src/theme-darkest.css.js +36 -15
- package/src/theme-darkest.css.js.map +7 -1
- package/src/theme-light.css.dev.js +58 -0
- package/src/theme-light.css.dev.js.map +7 -0
- package/src/theme-light.css.js +36 -15
- package/src/theme-light.css.js.map +7 -1
- package/src/theme-lightest.css.dev.js +52 -0
- package/src/theme-lightest.css.dev.js.map +7 -0
- package/src/theme-lightest.css.js +36 -15
- package/src/theme-lightest.css.js.map +7 -1
- package/src/theme.css.dev.js +1840 -0
- package/src/theme.css.dev.js.map +7 -0
- package/src/theme.css.js +171 -16
- package/src/theme.css.js.map +7 -1
- package/src/themes.dev.js +7 -0
- package/src/themes.dev.js.map +7 -0
- package/src/themes.js +7 -18
- package/src/themes.js.map +7 -1
- package/src/typography.css.dev.js +946 -0
- package/src/typography.css.dev.js.map +7 -0
- package/src/typography.css.js +3 -14
- package/src/typography.css.js.map +7 -1
- package/stories/theme.stories.js +38 -43
- package/stories/theme.stories.js.map +7 -1
- package/test/theme-lazy.test.js +90 -108
- package/test/theme-lazy.test.js.map +7 -1
- package/test/theme.test-vrt.js +4 -15
- package/test/theme.test-vrt.js.map +7 -1
- package/test/themes.test.js +103 -120
- package/test/themes.test.js.map +7 -1
- package/theme-dark.dev.js +5 -0
- package/theme-dark.dev.js.map +7 -0
- package/theme-dark.js +5 -16
- package/theme-dark.js.map +7 -1
- package/theme-darkest.dev.js +5 -0
- package/theme-darkest.dev.js.map +7 -0
- package/theme-darkest.js +5 -16
- package/theme-darkest.js.map +7 -1
- package/theme-light.dev.js +5 -0
- package/theme-light.dev.js.map +7 -0
- package/theme-light.js +5 -16
- package/theme-light.js.map +7 -1
- package/theme-lightest.dev.js +5 -0
- package/theme-lightest.dev.js.map +7 -0
- package/theme-lightest.js +5 -16
- package/theme-lightest.js.map +7 -1
package/README.md
CHANGED
|
@@ -54,6 +54,23 @@ import '@spectrum-web-components/theme/express/scale-medium.js';
|
|
|
54
54
|
import '@spectrum-web-components/theme/express/scale-large.js';
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
+
## Example
|
|
58
|
+
|
|
59
|
+
An `<sp-theme>` element expects a value for each of its `theme`, `color`, and `scale` attributes to either be provided on the element.
|
|
60
|
+
|
|
61
|
+
```html
|
|
62
|
+
<sp-theme
|
|
63
|
+
theme="spectrum"
|
|
64
|
+
color="light"
|
|
65
|
+
scale="medium"
|
|
66
|
+
style="background-color: var(--spectrum-global-color-gray-100)"
|
|
67
|
+
>
|
|
68
|
+
<sp-button onclick="spAlert(this, 'Themed <sp-button> clicked!')">
|
|
69
|
+
Click me!
|
|
70
|
+
</sp-button>
|
|
71
|
+
</sp-theme>
|
|
72
|
+
```
|
|
73
|
+
|
|
57
74
|
## Quick start
|
|
58
75
|
|
|
59
76
|
```
|
package/core.dev.js
ADDED
package/core.dev.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["core.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport { Theme } from './src/Theme.dev.js'\n\nimport coreStyles from './src/theme.css.js';\n\nTheme.registerThemeFragment('spectrum', 'theme', coreStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AAEA;AAEA,MAAM,sBAAsB,YAAY,SAAS,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/core.js
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import { Theme } from './src/Theme.js';
|
|
13
|
-
import coreStyles from './src/theme.css.js';
|
|
14
|
-
Theme.registerThemeFragment('spectrum', 'theme', coreStyles);
|
|
15
|
-
//# sourceMappingURL=core.js.map
|
|
1
|
+
import { Theme } from "./src/Theme.js";
|
|
2
|
+
import coreStyles from "./src/theme.css.js";
|
|
3
|
+
Theme.registerThemeFragment("spectrum", "theme", coreStyles);
|
|
4
|
+
//# sourceMappingURL=core.js.map
|
package/core.js.map
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["core.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport { Theme } from './src/Theme.js';\n\nimport coreStyles from './src/theme.css.js';\n\nTheme.registerThemeFragment('spectrum', 'theme', coreStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AAEA;AAEA,MAAM,sBAAsB,YAAY,SAAS,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/custom-elements.json
CHANGED
|
@@ -83,8 +83,10 @@
|
|
|
83
83
|
"kind": "field",
|
|
84
84
|
"name": "dir",
|
|
85
85
|
"type": {
|
|
86
|
-
"text": "
|
|
87
|
-
}
|
|
86
|
+
"text": "\"ltr\" | \"rtl\" | \"\""
|
|
87
|
+
},
|
|
88
|
+
"description": "Reading direction of the content scoped to this `sp-theme` element.",
|
|
89
|
+
"attribute": "dir"
|
|
88
90
|
},
|
|
89
91
|
{
|
|
90
92
|
"kind": "field",
|
|
@@ -107,8 +109,10 @@
|
|
|
107
109
|
"kind": "field",
|
|
108
110
|
"name": "theme",
|
|
109
111
|
"type": {
|
|
110
|
-
"text": "
|
|
111
|
-
}
|
|
112
|
+
"text": "\"spectrum\" | \"express\" | \"\""
|
|
113
|
+
},
|
|
114
|
+
"description": "The Spectrum theme that is applied to the content scoped to this `sp-theme` element.\n\nA value is requried.",
|
|
115
|
+
"attribute": "theme"
|
|
112
116
|
},
|
|
113
117
|
{
|
|
114
118
|
"kind": "field",
|
|
@@ -123,8 +127,10 @@
|
|
|
123
127
|
"kind": "field",
|
|
124
128
|
"name": "color",
|
|
125
129
|
"type": {
|
|
126
|
-
"text": "
|
|
127
|
-
}
|
|
130
|
+
"text": "\"lightest\" | \"light\" | \"dark\" | \"darkest\" | \"\""
|
|
131
|
+
},
|
|
132
|
+
"description": "The Spectrum color stops to apply to content scoped by this `sp-theme` element.\n\nA value is requried.",
|
|
133
|
+
"attribute": "color"
|
|
128
134
|
},
|
|
129
135
|
{
|
|
130
136
|
"kind": "field",
|
|
@@ -139,8 +145,10 @@
|
|
|
139
145
|
"kind": "field",
|
|
140
146
|
"name": "scale",
|
|
141
147
|
"type": {
|
|
142
|
-
"text": "
|
|
143
|
-
}
|
|
148
|
+
"text": "\"medium\" | \"large\" | \"\""
|
|
149
|
+
},
|
|
150
|
+
"description": "The Spectrum platform scale to apply to content scoped by this `sp-theme` element.\n\nA value is requried.",
|
|
151
|
+
"attribute": "scale"
|
|
144
152
|
},
|
|
145
153
|
{
|
|
146
154
|
"kind": "field",
|
|
@@ -336,19 +344,44 @@
|
|
|
336
344
|
],
|
|
337
345
|
"attributes": [
|
|
338
346
|
{
|
|
339
|
-
"name": "color"
|
|
347
|
+
"name": "color",
|
|
348
|
+
"type": {
|
|
349
|
+
"text": "\"lightest\" | \"light\" | \"dark\" | \"darkest\" | \"\""
|
|
350
|
+
},
|
|
351
|
+
"description": "The Spectrum color stops to apply to content scoped by this `sp-theme` element.\n\nA value is requried.",
|
|
352
|
+
"fieldName": "color"
|
|
340
353
|
},
|
|
341
354
|
{
|
|
342
|
-
"name": "scale"
|
|
355
|
+
"name": "scale",
|
|
356
|
+
"type": {
|
|
357
|
+
"text": "\"medium\" | \"large\" | \"\""
|
|
358
|
+
},
|
|
359
|
+
"description": "The Spectrum platform scale to apply to content scoped by this `sp-theme` element.\n\nA value is requried.",
|
|
360
|
+
"fieldName": "scale"
|
|
343
361
|
},
|
|
344
362
|
{
|
|
345
|
-
"name": "theme"
|
|
363
|
+
"name": "theme",
|
|
364
|
+
"type": {
|
|
365
|
+
"text": "\"spectrum\" | \"express\" | \"\""
|
|
366
|
+
},
|
|
367
|
+
"description": "The Spectrum theme that is applied to the content scoped to this `sp-theme` element.\n\nA value is requried.",
|
|
368
|
+
"fieldName": "theme"
|
|
346
369
|
},
|
|
347
370
|
{
|
|
348
|
-
"name": "lang"
|
|
371
|
+
"name": "lang",
|
|
372
|
+
"type": {
|
|
373
|
+
"text": "string"
|
|
374
|
+
},
|
|
375
|
+
"description": "The language of the content scoped to this `sp-theme` element, see: <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang\" target=\"_blank\">MDN reference</a>.",
|
|
376
|
+
"default": "\"\""
|
|
349
377
|
},
|
|
350
378
|
{
|
|
351
|
-
"name": "dir"
|
|
379
|
+
"name": "dir",
|
|
380
|
+
"type": {
|
|
381
|
+
"text": "\"ltr\" | \"rtl\" | \"\""
|
|
382
|
+
},
|
|
383
|
+
"description": "Reading direction of the content scoped to this `sp-theme` element.",
|
|
384
|
+
"fieldName": "dir"
|
|
352
385
|
}
|
|
353
386
|
],
|
|
354
387
|
"superclass": {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["scale-large.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport largeStyles from '../src/express/scale-large.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/express/core.dev.js'\n\nTheme.registerThemeFragment('large-express', 'scale', largeStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,iBAAiB,SAAS,WAAW;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/express/scale-large.js
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import largeStyles from '../src/express/scale-large.css.js';
|
|
13
|
-
import { Theme } from '../src/Theme.js';
|
|
14
|
-
import '../src/express/core.js';
|
|
15
|
-
Theme.registerThemeFragment('large-express', 'scale', largeStyles);
|
|
16
|
-
//# sourceMappingURL=scale-large.js.map
|
|
1
|
+
import largeStyles from "../src/express/scale-large.css.js";
|
|
2
|
+
import { Theme } from "../src/Theme.js";
|
|
3
|
+
import "../src/express/core.js";
|
|
4
|
+
Theme.registerThemeFragment("large-express", "scale", largeStyles);
|
|
5
|
+
//# sourceMappingURL=scale-large.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["scale-large.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport largeStyles from '../src/express/scale-large.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/express/core.js';\n\nTheme.registerThemeFragment('large-express', 'scale', largeStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,iBAAiB,SAAS,WAAW;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["scale-medium.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport mediumStyles from '../src/express/scale-medium.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/express/core.dev.js'\n\nTheme.registerThemeFragment('medium-express', 'scale', mediumStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,kBAAkB,SAAS,YAAY;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/express/scale-medium.js
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import mediumStyles from '../src/express/scale-medium.css.js';
|
|
13
|
-
import { Theme } from '../src/Theme.js';
|
|
14
|
-
import '../src/express/core.js';
|
|
15
|
-
Theme.registerThemeFragment('medium-express', 'scale', mediumStyles);
|
|
16
|
-
//# sourceMappingURL=scale-medium.js.map
|
|
1
|
+
import mediumStyles from "../src/express/scale-medium.css.js";
|
|
2
|
+
import { Theme } from "../src/Theme.js";
|
|
3
|
+
import "../src/express/core.js";
|
|
4
|
+
Theme.registerThemeFragment("medium-express", "scale", mediumStyles);
|
|
5
|
+
//# sourceMappingURL=scale-medium.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["scale-medium.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport mediumStyles from '../src/express/scale-medium.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/express/core.js';\n\nTheme.registerThemeFragment('medium-express', 'scale', mediumStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,kBAAkB,SAAS,YAAY;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-dark.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport darkStyles from '../src/express/theme-dark.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/express/core.dev.js'\n\nTheme.registerThemeFragment('dark-express', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,gBAAgB,SAAS,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/express/theme-dark.js
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import darkStyles from '../src/express/theme-dark.css.js';
|
|
13
|
-
import { Theme } from '../src/Theme.js';
|
|
14
|
-
import '../src/express/core.js';
|
|
15
|
-
Theme.registerThemeFragment('dark-express', 'color', darkStyles);
|
|
16
|
-
//# sourceMappingURL=theme-dark.js.map
|
|
1
|
+
import darkStyles from "../src/express/theme-dark.css.js";
|
|
2
|
+
import { Theme } from "../src/Theme.js";
|
|
3
|
+
import "../src/express/core.js";
|
|
4
|
+
Theme.registerThemeFragment("dark-express", "color", darkStyles);
|
|
5
|
+
//# sourceMappingURL=theme-dark.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-dark.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport darkStyles from '../src/express/theme-dark.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/express/core.js';\n\nTheme.registerThemeFragment('dark-express', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,gBAAgB,SAAS,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-darkest.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport darkStyles from '../src/express/theme-dark.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/express/core.dev.js'\n\nTheme.registerThemeFragment('darkest-express', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,mBAAmB,SAAS,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/express/theme-darkest.js
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import darkStyles from '../src/express/theme-dark.css.js';
|
|
13
|
-
import { Theme } from '../src/Theme.js';
|
|
14
|
-
import '../src/express/core.js';
|
|
15
|
-
Theme.registerThemeFragment('darkest-express', 'color', darkStyles);
|
|
16
|
-
//# sourceMappingURL=theme-darkest.js.map
|
|
1
|
+
import darkStyles from "../src/express/theme-dark.css.js";
|
|
2
|
+
import { Theme } from "../src/Theme.js";
|
|
3
|
+
import "../src/express/core.js";
|
|
4
|
+
Theme.registerThemeFragment("darkest-express", "color", darkStyles);
|
|
5
|
+
//# sourceMappingURL=theme-darkest.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-darkest.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport darkStyles from '../src/express/theme-dark.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/express/core.js';\n\nTheme.registerThemeFragment('darkest-express', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,mBAAmB,SAAS,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-light.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport lightStyles from '../src/express/theme-light.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/express/core.dev.js'\n\nTheme.registerThemeFragment('light-express', 'color', lightStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,iBAAiB,SAAS,WAAW;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/express/theme-light.js
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import lightStyles from '../src/express/theme-light.css.js';
|
|
13
|
-
import { Theme } from '../src/Theme.js';
|
|
14
|
-
import '../src/express/core.js';
|
|
15
|
-
Theme.registerThemeFragment('light-express', 'color', lightStyles);
|
|
16
|
-
//# sourceMappingURL=theme-light.js.map
|
|
1
|
+
import lightStyles from "../src/express/theme-light.css.js";
|
|
2
|
+
import { Theme } from "../src/Theme.js";
|
|
3
|
+
import "../src/express/core.js";
|
|
4
|
+
Theme.registerThemeFragment("light-express", "color", lightStyles);
|
|
5
|
+
//# sourceMappingURL=theme-light.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-light.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport lightStyles from '../src/express/theme-light.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/express/core.js';\n\nTheme.registerThemeFragment('light-express', 'color', lightStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,iBAAiB,SAAS,WAAW;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-lightest.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport lightStyles from '../src/express/theme-light.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/express/core.dev.js'\n\nTheme.registerThemeFragment('lightest-express', 'color', lightStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,oBAAoB,SAAS,WAAW;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import lightStyles from '../src/express/theme-light.css.js';
|
|
13
|
-
import { Theme } from '../src/Theme.js';
|
|
14
|
-
import '../src/express/core.js';
|
|
15
|
-
Theme.registerThemeFragment('lightest-express', 'color', lightStyles);
|
|
16
|
-
//# sourceMappingURL=theme-lightest.js.map
|
|
1
|
+
import lightStyles from "../src/express/theme-light.css.js";
|
|
2
|
+
import { Theme } from "../src/Theme.js";
|
|
3
|
+
import "../src/express/core.js";
|
|
4
|
+
Theme.registerThemeFragment("lightest-express", "color", lightStyles);
|
|
5
|
+
//# sourceMappingURL=theme-lightest.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-lightest.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport lightStyles from '../src/express/theme-light.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/express/core.js';\n\nTheme.registerThemeFragment('lightest-express', 'color', lightStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,oBAAoB,SAAS,WAAW;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|