amotify 0.0.47 → 0.0.49

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amotify",
3
- "version": "0.0.47",
3
+ "version": "0.0.49",
4
4
  "description": "UI Component for React",
5
5
  "main": "dist/launch.js",
6
6
  "types": "dist/@types.d.ts",
@@ -11,22 +11,22 @@ import { LinkifyText } from './molecules/LinkifyText/parts';
11
11
  const Text = {
12
12
  Title: ( params: amotify.atoms.BoxInput ) => ( <Box
13
13
  fontSize='6.title'
14
- fontWeight='3.bold'
14
+ fontWeight='3.semiBold'
15
15
  { ...params }
16
16
  /> ),
17
17
  SubTitle: ( params: amotify.atoms.BoxInput ) => ( <Box
18
18
  fontSize='5.subTitle'
19
- fontWeight='3.bold'
19
+ fontWeight='3.semiBold'
20
20
  { ...params }
21
21
  /> ),
22
22
  ThirdTitle: ( params: amotify.atoms.BoxInput ) => ( <Box
23
23
  fontSize='4.thirdTitle'
24
- fontWeight='3.bold'
24
+ fontWeight='3.semiBold'
25
25
  { ...params }
26
26
  /> ),
27
27
  Paragraph: ( params: amotify.atoms.BoxInput ) => ( <Box
28
28
  fontSize='3.paragraph'
29
- fontWeight='3.bold'
29
+ fontWeight='3.semiBold'
30
30
  { ...params }
31
31
  /> ),
32
32
  Normal: ( params: amotify.atoms.BoxInput ) => ( <Box
@@ -160,18 +160,33 @@
160
160
  }
161
161
  }
162
162
  &wt {
163
+ &0#{ $DS } {
164
+ font-weight: 100; // thin
165
+ }
163
166
  &1#{ $DS } {
164
- font-weight: lighter;
167
+ font-weight: 300; // light
165
168
  }
166
169
  &2#{ $DS } {
167
- font-weight: normal;
170
+ font-weight: 400; // normal
168
171
  }
169
172
  &3#{ $DS } {
170
- font-weight: bold;
173
+ font-weight: 600; // semi-bold
174
+ }
175
+ &4#{ $DS } {
176
+ font-weight: 700; // bold
177
+ }
178
+ &5#{ $DS } {
179
+ font-weight: 800; // extra-bold
171
180
  }
172
181
  &inherit#{ $DS } {
173
182
  font-weight: inherit;
174
183
  }
184
+ &lighter#{ $DS } {
185
+ font-weight: lighter;
186
+ }
187
+ &bolder#{ $DS } {
188
+ font-weight: bolder;
189
+ }
175
190
  }
176
191
  }
177
192
  &bgc {
@@ -304,29 +319,39 @@
304
319
  0 4px 6px -1px rgba(0, 0, 0, .1),
305
320
  0 2px 4px -2px rgba(0, 0, 0, .1);
306
321
  }
307
- &0#{ $DS } {
308
- box-shadow: 0 0 0 transparent inset, $shadow0;
309
- }
310
- &1#{ $DS } {
311
- box-shadow: 0 0 0 transparent inset, $shadow1;
312
- }
313
- &2#{ $DS } {
314
- box-shadow: 0 0 0 transparent inset, $shadow2;
315
- }
316
- &3#{ $DS } {
317
- box-shadow: 0 0 0 transparent inset, $shadow3;
318
- }
319
- &4#{ $DS } {
320
- box-shadow: 0 0 0 transparent inset, $shadow4;
321
- }
322
- &-1#{ $DS } {
323
- box-shadow: 0 0 2px 0px rgba($shadow-color, .25) inset, 0 0 0 transparent;
324
- }
325
- &-2#{ $DS } {
326
- box-shadow: 0 0 3px 0px rgba($shadow-color, .25) inset, 0 0 0 transparent;
327
- }
328
- &-3#{ $DS } {
329
- box-shadow: 0 0 4px 0px rgba($shadow-color, .25) inset, 0 0 0 transparent;
322
+
323
+ $typeArr : thin, normal, remark, thick, most;
324
+ @each $t in $typeArr {
325
+ &3-#{ $t }-inset {
326
+ box-shadow: (--shadow_style_3) var(--shadow_color_#{ $t }) inset, 0 0 0 transparent;
327
+ }
328
+ &2-#{ $t }-inset {
329
+ box-shadow: (--shadow_style_2) var(--shadow_color_#{ $t }) inset, 0 0 0 transparent;
330
+ }
331
+ &1-#{ $t }-inset {
332
+ box-shadow: (--shadow_style_1) var(--shadow_color_#{ $t }) inset, 0 0 0 transparent;
333
+ }
334
+ &0-#{ $t }-inset {
335
+ box-shadow: (--shadow_style_0) var(--shadow_color_#{ $t }) inset, 0 0 0 transparent;
336
+ }
337
+ &0-#{ $t } {
338
+ box-shadow: 0 0 0 transparent inset,(--shadow_style_0) var(--shadow_color_#{ $t });
339
+ }
340
+ &1-#{ $t } {
341
+ box-shadow: 0 0 0 transparent inset,(--shadow_style_1) var(--shadow_color_#{ $t });
342
+ }
343
+ &2-#{ $t } {
344
+ box-shadow: 0 0 0 transparent inset,(--shadow_style_2) var(--shadow_color_#{ $t });
345
+ }
346
+ &3-#{ $t } {
347
+ box-shadow: 0 0 0 transparent inset,(--shadow_style_3) var(--shadow_color_#{ $t });
348
+ }
349
+ &4-#{ $t } {
350
+ box-shadow: 0 0 0 transparent inset,(--shadow_style_4) var(--shadow_color_#{ $t });
351
+ }
352
+ &5-#{ $t } {
353
+ box-shadow: 0 0 0 transparent inset,(--shadow_style_5) var(--shadow_color_#{ $t });
354
+ }
330
355
  }
331
356
  }
332
357
  & {
@@ -945,6 +970,9 @@
945
970
  &trans#{ $DS } {
946
971
  opacity: 0;
947
972
  }
973
+ &few#{ $DS } {
974
+ opacity: .15;
975
+ }
948
976
  &low#{ $DS } {
949
977
  opacity: .3;
950
978
  }
@@ -45,26 +45,19 @@ html {
45
45
  word-break: normal;
46
46
  color: $font-color2;
47
47
  font-size: $font-size2;
48
- font-family:
49
- Noto Sans,
50
- Noto Sans JP,
51
- -apple-system,
52
- BlinkMacSystemFont,
53
- Segoe UI,
54
- Helvetica,
55
- Arial,
56
- sans-serif;
57
48
 
58
- font-family:
59
- -apple-system,
60
- BlinkMacSystemFont,
61
- Segoe UI,
62
- Helvetica,
63
- Arial,
64
- Noto Sans JP,
65
- sans-serif,
66
- "Apple Color Emoji",
67
- "Segoe UI Emoji";
49
+ font-family:
50
+ -apple-system,
51
+ BlinkMacSystemFont,
52
+ "Segoe UI",
53
+ "Roboto",
54
+ "Helvetica Neue",
55
+ "Ubuntu",
56
+ "Hiragino Sans",
57
+ "Yu Gothic UI",
58
+ "Meiryo UI",
59
+ "Hiragino Kaku Gothic ProN"
60
+ ;
68
61
  font-kerning: normal;
69
62
  // -webkit-font-smoothing: antialiased;
70
63
  caret-color: $color-theme;
@@ -67,11 +67,12 @@ $font-size7 : var(--font-size7);
67
67
  $font-size8 : var(--font-size8);
68
68
  //
69
69
  $shadow-color : var(--sc);
70
- $shadow0 : 0px 1px 2px 0px rgba(var(--sc), .05);
71
- $shadow1 : 0px 1px 2px 0px rgba(var(--sc), .3);
72
- $shadow2 : 0px 2px 4px 0px rgba(var(--sc), .25);
73
- $shadow3 : 1px 6px 12px rgba(var(--sc), .2);
74
- $shadow4 : 1rem 1.5rem 3rem rgba(var(--sc), .21);
70
+ $shadow0 : 0 0 0 transparent inset,(--shadow_style_0) var(--shadow_color_thin);
71
+ $shadow1 : 0 0 0 transparent inset,(--shadow_style_0) var(--shadow_color_normal);
72
+ $shadow2 : 0 0 0 transparent inset,(--shadow_style_1) var(--shadow_color_remark);
73
+ $shadow3 : 0 0 0 transparent inset,(--shadow_style_3) var(--shadow_color_remark);
74
+ $shadow4 : 0 0 0 transparent inset,(--shadow_style_4) var(--shadow_color_remark);
75
+
75
76
  $animation-time-short : var(--animation-time1);
76
77
  $animation-time-middle : var(--animation-time2);
77
78
  $animation-time-long : var(--animation-time3);
@@ -43,7 +43,24 @@
43
43
  --color-monoPrime-rgb: 0, 0, 0;
44
44
  --color-monoSecond-rgb: 255, 255, 255;
45
45
  --font-color-logoTitle: hsl(218, 45%, 22%);
46
+
47
+ /* shadow */
46
48
  --sc: 60, 64, 67;
49
+ --shadow_style_0: 0px 1px 2px 0px;
50
+ --shadow_style_1: 0px 2px 4px 0px;
51
+ --shadow_style_2: 1px 3px 8px 0px;
52
+ --shadow_style_3: 2px 6px 12px;
53
+ --shadow_style_4: .4rem 1rem 2rem;
54
+ --shadow_style_5: 1rem 1.5rem 3rem;
55
+
56
+ --shadow_color_thin: rgba(var(--sc), .05);
57
+ --shadow_color_normal: rgba(var(--sc), .15);
58
+ --shadow_color_remark: rgba(var(--sc), .23);
59
+ --shadow_color_thick: rgba(var(--sc), .32);
60
+ --shadow_color_most: rgba(var(--sc), .41);
61
+
62
+
63
+
47
64
  /* font colors */
48
65
  --font-color1-rgb: 0, 0, 0;
49
66
  --font-color2-rgb: 51, 51, 51;
@@ -41,7 +41,7 @@ const Styles = {
41
41
  } else if ( size == 'L' ) {
42
42
  styles.padding = [ 1,3 ];
43
43
  styles.fontSize = '3.paragraph';
44
- styles.isBoldFont = true;
44
+ styles.isSemiBoldFont = true;
45
45
  }
46
46
 
47
47
  styles = {
@@ -82,15 +82,15 @@ const Styles = {
82
82
  backgroundColor: '1.layer.base',
83
83
  border: '2.normal',
84
84
  borderStyle: 'solid',
85
- boxShadow: 0,
85
+ boxShadow: '0.thin',
86
86
  };
87
87
  } else if ( tone == 'Prime' ) {
88
88
  styles = {
89
89
  ...styles,
90
- isBoldFont: true,
90
+ isSemiBoldFont: true,
91
91
  fontColor: 'white',
92
92
  backgroundColor: color as any,
93
- boxShadow: 1,
93
+ boxShadow: '0.normal',
94
94
  ssEffectsOnActive: [
95
95
  'shrink',
96
96
  'push',
@@ -130,7 +130,7 @@ const Styles = {
130
130
  } else if ( tone == 'FillToBorder' ) {
131
131
  styles = {
132
132
  ...styles,
133
- boxShadow: 1,
133
+ boxShadow: '0.normal',
134
134
  border: '2.normal',
135
135
  borderWidth: 2,
136
136
  borderColor: color as any,
@@ -141,7 +141,7 @@ const Styles = {
141
141
  styles = {
142
142
  ...styles,
143
143
  fontColor: color as any,
144
- boxShadow: 1,
144
+ boxShadow: '0.normal',
145
145
  border: '2.normal',
146
146
  borderWidth: 2,
147
147
  borderColor: color as any,
@@ -16,6 +16,7 @@
16
16
  }
17
17
  &.isLocked_true {
18
18
  background-color: $color-layer4 !important;
19
+ box-shadow: none !important;
19
20
  }
20
21
  }
21
22
  .Tone_ {
@@ -62,7 +63,7 @@
62
63
  color: white !important;
63
64
  }
64
65
  &_Color_ {
65
- &white,&cloud {
66
+ &white, &cloud {
66
67
  &:not(:hover):not(:focus) {
67
68
  color: #000 !important;
68
69
  }
@@ -145,7 +146,7 @@
145
146
  &BorderToFill {
146
147
  color: white;
147
148
  &_Color_ {
148
- &white,&cloud {
149
+ &white, &cloud {
149
150
  background-color: white;
150
151
  color: black;
151
152
  }
@@ -772,7 +772,7 @@ const Comps: {
772
772
  position='relative'
773
773
  overflow={ 'hidden' }
774
774
  borderRadius={ 'inherit' }
775
- boxShadow={ 3 }
775
+ boxShadow={ '3.remark' }
776
776
  UnderBreakPointStyles={ {
777
777
  flexType: 'col'
778
778
  } }
@@ -806,7 +806,7 @@ const Comps: {
806
806
  <Column
807
807
  gap={ 0 }
808
808
  flexGrid={ 2 }
809
- boxShadow={ 3 }
809
+ boxShadow={ '3.remark' }
810
810
  UnderBreakPointStyles={ {
811
811
  width: 1,
812
812
  maxWidth: 'unset'
@@ -827,7 +827,7 @@ const Comps: {
827
827
  <Box
828
828
  flexSizing='none'
829
829
  fontSize='4.thirdTitle'
830
- isBoldFont
830
+ isSemiBoldFont
831
831
  >
832
832
  フィルター
833
833
  </Box>
@@ -177,7 +177,7 @@ const Selector = ( params: {
177
177
  if ( isSelected || isFocused ) {
178
178
  styles = {
179
179
  fontColor: 'theme',
180
- isBoldFont: true,
180
+ isSemiBoldFont: true,
181
181
  }
182
182
  }
183
183
  if ( isFocused ) {
@@ -340,7 +340,7 @@ const Selector = ( params: {
340
340
  <Span
341
341
  fontSize='3.paragraph'
342
342
  fontColor='theme'
343
- isBoldFont
343
+ isSemiBoldFont
344
344
  >
345
345
  { val_selected.length }
346
346
  </Span> / { params.limit } 件
@@ -409,7 +409,7 @@ export const ChipsInputFNs: amotify.fn.Input.Chips.FNs = {
409
409
  borderRadius={ '2.tone.secondary' }
410
410
  backgroundColor={ '1.layer.base' }
411
411
  border
412
- boxShadow={ 'borderBox' }
412
+ boxShadow={ '1.normal' }
413
413
  overflow='hidden'
414
414
  >
415
415
  <Selector
@@ -265,10 +265,10 @@ const FileList: React.FC<{
265
265
  children={ 'ファイルを選択' + `(${ Left })` }
266
266
  fontColor={ 'theme' }
267
267
  fontSize={ '2.normal' }
268
- isBoldFont
268
+ isSemiBoldFont
269
269
  />
270
270
  <Box
271
- isBoldFont
271
+ isSemiBoldFont
272
272
  fontColor={ '4.thin' }
273
273
  fontSize={ '0.xs' }
274
274
  >
@@ -209,11 +209,12 @@ const Core: React.FC<amotify.fn.Input.RichSelect.PlainParams> = ( params ) => {
209
209
  ssCardBox
210
210
  padding={ [ 1,0 ] }
211
211
  gap={ 0 }
212
- maxHeight={ 'viewHeight' }
212
+ // maxHeight={ 'viewHeight' }
213
213
  overflow={ 'auto' }
214
214
  { ...sheetStyles }
215
215
  freeCSS={ {
216
216
  minWidth: 12 * 20,
217
+ maxHeight: '90vh',
217
218
  ...sheetStyles?.freeCSS
218
219
  } }
219
220
  >
@@ -107,7 +107,7 @@ export const Segmented: amotify.fn.Input.Segmented.Types = {
107
107
  overflow: 'hidden',
108
108
  gap: 0,
109
109
  ssLastChildLossBorder: 'right',
110
- boxShadow: 0,
110
+ boxShadow: '0.thin',
111
111
  ...params,
112
112
  cellStyles: {
113
113
  borderRadius: 0,
@@ -131,7 +131,7 @@ export const Segmented: amotify.fn.Input.Segmented.Types = {
131
131
  overflow: 'hidden',
132
132
  gap: 0,
133
133
  ssLastChildLossBorder: 'right',
134
- boxShadow: 0,
134
+ boxShadow: '0.thin',
135
135
  fontColor: '3.blur',
136
136
  ...params,
137
137
  cellStyles: {
@@ -227,7 +227,7 @@ const Core: React.FC<CoreParams> = ( params ) => {
227
227
  style[ 'Tone_' + appearance ]
228
228
  ].join( ' ' ) }
229
229
  cellCheckedStyles={ {
230
- isBoldFont: true,
230
+ isSemiBoldFont: true,
231
231
  ...cellCheckedStyles,
232
232
  } }
233
233
  cellCheckedClassName={ [
@@ -157,7 +157,7 @@ export const SwitchInput: React.FC<amotify.fn.Input.Switch.PlainParams> = ( para
157
157
  backgroundColor={ appearance == 'material' && isChecked ? color : 'white' }
158
158
  transition='middle'
159
159
  ssSphere={ 2.5 }
160
- boxShadow={ 2 }
160
+ boxShadow={ '1.remark' }
161
161
  className={ style.Dot }
162
162
  >
163
163
  { icon ? <Box
@@ -208,7 +208,7 @@ export const Picker: React.FC<amotify.fn.Input.Time.PickerParams> = ( params ) =
208
208
  return <Box
209
209
  backgroundColor={ '1.layer.base' }
210
210
  borderRadius={ '2.tone.secondary' }
211
- boxShadow={ 2 }
211
+ boxShadow={ '1.remark' }
212
212
  border
213
213
  overflow='hidden'
214
214
  >
@@ -355,14 +355,14 @@ const Comps = {
355
355
  <Box
356
356
  flexCenter
357
357
  fontSize='3.paragraph'
358
- isBoldFont
358
+ isSemiBoldFont
359
359
  >
360
360
  { val_value.hour.zeroEmbed( 2 ) } : { val_value.minutes.zeroEmbed( 2 ) }
361
361
  </Box>
362
362
  <Flex
363
363
  flexWrap={ false }
364
364
  borderRadius={ '1.tone.primary' }
365
- boxShadow={ -1 }
365
+ boxShadow={ '0.remark.inset' }
366
366
  flexChilds='even'
367
367
  freeCSS={ {
368
368
  minWidth: 12 * 12
@@ -960,7 +960,7 @@ const Comps = {
960
960
  let isActiveStyles: amotifyUniStyleParams = {
961
961
  backgroundColor: 'cloud',
962
962
  fontColor: '2.normal',
963
- isBoldFont: true
963
+ isSemiBoldFont: true
964
964
  }
965
965
 
966
966
  return <Column
@@ -664,7 +664,7 @@ const DefaultStyles = {
664
664
  padding: '3/4',
665
665
  transition: 'middle',
666
666
  flexSizing: 'auto',
667
- boxShadow: 0
667
+ boxShadow: '0.thin'
668
668
  }
669
669
  if ( type == 'border' ) {
670
670
  Styles = {
@@ -720,7 +720,7 @@ const DefaultStyles = {
720
720
  gap: '1/2',
721
721
  ...params,
722
722
  cellStyles: {
723
- isBoldFont: true,
723
+ isSemiBoldFont: true,
724
724
  ...params.cellStyles,
725
725
  },
726
726
  cellCheckedStyles: {
@@ -733,7 +733,7 @@ const DefaultStyles = {
733
733
  gap: '3/4',
734
734
  ...params,
735
735
  cellStyles: {
736
- boxShadow: 0,
736
+ boxShadow: '0.thin',
737
737
  ...params.cellStyles
738
738
  }
739
739
  }
@@ -18,7 +18,7 @@ let ToneStyles: {
18
18
  padding: '3/4',
19
19
  borderRadius: '1.tone.primary',
20
20
  transition: 'middle',
21
- boxShadow: 0,
21
+ boxShadow: '0.thin',
22
22
  className: style.Focus
23
23
  },
24
24
  border: {
@@ -50,7 +50,7 @@ export const PageNotFound: React.FC<{}> = () => {
50
50
  <Text.Normal
51
51
  textAlign='left'
52
52
  ssCardBox='cloud'
53
- isBoldFont
53
+ isSemiBoldFont
54
54
  padding={ 1 }
55
55
  >
56
56
  ・リンクが正しいか
@@ -232,7 +232,7 @@ export const RootViewController: amotify.fn.Layout.RootViewController.Methods =
232
232
  ssEffectsOnActive='ripple.cloud'
233
233
  verticalAlign='center'
234
234
  textAlign='left'
235
- isBoldFont
235
+ isSemiBoldFont
236
236
  isActive={ isActive }
237
237
  isActiveStyles={ {
238
238
  fontColor: 'theme',
@@ -255,7 +255,7 @@ export const RootViewController: amotify.fn.Layout.RootViewController.Methods =
255
255
  /> ),
256
256
  Title: ( params ) => ( <Box
257
257
  fontSize='3.paragraph'
258
- isBoldFont
258
+ isSemiBoldFont
259
259
  padding={ [ 0,1 ] }
260
260
  { ...params }
261
261
  /> ),
@@ -38,7 +38,7 @@ export const Corner = () => {
38
38
  borderRadius={ '2/3' }
39
39
  backgroundColor='dark'
40
40
  position='fixed'
41
- boxShadow={ 2 }
41
+ boxShadow={ '1.remark' }
42
42
  left={ '50%' }
43
43
  top={ 1 }
44
44
  opacity='trans'
@@ -66,7 +66,7 @@ export const Corner = () => {
66
66
  <Box
67
67
  fontColor='white'
68
68
  fontSize='0.xs'
69
- isBoldFont
69
+ isSemiBoldFont
70
70
  >
71
71
  Loading
72
72
  </Box>
@@ -374,7 +374,7 @@ const Comps = {
374
374
  backgroundColor={ '1.layer.base' }
375
375
  flexSizing={ 'none' }
376
376
  minHeight={ 'viewHeight' }
377
- boxShadow={ 3 }
377
+ boxShadow={ '3.remark' }
378
378
  className={ [
379
379
  style.BB,
380
380
  className
@@ -576,7 +576,7 @@ const Comps = {
576
576
  borderTopRightRadius={ '1.tone.primary' }
577
577
  border
578
578
  borderBottom='unset'
579
- boxShadow={ 3 }
579
+ boxShadow={ '3.remark' }
580
580
  position='relative'
581
581
  overflow={ 'hidden' }
582
582
  height={ 1 }
@@ -979,7 +979,7 @@ const Sheet: amotify.fn.Sheet.Methods = {
979
979
  backgroundColor='1.layer.base'
980
980
  borderRadius={ '1.tone.primary' }
981
981
  position='relative'
982
- boxShadow={ 3 }
982
+ boxShadow={ '3.remark' }
983
983
  transition='long'
984
984
  { ...params }
985
985
  /> ),
@@ -119,7 +119,7 @@ const Cell: React.FC<ElementParams> = ( props ) => {
119
119
  marginBottom={ 1 }
120
120
  borderRadius={ '1.tone.primary' }
121
121
  fontColor={ 'white' }
122
- boxShadow={ 2 }
122
+ boxShadow={ '1.remark' }
123
123
  backgroundColor='dark'
124
124
  transition={ 'middle' }
125
125
  componentID={ val_componentID }
@@ -197,7 +197,7 @@ const Components = {
197
197
  content: <Flex
198
198
  flexType='col'
199
199
  border
200
- boxShadow={ 3 }
200
+ boxShadow={ '3.remark' }
201
201
  backgroundColor={ '1.layer.base' }
202
202
  borderRadius={ 1 }
203
203
  freeCSS={ {
@@ -44,7 +44,7 @@ const Tooltips: amotify.fn.Tooltips.Methods = {
44
44
  backgroundColor='dark'
45
45
  borderRadius={ '2.tone.secondary' }
46
46
  fontColor='white'
47
- boxShadow={ 1 }
47
+ boxShadow={ '0.normal' }
48
48
  { ...params }
49
49
  /> )
50
50
  }
@@ -251,7 +251,9 @@ export const ReadStyleSet: amotify.global.StyleConverter.ReadStyleSet = ( rawPar
251
251
  flexCenter,
252
252
  flexNewLine,
253
253
 
254
+ isLightFont,
254
255
  isBoldFont,
256
+ isSemiBoldFont,
255
257
  isRounded,
256
258
  ...ReturnParams
257
259
  } = params;
@@ -265,6 +267,7 @@ export const ReadStyleSet: amotify.global.StyleConverter.ReadStyleSet = ( rawPar
265
267
  ReturnParams = {
266
268
  ...ReturnParams,
267
269
  freeCSS: {
270
+ ...ReturnParams.freeCSS,
268
271
  background: `linear-gradient(${ deg }deg,${ colors.join( ',' ) })`,
269
272
  }
270
273
  }
@@ -278,7 +281,7 @@ export const ReadStyleSet: amotify.global.StyleConverter.ReadStyleSet = ( rawPar
278
281
  let exStyles: amotifyUniStyleParams = {
279
282
  backgroundColor: '1.layer.base',
280
283
  borderRadius: '1.tone.primary',
281
- boxShadow: 0,
284
+ boxShadow: '0.thin',
282
285
  freeCSS: {
283
286
  zIndex: 1
284
287
  }
@@ -291,10 +294,10 @@ export const ReadStyleSet: amotify.global.StyleConverter.ReadStyleSet = ( rawPar
291
294
  } else if ( ssCardBox == 'cloud' ) {
292
295
  exStyles.backgroundColor = 'cloud';
293
296
  } else if ( ssCardBox == 'shadow' ) {
294
- exStyles.boxShadow = 1;
297
+ exStyles.boxShadow = '0.normal';
295
298
  }
296
299
 
297
- if ( [ 'dim','dark' ].includes( amotify.config.darkMode ) ) exStyles.boxShadow = 2;
300
+ if ( [ 'dim','dark' ].includes( amotify.config.darkMode ) ) exStyles.boxShadow = '1.remark';
298
301
  ReturnParams = {
299
302
  ...exStyles,
300
303
  ...ReturnParams,
@@ -379,9 +382,17 @@ export const ReadStyleSet: amotify.global.StyleConverter.ReadStyleSet = ( rawPar
379
382
  verticalAlign: 'center',
380
383
  ...ReturnParams
381
384
  } );
385
+ !isLightFont || ( ReturnParams = {
386
+ ...ReturnParams,
387
+ fontWeight: '1.light',
388
+ } );
389
+ !isSemiBoldFont || ( ReturnParams = {
390
+ ...ReturnParams,
391
+ fontWeight: '3.semiBold',
392
+ } );
382
393
  !isBoldFont || ( ReturnParams = {
383
394
  ...ReturnParams,
384
- fontWeight: '3.bold',
395
+ fontWeight: '4.bold',
385
396
  } );
386
397
  !isRounded || ( ReturnParams = {
387
398
  ...ReturnParams,