@spectrum-web-components/styles 0.11.2-express.0 → 0.11.2
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 +1 -1
- package/package.json +2 -3
- package/scale-large.css +3 -5148
- package/scale-medium.css +3 -5182
- package/{express/scale-large.css → spectrum-scale-large.css} +40 -28
- package/{express/scale-medium.css → spectrum-scale-medium.css} +37 -29
- package/stories/styles.stories.js +54 -0
- package/stories/styles.stories.js.map +1 -0
- package/typography.css +1 -2
- package/express/core-global.css +0 -2502
- package/express/theme-dark.css +0 -293
- package/express/theme-light.css +0 -288
|
@@ -124,10 +124,22 @@ governing permissions and limitations under the License.
|
|
|
124
124
|
--spectrum-alias-item-mark-size-m: var(
|
|
125
125
|
--spectrum-global-dimension-static-size-325
|
|
126
126
|
);
|
|
127
|
-
--spectrum-alias-control-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
127
|
+
--spectrum-alias-control-two-size-s: var(
|
|
128
|
+
--spectrum-global-dimension-size-160
|
|
129
|
+
);
|
|
130
|
+
--spectrum-alias-control-three-height-s: var(
|
|
131
|
+
--spectrum-global-dimension-size-160
|
|
132
|
+
);
|
|
133
|
+
--spectrum-alias-control-three-width-s: var(
|
|
134
|
+
--spectrum-global-dimension-size-325
|
|
135
|
+
);
|
|
136
|
+
--spectrum-alias-control-three-width-m: var(
|
|
137
|
+
--spectrum-global-dimension-static-size-450
|
|
138
|
+
);
|
|
139
|
+
--spectrum-alias-control-three-width-l: 41px;
|
|
140
|
+
--spectrum-alias-control-three-width-xl: 46px;
|
|
141
|
+
--spectrum-alias-search-padding-left-m: var(
|
|
142
|
+
--spectrum-global-dimension-static-size-150
|
|
131
143
|
);
|
|
132
144
|
--spectrum-alias-focus-ring-radius-default: var(
|
|
133
145
|
--spectrum-global-dimension-static-size-115
|
|
@@ -4967,22 +4979,16 @@ governing permissions and limitations under the License.
|
|
|
4967
4979
|
--spectrum-textarea-xl-touch-hit-y: var(
|
|
4968
4980
|
--spectrum-global-dimension-static-size-50
|
|
4969
4981
|
);
|
|
4970
|
-
--spectrum-textfield-s-quiet-texticon-text-padding-bottom: var(
|
|
4971
|
-
--spectrum-global-dimension-static-size-85
|
|
4972
|
-
);
|
|
4973
|
-
--spectrum-textfield-s-quiet-texticon-placeholder-padding-bottom: var(
|
|
4974
|
-
--spectrum-global-dimension-static-size-85
|
|
4975
|
-
);
|
|
4976
4982
|
--spectrum-textfield-s-quiet-texticon-touch-hit-x: var(
|
|
4977
4983
|
--spectrum-global-dimension-static-size-50
|
|
4978
4984
|
);
|
|
4979
4985
|
--spectrum-textfield-s-quiet-texticon-touch-hit-y: var(
|
|
4980
4986
|
--spectrum-global-dimension-static-size-50
|
|
4981
4987
|
);
|
|
4982
|
-
--spectrum-textfield-s-quiet-
|
|
4988
|
+
--spectrum-textfield-s-quiet-texticon-text-padding-bottom: var(
|
|
4983
4989
|
--spectrum-global-dimension-static-size-85
|
|
4984
4990
|
);
|
|
4985
|
-
--spectrum-textfield-s-quiet-
|
|
4991
|
+
--spectrum-textfield-s-quiet-texticon-placeholder-padding-bottom: var(
|
|
4986
4992
|
--spectrum-global-dimension-static-size-85
|
|
4987
4993
|
);
|
|
4988
4994
|
--spectrum-textfield-s-quiet-textonly-touch-hit-x: var(
|
|
@@ -4991,10 +4997,10 @@ governing permissions and limitations under the License.
|
|
|
4991
4997
|
--spectrum-textfield-s-quiet-textonly-touch-hit-y: var(
|
|
4992
4998
|
--spectrum-global-dimension-static-size-50
|
|
4993
4999
|
);
|
|
4994
|
-
--spectrum-textfield-s-
|
|
5000
|
+
--spectrum-textfield-s-quiet-textonly-text-padding-bottom: var(
|
|
4995
5001
|
--spectrum-global-dimension-static-size-85
|
|
4996
5002
|
);
|
|
4997
|
-
--spectrum-textfield-s-
|
|
5003
|
+
--spectrum-textfield-s-quiet-textonly-placeholder-padding-bottom: var(
|
|
4998
5004
|
--spectrum-global-dimension-static-size-85
|
|
4999
5005
|
);
|
|
5000
5006
|
--spectrum-textfield-s-texticon-touch-hit-x: var(
|
|
@@ -5003,10 +5009,10 @@ governing permissions and limitations under the License.
|
|
|
5003
5009
|
--spectrum-textfield-s-texticon-touch-hit-y: var(
|
|
5004
5010
|
--spectrum-global-dimension-static-size-50
|
|
5005
5011
|
);
|
|
5006
|
-
--spectrum-textfield-s-
|
|
5012
|
+
--spectrum-textfield-s-texticon-text-padding-bottom: var(
|
|
5007
5013
|
--spectrum-global-dimension-static-size-85
|
|
5008
5014
|
);
|
|
5009
|
-
--spectrum-textfield-s-
|
|
5015
|
+
--spectrum-textfield-s-texticon-placeholder-padding-bottom: var(
|
|
5010
5016
|
--spectrum-global-dimension-static-size-85
|
|
5011
5017
|
);
|
|
5012
5018
|
--spectrum-textfield-s-textonly-touch-hit-x: var(
|
|
@@ -5015,6 +5021,12 @@ governing permissions and limitations under the License.
|
|
|
5015
5021
|
--spectrum-textfield-s-textonly-touch-hit-y: var(
|
|
5016
5022
|
--spectrum-global-dimension-static-size-50
|
|
5017
5023
|
);
|
|
5024
|
+
--spectrum-textfield-s-textonly-text-padding-bottom: var(
|
|
5025
|
+
--spectrum-global-dimension-static-size-85
|
|
5026
|
+
);
|
|
5027
|
+
--spectrum-textfield-s-textonly-placeholder-padding-bottom: var(
|
|
5028
|
+
--spectrum-global-dimension-static-size-85
|
|
5029
|
+
);
|
|
5018
5030
|
--spectrum-textfield-m-quiet-texticon-touch-hit-x: var(
|
|
5019
5031
|
--spectrum-global-dimension-static-size-50
|
|
5020
5032
|
);
|
|
@@ -5042,6 +5054,12 @@ governing permissions and limitations under the License.
|
|
|
5042
5054
|
--spectrum-textfield-m-textonly-touch-hit-y: var(
|
|
5043
5055
|
--spectrum-global-dimension-static-size-50
|
|
5044
5056
|
);
|
|
5057
|
+
--spectrum-textfield-l-quiet-texticon-touch-hit-x: var(
|
|
5058
|
+
--spectrum-global-dimension-static-size-50
|
|
5059
|
+
);
|
|
5060
|
+
--spectrum-textfield-l-quiet-texticon-touch-hit-y: var(
|
|
5061
|
+
--spectrum-global-dimension-static-size-50
|
|
5062
|
+
);
|
|
5045
5063
|
--spectrum-textfield-l-quiet-texticon-text-padding-top: var(
|
|
5046
5064
|
--spectrum-global-dimension-static-size-150
|
|
5047
5065
|
);
|
|
@@ -5051,10 +5069,10 @@ governing permissions and limitations under the License.
|
|
|
5051
5069
|
--spectrum-textfield-l-quiet-texticon-icon-size: var(
|
|
5052
5070
|
--spectrum-global-dimension-static-size-300
|
|
5053
5071
|
);
|
|
5054
|
-
--spectrum-textfield-l-quiet-
|
|
5072
|
+
--spectrum-textfield-l-quiet-textonly-touch-hit-x: var(
|
|
5055
5073
|
--spectrum-global-dimension-static-size-50
|
|
5056
5074
|
);
|
|
5057
|
-
--spectrum-textfield-l-quiet-
|
|
5075
|
+
--spectrum-textfield-l-quiet-textonly-touch-hit-y: var(
|
|
5058
5076
|
--spectrum-global-dimension-static-size-50
|
|
5059
5077
|
);
|
|
5060
5078
|
--spectrum-textfield-l-quiet-textonly-text-padding-top: var(
|
|
@@ -5066,10 +5084,10 @@ governing permissions and limitations under the License.
|
|
|
5066
5084
|
--spectrum-textfield-l-quiet-textonly-icon-size: var(
|
|
5067
5085
|
--spectrum-global-dimension-static-size-300
|
|
5068
5086
|
);
|
|
5069
|
-
--spectrum-textfield-l-
|
|
5087
|
+
--spectrum-textfield-l-texticon-touch-hit-x: var(
|
|
5070
5088
|
--spectrum-global-dimension-static-size-50
|
|
5071
5089
|
);
|
|
5072
|
-
--spectrum-textfield-l-
|
|
5090
|
+
--spectrum-textfield-l-texticon-touch-hit-y: var(
|
|
5073
5091
|
--spectrum-global-dimension-static-size-50
|
|
5074
5092
|
);
|
|
5075
5093
|
--spectrum-textfield-l-texticon-text-padding-top: var(
|
|
@@ -5081,10 +5099,10 @@ governing permissions and limitations under the License.
|
|
|
5081
5099
|
--spectrum-textfield-l-texticon-icon-size: var(
|
|
5082
5100
|
--spectrum-global-dimension-static-size-300
|
|
5083
5101
|
);
|
|
5084
|
-
--spectrum-textfield-l-
|
|
5102
|
+
--spectrum-textfield-l-textonly-touch-hit-x: var(
|
|
5085
5103
|
--spectrum-global-dimension-static-size-50
|
|
5086
5104
|
);
|
|
5087
|
-
--spectrum-textfield-l-
|
|
5105
|
+
--spectrum-textfield-l-textonly-touch-hit-y: var(
|
|
5088
5106
|
--spectrum-global-dimension-static-size-50
|
|
5089
5107
|
);
|
|
5090
5108
|
--spectrum-textfield-l-textonly-text-padding-top: var(
|
|
@@ -5096,12 +5114,6 @@ governing permissions and limitations under the License.
|
|
|
5096
5114
|
--spectrum-textfield-l-textonly-icon-size: var(
|
|
5097
5115
|
--spectrum-global-dimension-static-size-300
|
|
5098
5116
|
);
|
|
5099
|
-
--spectrum-textfield-l-textonly-touch-hit-x: var(
|
|
5100
|
-
--spectrum-global-dimension-static-size-50
|
|
5101
|
-
);
|
|
5102
|
-
--spectrum-textfield-l-textonly-touch-hit-y: var(
|
|
5103
|
-
--spectrum-global-dimension-static-size-50
|
|
5104
|
-
);
|
|
5105
5117
|
--spectrum-textfield-xl-quiet-texticon-touch-hit-x: var(
|
|
5106
5118
|
--spectrum-global-dimension-static-size-50
|
|
5107
5119
|
);
|
|
@@ -124,12 +124,20 @@ governing permissions and limitations under the License.
|
|
|
124
124
|
--spectrum-alias-item-mark-size-m: var(
|
|
125
125
|
--spectrum-global-dimension-size-250
|
|
126
126
|
);
|
|
127
|
-
--spectrum-alias-control-
|
|
128
|
-
|
|
129
|
-
--spectrum-global-dimension-static-size-450
|
|
127
|
+
--spectrum-alias-control-two-size-s: var(
|
|
128
|
+
--spectrum-global-dimension-size-150
|
|
130
129
|
);
|
|
131
|
-
--spectrum-alias-control-three-
|
|
132
|
-
--spectrum-global-dimension-
|
|
130
|
+
--spectrum-alias-control-three-height-s: var(
|
|
131
|
+
--spectrum-global-dimension-size-150
|
|
132
|
+
);
|
|
133
|
+
--spectrum-alias-control-three-width-s: 23px;
|
|
134
|
+
--spectrum-alias-control-three-width-m: var(
|
|
135
|
+
--spectrum-global-dimension-static-size-325
|
|
136
|
+
);
|
|
137
|
+
--spectrum-alias-control-three-width-l: 29px;
|
|
138
|
+
--spectrum-alias-control-three-width-xl: 33px;
|
|
139
|
+
--spectrum-alias-search-padding-left-m: var(
|
|
140
|
+
--spectrum-global-dimension-size-125
|
|
133
141
|
);
|
|
134
142
|
--spectrum-alias-focus-ring-radius-default: var(
|
|
135
143
|
--spectrum-global-dimension-static-size-100
|
|
@@ -5005,22 +5013,16 @@ governing permissions and limitations under the License.
|
|
|
5005
5013
|
--spectrum-textarea-xl-touch-hit-y: var(
|
|
5006
5014
|
--spectrum-global-dimension-static-size-100
|
|
5007
5015
|
);
|
|
5008
|
-
--spectrum-textfield-s-quiet-texticon-text-padding-bottom: var(
|
|
5009
|
-
--spectrum-global-dimension-static-size-65
|
|
5010
|
-
);
|
|
5011
|
-
--spectrum-textfield-s-quiet-texticon-placeholder-padding-bottom: var(
|
|
5012
|
-
--spectrum-global-dimension-static-size-65
|
|
5013
|
-
);
|
|
5014
5016
|
--spectrum-textfield-s-quiet-texticon-touch-hit-x: var(
|
|
5015
5017
|
--spectrum-global-dimension-static-size-100
|
|
5016
5018
|
);
|
|
5017
5019
|
--spectrum-textfield-s-quiet-texticon-touch-hit-y: var(
|
|
5018
5020
|
--spectrum-global-dimension-static-size-100
|
|
5019
5021
|
);
|
|
5020
|
-
--spectrum-textfield-s-quiet-
|
|
5022
|
+
--spectrum-textfield-s-quiet-texticon-text-padding-bottom: var(
|
|
5021
5023
|
--spectrum-global-dimension-static-size-65
|
|
5022
5024
|
);
|
|
5023
|
-
--spectrum-textfield-s-quiet-
|
|
5025
|
+
--spectrum-textfield-s-quiet-texticon-placeholder-padding-bottom: var(
|
|
5024
5026
|
--spectrum-global-dimension-static-size-65
|
|
5025
5027
|
);
|
|
5026
5028
|
--spectrum-textfield-s-quiet-textonly-touch-hit-x: var(
|
|
@@ -5029,10 +5031,10 @@ governing permissions and limitations under the License.
|
|
|
5029
5031
|
--spectrum-textfield-s-quiet-textonly-touch-hit-y: var(
|
|
5030
5032
|
--spectrum-global-dimension-static-size-100
|
|
5031
5033
|
);
|
|
5032
|
-
--spectrum-textfield-s-
|
|
5034
|
+
--spectrum-textfield-s-quiet-textonly-text-padding-bottom: var(
|
|
5033
5035
|
--spectrum-global-dimension-static-size-65
|
|
5034
5036
|
);
|
|
5035
|
-
--spectrum-textfield-s-
|
|
5037
|
+
--spectrum-textfield-s-quiet-textonly-placeholder-padding-bottom: var(
|
|
5036
5038
|
--spectrum-global-dimension-static-size-65
|
|
5037
5039
|
);
|
|
5038
5040
|
--spectrum-textfield-s-texticon-touch-hit-x: var(
|
|
@@ -5041,10 +5043,10 @@ governing permissions and limitations under the License.
|
|
|
5041
5043
|
--spectrum-textfield-s-texticon-touch-hit-y: var(
|
|
5042
5044
|
--spectrum-global-dimension-static-size-100
|
|
5043
5045
|
);
|
|
5044
|
-
--spectrum-textfield-s-
|
|
5046
|
+
--spectrum-textfield-s-texticon-text-padding-bottom: var(
|
|
5045
5047
|
--spectrum-global-dimension-static-size-65
|
|
5046
5048
|
);
|
|
5047
|
-
--spectrum-textfield-s-
|
|
5049
|
+
--spectrum-textfield-s-texticon-placeholder-padding-bottom: var(
|
|
5048
5050
|
--spectrum-global-dimension-static-size-65
|
|
5049
5051
|
);
|
|
5050
5052
|
--spectrum-textfield-s-textonly-touch-hit-x: var(
|
|
@@ -5053,6 +5055,12 @@ governing permissions and limitations under the License.
|
|
|
5053
5055
|
--spectrum-textfield-s-textonly-touch-hit-y: var(
|
|
5054
5056
|
--spectrum-global-dimension-static-size-100
|
|
5055
5057
|
);
|
|
5058
|
+
--spectrum-textfield-s-textonly-text-padding-bottom: var(
|
|
5059
|
+
--spectrum-global-dimension-static-size-65
|
|
5060
|
+
);
|
|
5061
|
+
--spectrum-textfield-s-textonly-placeholder-padding-bottom: var(
|
|
5062
|
+
--spectrum-global-dimension-static-size-65
|
|
5063
|
+
);
|
|
5056
5064
|
--spectrum-textfield-m-quiet-texticon-touch-hit-x: var(
|
|
5057
5065
|
--spectrum-global-dimension-static-size-100
|
|
5058
5066
|
);
|
|
@@ -5080,6 +5088,12 @@ governing permissions and limitations under the License.
|
|
|
5080
5088
|
--spectrum-textfield-m-textonly-touch-hit-y: var(
|
|
5081
5089
|
--spectrum-global-dimension-static-size-100
|
|
5082
5090
|
);
|
|
5091
|
+
--spectrum-textfield-l-quiet-texticon-touch-hit-x: var(
|
|
5092
|
+
--spectrum-global-dimension-static-size-100
|
|
5093
|
+
);
|
|
5094
|
+
--spectrum-textfield-l-quiet-texticon-touch-hit-y: var(
|
|
5095
|
+
--spectrum-global-dimension-static-size-100
|
|
5096
|
+
);
|
|
5083
5097
|
--spectrum-textfield-l-quiet-texticon-text-padding-top: var(
|
|
5084
5098
|
--spectrum-global-dimension-size-115
|
|
5085
5099
|
);
|
|
@@ -5089,10 +5103,10 @@ governing permissions and limitations under the License.
|
|
|
5089
5103
|
--spectrum-textfield-l-quiet-texticon-icon-size: var(
|
|
5090
5104
|
--spectrum-global-dimension-static-size-250
|
|
5091
5105
|
);
|
|
5092
|
-
--spectrum-textfield-l-quiet-
|
|
5106
|
+
--spectrum-textfield-l-quiet-textonly-touch-hit-x: var(
|
|
5093
5107
|
--spectrum-global-dimension-static-size-100
|
|
5094
5108
|
);
|
|
5095
|
-
--spectrum-textfield-l-quiet-
|
|
5109
|
+
--spectrum-textfield-l-quiet-textonly-touch-hit-y: var(
|
|
5096
5110
|
--spectrum-global-dimension-static-size-100
|
|
5097
5111
|
);
|
|
5098
5112
|
--spectrum-textfield-l-quiet-textonly-text-padding-top: var(
|
|
@@ -5104,10 +5118,10 @@ governing permissions and limitations under the License.
|
|
|
5104
5118
|
--spectrum-textfield-l-quiet-textonly-icon-size: var(
|
|
5105
5119
|
--spectrum-global-dimension-static-size-250
|
|
5106
5120
|
);
|
|
5107
|
-
--spectrum-textfield-l-
|
|
5121
|
+
--spectrum-textfield-l-texticon-touch-hit-x: var(
|
|
5108
5122
|
--spectrum-global-dimension-static-size-100
|
|
5109
5123
|
);
|
|
5110
|
-
--spectrum-textfield-l-
|
|
5124
|
+
--spectrum-textfield-l-texticon-touch-hit-y: var(
|
|
5111
5125
|
--spectrum-global-dimension-static-size-100
|
|
5112
5126
|
);
|
|
5113
5127
|
--spectrum-textfield-l-texticon-text-padding-top: var(
|
|
@@ -5119,10 +5133,10 @@ governing permissions and limitations under the License.
|
|
|
5119
5133
|
--spectrum-textfield-l-texticon-icon-size: var(
|
|
5120
5134
|
--spectrum-global-dimension-static-size-250
|
|
5121
5135
|
);
|
|
5122
|
-
--spectrum-textfield-l-
|
|
5136
|
+
--spectrum-textfield-l-textonly-touch-hit-x: var(
|
|
5123
5137
|
--spectrum-global-dimension-static-size-100
|
|
5124
5138
|
);
|
|
5125
|
-
--spectrum-textfield-l-
|
|
5139
|
+
--spectrum-textfield-l-textonly-touch-hit-y: var(
|
|
5126
5140
|
--spectrum-global-dimension-static-size-100
|
|
5127
5141
|
);
|
|
5128
5142
|
--spectrum-textfield-l-textonly-text-padding-top: var(
|
|
@@ -5134,12 +5148,6 @@ governing permissions and limitations under the License.
|
|
|
5134
5148
|
--spectrum-textfield-l-textonly-icon-size: var(
|
|
5135
5149
|
--spectrum-global-dimension-static-size-250
|
|
5136
5150
|
);
|
|
5137
|
-
--spectrum-textfield-l-textonly-touch-hit-x: var(
|
|
5138
|
-
--spectrum-global-dimension-static-size-100
|
|
5139
|
-
);
|
|
5140
|
-
--spectrum-textfield-l-textonly-touch-hit-y: var(
|
|
5141
|
-
--spectrum-global-dimension-static-size-100
|
|
5142
|
-
);
|
|
5143
5151
|
--spectrum-textfield-xl-quiet-texticon-touch-hit-x: var(
|
|
5144
5152
|
--spectrum-global-dimension-static-size-100
|
|
5145
5153
|
);
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
import { html } from '@spectrum-web-components/base';
|
|
13
|
+
export default {
|
|
14
|
+
title: 'Styles',
|
|
15
|
+
};
|
|
16
|
+
export const dividers = () => html `
|
|
17
|
+
<style>
|
|
18
|
+
.app-dividers {
|
|
19
|
+
display: grid;
|
|
20
|
+
position: absolute;
|
|
21
|
+
inset: 0;
|
|
22
|
+
grid-template-areas:
|
|
23
|
+
'header header header'
|
|
24
|
+
'toolbar main properties';
|
|
25
|
+
grid-template-columns: 50px 1fr 250px;
|
|
26
|
+
grid-template-rows: 50px 1fr;
|
|
27
|
+
gap: var(--spectrum-global-dimension-dividers);
|
|
28
|
+
background: var(--spectrum-alias-background-color-tertiary);
|
|
29
|
+
}
|
|
30
|
+
header, aside {
|
|
31
|
+
background: var(--spectrum-alias-background-color-secondary);
|
|
32
|
+
}
|
|
33
|
+
header {
|
|
34
|
+
grid-area: header;
|
|
35
|
+
}
|
|
36
|
+
header + aside {
|
|
37
|
+
grid-area: toolbar;
|
|
38
|
+
}
|
|
39
|
+
main {
|
|
40
|
+
grid-area: main;
|
|
41
|
+
background: var(--spectrum-alias-background-color-primary);
|
|
42
|
+
}
|
|
43
|
+
main + aside {
|
|
44
|
+
grid-area: properties;
|
|
45
|
+
}
|
|
46
|
+
</style>
|
|
47
|
+
<div class="app-dividers">
|
|
48
|
+
<header></header>
|
|
49
|
+
<aside></aside>
|
|
50
|
+
<main></main>
|
|
51
|
+
<aside></aside>
|
|
52
|
+
</div>
|
|
53
|
+
`;
|
|
54
|
+
//# sourceMappingURL=styles.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.stories.js","sourceRoot":"","sources":["styles.stories.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,EAAE,IAAI,EAAkB,MAAM,+BAA+B,CAAC;AAErE,eAAe;IACX,KAAK,EAAE,QAAQ;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAmB,EAAE,CAAC,IAAI,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCjD,CAAC","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 { html, TemplateResult } from '@spectrum-web-components/base';\n\nexport default {\n title: 'Styles',\n};\n\nexport const dividers = (): TemplateResult => html`\n <style>\n .app-dividers {\n display: grid;\n position: absolute;\n inset: 0;\n grid-template-areas:\n 'header header header'\n 'toolbar main properties';\n grid-template-columns: 50px 1fr 250px;\n grid-template-rows: 50px 1fr;\n gap: var(--spectrum-global-dimension-dividers);\n background: var(--spectrum-alias-background-color-tertiary);\n }\n header, aside {\n background: var(--spectrum-alias-background-color-secondary);\n }\n header {\n grid-area: header;\n }\n header + aside {\n grid-area: toolbar;\n }\n main {\n grid-area: main;\n background: var(--spectrum-alias-background-color-primary);\n }\n main + aside {\n grid-area: properties;\n }\n </style>\n <div class=\"app-dividers\">\n <header></header>\n <aside></aside>\n <main></main>\n <aside></aside>\n </div>\n`;\n"]}
|
package/typography.css
CHANGED
|
@@ -22,8 +22,7 @@ governing permissions and limitations under the License.
|
|
|
22
22
|
var(--spectrum-global-dimension-font-size-100)
|
|
23
23
|
);
|
|
24
24
|
}
|
|
25
|
-
:
|
|
26
|
-
:host:lang(ar) {
|
|
25
|
+
.spectrum:lang(ar) {
|
|
27
26
|
font-family: var(
|
|
28
27
|
--spectrum-alias-font-family-ar,
|
|
29
28
|
var(--spectrum-global-font-font-family-ar)
|