@spectrum-web-components/styles 0.0.0-20241209155954
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 +124 -0
- package/all-large-dark.css +16 -0
- package/all-large-darkest.css +16 -0
- package/all-large-light.css +16 -0
- package/all-large-lightest.css +16 -0
- package/all-medium-dark.css +16 -0
- package/all-medium-darkest.css +16 -0
- package/all-medium-light.css +16 -0
- package/all-medium-lightest.css +16 -0
- package/body.d.ts +2 -0
- package/body.dev.js +17 -0
- package/body.dev.js.map +7 -0
- package/body.js +8 -0
- package/body.js.map +7 -0
- package/code.d.ts +2 -0
- package/code.dev.js +17 -0
- package/code.dev.js.map +7 -0
- package/code.js +8 -0
- package/code.js.map +7 -0
- package/core-global.css +17 -0
- package/detail.d.ts +2 -0
- package/detail.dev.js +17 -0
- package/detail.dev.js.map +7 -0
- package/detail.js +8 -0
- package/detail.js.map +7 -0
- package/express/core-global.css +17 -0
- package/express/scale-large.css +19 -0
- package/express/scale-medium.css +19 -0
- package/express/spectrum-core-global.css +3245 -0
- package/express/spectrum-scale-large.css +280 -0
- package/express/spectrum-scale-medium.css +282 -0
- package/express/spectrum-theme-dark.css +300 -0
- package/express/spectrum-theme-light.css +300 -0
- package/express/theme-dark.css +18 -0
- package/express/theme-light.css +18 -0
- package/fonts.css +1418 -0
- package/heading.d.ts +2 -0
- package/heading.dev.js +17 -0
- package/heading.dev.js.map +7 -0
- package/heading.js +8 -0
- package/heading.js.map +7 -0
- package/package.json +138 -0
- package/scale-large.css +19 -0
- package/scale-medium.css +19 -0
- package/spectrum-core-global.css +3241 -0
- package/spectrum-scale-large.css +291 -0
- package/spectrum-scale-medium.css +287 -0
- package/spectrum-theme-dark.css +293 -0
- package/spectrum-theme-darkest.css +293 -0
- package/spectrum-theme-light.css +293 -0
- package/spectrum-theme-lightest.css +293 -0
- package/spectrum-two/core-global.css +17 -0
- package/spectrum-two/scale-large.css +19 -0
- package/spectrum-two/scale-medium.css +19 -0
- package/spectrum-two/spectrum-core-global.css +3241 -0
- package/spectrum-two/spectrum-scale-large.css +291 -0
- package/spectrum-two/spectrum-scale-medium.css +287 -0
- package/spectrum-two/spectrum-theme-dark.css +293 -0
- package/spectrum-two/spectrum-theme-light.css +293 -0
- package/spectrum-two/theme-dark.css +18 -0
- package/spectrum-two/theme-light.css +18 -0
- package/spectrum-two/themes.dev.js +6 -0
- package/spectrum-two/themes.dev.js.map +7 -0
- package/spectrum-two/themes.js +2 -0
- package/spectrum-two/themes.js.map +7 -0
- package/src/body-overrides.css +51 -0
- package/src/body-overrides.css.d.ts +2 -0
- package/src/body-overrides.css.dev.js +7 -0
- package/src/body-overrides.css.dev.js.map +7 -0
- package/src/body-overrides.css.js +4 -0
- package/src/body-overrides.css.js.map +7 -0
- package/src/code-overrides.css +39 -0
- package/src/code-overrides.css.d.ts +2 -0
- package/src/code-overrides.css.dev.js +7 -0
- package/src/code-overrides.css.dev.js.map +7 -0
- package/src/code-overrides.css.js +4 -0
- package/src/code-overrides.css.js.map +7 -0
- package/src/detail-overrides.css +38 -0
- package/src/detail-overrides.css.d.ts +2 -0
- package/src/detail-overrides.css.dev.js +7 -0
- package/src/detail-overrides.css.dev.js.map +7 -0
- package/src/detail-overrides.css.js +4 -0
- package/src/detail-overrides.css.js.map +7 -0
- package/src/heading-overrides.css +84 -0
- package/src/heading-overrides.css.d.ts +2 -0
- package/src/heading-overrides.css.dev.js +7 -0
- package/src/heading-overrides.css.dev.js.map +7 -0
- package/src/heading-overrides.css.js +4 -0
- package/src/heading-overrides.css.js.map +7 -0
- package/src/lang-overrides.css +13 -0
- package/src/lang-overrides.css.d.ts +2 -0
- package/src/lang-overrides.css.dev.js +7 -0
- package/src/lang-overrides.css.dev.js.map +7 -0
- package/src/lang-overrides.css.js +4 -0
- package/src/lang-overrides.css.js.map +7 -0
- package/src/spectrum-base.css +26 -0
- package/src/spectrum-base.css.d.ts +2 -0
- package/src/spectrum-base.css.dev.js +7 -0
- package/src/spectrum-base.css.dev.js.map +7 -0
- package/src/spectrum-base.css.js +4 -0
- package/src/spectrum-base.css.js.map +7 -0
- package/src/spectrum-body.css +242 -0
- package/src/spectrum-body.css.d.ts +2 -0
- package/src/spectrum-body.css.dev.js +7 -0
- package/src/spectrum-body.css.dev.js.map +7 -0
- package/src/spectrum-body.css.js +4 -0
- package/src/spectrum-body.css.js.map +7 -0
- package/src/spectrum-code.css +151 -0
- package/src/spectrum-code.css.d.ts +2 -0
- package/src/spectrum-code.css.dev.js +7 -0
- package/src/spectrum-code.css.dev.js.map +7 -0
- package/src/spectrum-code.css.js +4 -0
- package/src/spectrum-code.css.js.map +7 -0
- package/src/spectrum-config.js +59 -0
- package/src/spectrum-detail.css +385 -0
- package/src/spectrum-detail.css.d.ts +2 -0
- package/src/spectrum-detail.css.dev.js +7 -0
- package/src/spectrum-detail.css.dev.js.map +7 -0
- package/src/spectrum-detail.css.js +4 -0
- package/src/spectrum-detail.css.js.map +7 -0
- package/src/spectrum-heading.css +558 -0
- package/src/spectrum-heading.css.d.ts +2 -0
- package/src/spectrum-heading.css.dev.js +7 -0
- package/src/spectrum-heading.css.dev.js.map +7 -0
- package/src/spectrum-heading.css.js +4 -0
- package/src/spectrum-heading.css.js.map +7 -0
- package/src/spectrum-lang.css +519 -0
- package/src/spectrum-lang.css.d.ts +2 -0
- package/src/spectrum-lang.css.dev.js +7 -0
- package/src/spectrum-lang.css.dev.js.map +7 -0
- package/src/spectrum-lang.css.js +4 -0
- package/src/spectrum-lang.css.js.map +7 -0
- package/src/spectrum-typography.css +55 -0
- package/src/spectrum-typography.css.d.ts +2 -0
- package/src/spectrum-typography.css.dev.js +7 -0
- package/src/spectrum-typography.css.dev.js.map +7 -0
- package/src/spectrum-typography.css.js +4 -0
- package/src/spectrum-typography.css.js.map +7 -0
- package/theme-dark.css +18 -0
- package/theme-darkest.css +18 -0
- package/theme-light.css +18 -0
- package/theme-lightest.css +18 -0
- package/tokens/dark-vars.css +499 -0
- package/tokens/darkest-vars.css +499 -0
- package/tokens/express/custom-dark-vars.css +13 -0
- package/tokens/express/custom-darkest-vars.css +13 -0
- package/tokens/express/custom-large-vars.css +11 -0
- package/tokens/express/custom-light-vars.css +15 -0
- package/tokens/express/custom-medium-vars.css +11 -0
- package/tokens/express/custom-vars.css +4 -0
- package/tokens/express/dark-vars.css +14 -0
- package/tokens/express/darkest-vars.css +14 -0
- package/tokens/express/global-vars.css +7288 -0
- package/tokens/express/index.css +225 -0
- package/tokens/express/large-vars.css +69 -0
- package/tokens/express/light-vars.css +16 -0
- package/tokens/express/medium-vars.css +69 -0
- package/tokens/global-vars.css +972 -0
- package/tokens/index.css +4439 -0
- package/tokens/large-vars.css +494 -0
- package/tokens/light-vars.css +499 -0
- package/tokens/medium-vars.css +494 -0
- package/tokens/spectrum/custom-dark-vars.css +92 -0
- package/tokens/spectrum/custom-darkest-vars.css +93 -0
- package/tokens/spectrum/custom-large-vars.css +111 -0
- package/tokens/spectrum/custom-light-vars.css +92 -0
- package/tokens/spectrum/custom-medium-vars.css +112 -0
- package/tokens/spectrum/custom-vars.css +47 -0
- package/tokens/spectrum/dark-vars.css +102 -0
- package/tokens/spectrum/darkest-vars.css +103 -0
- package/tokens/spectrum/global-vars.css +7344 -0
- package/tokens/spectrum/index.css +803 -0
- package/tokens/spectrum/large-vars.css +159 -0
- package/tokens/spectrum/light-vars.css +102 -0
- package/tokens/spectrum/medium-vars.css +160 -0
- package/tokens-v2/dark-vars.css +1031 -0
- package/tokens-v2/global-vars.css +1080 -0
- package/tokens-v2/index.css +4440 -0
- package/tokens-v2/large-vars.css +646 -0
- package/tokens-v2/light-vars.css +1031 -0
- package/tokens-v2/medium-vars.css +648 -0
- package/tokens-v2/spectrum/custom-dark-vars.css +108 -0
- package/tokens-v2/spectrum/custom-darkest-vars.css +109 -0
- package/tokens-v2/spectrum/custom-large-vars.css +120 -0
- package/tokens-v2/spectrum/custom-light-vars.css +108 -0
- package/tokens-v2/spectrum/custom-medium-vars.css +121 -0
- package/tokens-v2/spectrum/custom-vars.css +52 -0
- package/tokens-v2/spectrum/global-vars.css +7232 -0
- package/typography.css +1418 -0
- package/typography.d.ts +2 -0
- package/typography.dev.js +4 -0
- package/typography.dev.js.map +7 -0
- package/typography.js +2 -0
- package/typography.js.map +7 -0
package/README.md
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
## Description
|
|
2
|
+
|
|
3
|
+
Spectrum Web Components are a [`LitElement`](https://lit-element.polymer-project.org)-powered web component library of patterns built on top of the [Spectrum CSS](https://opensource.adobe.com/spectrum-css) specification. Styles for these components are made available (and, in some cases, customizable) via CSS Custom Properties, e.g. `var(--spectrum-black)`. In this package, you will find the CSS Custom Properties that power the various color and size themes defined by Spectrum CSS.
|
|
4
|
+
|
|
5
|
+
The easiest way to consume these values is via the `<sp-theme>` element. However, in some cases, it can be useful to have direct access to the files outlining the CSS Custom Properties, on top of which the rest of the component system is built.
|
|
6
|
+
|
|
7
|
+
### Usage
|
|
8
|
+
|
|
9
|
+
[](https://www.npmjs.com/package/@spectrum-web-components/styles)
|
|
10
|
+
[](https://bundlephobia.com/result?p=@spectrum-web-components/styles)
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
yarn add @spectrum-web-components/styles
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Theme packages
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
@import '@spectrum-web-components/styles/all-medium-darkest.css';
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
This file brings together the global variables and font settings with the "Darkest" color set and "Medium" scale system specification.
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
@import '@spectrum-web-components/styles/all-medium-dark.css';
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
This file brings together the global variables and font settings with the "Dark" color set and "Medium" scale system specification.
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
@import '@spectrum-web-components/styles/all-medium-light.css';
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
This file brings together the global variables and font settings with the "Light" color set and "Medium" scale system specification.
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
@import '@spectrum-web-components/styles/all-medium-lightest.css';
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
This file brings together the global variables and font settings with the "Lightest" color set and "Medium" scale system specification.
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
@import '@spectrum-web-components/styles/all-large-darkest.css';
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
This file brings together the global variables and font settings with the "Darkest" color set and "Large" scale system specification.
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
@import '@spectrum-web-components/styles/all-large-dark.css';
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
This file brings together the global variables and font settings with the "Dark" color set and "Large" scale system specification.
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
@import '@spectrum-web-components/styles/all-large-light.css';
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
This file brings together the global variables and font settings with the "Light" color set and "Large" scale system specification.
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
@import '@spectrum-web-components/styles/all-large-lightest.css';
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
This file brings together the global variables and font settings with the "Lightest" color set and "Large" scale system specification.
|
|
65
|
+
|
|
66
|
+
## Color sets
|
|
67
|
+
|
|
68
|
+
### Darkest
|
|
69
|
+
|
|
70
|
+
```
|
|
71
|
+
@import '@spectrum-web-components/styles/theme-darkest.css';
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
This file provides only the variables needed to power a color palette featuring colors found in the "Darkest" theme.
|
|
75
|
+
|
|
76
|
+
### Dark
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
@import '@spectrum-web-components/styles/theme-dark.css';
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
This file provides only the variables needed to power a color palette featuring colors found in the "Dark" theme.
|
|
83
|
+
|
|
84
|
+
### Light
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
@import '@spectrum-web-components/styles/theme-light.css';
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
This file provides only the variables needed to power a color palette featuring colors found in the "Light" theme.
|
|
91
|
+
|
|
92
|
+
### Lightest
|
|
93
|
+
|
|
94
|
+
```
|
|
95
|
+
@import '@spectrum-web-components/styles/theme-lightest.css';
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
This file provides only the variables needed to power a color palette featuring colors found in the "Lightest" theme.
|
|
99
|
+
|
|
100
|
+
## Scale
|
|
101
|
+
|
|
102
|
+
### Medium
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
@import '@spectrum-web-components/styles/scale-medium.css';
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
This file provides only the variables needed to power the "Medium" scale system specification.
|
|
109
|
+
|
|
110
|
+
### Large
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
@import '@spectrum-web-components/styles/scale-large.css';
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
This file provides only the variables needed to power the "Large" scale system specification.
|
|
117
|
+
|
|
118
|
+
## Typography
|
|
119
|
+
|
|
120
|
+
```
|
|
121
|
+
@import '@spectrum-web-components/styles/typography.css';
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
This file provides a `lit-html` compliant version of the [Spectrum Typography classes](https://opensource.adobe.com/spectrum-css/typography.html).
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
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
|
+
|
|
13
|
+
@import 'core-global.css';
|
|
14
|
+
@import 'typography.css';
|
|
15
|
+
@import 'theme-dark.css';
|
|
16
|
+
@import 'scale-large.css';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
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
|
+
|
|
13
|
+
@import 'core-global.css';
|
|
14
|
+
@import 'typography.css';
|
|
15
|
+
@import 'theme-darkest.css';
|
|
16
|
+
@import 'scale-large.css';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
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
|
+
|
|
13
|
+
@import 'core-global.css';
|
|
14
|
+
@import 'typography.css';
|
|
15
|
+
@import 'theme-light.css';
|
|
16
|
+
@import 'scale-large.css';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
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
|
+
|
|
13
|
+
@import 'core-global.css';
|
|
14
|
+
@import 'typography.css';
|
|
15
|
+
@import 'theme-lightest.css';
|
|
16
|
+
@import 'scale-large.css';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
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
|
+
|
|
13
|
+
@import 'core-global.css';
|
|
14
|
+
@import 'typography.css';
|
|
15
|
+
@import 'theme-dark.css';
|
|
16
|
+
@import 'scale-medium.css';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
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
|
+
|
|
13
|
+
@import 'core-global.css';
|
|
14
|
+
@import 'typography.css';
|
|
15
|
+
@import 'theme-darkest.css';
|
|
16
|
+
@import 'scale-medium.css';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
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
|
+
|
|
13
|
+
@import 'core-global.css';
|
|
14
|
+
@import 'typography.css';
|
|
15
|
+
@import 'theme-light.css';
|
|
16
|
+
@import 'scale-medium.css';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
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
|
+
|
|
13
|
+
@import 'core-global.css';
|
|
14
|
+
@import 'typography.css';
|
|
15
|
+
@import 'theme-lightest.css';
|
|
16
|
+
@import 'scale-medium.css';
|
package/body.d.ts
ADDED
package/body.dev.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import baseStyles from "./src/spectrum-base.css.js";
|
|
3
|
+
import langBaseStyles from "./src/spectrum-lang.css.js";
|
|
4
|
+
import langOverrides from "./src/lang-overrides.css.js";
|
|
5
|
+
import bodyBaseStyles from "./src/spectrum-body.css.js";
|
|
6
|
+
import bodyOverrides from "./src/body-overrides.css.js";
|
|
7
|
+
import { css } from "lit";
|
|
8
|
+
const bodyStyles = css`
|
|
9
|
+
${bodyBaseStyles}
|
|
10
|
+
${bodyOverrides}
|
|
11
|
+
`;
|
|
12
|
+
const langStyles = css`
|
|
13
|
+
${langBaseStyles}
|
|
14
|
+
${langOverrides}
|
|
15
|
+
`;
|
|
16
|
+
export default [baseStyles, langStyles, bodyStyles];
|
|
17
|
+
//# sourceMappingURL=body.dev.js.map
|
package/body.dev.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["body.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 baseStyles from './src/spectrum-base.css.js';\nimport langBaseStyles from './src/spectrum-lang.css.js';\nimport langOverrides from './src/lang-overrides.css.js';\nimport bodyBaseStyles from './src/spectrum-body.css.js';\nimport bodyOverrides from './src/body-overrides.css.js';\n\nimport { css } from 'lit';\n\n// bodyStyles is a combination of bodyBaseStyles and bodyOverrides\nconst bodyStyles = css`\n ${bodyBaseStyles}\n ${bodyOverrides}\n`;\n\n// langStyles is a combination of langBaseStyles and langOverrides\nconst langStyles = css`\n ${langBaseStyles}\n ${langOverrides}\n`;\n\nexport default [baseStyles, langStyles, bodyStyles];\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,gBAAgB;AACvB,OAAO,oBAAoB;AAC3B,OAAO,mBAAmB;AAC1B,OAAO,oBAAoB;AAC3B,OAAO,mBAAmB;AAE1B,SAAS,WAAW;AAGpB,MAAM,aAAa;AAAA,MACb,cAAc;AAAA,MACd,aAAa;AAAA;AAInB,MAAM,aAAa;AAAA,MACb,cAAc;AAAA,MACd,aAAa;AAAA;AAGnB,eAAe,CAAC,YAAY,YAAY,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/body.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";import r from"./src/spectrum-base.css.js";import t from"./src/spectrum-lang.css.js";import e from"./src/lang-overrides.css.js";import s from"./src/spectrum-body.css.js";import m from"./src/body-overrides.css.js";import{css as o}from"lit";const l=o`
|
|
2
|
+
${s}
|
|
3
|
+
${m}
|
|
4
|
+
`,i=o`
|
|
5
|
+
${t}
|
|
6
|
+
${e}
|
|
7
|
+
`;export default[r,i,l];
|
|
8
|
+
//# sourceMappingURL=body.js.map
|
package/body.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["body.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 baseStyles from './src/spectrum-base.css.js';\nimport langBaseStyles from './src/spectrum-lang.css.js';\nimport langOverrides from './src/lang-overrides.css.js';\nimport bodyBaseStyles from './src/spectrum-body.css.js';\nimport bodyOverrides from './src/body-overrides.css.js';\n\nimport { css } from 'lit';\n\n// bodyStyles is a combination of bodyBaseStyles and bodyOverrides\nconst bodyStyles = css`\n ${bodyBaseStyles}\n ${bodyOverrides}\n`;\n\n// langStyles is a combination of langBaseStyles and langOverrides\nconst langStyles = css`\n ${langBaseStyles}\n ${langOverrides}\n`;\n\nexport default [baseStyles, langStyles, bodyStyles];\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAgB,6BACvB,OAAOC,MAAoB,6BAC3B,OAAOC,MAAmB,8BAC1B,OAAOC,MAAoB,6BAC3B,OAAOC,MAAmB,8BAE1B,OAAS,OAAAC,MAAW,MAGpB,MAAMC,EAAaD;AAAA,MACbF,CAAc;AAAA,MACdC,CAAa;AAAA,EAIbG,EAAaF;AAAA,MACbJ,CAAc;AAAA,MACdC,CAAa;AAAA,EAGnB,cAAe,CAACF,EAAYO,EAAYD,CAAU",
|
|
6
|
+
"names": ["baseStyles", "langBaseStyles", "langOverrides", "bodyBaseStyles", "bodyOverrides", "css", "bodyStyles", "langStyles"]
|
|
7
|
+
}
|
package/code.d.ts
ADDED
package/code.dev.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import baseStyles from "./src/spectrum-base.css.js";
|
|
3
|
+
import langBaseStyles from "./src/spectrum-lang.css.js";
|
|
4
|
+
import langOverrides from "./src/lang-overrides.css.js";
|
|
5
|
+
import codeBaseStyles from "./src/spectrum-code.css.js";
|
|
6
|
+
import codeOverrides from "./src/code-overrides.css.js";
|
|
7
|
+
import { css } from "lit";
|
|
8
|
+
const langStyles = css`
|
|
9
|
+
${langBaseStyles}
|
|
10
|
+
${langOverrides}
|
|
11
|
+
`;
|
|
12
|
+
const codeStyles = css`
|
|
13
|
+
${codeBaseStyles}
|
|
14
|
+
${codeOverrides}
|
|
15
|
+
`;
|
|
16
|
+
export default [baseStyles, langStyles, codeStyles];
|
|
17
|
+
//# sourceMappingURL=code.dev.js.map
|
package/code.dev.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["code.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 baseStyles from './src/spectrum-base.css.js';\nimport langBaseStyles from './src/spectrum-lang.css.js';\nimport langOverrides from './src/lang-overrides.css.js';\nimport codeBaseStyles from './src/spectrum-code.css.js';\nimport codeOverrides from './src/code-overrides.css.js';\n\nimport { css } from 'lit';\n\nconst langStyles = css`\n ${langBaseStyles}\n ${langOverrides}\n`;\n\nconst codeStyles = css`\n ${codeBaseStyles}\n ${codeOverrides}\n`;\n\nexport default [baseStyles, langStyles, codeStyles];\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,gBAAgB;AACvB,OAAO,oBAAoB;AAC3B,OAAO,mBAAmB;AAC1B,OAAO,oBAAoB;AAC3B,OAAO,mBAAmB;AAE1B,SAAS,WAAW;AAEpB,MAAM,aAAa;AAAA,MACb,cAAc;AAAA,MACd,aAAa;AAAA;AAGnB,MAAM,aAAa;AAAA,MACb,cAAc;AAAA,MACd,aAAa;AAAA;AAGnB,eAAe,CAAC,YAAY,YAAY,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/code.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";import e from"./src/spectrum-base.css.js";import r from"./src/spectrum-lang.css.js";import t from"./src/lang-overrides.css.js";import s from"./src/spectrum-code.css.js";import m from"./src/code-overrides.css.js";import{css as o}from"lit";const l=o`
|
|
2
|
+
${r}
|
|
3
|
+
${t}
|
|
4
|
+
`,i=o`
|
|
5
|
+
${s}
|
|
6
|
+
${m}
|
|
7
|
+
`;export default[e,l,i];
|
|
8
|
+
//# sourceMappingURL=code.js.map
|
package/code.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["code.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 baseStyles from './src/spectrum-base.css.js';\nimport langBaseStyles from './src/spectrum-lang.css.js';\nimport langOverrides from './src/lang-overrides.css.js';\nimport codeBaseStyles from './src/spectrum-code.css.js';\nimport codeOverrides from './src/code-overrides.css.js';\n\nimport { css } from 'lit';\n\nconst langStyles = css`\n ${langBaseStyles}\n ${langOverrides}\n`;\n\nconst codeStyles = css`\n ${codeBaseStyles}\n ${codeOverrides}\n`;\n\nexport default [baseStyles, langStyles, codeStyles];\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAgB,6BACvB,OAAOC,MAAoB,6BAC3B,OAAOC,MAAmB,8BAC1B,OAAOC,MAAoB,6BAC3B,OAAOC,MAAmB,8BAE1B,OAAS,OAAAC,MAAW,MAEpB,MAAMC,EAAaD;AAAA,MACbJ,CAAc;AAAA,MACdC,CAAa;AAAA,EAGbK,EAAaF;AAAA,MACbF,CAAc;AAAA,MACdC,CAAa;AAAA,EAGnB,cAAe,CAACJ,EAAYM,EAAYC,CAAU",
|
|
6
|
+
"names": ["baseStyles", "langBaseStyles", "langOverrides", "codeBaseStyles", "codeOverrides", "css", "langStyles", "codeStyles"]
|
|
7
|
+
}
|
package/core-global.css
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
7
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
8
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
9
|
+
governing permissions and limitations under the License.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
@import './spectrum-core-global.css';
|
|
13
|
+
|
|
14
|
+
:host,
|
|
15
|
+
:root {
|
|
16
|
+
-webkit-tap-highlight-color: rgb(0 0 0 / 0%);
|
|
17
|
+
}
|
package/detail.d.ts
ADDED
package/detail.dev.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import baseStyles from "./src/spectrum-base.css.js";
|
|
3
|
+
import langBaseStyles from "./src/spectrum-lang.css.js";
|
|
4
|
+
import langOverrides from "./src/lang-overrides.css.js";
|
|
5
|
+
import detailBaseStyles from "./src/spectrum-detail.css.js";
|
|
6
|
+
import detailOverrides from "./src/detail-overrides.css.js";
|
|
7
|
+
import { css } from "lit";
|
|
8
|
+
const langStyles = css`
|
|
9
|
+
${langBaseStyles}
|
|
10
|
+
${langOverrides}
|
|
11
|
+
`;
|
|
12
|
+
const detailStyles = css`
|
|
13
|
+
${detailBaseStyles}
|
|
14
|
+
${detailOverrides}
|
|
15
|
+
`;
|
|
16
|
+
export default [baseStyles, langStyles, detailStyles];
|
|
17
|
+
//# sourceMappingURL=detail.dev.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["detail.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 baseStyles from './src/spectrum-base.css.js';\nimport langBaseStyles from './src/spectrum-lang.css.js';\nimport langOverrides from './src/lang-overrides.css.js';\nimport detailBaseStyles from './src/spectrum-detail.css.js';\nimport detailOverrides from './src/detail-overrides.css.js';\n\nimport { css } from 'lit';\n\nconst langStyles = css`\n ${langBaseStyles}\n ${langOverrides}\n`;\n\nconst detailStyles = css`\n ${detailBaseStyles}\n ${detailOverrides}\n`;\n\nexport default [baseStyles, langStyles, detailStyles];\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,gBAAgB;AACvB,OAAO,oBAAoB;AAC3B,OAAO,mBAAmB;AAC1B,OAAO,sBAAsB;AAC7B,OAAO,qBAAqB;AAE5B,SAAS,WAAW;AAEpB,MAAM,aAAa;AAAA,MACb,cAAc;AAAA,MACd,aAAa;AAAA;AAGnB,MAAM,eAAe;AAAA,MACf,gBAAgB;AAAA,MAChB,eAAe;AAAA;AAGrB,eAAe,CAAC,YAAY,YAAY,YAAY;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/detail.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";import e from"./src/spectrum-base.css.js";import r from"./src/spectrum-lang.css.js";import o from"./src/lang-overrides.css.js";import s from"./src/spectrum-detail.css.js";import l from"./src/detail-overrides.css.js";import{css as t}from"lit";const m=t`
|
|
2
|
+
${r}
|
|
3
|
+
${o}
|
|
4
|
+
`,i=t`
|
|
5
|
+
${s}
|
|
6
|
+
${l}
|
|
7
|
+
`;export default[e,m,i];
|
|
8
|
+
//# sourceMappingURL=detail.js.map
|
package/detail.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["detail.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 baseStyles from './src/spectrum-base.css.js';\nimport langBaseStyles from './src/spectrum-lang.css.js';\nimport langOverrides from './src/lang-overrides.css.js';\nimport detailBaseStyles from './src/spectrum-detail.css.js';\nimport detailOverrides from './src/detail-overrides.css.js';\n\nimport { css } from 'lit';\n\nconst langStyles = css`\n ${langBaseStyles}\n ${langOverrides}\n`;\n\nconst detailStyles = css`\n ${detailBaseStyles}\n ${detailOverrides}\n`;\n\nexport default [baseStyles, langStyles, detailStyles];\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAgB,6BACvB,OAAOC,MAAoB,6BAC3B,OAAOC,MAAmB,8BAC1B,OAAOC,MAAsB,+BAC7B,OAAOC,MAAqB,gCAE5B,OAAS,OAAAC,MAAW,MAEpB,MAAMC,EAAaD;AAAA,MACbJ,CAAc;AAAA,MACdC,CAAa;AAAA,EAGbK,EAAeF;AAAA,MACfF,CAAgB;AAAA,MAChBC,CAAe;AAAA,EAGrB,cAAe,CAACJ,EAAYM,EAAYC,CAAY",
|
|
6
|
+
"names": ["baseStyles", "langBaseStyles", "langOverrides", "detailBaseStyles", "detailOverrides", "css", "langStyles", "detailStyles"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
+
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
Unless required by applicable law or agreed to in writing, software distributed under
|
|
7
|
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
8
|
+
OF ANY KIND, either express or implied. See the License for the specific language
|
|
9
|
+
governing permissions and limitations under the License.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
@import './spectrum-core-global.css';
|
|
13
|
+
|
|
14
|
+
:host,
|
|
15
|
+
:root {
|
|
16
|
+
-webkit-tap-highlight-color: rgb(0 0 0 / 0%);
|
|
17
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
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
|
+
|
|
13
|
+
@import './spectrum-scale-large.css';
|
|
14
|
+
|
|
15
|
+
:host,
|
|
16
|
+
:root {
|
|
17
|
+
--spectrum-global-alias-appframe-border-size: 1px;
|
|
18
|
+
--swc-scale-factor: 1.25;
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
+
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License. You may obtain a copy
|
|
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
|
+
|
|
13
|
+
@import './spectrum-scale-medium.css';
|
|
14
|
+
|
|
15
|
+
:host,
|
|
16
|
+
:root {
|
|
17
|
+
--spectrum-global-alias-appframe-border-size: 2px;
|
|
18
|
+
--swc-scale-factor: 1;
|
|
19
|
+
}
|