amotify 0.0.17 → 0.0.19

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.
Files changed (44) hide show
  1. package/@types/state.tsx +9 -2
  2. package/dist/amotify.js +2 -2
  3. package/dist/amotify.min.css +3 -3
  4. package/dist/coreVender.js +2 -2
  5. package/package.json +2 -2
  6. package/src/atoms/FAI/parts.tsx +49 -49
  7. package/src/atoms/Logo/parts.tsx +14 -14
  8. package/src/atoms/Various/parts.tsx +6 -6
  9. package/src/functions/Button/_.tsx +23 -14
  10. package/src/functions/Button/style.module.scss +34 -60
  11. package/src/functions/Cropper/parts.tsx +119 -121
  12. package/src/functions/Effects/Fade.tsx +4 -4
  13. package/src/functions/Effects/style.module.scss +9 -1
  14. package/src/functions/Input/Chips/Selector.tsx +2 -2
  15. package/src/functions/Input/Chips/_.tsx +4 -4
  16. package/src/functions/Input/DigitCharacters.tsx +2 -2
  17. package/src/functions/Input/File/_.tsx +206 -213
  18. package/src/functions/Input/List/_.tsx +4 -4
  19. package/src/functions/Input/Segmented/_.tsx +12 -12
  20. package/src/functions/Input/Select/_.tsx +6 -7
  21. package/src/functions/Input/Slider/_.tsx +4 -4
  22. package/src/functions/Input/Text.tsx +104 -106
  23. package/src/functions/Input/TextArea.tsx +33 -35
  24. package/src/functions/Input/Time/Picker.tsx +14 -14
  25. package/src/functions/Input/Time/_.tsx +77 -79
  26. package/src/functions/Input/_.tsx +87 -93
  27. package/src/functions/Input/core.tsx +2 -2
  28. package/src/functions/Inputs/text.tsx +6 -8
  29. package/src/functions/Layout/PageNotFound.tsx +2 -2
  30. package/src/functions/Layout/PageViewController/parts.tsx +3 -5
  31. package/src/functions/Layout/Plate.tsx +2 -3
  32. package/src/functions/Layout/RootViewController/parts.tsx +4 -4
  33. package/src/functions/Layout/SwipeView/parts.tsx +4 -4
  34. package/src/functions/Layout/TabBar.tsx +2 -2
  35. package/src/functions/Sheet/parts.tsx +11 -11
  36. package/src/functions/SnackBar/parts.tsx +4 -3
  37. package/src/functions/Table/Data/parts.tsx +35 -37
  38. package/src/functions/Table/Drag/parts.tsx +6 -6
  39. package/src/functions/Table/Normal/parts.tsx +6 -6
  40. package/src/functions/Table/_.tsx +2 -2
  41. package/src/molecules/Accordion/parts.tsx +2 -2
  42. package/src/molecules/LinkifyText/parts.tsx +3 -5
  43. package/src/templates/PlayGround/parts.tsx +2 -2
  44. package/webpack.config.js +0 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amotify",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "description": "UI Component for React",
5
5
  "main": "dist/launch.js",
6
6
  "types": "dist/@types.d.ts",
@@ -33,7 +33,7 @@
33
33
  "@fortawesome/pro-regular-svg-icons": "^6.4.2",
34
34
  "@fortawesome/pro-solid-svg-icons": "^6.4.2",
35
35
  "@fortawesome/react-fontawesome": "^0.2.0",
36
- "jsmin-front": "^0.0.16",
36
+ "jsmin-front": "^0.0.17",
37
37
  "react": "^18.2.0",
38
38
  "react-dom": "^18.2.0",
39
39
  "react-router-dom": "^6.19.0"
@@ -5,55 +5,55 @@ import {
5
5
 
6
6
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
7
7
 
8
- import { faUser } from '@fortawesome/pro-solid-svg-icons/faUser';
9
- import { faTimes } from '@fortawesome/pro-solid-svg-icons/faTimes';
10
- import { faAngleRight } from '@fortawesome/pro-solid-svg-icons/faAngleRight';
11
- import { faAngleLeft } from '@fortawesome/pro-solid-svg-icons/faAngleLeft';
12
- import { faAngleUp } from '@fortawesome/pro-solid-svg-icons/faAngleUp';
13
- import { faAngleDown } from '@fortawesome/pro-solid-svg-icons/faAngleDown';
14
- import { faChevronLeft } from '@fortawesome/pro-solid-svg-icons/faChevronLeft';
15
- import { faChevronRight } from '@fortawesome/pro-solid-svg-icons/faChevronRight';
16
- import { faChevronUp } from '@fortawesome/pro-solid-svg-icons/faChevronUp';
17
- import { faChevronDown } from '@fortawesome/pro-solid-svg-icons/faChevronDown';
18
- import { faCaretLeft } from '@fortawesome/pro-solid-svg-icons/faCaretLeft';
19
- import { faCaretRight } from '@fortawesome/pro-solid-svg-icons/faCaretRight';
20
- import { faCaretUp } from '@fortawesome/pro-solid-svg-icons/faCaretUp';
21
- import { faCaretDown } from '@fortawesome/pro-solid-svg-icons/faCaretDown';
22
- import { faArrowLeft } from '@fortawesome/pro-solid-svg-icons/faArrowLeft';
23
- import { faArrowRight } from '@fortawesome/pro-solid-svg-icons/faArrowRight';
24
- import { faArrowUp } from '@fortawesome/pro-solid-svg-icons/faArrowUp';
25
- import { faArrowDown } from '@fortawesome/pro-solid-svg-icons/faArrowDown';
26
- import { faRotate } from '@fortawesome/pro-solid-svg-icons/faRotate';
27
- import { faRedo } from '@fortawesome/pro-solid-svg-icons/faRedo';
28
- import { faCheck } from '@fortawesome/pro-solid-svg-icons/faCheck';
29
- import { faCheckCircle } from '@fortawesome/pro-solid-svg-icons/faCheckCircle';
30
- import { faQuestion } from '@fortawesome/pro-solid-svg-icons/faQuestion';
31
- import { faQuestionCircle } from '@fortawesome/pro-solid-svg-icons/faQuestionCircle';
32
- import { faExclamation } from '@fortawesome/pro-solid-svg-icons/faExclamation';
33
- import { faExclamationTriangle } from '@fortawesome/pro-solid-svg-icons/faExclamationTriangle';
34
- import { faHome } from '@fortawesome/pro-solid-svg-icons/faHome';
35
- import { faShare } from '@fortawesome/pro-solid-svg-icons/faShare';
36
- import { faSearch } from '@fortawesome/pro-solid-svg-icons/faSearch';
37
- import { faYenSign } from '@fortawesome/pro-solid-svg-icons/faYenSign';
38
- import { faHeart } from '@fortawesome/pro-solid-svg-icons/faHeart';
39
- import { faStar } from '@fortawesome/pro-solid-svg-icons/faStar';
40
- import { faEdit } from '@fortawesome/pro-solid-svg-icons/faEdit';
41
- import { faPen } from '@fortawesome/pro-solid-svg-icons/faPen';
42
- import { faCopy } from '@fortawesome/pro-solid-svg-icons/faCopy';
43
- import { faFile } from '@fortawesome/pro-solid-svg-icons/faFile';
44
- import { faTrashAlt } from '@fortawesome/pro-solid-svg-icons/faTrashAlt';
45
- import { faBars } from '@fortawesome/pro-solid-svg-icons/faBars';
46
- import { faDownload } from '@fortawesome/pro-solid-svg-icons/faDownload';
47
- import { faLink } from '@fortawesome/pro-solid-svg-icons/faLink';
48
- import { faLinkSlash } from '@fortawesome/pro-solid-svg-icons/faLinkSlash';
49
- import { faExternalLinkAlt } from '@fortawesome/pro-solid-svg-icons/faExternalLinkAlt';
50
- import { faGear } from '@fortawesome/pro-solid-svg-icons/faGear';
51
- import { faPlus } from '@fortawesome/pro-solid-svg-icons/faPlus';
52
- import { faMinus } from '@fortawesome/pro-solid-svg-icons/faMinus';
53
- import { faEllipsisH } from '@fortawesome/pro-solid-svg-icons/faEllipsisH';
54
- import { faEllipsisV } from '@fortawesome/pro-solid-svg-icons/faEllipsisV';
55
- import { faPaperPlane } from '@fortawesome/pro-solid-svg-icons/faPaperPlane';
56
- import { faImage } from '@fortawesome/pro-solid-svg-icons/faImage';
8
+ import { faUser } from '@fortawesome/pro-regular-svg-icons/faUser';
9
+ import { faTimes } from '@fortawesome/pro-regular-svg-icons/faTimes';
10
+ import { faAngleRight } from '@fortawesome/pro-regular-svg-icons/faAngleRight';
11
+ import { faAngleLeft } from '@fortawesome/pro-regular-svg-icons/faAngleLeft';
12
+ import { faAngleUp } from '@fortawesome/pro-regular-svg-icons/faAngleUp';
13
+ import { faAngleDown } from '@fortawesome/pro-regular-svg-icons/faAngleDown';
14
+ import { faChevronLeft } from '@fortawesome/pro-regular-svg-icons/faChevronLeft';
15
+ import { faChevronRight } from '@fortawesome/pro-regular-svg-icons/faChevronRight';
16
+ import { faChevronUp } from '@fortawesome/pro-regular-svg-icons/faChevronUp';
17
+ import { faChevronDown } from '@fortawesome/pro-regular-svg-icons/faChevronDown';
18
+ import { faCaretLeft } from '@fortawesome/pro-regular-svg-icons/faCaretLeft';
19
+ import { faCaretRight } from '@fortawesome/pro-regular-svg-icons/faCaretRight';
20
+ import { faCaretUp } from '@fortawesome/pro-regular-svg-icons/faCaretUp';
21
+ import { faCaretDown } from '@fortawesome/pro-regular-svg-icons/faCaretDown';
22
+ import { faArrowLeft } from '@fortawesome/pro-regular-svg-icons/faArrowLeft';
23
+ import { faArrowRight } from '@fortawesome/pro-regular-svg-icons/faArrowRight';
24
+ import { faArrowUp } from '@fortawesome/pro-regular-svg-icons/faArrowUp';
25
+ import { faArrowDown } from '@fortawesome/pro-regular-svg-icons/faArrowDown';
26
+ import { faRotate } from '@fortawesome/pro-regular-svg-icons/faRotate';
27
+ import { faRedo } from '@fortawesome/pro-regular-svg-icons/faRedo';
28
+ import { faCheck } from '@fortawesome/pro-regular-svg-icons/faCheck';
29
+ import { faCheckCircle } from '@fortawesome/pro-regular-svg-icons/faCheckCircle';
30
+ import { faQuestion } from '@fortawesome/pro-regular-svg-icons/faQuestion';
31
+ import { faQuestionCircle } from '@fortawesome/pro-regular-svg-icons/faQuestionCircle';
32
+ import { faExclamation } from '@fortawesome/pro-regular-svg-icons/faExclamation';
33
+ import { faExclamationTriangle } from '@fortawesome/pro-regular-svg-icons/faExclamationTriangle';
34
+ import { faHome } from '@fortawesome/pro-regular-svg-icons/faHome';
35
+ import { faShare } from '@fortawesome/pro-regular-svg-icons/faShare';
36
+ import { faSearch } from '@fortawesome/pro-regular-svg-icons/faSearch';
37
+ import { faYenSign } from '@fortawesome/pro-regular-svg-icons/faYenSign';
38
+ import { faHeart } from '@fortawesome/pro-regular-svg-icons/faHeart';
39
+ import { faStar } from '@fortawesome/pro-regular-svg-icons/faStar';
40
+ import { faEdit } from '@fortawesome/pro-regular-svg-icons/faEdit';
41
+ import { faPen } from '@fortawesome/pro-regular-svg-icons/faPen';
42
+ import { faCopy } from '@fortawesome/pro-regular-svg-icons/faCopy';
43
+ import { faFile } from '@fortawesome/pro-regular-svg-icons/faFile';
44
+ import { faTrashAlt } from '@fortawesome/pro-regular-svg-icons/faTrashAlt';
45
+ import { faBars } from '@fortawesome/pro-regular-svg-icons/faBars';
46
+ import { faDownload } from '@fortawesome/pro-regular-svg-icons/faDownload';
47
+ import { faLink } from '@fortawesome/pro-regular-svg-icons/faLink';
48
+ import { faLinkSlash } from '@fortawesome/pro-regular-svg-icons/faLinkSlash';
49
+ import { faExternalLinkAlt } from '@fortawesome/pro-regular-svg-icons/faExternalLinkAlt';
50
+ import { faGear } from '@fortawesome/pro-regular-svg-icons/faGear';
51
+ import { faPlus } from '@fortawesome/pro-regular-svg-icons/faPlus';
52
+ import { faMinus } from '@fortawesome/pro-regular-svg-icons/faMinus';
53
+ import { faEllipsisH } from '@fortawesome/pro-regular-svg-icons/faEllipsisH';
54
+ import { faEllipsisV } from '@fortawesome/pro-regular-svg-icons/faEllipsisV';
55
+ import { faPaperPlane } from '@fortawesome/pro-regular-svg-icons/faPaperPlane';
56
+ import { faImage } from '@fortawesome/pro-regular-svg-icons/faImage';
57
57
 
58
58
  const FAIComps: React.FC<amotify.atoms.FAI.FAIParams> = ( params ) => {
59
59
  let {
@@ -10,7 +10,7 @@ import { publicURI } from '../../launch';
10
10
 
11
11
  const SVG = {
12
12
  ComunIcon: () => {
13
- return ( <svg viewBox="0,0,1200,1200" className={ style.ComunIcon }>
13
+ return <svg viewBox="0,0,1200,1200" className={ style.ComunIcon }>
14
14
  <g>
15
15
  <path
16
16
  d='
@@ -81,11 +81,11 @@ const SVG = {
81
81
  } }
82
82
  />
83
83
  </g>
84
- </svg> );
84
+ </svg>;
85
85
  },
86
86
  MingooIcon: () => {
87
87
  const CircleSet = ( p: number ) => {
88
- return ( <>
88
+ return <>
89
89
  <path
90
90
  d='
91
91
  M
@@ -126,7 +126,7 @@ const SVG = {
126
126
  // fill: '#ffa500'
127
127
  } }
128
128
  />
129
- </> );
129
+ </>;
130
130
  }
131
131
  return <svg viewBox="0,0,1200,1200" className={ style.MingooIcon }>
132
132
  { CircleSet( 0 ) }
@@ -163,19 +163,19 @@ const Mingoos = {
163
163
  LogoH: ( params: amotify.atoms.Logos.DefaultLogoTypes ) => {
164
164
  let { size,color,...others } = params;
165
165
 
166
- return ( <Flex
166
+ return <Flex
167
167
  gap={ '1/2' }
168
168
  flexCenter
169
169
  { ...others }
170
170
  >
171
171
  <Mingoos.Icon size={ size } color={ color } />
172
172
  <Mingoos.Title size={ size } color={ color } />
173
- </Flex> );
173
+ </Flex>;
174
174
  },
175
175
  LogoV: ( params: amotify.atoms.Logos.DefaultLogoTypes ) => {
176
176
  let { size,color,...others } = params;
177
177
 
178
- return ( <Flex
178
+ return <Flex
179
179
  flexType="col"
180
180
  gap={ '1/2' }
181
181
  { ...others }
@@ -188,7 +188,7 @@ const Mingoos = {
188
188
  <Mingoos.Title
189
189
  size={ size } color={ color }
190
190
  />
191
- </Flex> );
191
+ </Flex>;
192
192
  }
193
193
  }
194
194
  const Comuns = {
@@ -211,19 +211,19 @@ const Comuns = {
211
211
  LogoH: ( params: amotify.atoms.Logos.DefaultLogoTypes ) => {
212
212
  let { size,color,...others } = params;
213
213
 
214
- return ( <Flex
214
+ return <Flex
215
215
  gap={ '1/2' }
216
216
  flexCenter
217
217
  { ...others }
218
218
  >
219
219
  <Comuns.Icon size={ size } color={ color } />
220
220
  <Comuns.Title size={ size } color={ color } />
221
- </Flex> );
221
+ </Flex>;
222
222
  },
223
223
  LogoV: ( params: amotify.atoms.Logos.DefaultLogoTypes ) => {
224
224
  let { size,color,...others } = params;
225
225
 
226
- return ( <Flex
226
+ return <Flex
227
227
  flexType="col"
228
228
  gap={ '1/2' }
229
229
  { ...others }
@@ -236,7 +236,7 @@ const Comuns = {
236
236
  <Comuns.Title
237
237
  size={ size } color={ color }
238
238
  />
239
- </Flex> );
239
+ </Flex>;
240
240
  }
241
241
  }
242
242
  export const Logo: amotify.atoms.Logos.Methods = {
@@ -249,7 +249,7 @@ export const Logo: amotify.atoms.Logos.Methods = {
249
249
  ...others
250
250
  } = props;
251
251
 
252
- return ( <Flex
252
+ return <Flex
253
253
  verticalAlign='center'
254
254
  className={ [
255
255
  className,
@@ -259,7 +259,7 @@ export const Logo: amotify.atoms.Logos.Methods = {
259
259
  { ...others }
260
260
  >
261
261
  { $.is.function( Children ) ? <Children /> : Children }
262
- </Flex > );
262
+ </Flex >;
263
263
  },
264
264
  Title: ( props: amotify.atoms.Logos.Params ) => {
265
265
  let {
@@ -12,14 +12,14 @@ export const Box: React.FC<amotify.atoms.BoxInput> = ( params ) => {
12
12
  freeCSS,
13
13
  ...Params
14
14
  } = StyleConverter.ToClassName( params );
15
- return ( <div { ...Params } /> );
15
+ return <div { ...Params } />;
16
16
  }
17
17
  export const Span: React.FC<amotify.atoms.SpanProps> = ( params ) => {
18
18
  let {
19
19
  freeCSS,
20
20
  ...Params
21
21
  } = StyleConverter.ToClassName( params );
22
- return ( <span { ...Params } /> );
22
+ return <span { ...Params } />;
23
23
  }
24
24
 
25
25
  export const Placeholder: React.FC<amotify.atoms.PlaceholderParams> = ( params ) => {
@@ -120,7 +120,7 @@ export const Flex: React.FC<amotify.atoms.FlexProps> = ( props ) => {
120
120
  ...others
121
121
  } = props;
122
122
 
123
- return ( <Box
123
+ return <Box
124
124
  flexType={ 'row' }
125
125
  flexWrap={ true }
126
126
  display='flex'
@@ -130,7 +130,7 @@ export const Flex: React.FC<amotify.atoms.FlexProps> = ( props ) => {
130
130
  } }
131
131
  { ...others }
132
132
  children={ children }
133
- /> );
133
+ />;
134
134
  }
135
135
 
136
136
  export const FlexBr: React.FC<amotifyUniStyleParams> = ( params ) => ( <Box
@@ -146,14 +146,14 @@ export const Grid: React.FC<amotify.atoms.GridProps> = ( props ) => {
146
146
  ...others
147
147
  } = props;
148
148
 
149
- return ( <Box
149
+ return <Box
150
150
  freeCSS={ {
151
151
  display: 'grid',
152
152
  ...freeCSS
153
153
  } }
154
154
  { ...others }
155
155
  children={ children }
156
- /> );
156
+ />;
157
157
  }
158
158
 
159
159
  export const Paragraph: React.FC<amotify.atoms.ParagraphProps> = ( props ) => ( <p { ...StyleConverter.ToClassName( props ) } /> )
@@ -91,34 +91,50 @@ const Styles = {
91
91
  fontColor: 'white',
92
92
  backgroundColor: color as any,
93
93
  boxShadow: 1,
94
- ssEffectsOnActive: [ 'shrink','ripple.white' ]
94
+ ssEffectsOnActive: [
95
+ 'shrink',
96
+ 'push',
97
+ 'ripple.white'
98
+ ]
95
99
  };
96
100
  if ( color == 'white' ) {
97
101
  styles = {
98
102
  ...styles,
99
103
  fontColor: 'theme',
100
- ssEffectsOnActive: [ 'shrink','ripple.cloud' ]
104
+ ssEffectsOnActive: [
105
+ 'shrink',
106
+ 'push',
107
+ 'ripple.cloud'
108
+ ]
101
109
  };
102
110
  }
103
111
  } else if ( tone == 'Sub' ) {
104
112
  styles = {
105
113
  ...styles,
106
114
  fontColor: color as any,
107
- ssEffectsOnActive: 'shrink'
115
+ ssEffectsOnActive: [
116
+ 'shrink',
117
+ 'ripple.cloud'
118
+ ]
108
119
  };
109
120
  } else if ( tone == 'Clear' ) {
110
121
  styles = {
111
122
  ...styles,
112
123
  fontColor: color as any,
113
124
  backgroundColor: 'trans',
125
+ ssEffectsOnActive: [
126
+ 'shrink',
127
+ 'ripple.cloud'
128
+ ]
114
129
  };
115
130
  } else if ( tone == 'FillToBorder' ) {
116
131
  styles = {
117
132
  ...styles,
118
- fontColor: 'white',
119
133
  boxShadow: 1,
134
+ border: '2.normal',
120
135
  borderWidth: 2,
121
136
  borderColor: color as any,
137
+ fontColor: color as any,
122
138
  backgroundColor: color as any,
123
139
  };
124
140
  } else if ( tone == 'BorderToFill' ) {
@@ -129,14 +145,14 @@ const Styles = {
129
145
  border: '2.normal',
130
146
  borderWidth: 2,
131
147
  borderColor: color as any,
132
- backgroundColor: 'trans'
148
+ backgroundColor: color as any
133
149
  };
134
150
  }
135
151
 
136
152
  if ( tone != 'Link' ) {
137
153
  styles = {
138
154
  position: 'relative',
139
- ssEffectsOnActive: 'shrink',
155
+ ssEffectsOnActive: [ 'shrink','push' ],
140
156
  ...styles
141
157
  }
142
158
  }
@@ -183,20 +199,13 @@ const SeedWrapper = ( params: SeedWrapperInput ) => {
183
199
  Params.className = [
184
200
  className,
185
201
  style.Wrap,
186
- style[ 'isActive_' + !!isActive ],
202
+ style[ 'isNeutral_' + !isActive ],
187
203
  style[ 'isLocked_' + isLocked ],
188
204
  style[ 'Tone_' + tone ],
189
205
  style[ 'Color_' + color ],
190
206
  style[ 'Tone_' + tone + '_Color_' + color ],
191
207
  ].join( ' ' );
192
208
 
193
- if ( ![ 'Link','Plain' ].includes( Params.tone ) ) {
194
- Params.className = [
195
- Params.className,
196
- style.uae_remark
197
- ].join( ' ' );
198
- }
199
-
200
209
  if ( isActive ) {
201
210
  Params = {
202
211
  className: [
@@ -18,14 +18,6 @@
18
18
  background-color: $color-layer4 !important;
19
19
  }
20
20
  }
21
- .uae_remark {
22
- &:active {
23
- box-shadow: $shadow2 inset, 0 0 0 transparent !important;
24
- }
25
- &:focus {
26
- box-shadow: 0 0 0 transparent inset, $shadow3;
27
- }
28
- }
29
21
  .Tone_ {
30
22
  &Sub_, &Clear_ {
31
23
  &Color_ {
@@ -53,10 +45,29 @@
53
45
  }
54
46
  }
55
47
  }
56
- .isActive_false {
57
- &.Tone_Clear {
58
- &:not(:hover):not(:focus) {
59
- background-color: transparent;
48
+ .isNeutral_true {
49
+ &.Tone_ {
50
+ &Clear {
51
+ &:not(:hover):not(:focus) {
52
+ background-color: transparent;
53
+ }
54
+ }
55
+ &BorderToFill {
56
+ &:not(:hover):not(:focus) {
57
+ background-color: transparent !important;
58
+ }
59
+ }
60
+ &FillToBorder {
61
+ &:not(:hover):not(:focus) {
62
+ color: white !important;
63
+ }
64
+ &_Color_ {
65
+ &white,&cloud {
66
+ &:not(:hover):not(:focus) {
67
+ color: #000 !important;
68
+ }
69
+ }
70
+ }
60
71
  }
61
72
  }
62
73
  &:hover, &:focus {
@@ -68,8 +79,8 @@
68
79
  text-decoration: underline !important;
69
80
  }
70
81
  }
71
- &Normal_ {
72
- &Color_ {
82
+ &Normal {
83
+ &_Color_ {
73
84
  &plain {
74
85
  background-color: $color-layer3;
75
86
  color: $font-color2;
@@ -92,14 +103,14 @@
92
103
  }
93
104
  }
94
105
  }
95
- &Border_ {
106
+ &Border {
96
107
  background-color: $color-cloud;
97
108
  }
98
- &Prime_ {
109
+ &Prime {
99
110
  opacity: .85;
100
111
  }
101
- &Sub_, &Clear_ {
102
- &Color_ {
112
+ &Sub, &Clear {
113
+ &_Color_ {
103
114
  &theme {
104
115
  background-color: $color-theme-opacity-low;
105
116
  color: $color-theme;
@@ -128,50 +139,13 @@
128
139
  }
129
140
  }
130
141
  }
131
- &FillToBorder_ {
132
- background-color: $color-layer1;
133
- &Color_ {
134
- &theme {
135
- color: $color-theme;
136
- }
137
- &posi {
138
- color: $color-positive;
139
- }
140
- &nega {
141
- color: $color-negative;
142
- }
143
- &warn {
144
- color: $color-warning;
145
- }
146
- &mono {
147
- color: $color-monoPrime;
148
- }
149
- &white {
150
- color: white;
151
- background-color: transparent;
152
- }
153
- }
142
+ &FillToBorder {
143
+ background-color: transparent;
154
144
  }
155
- &BorderToFill_ {
145
+ &BorderToFill {
156
146
  color: white;
157
- &Color_ {
158
- &theme {
159
- background-color: $color-theme;
160
- }
161
- &posi {
162
- background-color: $color-positive;
163
- }
164
- &nega {
165
- background-color: $color-negative;
166
- }
167
- &warn {
168
- background-color: $color-warning;
169
- }
170
- &mono {
171
- background-color: $color-monoPrime;
172
- color: $color-monoSecond;
173
- }
174
- &white {
147
+ &_Color_ {
148
+ &white,&cloud {
175
149
  background-color: white;
176
150
  color: black;
177
151
  }