@fewbox/den 0.0.3

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 (228) hide show
  1. package/index-app.d.ts +15 -0
  2. package/index.css +12226 -0
  3. package/index.js +2 -0
  4. package/index.js.map +1 -0
  5. package/jest.setup.d.ts +1 -0
  6. package/package.json +30 -0
  7. package/scripts/copy-templates.js +29 -0
  8. package/src/action/index.d.ts +9 -0
  9. package/src/components/Analyze/GA4/index.d.ts +9 -0
  10. package/src/components/Analyze/GA4NextJS/index.d.ts +5 -0
  11. package/src/components/Analyze/util.d.ts +115 -0
  12. package/src/components/Auth/FigmaSignin/index.d.ts +9 -0
  13. package/src/components/Auth/GoogleGrant/index.d.ts +41 -0
  14. package/src/components/Auth/GoogleSignin/index.d.ts +18 -0
  15. package/src/components/Auth/WeComSignin/index.d.ts +8 -0
  16. package/src/components/Auth/util.d.ts +17 -0
  17. package/src/components/Debug/index.d.ts +6 -0
  18. package/src/components/Engine/Base/index.d.ts +228 -0
  19. package/src/components/Engine/BaseComponent/index.d.ts +9 -0
  20. package/src/components/Engine/index.d.ts +212 -0
  21. package/src/components/Layout/Display/index.d.ts +18 -0
  22. package/src/components/Layout/Dock/index.d.ts +23 -0
  23. package/src/components/Layout/DockBak/index.d.ts +24 -0
  24. package/src/components/Layout/Flex/index.d.ts +44 -0
  25. package/src/components/Layout/FlexItem/index.d.ts +18 -0
  26. package/src/components/Layout/Position/index.d.ts +33 -0
  27. package/src/components/Layout/PositionArea/index.d.ts +10 -0
  28. package/src/components/Layout/SBaseline/index.d.ts +5 -0
  29. package/src/components/Layout/SBottom/index.d.ts +6 -0
  30. package/src/components/Layout/SCenter/index.d.ts +5 -0
  31. package/src/components/Layout/SLeft/index.d.ts +5 -0
  32. package/src/components/Layout/SMiddle/index.d.ts +5 -0
  33. package/src/components/Layout/SRight/index.d.ts +5 -0
  34. package/src/components/Layout/SStretch/index.d.ts +5 -0
  35. package/src/components/Layout/STop/index.d.ts +5 -0
  36. package/src/components/Layout/X/index.d.ts +5 -0
  37. package/src/components/Layout/XAround/index.d.ts +5 -0
  38. package/src/components/Layout/XAutoBoth/index.d.ts +5 -0
  39. package/src/components/Layout/XAutoCenter/index.d.ts +5 -0
  40. package/src/components/Layout/XAutoLeft/index.d.ts +5 -0
  41. package/src/components/Layout/XAutoLefts/index.d.ts +5 -0
  42. package/src/components/Layout/XAutoRight/index.d.ts +5 -0
  43. package/src/components/Layout/XAutoRights/index.d.ts +5 -0
  44. package/src/components/Layout/XBase/index.d.ts +18 -0
  45. package/src/components/Layout/XBetween/index.d.ts +5 -0
  46. package/src/components/Layout/XCenter/index.d.ts +5 -0
  47. package/src/components/Layout/XCustom/index.d.ts +7 -0
  48. package/src/components/Layout/XCustomBoth/index.d.ts +7 -0
  49. package/src/components/Layout/XEvenly/index.d.ts +5 -0
  50. package/src/components/Layout/XLeft/index.d.ts +5 -0
  51. package/src/components/Layout/XRight/index.d.ts +5 -0
  52. package/src/components/Layout/XWrapAround/index.d.ts +5 -0
  53. package/src/components/Layout/XWrapBetween/index.d.ts +5 -0
  54. package/src/components/Layout/XWrapBottom/index.d.ts +5 -0
  55. package/src/components/Layout/XWrapEvenly/index.d.ts +5 -0
  56. package/src/components/Layout/XWrapMiddle/index.d.ts +5 -0
  57. package/src/components/Layout/XWrapTop/index.d.ts +5 -0
  58. package/src/components/Layout/Y/index.d.ts +5 -0
  59. package/src/components/Layout/YAround/index.d.ts +5 -0
  60. package/src/components/Layout/YAutoBoth/index.d.ts +5 -0
  61. package/src/components/Layout/YAutoBottom/index.d.ts +5 -0
  62. package/src/components/Layout/YAutoBottoms/index.d.ts +5 -0
  63. package/src/components/Layout/YAutoCenter/index.d.ts +5 -0
  64. package/src/components/Layout/YAutoTop/index.d.ts +5 -0
  65. package/src/components/Layout/YAutoTops/index.d.ts +5 -0
  66. package/src/components/Layout/YBase/index.d.ts +16 -0
  67. package/src/components/Layout/YBetween/index.d.ts +5 -0
  68. package/src/components/Layout/YBottom/index.d.ts +5 -0
  69. package/src/components/Layout/YCustom/index.d.ts +7 -0
  70. package/src/components/Layout/YCustomBoth/index.d.ts +7 -0
  71. package/src/components/Layout/YEvenly/index.d.ts +5 -0
  72. package/src/components/Layout/YMiddle/index.d.ts +5 -0
  73. package/src/components/Layout/YTop/index.d.ts +5 -0
  74. package/src/components/Layout/YWrapAround/index.d.ts +5 -0
  75. package/src/components/Layout/YWrapBetween/index.d.ts +5 -0
  76. package/src/components/Layout/YWrapCenter/index.d.ts +5 -0
  77. package/src/components/Layout/YWrapEvenly/index.d.ts +5 -0
  78. package/src/components/Layout/YWrapLeft/index.d.ts +5 -0
  79. package/src/components/Layout/YWrapRight/index.d.ts +5 -0
  80. package/src/components/Layout/index.d.ts +8 -0
  81. package/src/components/Layout/util.d.ts +6 -0
  82. package/src/components/View/VActionForm/index.d.ts +10 -0
  83. package/src/components/View/VAnimation/index.d.ts +127 -0
  84. package/src/components/View/VAudio/index.d.ts +10 -0
  85. package/src/components/View/VAvatar/index.d.ts +11 -0
  86. package/src/components/View/VBackground/index.d.ts +18 -0
  87. package/src/components/View/VBadge/index.d.ts +6 -0
  88. package/src/components/View/VBlock/index.d.ts +9 -0
  89. package/src/components/View/VBoundary/index.d.ts +6 -0
  90. package/src/components/View/VButton/index.d.ts +17 -0
  91. package/src/components/View/VCard/index.d.ts +8 -0
  92. package/src/components/View/VCardMedia/index.d.ts +9 -0
  93. package/src/components/View/VCardSocial/index.d.ts +13 -0
  94. package/src/components/View/VCardWindow/index.d.ts +15 -0
  95. package/src/components/View/VChromeExtensionValidator/index.d.ts +25 -0
  96. package/src/components/View/VDynamic/index.d.ts +7 -0
  97. package/src/components/View/VFooter/index.d.ts +5 -0
  98. package/src/components/View/VForm/index.d.ts +13 -0
  99. package/src/components/View/VFrame/index.d.ts +14 -0
  100. package/src/components/View/VGoogleFont/index.d.ts +18 -0
  101. package/src/components/View/VHR/index.d.ts +5 -0
  102. package/src/components/View/VHeader/index.d.ts +5 -0
  103. package/src/components/View/VHyperlink/index.d.ts +13 -0
  104. package/src/components/View/VImage/App/index.d.ts +16 -0
  105. package/src/components/View/VInput/VBase64File/App/index.d.ts +10 -0
  106. package/src/components/View/VInput/VCheckBox/index.d.ts +9 -0
  107. package/src/components/View/VInput/VColor/index.d.ts +7 -0
  108. package/src/components/View/VInput/VDate/index.d.ts +7 -0
  109. package/src/components/View/VInput/VDatetimeLocal/index.d.ts +7 -0
  110. package/src/components/View/VInput/VDropdown/index.d.ts +31 -0
  111. package/src/components/View/VInput/VEmail/index.d.ts +5 -0
  112. package/src/components/View/VInput/VFile/index.d.ts +22 -0
  113. package/src/components/View/VInput/VGroup/index.d.ts +11 -0
  114. package/src/components/View/VInput/VHidden/index.d.ts +8 -0
  115. package/src/components/View/VInput/VMonth/index.d.ts +5 -0
  116. package/src/components/View/VInput/VNumber/index.d.ts +5 -0
  117. package/src/components/View/VInput/VPassword/index.d.ts +5 -0
  118. package/src/components/View/VInput/VRadio/index.d.ts +6 -0
  119. package/src/components/View/VInput/VRange/index.d.ts +8 -0
  120. package/src/components/View/VInput/VSearch/index.d.ts +5 -0
  121. package/src/components/View/VInput/VSubmit/index.d.ts +7 -0
  122. package/src/components/View/VInput/VSubmitWrapper/index.d.ts +6 -0
  123. package/src/components/View/VInput/VTel/index.d.ts +5 -0
  124. package/src/components/View/VInput/VTextBox/index.d.ts +7 -0
  125. package/src/components/View/VInput/VTime/index.d.ts +5 -0
  126. package/src/components/View/VInput/VUrl/index.d.ts +5 -0
  127. package/src/components/View/VInput/VWeek/index.d.ts +5 -0
  128. package/src/components/View/VInput/index.d.ts +45 -0
  129. package/src/components/View/VLabel/index.d.ts +60 -0
  130. package/src/components/View/VLink/App/index.d.ts +6 -0
  131. package/src/components/View/VLoading/index.d.ts +8 -0
  132. package/src/components/View/VMain/index.d.ts +5 -0
  133. package/src/components/View/VMask/index.d.ts +5 -0
  134. package/src/components/View/VPaypal/index.d.ts +10 -0
  135. package/src/components/View/VPhoto/index.d.ts +20 -0
  136. package/src/components/View/VPureRoot/index.d.ts +7 -0
  137. package/src/components/View/VRoot/index.d.ts +7 -0
  138. package/src/components/View/VSection/index.d.ts +5 -0
  139. package/src/components/View/VSelect/index.d.ts +14 -0
  140. package/src/components/View/VShadow/index.d.ts +15 -0
  141. package/src/components/View/VShape/VEllipse/index.d.ts +10 -0
  142. package/src/components/View/VShape/VLine/index.d.ts +10 -0
  143. package/src/components/View/VShape/VRectangle/index.d.ts +10 -0
  144. package/src/components/View/VStack/index.d.ts +5 -0
  145. package/src/components/View/VSvg/index.d.ts +16 -0
  146. package/src/components/View/VSwitch/index.d.ts +13 -0
  147. package/src/components/View/VTemplate/index.d.ts +5 -0
  148. package/src/components/View/VText/index.d.ts +22 -0
  149. package/src/components/View/VTextArea/index.d.ts +17 -0
  150. package/src/components/View/VTheme/index.d.ts +43 -0
  151. package/src/components/View/VTooltip/index.d.ts +20 -0
  152. package/src/components/View/VTree/Block/index.d.ts +14 -0
  153. package/src/components/View/VTree/index.d.ts +15 -0
  154. package/src/components/View/VVideo/index.d.ts +10 -0
  155. package/src/components/View/VZone/index.d.ts +14 -0
  156. package/src/components/app.d.ts +134 -0
  157. package/src/components/util.d.ts +1 -0
  158. package/src/fewbox/index.d.ts +27 -0
  159. package/src/language/index.d.ts +5 -0
  160. package/src/network/FormHeaders.d.ts +2 -0
  161. package/src/network/IGraphQL.d.ts +6 -0
  162. package/src/network/JsonHeaders.d.ts +5 -0
  163. package/src/network/Network.d.ts +45 -0
  164. package/src/network/NetworkObservableBase.d.ts +13 -0
  165. package/src/network/StreamObservableBase.d.ts +11 -0
  166. package/src/network/UploadHeaders.d.ts +2 -0
  167. package/src/network/WS.d.ts +11 -0
  168. package/src/network/ajax/default/Delete.d.ts +5 -0
  169. package/src/network/ajax/default/DeleteText.d.ts +5 -0
  170. package/src/network/ajax/default/Get.d.ts +5 -0
  171. package/src/network/ajax/default/GetLocal.d.ts +5 -0
  172. package/src/network/ajax/default/GetText.d.ts +5 -0
  173. package/src/network/ajax/default/NetworkObservableAjax.d.ts +7 -0
  174. package/src/network/ajax/default/Patch.d.ts +5 -0
  175. package/src/network/ajax/default/PatchText.d.ts +5 -0
  176. package/src/network/ajax/default/Post.d.ts +5 -0
  177. package/src/network/ajax/default/PostText.d.ts +5 -0
  178. package/src/network/ajax/default/Put.d.ts +5 -0
  179. package/src/network/ajax/default/PutText.d.ts +5 -0
  180. package/src/network/ajax/external/DeleteExternal.d.ts +5 -0
  181. package/src/network/ajax/external/DeleteTextExternal.d.ts +5 -0
  182. package/src/network/ajax/external/GetExternal.d.ts +5 -0
  183. package/src/network/ajax/external/GetTextExternal.d.ts +5 -0
  184. package/src/network/ajax/external/NetworkObservableAjaxExternal.d.ts +8 -0
  185. package/src/network/ajax/external/PatchExternal.d.ts +5 -0
  186. package/src/network/ajax/external/PatchTextExternal.d.ts +5 -0
  187. package/src/network/ajax/external/PostExternal.d.ts +5 -0
  188. package/src/network/ajax/external/PostTextExternal.d.ts +5 -0
  189. package/src/network/ajax/external/PutExternal.d.ts +5 -0
  190. package/src/network/ajax/external/PutTextExternal.d.ts +5 -0
  191. package/src/network/fetch/default/DeleteFetch.d.ts +5 -0
  192. package/src/network/fetch/default/GetFetch.d.ts +5 -0
  193. package/src/network/fetch/default/NetworkObservableFetch.d.ts +7 -0
  194. package/src/network/fetch/default/PatchFetch.d.ts +5 -0
  195. package/src/network/fetch/default/PostFetch.d.ts +5 -0
  196. package/src/network/fetch/default/PutFetch.d.ts +5 -0
  197. package/src/network/fetch/external/GetFetchExternal.d.ts +5 -0
  198. package/src/network/fetch/external/NetworkObservableFetchExternal.d.ts +8 -0
  199. package/src/network/fetch/external/PatchFetchExternal.d.ts +5 -0
  200. package/src/network/fetch/external/PostFetchExternal.d.ts +5 -0
  201. package/src/network/fetch/external/PutFetchExternal.d.ts +5 -0
  202. package/src/network/graphql/default/GQL.d.ts +6 -0
  203. package/src/network/graphql/default/GQLUpload.d.ts +6 -0
  204. package/src/network/graphql/default/NetworkObservableGQL.d.ts +7 -0
  205. package/src/network/graphql/external/GQLExternal.d.ts +6 -0
  206. package/src/network/graphql/external/GQLExternalUpload.d.ts +6 -0
  207. package/src/network/graphql/external/NetworkObservableGQLExternal.d.ts +7 -0
  208. package/src/network/index.d.ts +46 -0
  209. package/src/network/sse/default/GetSSE.d.ts +5 -0
  210. package/src/network/sse/default/PostSSE.d.ts +5 -0
  211. package/src/network/sse/default/StreamObservableSSE.d.ts +5 -0
  212. package/src/network/sse/external/GetSSEExternal.d.ts +5 -0
  213. package/src/network/sse/external/PostSSEExternal.d.ts +5 -0
  214. package/src/network/sse/external/StreamObservableSSEExternal.d.ts +6 -0
  215. package/src/network/util.d.ts +4 -0
  216. package/src/store/EnumDictionary.d.ts +3 -0
  217. package/src/store/IContinuePaging.d.ts +4 -0
  218. package/src/store/IList.d.ts +3 -0
  219. package/src/store/IMetaResponse.d.ts +5 -0
  220. package/src/store/IPaging.d.ts +6 -0
  221. package/src/store/IPayloadResponse.d.ts +4 -0
  222. package/src/store/Json.d.ts +9 -0
  223. package/src/store/index.d.ts +6 -0
  224. package/templates/FEWBOX.md +73 -0
  225. package/templates/style/_core.scss +297 -0
  226. package/templates/style/_root-properties.scss +57 -0
  227. package/templates/style/_root.scss +6 -0
  228. package/templates/style/_variables.scss +194 -0
@@ -0,0 +1,297 @@
1
+ @use './variables' as v;
2
+
3
+ $border-positions: "all", "top", "right", "bottom", "left", "except-top", "except-right", "except-bottom", "except-left",
4
+ "right-top", "right-bottom", "left-top", "left-bottom", "top-bottom", "left-right";
5
+
6
+ /* border position */
7
+ @each $color, $value in v.$colors {
8
+ @each $border-position in $border-positions {
9
+ .#{$color}-border-#{$border-position} {
10
+ @if ($border-position == "all") {
11
+ border-color: var(#{v.$var-prefix}color-#{$color});
12
+ }
13
+ @if ($border-position == "top") {
14
+ border-color: var(#{v.$var-prefix}color-#{$color}) transparent transparent transparent;
15
+ }
16
+ @if ($border-position == "right") {
17
+ border-color: transparent var(#{v.$var-prefix}color-#{$color}) transparent transparent;
18
+ }
19
+ @if ($border-position == "bottom") {
20
+ border-color: transparent transparent var(#{v.$var-prefix}color-#{$color}) transparent;
21
+ }
22
+ @if ($border-position == "left") {
23
+ border-color: transparent transparent transparent var(#{v.$var-prefix}color-#{$color});
24
+ }
25
+ @if ($border-position == "except-top") {
26
+ border-color: transparent
27
+ var(#{v.$var-prefix}color-#{$color})
28
+ var(#{v.$var-prefix}color-#{$color})
29
+ var(#{v.$var-prefix}color-#{$color});
30
+ }
31
+ @if ($border-position == "except-right") {
32
+ border-color: var(#{v.$var-prefix}color-#{$color})
33
+ transparent
34
+ var(#{v.$var-prefix}color-#{$color})
35
+ var(#{v.$var-prefix}color-#{$color});
36
+ }
37
+ @if ($border-position == "except-bottom") {
38
+ border-color: var(#{v.$var-prefix}color-#{$color})
39
+ var(#{v.$var-prefix}color-#{$color})
40
+ transparent
41
+ var(#{v.$var-prefix}color-#{$color});
42
+ }
43
+ @if ($border-position == "except-left") {
44
+ border-color: var(#{v.$var-prefix}color-#{$color})
45
+ var(#{v.$var-prefix}color-#{$color})
46
+ var(#{v.$var-prefix}color-#{$color})
47
+ transparent;
48
+ }
49
+ @if ($border-position == "right-top") {
50
+ border-color: var(#{v.$var-prefix}color-#{$color})
51
+ var(#{v.$var-prefix}color-#{$color})
52
+ transparent
53
+ transparent;
54
+ }
55
+ @if ($border-position == "right-bottom") {
56
+ border-color: transparent
57
+ var(#{v.$var-prefix}color-#{$color})
58
+ var(#{v.$var-prefix}color-#{$color})
59
+ transparent;
60
+ }
61
+ @if ($border-position == "left-top") {
62
+ border-color: var(#{v.$var-prefix}color-#{$color})
63
+ transparent
64
+ transparent
65
+ var(#{v.$var-prefix}color-#{$color});
66
+ }
67
+ @if ($border-position == "left-bottom") {
68
+ border-color: transparent
69
+ transparent
70
+ var(#{v.$var-prefix}color-#{$color})
71
+ var(#{v.$var-prefix}color-#{$color});
72
+ }
73
+ @if ($border-position == "top-bottom") {
74
+ border-color: var(#{v.$var-prefix}color-#{$color})
75
+ transparent
76
+ var(#{v.$var-prefix}color-#{$color})
77
+ transparent;
78
+ }
79
+ @if ($border-position == "left-right") {
80
+ border-color: transparent
81
+ var(#{v.$var-prefix}color-#{$color})
82
+ transparent
83
+ var(#{v.$var-prefix}color-#{$color});
84
+ }
85
+ }
86
+ }
87
+ }
88
+ /* pseudo - after */
89
+ @each $color, $value in v.$colors {
90
+ @each $border-position in $border-positions {
91
+ .#{$color}-after-border-#{$border-position}::after {
92
+ @if ($border-position == "all") {
93
+ border-color: var(#{v.$var-prefix}color-#{$color});
94
+ }
95
+ @if ($border-position == "top") {
96
+ border-color: var(#{v.$var-prefix}color-#{$color}) transparent transparent transparent;
97
+ }
98
+ @if ($border-position == "right") {
99
+ border-color: transparent var(#{v.$var-prefix}color-#{$color}) transparent transparent;
100
+ }
101
+ @if ($border-position == "bottom") {
102
+ border-color: transparent transparent var(#{v.$var-prefix}color-#{$color}) transparent;
103
+ }
104
+ @if ($border-position == "left") {
105
+ border-color: transparent transparent transparent var(#{v.$var-prefix}color-#{$color});
106
+ }
107
+ @if ($border-position == "except-top") {
108
+ border-color: transparent
109
+ var(#{v.$var-prefix}color-#{$color})
110
+ var(#{v.$var-prefix}color-#{$color})
111
+ var(#{v.$var-prefix}color-#{$color});
112
+ }
113
+ @if ($border-position == "except-right") {
114
+ border-color: var(#{v.$var-prefix}color-#{$color})
115
+ transparent
116
+ var(#{v.$var-prefix}color-#{$color})
117
+ var(#{v.$var-prefix}color-#{$color});
118
+ }
119
+ @if ($border-position == "except-bottom") {
120
+ border-color: var(#{v.$var-prefix}color-#{$color})
121
+ var(#{v.$var-prefix}color-#{$color})
122
+ transparent
123
+ var(#{v.$var-prefix}color-#{$color});
124
+ }
125
+ @if ($border-position == "except-left") {
126
+ border-color: var(#{v.$var-prefix}color-#{$color})
127
+ var(#{v.$var-prefix}color-#{$color})
128
+ var(#{v.$var-prefix}color-#{$color})
129
+ transparent;
130
+ }
131
+ @if ($border-position == "right-top") {
132
+ border-color: var(#{v.$var-prefix}color-#{$color})
133
+ var(#{v.$var-prefix}color-#{$color})
134
+ transparent
135
+ transparent;
136
+ }
137
+ @if ($border-position == "right-bottom") {
138
+ border-color: transparent
139
+ var(#{v.$var-prefix}color-#{$color})
140
+ var(#{v.$var-prefix}color-#{$color})
141
+ transparent;
142
+ }
143
+ @if ($border-position == "left-top") {
144
+ border-color: var(#{v.$var-prefix}color-#{$color})
145
+ transparent
146
+ transparent
147
+ var(#{v.$var-prefix}color-#{$color});
148
+ }
149
+ @if ($border-position == "left-bottom") {
150
+ border-color: transparent
151
+ transparent
152
+ var(#{v.$var-prefix}color-#{$color})
153
+ var(#{v.$var-prefix}color-#{$color});
154
+ }
155
+ @if ($border-position == "top-bottom") {
156
+ border-color: var(#{v.$var-prefix}color-#{$color})
157
+ transparent
158
+ var(#{v.$var-prefix}color-#{$color})
159
+ transparent;
160
+ }
161
+ @if ($border-position == "left-right") {
162
+ border-color: transparent
163
+ var(#{v.$var-prefix}color-#{$color})
164
+ transparent
165
+ var(#{v.$var-prefix}color-#{$color});
166
+ }
167
+ }
168
+ }
169
+ }
170
+
171
+ /* pseudo - before */
172
+ @each $color, $value in v.$colors {
173
+ @each $border-position in $border-positions {
174
+ .#{$color}-before-border-#{$border-position}::before {
175
+ @if ($border-position == "all") {
176
+ border-color: var(#{v.$var-prefix}color-#{$color});
177
+ }
178
+ @if ($border-position == "top") {
179
+ border-color: var(#{v.$var-prefix}color-#{$color}) transparent transparent transparent;
180
+ }
181
+ @if ($border-position == "right") {
182
+ border-color: transparent var(#{v.$var-prefix}color-#{$color}) transparent transparent;
183
+ }
184
+ @if ($border-position == "bottom") {
185
+ border-color: transparent transparent var(#{v.$var-prefix}color-#{$color}) transparent;
186
+ }
187
+ @if ($border-position == "left") {
188
+ border-color: transparent transparent transparent var(#{v.$var-prefix}color-#{$color});
189
+ }
190
+ @if ($border-position == "except-top") {
191
+ border-color: transparent
192
+ var(#{v.$var-prefix}color-#{$color})
193
+ var(#{v.$var-prefix}color-#{$color})
194
+ var(#{v.$var-prefix}color-#{$color});
195
+ }
196
+ @if ($border-position == "except-right") {
197
+ border-color: var(#{v.$var-prefix}color-#{$color})
198
+ transparent
199
+ var(#{v.$var-prefix}color-#{$color})
200
+ var(#{v.$var-prefix}color-#{$color});
201
+ }
202
+ @if ($border-position == "except-bottom") {
203
+ border-color: var(#{v.$var-prefix}color-#{$color})
204
+ var(#{v.$var-prefix}color-#{$color})
205
+ transparent
206
+ var(#{v.$var-prefix}color-#{$color});
207
+ }
208
+ @if ($border-position == "except-left") {
209
+ border-color: var(#{v.$var-prefix}color-#{$color})
210
+ var(#{v.$var-prefix}color-#{$color})
211
+ var(#{v.$var-prefix}color-#{$color})
212
+ transparent;
213
+ }
214
+ @if ($border-position == "right-top") {
215
+ border-color: var(#{v.$var-prefix}color-#{$color})
216
+ var(#{v.$var-prefix}color-#{$color})
217
+ transparent
218
+ transparent;
219
+ }
220
+ @if ($border-position == "right-bottom") {
221
+ border-color: transparent
222
+ var(#{v.$var-prefix}color-#{$color})
223
+ var(#{v.$var-prefix}color-#{$color})
224
+ transparent;
225
+ }
226
+ @if ($border-position == "left-top") {
227
+ border-color: var(#{v.$var-prefix}color-#{$color})
228
+ transparent
229
+ transparent
230
+ var(#{v.$var-prefix}color-#{$color});
231
+ }
232
+ @if ($border-position == "left-bottom") {
233
+ border-color: transparent
234
+ transparent
235
+ var(#{v.$var-prefix}color-#{$color})
236
+ var(#{v.$var-prefix}color-#{$color});
237
+ }
238
+ @if ($border-position == "top-bottom") {
239
+ border-color: var(#{v.$var-prefix}color-#{$color})
240
+ transparent
241
+ var(#{v.$var-prefix}color-#{$color})
242
+ transparent;
243
+ }
244
+ @if ($border-position == "left-right") {
245
+ border-color: transparent
246
+ var(#{v.$var-prefix}color-#{$color})
247
+ transparent
248
+ var(#{v.$var-prefix}color-#{$color});
249
+ }
250
+ }
251
+ }
252
+ }
253
+ /* background */
254
+ @each $color, $value in v.$colors {
255
+ .#{$color}-background {
256
+ background-color: var(#{v.$var-prefix}color-#{$color});
257
+ @if ($color == "primary") {
258
+ color: var(#{v.$var-prefix}color-white);
259
+ }
260
+ &::-webkit-slider-thumb {
261
+ background-color: var(#{v.$var-prefix}color-#{$color});
262
+ }
263
+ }
264
+ }
265
+ /* front */
266
+ @each $color, $value in v.$colors {
267
+ .#{$color}-front {
268
+ color: var(#{v.$var-prefix}color-#{$color});
269
+ }
270
+ }
271
+ /* border */
272
+ @each $color, $value in v.$colors {
273
+ .#{$color}-border {
274
+ border-color: var(#{v.$var-prefix}color-#{$color}) !important;
275
+ &::-webkit-slider-thumb {
276
+ border-color: var(#{v.$var-prefix}color-#{$color}) !important;
277
+ }
278
+ }
279
+ }
280
+ /* size */
281
+ @each $font-size, $value in v.$font-sizes {
282
+ .font-size-#{$font-size} {
283
+ font-size: var(#{v.$var-prefix}font-size-#{$font-size});
284
+ }
285
+ }
286
+ /* auto size */
287
+ @each $font-size, $value in v.$auto-font-sizes {
288
+ .auto-font-size-#{$font-size} {
289
+ font-size: var(#{v.$var-prefix}auto-font-size-#{$font-size});
290
+ }
291
+ }
292
+ /* weight */
293
+ @each $font-weight, $value in v.$font-weights {
294
+ .font-weight-#{$font-weight} {
295
+ font-weight: var(#{v.$var-prefix}font-weight-#{$font-weight});
296
+ }
297
+ }
@@ -0,0 +1,57 @@
1
+ @use './variables' as v;
2
+
3
+ %root-properties {
4
+
5
+ /* variable */
6
+ @each $color, $value in v.$colors {
7
+ #{v.$var-prefix}color-#{$color}: #{$value};
8
+ }
9
+
10
+ @each $font-size, $value in v.$font-sizes {
11
+ #{v.$var-prefix}font-size-#{$font-size}: #{$value};
12
+ }
13
+
14
+ @each $font-size, $value in v.$auto-font-sizes {
15
+ #{v.$var-prefix}auto-font-size-#{$font-size}: #{$value};
16
+ }
17
+
18
+ @each $font-weight, $value in v.$font-weights {
19
+ #{v.$var-prefix}font-weight-#{$font-weight}: #{$value}
20
+ }
21
+
22
+ @each $border-size, $value in v.$border-radius-sizes {
23
+ #{v.$var-prefix}border-radius-#{$border-size}: #{$value};
24
+ }
25
+ // Build-In
26
+ #{v.$var-prefix}font-family: #{v.$font-family};
27
+ #{v.$var-prefix}font-size: #{v.$font-size};
28
+ #{v.$var-prefix}line-height: #{v.$line-height};
29
+ #{v.$var-prefix}letter-spacing: #{v.$letter-spacing};
30
+ #{v.$var-prefix}padding: #{v.$padding};
31
+ #{v.$var-prefix}margin: #{v.$margin};
32
+ #{v.$var-prefix}box-sizing: #{v.$box-sizing};
33
+ #{v.$var-prefix}scrollbar-size: #{v.$scrollbar-size};
34
+ #{v.$var-prefix}scrollbar-track-color: #{v.$scrollbar-track-color};
35
+ #{v.$var-prefix}scrollbar-thumb-color: #{v.$scrollbar-thumb-color};
36
+ #{v.$var-prefix}scrollbar-thumb-hover-color: #{v.$scrollbar-thumb-hover-color};
37
+ #{v.$var-prefix}scrollbar-thumb-active-color: #{v.$scrollbar-thumb-active-color};
38
+ #{v.$var-prefix}scrollbar-radius: #{v.$scrollbar-radius};
39
+ // Component
40
+ #{v.$var-prefix}input-padding: #{v.$input-padding};
41
+ #{v.$var-prefix}input-padding: #{v.$input-padding};
42
+ #{v.$var-prefix}dropdown-hover-background-color: #{v.$dropdown-hover-background-color};
43
+ #{v.$var-prefix}dropdown-hover-color: #{v.$dropdown-hover-color};
44
+
45
+ #{v.$var-prefix}v-ellipse-size: #{v.$v-ellipse-size};
46
+ #{v.$var-prefix}v-rectangle-size: #{v.$v-ellipse-size};
47
+ #{v.$var-prefix}v-image-size: #{v.$v-image-size};
48
+ #{v.$var-prefix}v-svg-size: #{v.$v-svg-size};
49
+ #{v.$var-prefix}v-window--size: #{v.$v-window-size};
50
+
51
+
52
+ *,
53
+ ::before,
54
+ ::after {
55
+ box-sizing: inherit;
56
+ }
57
+ }
@@ -0,0 +1,6 @@
1
+ @forward './root-properties';
2
+ @forward "./core";
3
+
4
+ :root {
5
+ @extend %root-properties;
6
+ }
@@ -0,0 +1,194 @@
1
+ /*------------------*/
2
+ /* VARIABLES */
3
+ /*------------------*/
4
+ $var-prefix: --den-;
5
+
6
+ /*------------------*/
7
+ /* THEME COLOUR */
8
+ /*------------------*/
9
+ //font
10
+ $font-color: #000000;
11
+ //body
12
+ $body-color: #f5f8fa;
13
+ //component
14
+ $white-color: #ffffff;
15
+ $black-color: #000000;
16
+ $light-color: #f0f0f0;
17
+ $dark-color: #283252;
18
+ $primary-color: #cd0dad;
19
+ $secondary-color: #f782c2;
20
+ $tertiary-color: #f9c46b;
21
+ $info-color: #159ad8;
22
+ $success-color: #0fe66f;
23
+ $warning-color: #e7f152;
24
+ $error-color: #d6243c;
25
+ $placeholder-color: #e1e1e1;
26
+ $border-color: #e6e6e6;
27
+ $transparent-color: transparent;
28
+ $custom-color: #d132b9;
29
+ $colors: (
30
+ "font": $font-color,
31
+ "body": $body-color,
32
+ "white": $white-color,
33
+ "black": $black-color,
34
+ "light": $light-color,
35
+ "light75": rgba($light-color, 0.75),
36
+ "light50": rgba($light-color, 0.5),
37
+ "light25": rgba($light-color, 0.25),
38
+ "dark": $dark-color,
39
+ "dark75": rgba($dark-color, 0.75),
40
+ "dark50": rgba($dark-color, 0.5),
41
+ "dark25": rgba($dark-color, 0.25),
42
+ "primary": $primary-color,
43
+ "primary75": rgba($primary-color, 0.75),
44
+ "primary50": rgba($primary-color, 0.5),
45
+ "primary25": rgba($primary-color, 0.25),
46
+ "secondary": $secondary-color,
47
+ "secondary75": rgba($secondary-color, 0.75),
48
+ "secondary50": rgba($secondary-color, 0.5),
49
+ "secondary25": rgba($secondary-color, 0.25),
50
+ "tertiary": $tertiary-color,
51
+ "tertiary75": rgba($tertiary-color, 0.75),
52
+ "tertiary50": rgba($tertiary-color, 0.5),
53
+ "tertiary25": rgba($tertiary-color, 0.25),
54
+ "info": $info-color,
55
+ "info75": rgba($info-color, 0.75),
56
+ "info50": rgba($info-color, 0.5),
57
+ "info25": rgba($info-color, 0.25),
58
+ "success": $success-color,
59
+ "success75": rgba($success-color, 0.75),
60
+ "success50": rgba($success-color, 0.5),
61
+ "success25": rgba($success-color, 0.25),
62
+ "warning": $warning-color,
63
+ "warning75": rgba($warning-color, 0.75),
64
+ "warning50": rgba($warning-color, 0.5),
65
+ "warning25": rgba($warning-color, 0.25),
66
+ "error": $error-color,
67
+ "error75": rgba($error-color, 0.75),
68
+ "error50": rgba($error-color, 0.5),
69
+ "error25": rgba($error-color, 0.25),
70
+ "placeholder": $placeholder-color,
71
+ "placeholder75": rgba($placeholder-color, 0.75),
72
+ "placeholder50": rgba($placeholder-color, 0.5),
73
+ "placeholder25": rgba($placeholder-color, 0.25),
74
+ "border": $border-color,
75
+ "border75": rgba($border-color, 0.75),
76
+ "border50": rgba($border-color, 0.5),
77
+ "border25": rgba($border-color, 0.25),
78
+ "transparent": $transparent-color,
79
+ "custom": $custom-color,
80
+ "custom75": rgba($custom-color, 0.75),
81
+ "custom50": rgba($custom-color, 0.5),
82
+ "custom25": rgba($custom-color, 0.25),
83
+ );
84
+ //debug
85
+ $debug-color-position: #d132b9;
86
+ $debug-color-flex: #3266d0;
87
+ $debug-color-flex-item: #3266d0;
88
+
89
+ /*------------------*/
90
+ /* BOX MODEL */
91
+ /*------------------*/
92
+ $padding: 0;
93
+ $margin: 0;
94
+ //left right top bottom offset
95
+ $self-offset: 1em;
96
+ //border
97
+ $border-radius-sizes: (
98
+ "fixed": 0.8rem,
99
+ "max": 50%,
100
+ );
101
+ $box-sizing: border-box;
102
+
103
+ /*------------------*/
104
+ /* HTML ELEMENT */
105
+ /*------------------*/
106
+ //scrollbar
107
+ $scrollbar-size: 6px;
108
+ $scrollbar-track-color: #e1e1e1;
109
+ $scrollbar-thumb-color: #2e2e2e;
110
+ $scrollbar-thumb-hover-color: #525252;
111
+ $scrollbar-thumb-active-color: #000000;
112
+ $scrollbar-radius: 8px;
113
+
114
+ /*------------------*/
115
+ /* FONT */
116
+ /*------------------*/
117
+ $line-height: 1.4;
118
+ $letter-spacing: 0.01em;
119
+ $font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji",
120
+ "Segoe UI Emoji", "Segoe UI Symbol";
121
+ $font-size: 1em; // 16px * 0.875 = 14px;
122
+ //$font-size: calc(0.5em + 1vw);
123
+ $normal: 1rem;
124
+ $extra-small: $normal * 0.5;
125
+ $small: $normal * 0.8;
126
+ $large: $normal * 1.4;
127
+ $extra-large: $normal * 2.4;
128
+ $custom: $normal * 2.8;
129
+ $font-sizes: (
130
+ "normal": $normal,
131
+ "extra-small": $extra-small,
132
+ "small": $small,
133
+ "large": $large,
134
+ "extra-large": $extra-large,
135
+ "custom": $custom,
136
+ );
137
+ $auto-normal: 1em;
138
+ $auto-extra-small: $auto-normal * 0.5;
139
+ $auto-small: $auto-normal * 0.8;
140
+ $auto-large: $auto-normal * 1.4;
141
+ $auto-extra-large: $auto-normal * 2.4;
142
+ $auto-custom: $auto-normal * 2.8;
143
+ $auto-font-sizes: (
144
+ "normal": $auto-normal,
145
+ "extra-small": $auto-extra-small,
146
+ "small": $auto-small,
147
+ "large": $auto-large,
148
+ "extra-large": $auto-extra-large,
149
+ "custom": $auto-custom,
150
+ );
151
+ $font-weights: (
152
+ "thin": 100,
153
+ "extra-light": 200,
154
+ "light": 300,
155
+ "regular": 400,
156
+ "medium": 500,
157
+ "semi-bold": 600,
158
+ "bold": 700,
159
+ "extra-bold": 800,
160
+ "black": 900,
161
+ );
162
+
163
+ /*------------------*/
164
+ /* VISUAL COMPONENT */
165
+ /*------------------*/
166
+ $v-ellipse-size: 1em;
167
+ $v-rectangle-size: 1em;
168
+ $v-image-size: 3em;
169
+ $v-window-size: 16em;
170
+ $v-svg-size: 2.2em;
171
+
172
+ /*------------------*/
173
+ /* RESPONSIVE */
174
+ /*------------------*/
175
+ $response-breakpoints: (
176
+ "extra-small": 0,
177
+ "small": 576px,
178
+ "medium": 768px,
179
+ "large": 992px,
180
+ "extra-large": 1200px,
181
+ "extra-extra-large": 1400px,
182
+ );
183
+ $zone-padding-x: 1.5rem;
184
+ $zone-max-widths: (
185
+ "extra-small": 0,
186
+ "small": 540px,
187
+ "medium": 720px,
188
+ "large": 960px,
189
+ "extra-large": 1140px,
190
+ "extra-extra-large": 1320px,
191
+ ) !default;
192
+ $input-padding: 0.6em 1em;
193
+ $dropdown-hover-background-color: $primary-color;
194
+ $dropdown-hover-color: $white-color;