@lunit/design-system 1.0.0-a.1 → 1.0.0-a.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.
Files changed (351) hide show
  1. package/dist/cjs/components/Alert/index.js +2 -0
  2. package/dist/cjs/components/Alert/index.js.map +1 -0
  3. package/dist/cjs/components/Button/index.js +2 -0
  4. package/dist/cjs/components/Button/index.js.map +1 -0
  5. package/dist/cjs/components/Checkbox/index.js +2 -0
  6. package/dist/cjs/components/Checkbox/index.js.map +1 -0
  7. package/dist/cjs/components/Chip/index.js +2 -0
  8. package/dist/cjs/components/Chip/index.js.map +1 -0
  9. package/dist/cjs/components/DataTable/index.js +2 -0
  10. package/dist/cjs/components/DataTable/index.js.map +1 -0
  11. package/dist/cjs/components/DatePicker/index.js +2 -0
  12. package/dist/cjs/components/DatePicker/index.js.map +1 -0
  13. package/dist/cjs/components/Dropdown/index.js +2 -0
  14. package/dist/cjs/components/Dropdown/index.js.map +1 -0
  15. package/dist/cjs/components/FormLabel/index.js +2 -0
  16. package/dist/cjs/components/FormLabel/index.js.map +1 -0
  17. package/dist/cjs/components/Modal/index.js +2 -0
  18. package/dist/cjs/components/Modal/index.js.map +1 -0
  19. package/dist/cjs/components/Radio/index.js +2 -0
  20. package/dist/cjs/components/Radio/index.js.map +1 -0
  21. package/dist/cjs/components/RadioGroup/index.js +2 -0
  22. package/dist/cjs/components/RadioGroup/index.js.map +1 -0
  23. package/dist/cjs/components/TextField/index.js +2 -0
  24. package/dist/cjs/components/TextField/index.js.map +1 -0
  25. package/dist/cjs/components/Toggle/index.js +2 -0
  26. package/dist/cjs/components/Toggle/index.js.map +1 -0
  27. package/dist/cjs/components/ToggleButton/index.js +2 -0
  28. package/dist/cjs/components/ToggleButton/index.js.map +1 -0
  29. package/dist/cjs/components/Tooltip/index.js +2 -0
  30. package/dist/cjs/components/Tooltip/index.js.map +1 -0
  31. package/dist/cjs/index.js +2 -0
  32. package/dist/cjs/index.js.map +1 -0
  33. package/dist/components/Alert/Alert.js +7 -0
  34. package/dist/components/Alert/Alert.js.map +1 -0
  35. package/dist/components/Alert/index.js +1 -1
  36. package/dist/components/Alert/index.js.map +1 -1
  37. package/dist/components/Button/Button.js +9 -0
  38. package/dist/components/Button/Button.js.map +1 -0
  39. package/dist/components/Button/Button.styled.js +170 -0
  40. package/dist/components/Button/Button.styled.js.map +1 -0
  41. package/dist/components/Button/Button.types.js +2 -0
  42. package/dist/components/Button/Button.types.js.map +1 -0
  43. package/dist/components/Button/const.js +3 -0
  44. package/dist/components/Button/const.js.map +1 -0
  45. package/dist/components/Button/index.js +1 -1
  46. package/dist/components/Button/index.js.map +1 -1
  47. package/dist/components/Button/utils/getButtonPaddingBySizeAndKind.js +23 -0
  48. package/dist/components/Button/utils/getButtonPaddingBySizeAndKind.js.map +1 -0
  49. package/dist/components/Button/utils/getIconButtonPaddingBySizeAndKind.js +23 -0
  50. package/dist/components/Button/utils/getIconButtonPaddingBySizeAndKind.js.map +1 -0
  51. package/dist/components/Checkbox/Checkbox.js +49 -0
  52. package/dist/components/Checkbox/Checkbox.js.map +1 -0
  53. package/dist/components/Checkbox/index.js +1 -1
  54. package/dist/components/Checkbox/index.js.map +1 -1
  55. package/dist/components/Chip/Chip.js +70 -0
  56. package/dist/components/Chip/Chip.js.map +1 -0
  57. package/dist/components/Chip/Chip.styled.js +143 -0
  58. package/dist/components/Chip/Chip.styled.js.map +1 -0
  59. package/dist/components/Chip/Chip.types.js +2 -0
  60. package/dist/components/Chip/Chip.types.js.map +1 -0
  61. package/dist/components/Chip/consts.js +8 -0
  62. package/dist/components/Chip/consts.js.map +1 -0
  63. package/dist/components/Chip/index.js +1 -1
  64. package/dist/components/Chip/index.js.map +1 -1
  65. package/dist/components/DataTable/DataTable.js +7 -0
  66. package/dist/components/DataTable/DataTable.js.map +1 -0
  67. package/dist/components/DataTable/index.js +1 -1
  68. package/dist/components/DataTable/index.js.map +1 -1
  69. package/dist/components/DatePicker/DatePicker.js +7 -0
  70. package/dist/components/DatePicker/DatePicker.js.map +1 -0
  71. package/dist/components/DatePicker/index.js +1 -1
  72. package/dist/components/DatePicker/index.js.map +1 -1
  73. package/dist/components/Dropdown/Dropdown.js +7 -0
  74. package/dist/components/Dropdown/Dropdown.js.map +1 -0
  75. package/dist/components/Dropdown/index.js +1 -1
  76. package/dist/components/Dropdown/index.js.map +1 -1
  77. package/dist/components/FormLabel/FormLabel.js +7 -0
  78. package/dist/components/FormLabel/FormLabel.js.map +1 -0
  79. package/dist/components/FormLabel/FormLabel.styled.js +8 -0
  80. package/dist/components/FormLabel/FormLabel.styled.js.map +1 -0
  81. package/dist/components/FormLabel/index.js +1 -1
  82. package/dist/components/FormLabel/index.js.map +1 -1
  83. package/dist/components/Modal/Modal.js +7 -0
  84. package/dist/components/Modal/Modal.js.map +1 -0
  85. package/dist/components/Modal/index.js +1 -1
  86. package/dist/components/Modal/index.js.map +1 -1
  87. package/dist/components/Radio/Radio.js +43 -0
  88. package/dist/components/Radio/Radio.js.map +1 -0
  89. package/dist/components/Radio/index.js +1 -1
  90. package/dist/components/Radio/index.js.map +1 -1
  91. package/dist/components/RadioGroup/index.js +2 -1
  92. package/dist/components/RadioGroup/index.js.map +1 -1
  93. package/dist/components/TextField/TextField.js +7 -0
  94. package/dist/components/TextField/TextField.js.map +1 -0
  95. package/dist/components/TextField/index.js +1 -1
  96. package/dist/components/TextField/index.js.map +1 -1
  97. package/dist/components/Toggle/Toggle.js +13 -0
  98. package/dist/components/Toggle/Toggle.js.map +1 -0
  99. package/dist/components/Toggle/Toggle.styled.js +155 -0
  100. package/dist/components/Toggle/Toggle.styled.js.map +1 -0
  101. package/dist/components/Toggle/Toggle.types.js +2 -0
  102. package/dist/components/Toggle/Toggle.types.js.map +1 -0
  103. package/dist/components/Toggle/index.js +1 -1
  104. package/dist/components/Toggle/index.js.map +1 -1
  105. package/dist/components/ToggleButton/ToggleButton.js +12 -0
  106. package/dist/components/ToggleButton/ToggleButton.js.map +1 -0
  107. package/dist/components/ToggleButton/ToggleButton.styled.js +35 -0
  108. package/dist/components/ToggleButton/ToggleButton.styled.js.map +1 -0
  109. package/dist/components/ToggleButton/ToggleButton.types.js +2 -0
  110. package/dist/components/ToggleButton/ToggleButton.types.js.map +1 -0
  111. package/dist/components/ToggleButton/index.js +1 -1
  112. package/dist/components/ToggleButton/index.js.map +1 -1
  113. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.js +7 -0
  114. package/dist/components/ToggleButtonGroup/ToggleButtonGroup.js.map +1 -0
  115. package/dist/components/ToggleButtonGroup/index.js +2 -0
  116. package/dist/components/ToggleButtonGroup/index.js.map +1 -0
  117. package/dist/components/Tooltip/Tooltip.js +7 -0
  118. package/dist/components/Tooltip/Tooltip.js.map +1 -0
  119. package/dist/components/Tooltip/index.js +1 -1
  120. package/dist/components/Tooltip/index.js.map +1 -1
  121. package/dist/components/index.js +7 -0
  122. package/dist/components/index.js.map +1 -0
  123. package/dist/foundation/Elevation/index.js +66 -0
  124. package/dist/foundation/Elevation/index.js.map +1 -0
  125. package/dist/foundation/Elevation/utils.js +9 -0
  126. package/dist/foundation/Elevation/utils.js.map +1 -0
  127. package/dist/foundation/Typography/index.js +62 -0
  128. package/dist/foundation/Typography/index.js.map +1 -0
  129. package/dist/foundation/Typography/tokens.js +155 -0
  130. package/dist/foundation/Typography/tokens.js.map +1 -0
  131. package/dist/foundation/colors/base/blue.js +26 -0
  132. package/dist/foundation/colors/base/blue.js.map +1 -0
  133. package/dist/foundation/colors/base/green.js +26 -0
  134. package/dist/foundation/colors/base/green.js.map +1 -0
  135. package/dist/foundation/colors/base/grey.js +36 -0
  136. package/dist/foundation/colors/base/grey.js.map +1 -0
  137. package/dist/foundation/colors/base/index.js +12 -0
  138. package/dist/foundation/colors/base/index.js.map +1 -0
  139. package/dist/foundation/colors/base/lunitGreen.js +26 -0
  140. package/dist/foundation/colors/base/lunitGreen.js.map +1 -0
  141. package/dist/foundation/colors/base/lunitTeal.js +26 -0
  142. package/dist/foundation/colors/base/lunitTeal.js.map +1 -0
  143. package/dist/foundation/colors/base/magenta.js +26 -0
  144. package/dist/foundation/colors/base/magenta.js.map +1 -0
  145. package/dist/foundation/colors/base/opacity.js +7 -0
  146. package/dist/foundation/colors/base/opacity.js.map +1 -0
  147. package/dist/foundation/colors/base/orange.js +26 -0
  148. package/dist/foundation/colors/base/orange.js.map +1 -0
  149. package/dist/foundation/colors/base/purple.js +26 -0
  150. package/dist/foundation/colors/base/purple.js.map +1 -0
  151. package/dist/foundation/colors/base/red.js +26 -0
  152. package/dist/foundation/colors/base/red.js.map +1 -0
  153. package/dist/foundation/colors/base/yellow.js +26 -0
  154. package/dist/foundation/colors/base/yellow.js.map +1 -0
  155. package/dist/foundation/colors/index.js +188 -0
  156. package/dist/foundation/colors/index.js.map +1 -0
  157. package/dist/foundation/colors/token/component.js +449 -0
  158. package/dist/foundation/colors/token/component.js.map +1 -0
  159. package/dist/foundation/colors/token/core.js +199 -0
  160. package/dist/foundation/colors/token/core.js.map +1 -0
  161. package/dist/foundation/colors/token/index.js +3 -0
  162. package/dist/foundation/colors/token/index.js.map +1 -0
  163. package/dist/foundation/colors/token/types.js +2 -0
  164. package/dist/foundation/colors/token/types.js.map +1 -0
  165. package/dist/foundation/colors/types.js +2 -0
  166. package/dist/foundation/colors/types.js.map +1 -0
  167. package/dist/foundation/index.js +13 -0
  168. package/dist/foundation/index.js.map +1 -0
  169. package/dist/foundation/spacing.js +2 -0
  170. package/dist/foundation/spacing.js.map +1 -0
  171. package/dist/index.js +16 -1
  172. package/dist/index.js.map +1 -1
  173. package/dist/theme.js +34 -0
  174. package/dist/theme.js.map +1 -0
  175. package/dist/types/components/Chip/Chip.styled.d.ts +79 -0
  176. package/package.json +19 -10
  177. package/src/components/Alert/Alert.tsx +9 -0
  178. package/src/components/Alert/index.ts +1 -0
  179. package/src/components/Button/Button.styled.ts +220 -0
  180. package/src/components/Button/Button.tsx +54 -0
  181. package/src/components/Button/Button.types.ts +25 -0
  182. package/src/components/Button/const.ts +2 -0
  183. package/src/components/Button/index.ts +1 -0
  184. package/src/components/Button/utils/getButtonPaddingBySizeAndKind.ts +35 -0
  185. package/src/components/Button/utils/getIconButtonPaddingBySizeAndKind.ts +38 -0
  186. package/src/components/Checkbox/Checkbox.tsx +67 -0
  187. package/src/components/Checkbox/index.ts +1 -0
  188. package/src/components/Chip/Chip.styled.ts +162 -0
  189. package/src/components/Chip/Chip.tsx +132 -0
  190. package/src/components/Chip/Chip.types.ts +56 -0
  191. package/src/components/Chip/consts.ts +7 -0
  192. package/src/components/Chip/index.ts +1 -0
  193. package/src/components/DataTable/DataTable.tsx +8 -0
  194. package/src/components/DataTable/index.ts +1 -0
  195. package/src/components/DatePicker/DatePicker.tsx +8 -0
  196. package/src/components/DatePicker/index.ts +1 -0
  197. package/src/components/Dropdown/Dropdown.tsx +11 -0
  198. package/src/components/Dropdown/index.ts +1 -0
  199. package/src/components/FormLabel/FormLabel.styled.ts +8 -0
  200. package/src/components/FormLabel/FormLabel.tsx +9 -0
  201. package/src/components/FormLabel/index.ts +1 -0
  202. package/src/components/Modal/Modal.tsx +8 -0
  203. package/src/components/Modal/index.ts +1 -0
  204. package/src/components/Radio/Radio.tsx +58 -0
  205. package/src/components/Radio/index.ts +1 -0
  206. package/src/components/RadioGroup/index.ts +2 -0
  207. package/src/components/TextField/TextField.tsx +8 -0
  208. package/src/components/TextField/index.ts +1 -0
  209. package/src/components/Toggle/Toggle.styled.ts +162 -0
  210. package/src/components/Toggle/Toggle.tsx +18 -0
  211. package/src/components/Toggle/Toggle.types.ts +14 -0
  212. package/src/components/Toggle/index.ts +1 -0
  213. package/src/components/ToggleButton/ToggleButton.styled.ts +58 -0
  214. package/src/components/ToggleButton/ToggleButton.tsx +89 -0
  215. package/src/components/ToggleButton/ToggleButton.types.ts +28 -0
  216. package/src/components/ToggleButton/index.ts +1 -0
  217. package/src/components/ToggleButtonGroup/ToggleButtonGroup.tsx +13 -0
  218. package/src/components/ToggleButtonGroup/index.tsx +1 -0
  219. package/src/components/Tooltip/Tooltip.tsx +9 -0
  220. package/src/components/Tooltip/index.ts +1 -0
  221. package/src/components/index.ts +9 -0
  222. package/src/foundation/Elevation/index.ts +72 -0
  223. package/src/foundation/Elevation/utils.ts +11 -0
  224. package/src/foundation/Typography/index.ts +96 -0
  225. package/src/foundation/Typography/tokens.ts +162 -0
  226. package/src/foundation/colors/base/blue.ts +27 -0
  227. package/src/foundation/colors/base/green.ts +27 -0
  228. package/src/foundation/colors/base/grey.ts +36 -0
  229. package/src/foundation/colors/base/index.ts +11 -0
  230. package/src/foundation/colors/base/lunitGreen.ts +27 -0
  231. package/src/foundation/colors/base/lunitTeal.ts +27 -0
  232. package/src/foundation/colors/base/magenta.ts +27 -0
  233. package/src/foundation/colors/base/opacity.ts +6 -0
  234. package/src/foundation/colors/base/orange.ts +27 -0
  235. package/src/foundation/colors/base/purple.ts +27 -0
  236. package/src/foundation/colors/base/red.ts +27 -0
  237. package/src/foundation/colors/base/yellow.ts +27 -0
  238. package/src/foundation/colors/index.ts +235 -0
  239. package/src/foundation/colors/token/component.ts +456 -0
  240. package/src/foundation/colors/token/core.ts +204 -0
  241. package/src/foundation/colors/token/index.ts +2 -0
  242. package/src/foundation/colors/token/types.ts +8 -0
  243. package/src/foundation/colors/types.ts +85 -0
  244. package/src/foundation/index.ts +25 -0
  245. package/src/foundation/spacing.ts +3 -0
  246. package/src/index.ts +17 -0
  247. package/src/stories/components/Alert/Alert.stories.tsx +13 -0
  248. package/src/stories/components/Button/BasicButton.stories.tsx +177 -0
  249. package/src/stories/components/Button/IconButton.stories.tsx +128 -0
  250. package/src/stories/components/Button/Kind.stories.tsx +514 -0
  251. package/src/stories/components/Chip/Chip.stories.tsx +196 -0
  252. package/src/stories/components/DataTable/DataTable.stories.tsx +13 -0
  253. package/src/stories/components/DatePicker/DatePicker.stories.tsx +13 -0
  254. package/src/stories/components/Dropdown/Dropdown.stories.tsx +15 -0
  255. package/src/stories/components/Modal/Modal.stories.tsx +13 -0
  256. package/src/stories/components/SelectControl/Checkbox.stories.tsx +248 -0
  257. package/src/stories/components/SelectControl/RadioGroup.stories.tsx +67 -0
  258. package/src/stories/components/SelectControl/RadioStatus.stories.tsx +91 -0
  259. package/src/stories/components/SelectControl/Toggle.stories.tsx +429 -0
  260. package/src/stories/components/TextField/TextField.stories.tsx +13 -0
  261. package/src/stories/components/ToggleButton/Basic.stories.tsx +342 -0
  262. package/src/stories/components/ToggleButton/Group.stories.tsx +221 -0
  263. package/src/stories/components/ToggleButton/ToggleButtonKind.stories.tsx +698 -0
  264. package/src/stories/components/ToggleButton/WithIcon.stories.tsx +293 -0
  265. package/src/stories/components/Tooltip/Tooltip.stories.tsx +13 -0
  266. package/src/stories/foundation/Elevation/Elevation.stories.tsx +264 -0
  267. package/src/stories/foundation/Elevation/styled.ts +12 -0
  268. package/src/stories/foundation/Typography/Typography.stories.mdx +71 -0
  269. package/src/stories/foundation/Typography/Typography.stories.tsx +91 -0
  270. package/src/stories/foundation/Typography/TypographyGroup.tsx +71 -0
  271. package/src/stories/foundation/Typography/const.ts +25 -0
  272. package/src/stories/foundation/colors/Colors.stories.tsx +64 -0
  273. package/src/stories/foundation/colors/Token.inComponent.stories.tsx +167 -0
  274. package/src/stories/foundation/colors/Token.stories.tsx +190 -0
  275. package/src/stories/foundation/colors/styled.ts +39 -0
  276. package/src/theme.ts +41 -0
  277. package/src/types.d.ts +4 -0
  278. package/tsconfig.build.json +2 -0
  279. package/dist/components/Chip/Chip.styled.d.ts +0 -41
  280. package/dist/components/HelloWorld/HelloWorld.d.ts +0 -28
  281. package/webpack.config.js +0 -51
  282. /package/dist/{components → types/components}/Alert/Alert.d.ts +0 -0
  283. /package/dist/{components → types/components}/Alert/index.d.ts +0 -0
  284. /package/dist/{components → types/components}/Button/Button.d.ts +0 -0
  285. /package/dist/{components → types/components}/Button/Button.styled.d.ts +0 -0
  286. /package/dist/{components → types/components}/Button/Button.types.d.ts +0 -0
  287. /package/dist/{components → types/components}/Button/const.d.ts +0 -0
  288. /package/dist/{components → types/components}/Button/index.d.ts +0 -0
  289. /package/dist/{components → types/components}/Button/utils/getButtonPaddingBySizeAndKind.d.ts +0 -0
  290. /package/dist/{components → types/components}/Button/utils/getIconButtonPaddingBySizeAndKind.d.ts +0 -0
  291. /package/dist/{components → types/components}/Checkbox/Checkbox.d.ts +0 -0
  292. /package/dist/{components → types/components}/Checkbox/index.d.ts +0 -0
  293. /package/dist/{components → types/components}/Chip/Chip.d.ts +0 -0
  294. /package/dist/{components → types/components}/Chip/Chip.types.d.ts +0 -0
  295. /package/dist/{components → types/components}/Chip/consts.d.ts +0 -0
  296. /package/dist/{components → types/components}/Chip/index.d.ts +0 -0
  297. /package/dist/{components → types/components}/DataTable/DataTable.d.ts +0 -0
  298. /package/dist/{components → types/components}/DataTable/index.d.ts +0 -0
  299. /package/dist/{components → types/components}/DatePicker/DatePicker.d.ts +0 -0
  300. /package/dist/{components → types/components}/DatePicker/index.d.ts +0 -0
  301. /package/dist/{components → types/components}/Dropdown/Dropdown.d.ts +0 -0
  302. /package/dist/{components → types/components}/Dropdown/index.d.ts +0 -0
  303. /package/dist/{components → types/components}/FormLabel/FormLabel.d.ts +0 -0
  304. /package/dist/{components → types/components}/FormLabel/FormLabel.styled.d.ts +0 -0
  305. /package/dist/{components → types/components}/FormLabel/index.d.ts +0 -0
  306. /package/dist/{components → types/components}/Modal/Modal.d.ts +0 -0
  307. /package/dist/{components → types/components}/Modal/index.d.ts +0 -0
  308. /package/dist/{components → types/components}/Radio/Radio.d.ts +0 -0
  309. /package/dist/{components → types/components}/Radio/index.d.ts +0 -0
  310. /package/dist/{components → types/components}/RadioGroup/index.d.ts +0 -0
  311. /package/dist/{components → types/components}/TextField/TextField.d.ts +0 -0
  312. /package/dist/{components → types/components}/TextField/index.d.ts +0 -0
  313. /package/dist/{components → types/components}/Toggle/Toggle.d.ts +0 -0
  314. /package/dist/{components → types/components}/Toggle/Toggle.styled.d.ts +0 -0
  315. /package/dist/{components → types/components}/Toggle/Toggle.types.d.ts +0 -0
  316. /package/dist/{components → types/components}/Toggle/index.d.ts +0 -0
  317. /package/dist/{components → types/components}/ToggleButton/ToggleButton.d.ts +0 -0
  318. /package/dist/{components → types/components}/ToggleButton/ToggleButton.styled.d.ts +0 -0
  319. /package/dist/{components → types/components}/ToggleButton/ToggleButton.types.d.ts +0 -0
  320. /package/dist/{components → types/components}/ToggleButton/index.d.ts +0 -0
  321. /package/dist/{components → types/components}/ToggleButtonGroup/ToggleButtonGroup.d.ts +0 -0
  322. /package/dist/{components → types/components}/ToggleButtonGroup/index.d.ts +0 -0
  323. /package/dist/{components → types/components}/Tooltip/Tooltip.d.ts +0 -0
  324. /package/dist/{components → types/components}/Tooltip/index.d.ts +0 -0
  325. /package/dist/{components → types/components}/index.d.ts +0 -0
  326. /package/dist/{foundation → types/foundation}/Elevation/index.d.ts +0 -0
  327. /package/dist/{foundation → types/foundation}/Elevation/utils.d.ts +0 -0
  328. /package/dist/{foundation → types/foundation}/Typography/index.d.ts +0 -0
  329. /package/dist/{foundation → types/foundation}/Typography/tokens.d.ts +0 -0
  330. /package/dist/{foundation → types/foundation}/colors/base/blue.d.ts +0 -0
  331. /package/dist/{foundation → types/foundation}/colors/base/green.d.ts +0 -0
  332. /package/dist/{foundation → types/foundation}/colors/base/grey.d.ts +0 -0
  333. /package/dist/{foundation → types/foundation}/colors/base/index.d.ts +0 -0
  334. /package/dist/{foundation → types/foundation}/colors/base/lunitGreen.d.ts +0 -0
  335. /package/dist/{foundation → types/foundation}/colors/base/lunitTeal.d.ts +0 -0
  336. /package/dist/{foundation → types/foundation}/colors/base/magenta.d.ts +0 -0
  337. /package/dist/{foundation → types/foundation}/colors/base/opacity.d.ts +0 -0
  338. /package/dist/{foundation → types/foundation}/colors/base/orange.d.ts +0 -0
  339. /package/dist/{foundation → types/foundation}/colors/base/purple.d.ts +0 -0
  340. /package/dist/{foundation → types/foundation}/colors/base/red.d.ts +0 -0
  341. /package/dist/{foundation → types/foundation}/colors/base/yellow.d.ts +0 -0
  342. /package/dist/{foundation → types/foundation}/colors/index.d.ts +0 -0
  343. /package/dist/{foundation → types/foundation}/colors/token/component.d.ts +0 -0
  344. /package/dist/{foundation → types/foundation}/colors/token/core.d.ts +0 -0
  345. /package/dist/{foundation → types/foundation}/colors/token/index.d.ts +0 -0
  346. /package/dist/{foundation → types/foundation}/colors/token/types.d.ts +0 -0
  347. /package/dist/{foundation → types/foundation}/colors/types.d.ts +0 -0
  348. /package/dist/{foundation → types/foundation}/index.d.ts +0 -0
  349. /package/dist/{foundation → types/foundation}/spacing.d.ts +0 -0
  350. /package/dist/{index.d.ts → types/index.d.ts} +0 -0
  351. /package/dist/{theme.d.ts → types/theme.d.ts} +0 -0
@@ -0,0 +1,456 @@
1
+ import { ColorTokenValueBySurface } from "./types";
2
+
3
+ export interface TokenComponentColorValue {
4
+ [component: string]: {
5
+ [token: string]: ColorTokenValueBySurface;
6
+ };
7
+ }
8
+
9
+ export const tokenComponentColor: TokenComponentColorValue = {
10
+ btn: {
11
+ btn_contained_primary_bg: {
12
+ light1: "--lunitTeal-40",
13
+ light2: "--lunitTeal-40",
14
+ dark1: "--lunitTeal-40",
15
+ dark2: "--lunitTeal-40",
16
+ dark3: "--lunitTeal-40",
17
+ dark4: "--lunitTeal-40",
18
+ },
19
+ btn_contained_primary_text: {
20
+ light1: "--grey-95",
21
+ light2: "--grey-95",
22
+ dark1: "--grey-95",
23
+ dark2: "--grey-95",
24
+ dark3: "--grey-95",
25
+ dark4: "--grey-95",
26
+ },
27
+ btn_contained_secondary_bg: {
28
+ light1: "--grey-15",
29
+ light2: "--grey-15",
30
+ dark1: "--grey-60",
31
+ dark2: "--grey-60",
32
+ dark3: "--grey-60",
33
+ dark4: "--grey-60",
34
+ },
35
+ btn_contained_secondary_text: {
36
+ light1: "--grey-95",
37
+ light2: "--grey-95",
38
+ dark1: "--grey-5",
39
+ dark2: "--grey-5",
40
+ dark3: "--grey-5",
41
+ dark4: "--grey-5",
42
+ },
43
+ btn_contained_error_bg: {
44
+ light1: "--red-40",
45
+ light2: "--red-40",
46
+ dark1: "--red-40",
47
+ dark2: "--red-40",
48
+ dark3: "--red-40",
49
+ dark4: "--red-40",
50
+ },
51
+ btn_contained_error_text: {
52
+ light1: "--grey-95",
53
+ light2: "--grey-95",
54
+ dark1: "--grey-95",
55
+ dark2: "--grey-95",
56
+ dark3: "--grey-95",
57
+ dark4: "--grey-95",
58
+ },
59
+ btn_outlined_primary_border: {
60
+ light1: "--lunitTeal-50",
61
+ light2: "--lunitTeal-50",
62
+ dark1: "--lunitTeal-40",
63
+ dark2: "--lunitTeal-40",
64
+ dark3: "--lunitTeal-40",
65
+ dark4: "--lunitTeal-40",
66
+ },
67
+ btn_outlined_primary_text: {
68
+ light1: "--lunitTeal-50",
69
+ light2: "--lunitTeal-50",
70
+ dark1: "--lunitTeal-40",
71
+ dark2: "--lunitTeal-40",
72
+ dark3: "--lunitTeal-40",
73
+ dark4: "--lunitTeal-40",
74
+ },
75
+ btn_ghost_primary_text: {
76
+ light1: "--lunitTeal-50",
77
+ light2: "--lunitTeal-50",
78
+ dark1: "--lunitTeal-40",
79
+ dark2: "--lunitTeal-40",
80
+ dark3: "--lunitTeal-40",
81
+ dark4: "--lunitTeal-40",
82
+ },
83
+ btn_ghost_secondary_text: {
84
+ light1: "--grey-95",
85
+ light2: "--grey-95",
86
+ dark1: "--grey-5",
87
+ dark2: "--grey-5",
88
+ dark3: "--grey-5",
89
+ dark4: "--grey-5",
90
+ },
91
+ btn_ghost_error_text: {
92
+ light1: "--red-40",
93
+ light2: "--red-40",
94
+ dark1: "--red-40",
95
+ dark2: "--red-40",
96
+ dark3: "--red-30",
97
+ dark4: "--red-30",
98
+ },
99
+ btn_selected_primary_bg: {
100
+ light1: "--lunitTeal-80",
101
+ light2: "--lunitTeal-80",
102
+ dark1: "--lunitTeal-10",
103
+ dark2: "--lunitTeal-10",
104
+ dark3: "--lunitTeal-10",
105
+ dark4: "--lunitTeal-10",
106
+ },
107
+ btn_selected_primary_text: {
108
+ light1: "--lunitTeal-10",
109
+ light2: "--lunitTeal-10",
110
+ dark1: "--lunitTeal-80",
111
+ dark2: "--lunitTeal-80",
112
+ dark3: "--lunitTeal-80",
113
+ dark4: "--lunitTeal-80",
114
+ },
115
+ btn_selected_secondary_bg: {
116
+ // TODO: 피그마에 작성된 코드와 색상의 값이 달라 확인중
117
+ light1: "--lunitTeal-10",
118
+ light2: "--lunitTeal-10",
119
+ dark1: "--grey-80",
120
+ dark2: "--grey-75",
121
+ dark3: "--grey-70",
122
+ dark4: "--grey-75",
123
+ },
124
+ btn_selected_secondary_text: {
125
+ light1: "--grey-95",
126
+ light2: "--grey-95",
127
+ dark1: "--lunitTeal-30",
128
+ dark2: "--lunitTeal-30",
129
+ dark3: "--lunitTeal-30",
130
+ dark4: "--lunitTeal-30",
131
+ },
132
+ },
133
+ selectControl: {
134
+ selectcontrol_on: {
135
+ light1: "--lunitTeal-40",
136
+ light2: "--lunitTeal-40",
137
+ dark1: "--lunitTeal-40",
138
+ dark2: "--lunitTeal-40",
139
+ dark3: "--lunitTeal-40",
140
+ dark4: "--lunitTeal-40",
141
+ },
142
+ selectcontrol_off: {
143
+ light1: "--grey-40",
144
+ light2: "--grey-40",
145
+ dark1: "--grey-40",
146
+ dark2: "--grey-40",
147
+ dark3: "--grey-40",
148
+ dark4: "--grey-40",
149
+ },
150
+ selectcontrol_handler: {
151
+ light1: "--grey-0",
152
+ light2: "--grey-0",
153
+ dark1: "--grey-0",
154
+ dark2: "--grey-0",
155
+ dark3: "--grey-0",
156
+ dark4: "--grey-0",
157
+ },
158
+ selectcontrol_handler_shadow: {
159
+ light1: "rgba(0, 0, 0, 0.4)", // "--grey-100 40%",
160
+ light2: "rgba(0, 0, 0, 0.4)", // "--grey-100 40%",
161
+ dark1: "rgba(0, 0, 0, 0.4)", // "--grey-100 40%",
162
+ dark2: "rgba(0, 0, 0, 0.4)", // "--grey-100 40%",
163
+ dark3: "rgba(0, 0, 0, 0.4)", // "--grey-100 40%",
164
+ dark4: "rgba(0, 0, 0, 0.4)", // "--grey-100 40%",
165
+ },
166
+ },
167
+ textFields: {
168
+ textfield_bg: {
169
+ light1: "--grey-10",
170
+ light2: "--grey-00",
171
+ dark1: "--grey-80",
172
+ dark2: "--grey-75",
173
+ dark3: "--grey-70",
174
+ dark4: "--grey-75",
175
+ },
176
+ textfield_border_error: {
177
+ light1: "--red-40",
178
+ light2: "--red-40",
179
+ dark1: "--red-40",
180
+ dark2: "--red-40",
181
+ dark3: "--red-40",
182
+ dark4: "--red-40",
183
+ },
184
+ },
185
+ dropdown: {
186
+ dropdown_option_selected: {
187
+ light1: "--lunitTeal-10",
188
+ light2: "--lunitTeal-10",
189
+ dark1: "--lunitTeal-80",
190
+ dark2: "--lunitTeal-80",
191
+ dark3: "--lunitTeal-80",
192
+ dark4: "--lunitTeal-80",
193
+ },
194
+ dropdown_divider_border: {
195
+ light1: "--grey-15",
196
+ light2: "--grey-15",
197
+ dark1: "--grey-60",
198
+ dark2: "--grey-60",
199
+ dark3: "--grey-60",
200
+ dark4: "--grey-60",
201
+ },
202
+ dropdown_option_activatied: {
203
+ // TODO: 오타 수정 요청 => activated. 피그마에 토큰이 없어서 사용하는지 여부 확인중
204
+ light1: "--lunitTeal-10",
205
+ light2: "--lunitTeal-10",
206
+ dark1: "--lunitTeal-80",
207
+ dark2: "--lunitTeal-80",
208
+ dark3: "--lunitTeal-80",
209
+ dark4: "--lunitTeal-80",
210
+ },
211
+ },
212
+ dataTable: {
213
+ datatable_cell_selected: {
214
+ light1: "--lunitTeal-10",
215
+ light2: "--lunitTeal-10",
216
+ dark1: "--lunitTeal-80",
217
+ dark2: "--lunitTeal-80",
218
+ dark3: "--lunitTeal-80",
219
+ dark4: "--lunitTeal-80",
220
+ },
221
+ datatable_border_01: {
222
+ light1: "--grey-20",
223
+ light2: "--grey-30",
224
+ dark1: "--grey-50",
225
+ dark2: "--grey-50",
226
+ dark3: "--grey-50",
227
+ dark4: "--grey-40",
228
+ },
229
+ datatable_border_02: {
230
+ light1: "--grey-10",
231
+ light2: "--grey-15",
232
+ dark1: "--grey-80",
233
+ dark2: "--grey-75",
234
+ dark3: "--grey-75",
235
+ dark4: "--grey-60",
236
+ },
237
+ datatable_zebra: {
238
+ light1: "rgba(0, 0, 0, 0.03)", // "--grey-100 3%",
239
+ light2: "rgba(0, 0, 0, 0.03)", // "--grey-100 3%",
240
+ dark1: "rgba(255, 255, 255, 0.03)", // "--grey-00 3%",
241
+ dark2: "rgba(255, 255, 255, 0.03)", // "--grey-00 3%",
242
+ dark3: "rgba(255, 255, 255, 0.03)", // "--grey-00 3%",
243
+ dark4: "rgba(255, 255, 255, 0.03)", // "--grey-00 3%",
244
+ },
245
+ },
246
+ scrollbars: {
247
+ scrollbars_bg: {
248
+ light1: "--grey-20",
249
+ light2: "--grey-20",
250
+ dark1: "--grey-60",
251
+ dark2: "--grey-60",
252
+ dark3: "--grey-50",
253
+ dark4: "--grey-50",
254
+ },
255
+ scrollbars_hover: {
256
+ light1: "--grey-30",
257
+ light2: "--grey-30",
258
+ dark1: "--grey-50",
259
+ dark2: "--grey-50",
260
+ dark3: "--grey-40",
261
+ dark4: "--grey-40",
262
+ },
263
+ scrollbars_pressed: {
264
+ light1: "--grey-50",
265
+ light2: "--grey-50",
266
+ dark1: "--grey-30",
267
+ dark2: "--grey-30",
268
+ dark3: "--grey-20",
269
+ dark4: "--grey-20",
270
+ },
271
+ },
272
+ modal: {
273
+ modal_overlay: {
274
+ light1: "rgba(17, 17, 19, 0.7)", // "--grey-95 70%",
275
+ light2: "rgba(17, 17, 19, 0.7)", // "--grey-95 70%",
276
+ dark1: "rgba(17, 17, 19, 0.7)", // "--grey-95 70%",
277
+ dark2: "rgba(17, 17, 19, 0.7)", // "--grey-95 70%",
278
+ dark3: "rgba(17, 17, 19, 0.7)", // "--grey-95 70%",
279
+ dark4: "rgba(17, 17, 19, 0.7)", // "--grey-95 70%",
280
+ },
281
+ },
282
+ tooltip: {
283
+ tooltip_bg: {
284
+ light1: "--grey-70",
285
+ light2: "--grey-70",
286
+ dark1: "--grey-70",
287
+ dark2: "--grey-70",
288
+ dark3: "--grey-70",
289
+ dark4: "--grey-70",
290
+ },
291
+ tooltip_text_normal: {
292
+ light1: "--grey-5",
293
+ light2: "--grey-5",
294
+ dark1: "--grey-5",
295
+ dark2: "--grey-5",
296
+ dark3: "--grey-5",
297
+ dark4: "--grey-5",
298
+ },
299
+ tooltip_text_medium: {
300
+ light1: "--grey-40",
301
+ light2: "--grey-40",
302
+ dark1: "--grey-40",
303
+ dark2: "--grey-40",
304
+ dark3: "--grey-40",
305
+ dark4: "--grey-40",
306
+ },
307
+ },
308
+ alert: {
309
+ alert_error_bg: {
310
+ light1: "rgba(250, 77, 86, 0.16)", // "--red-40 16%",
311
+ light2: "rgba(250, 77, 86, 0.16)", // "--red-40 16%",
312
+ dark1: "rgba(255, 131, 137, 0.32)", // "--red-30 32%",
313
+ dark2: "rgba(255, 131, 137, 0.32)", // "--red-30 32%",
314
+ dark3: "rgba(255, 131, 137, 0.32)", // "--red-30 32%",
315
+ dark4: "rgba(255, 131, 137, 0.32)", // "--red-30 32%",
316
+ },
317
+ alert_error_border: {
318
+ light1: "--red-40",
319
+ light2: "--red-40",
320
+ dark1: "--red-30",
321
+ dark2: "--red-30",
322
+ dark3: "--red-30",
323
+ dark4: "--red-30",
324
+ },
325
+ alert_success_bg: {
326
+ light1: "rgba(36, 161, 72, 0.16)", // "--green-40 16%",
327
+ light2: "rgba(36, 161, 72, 0.16)", // "--green-40 16%",
328
+ dark1: "rgba(66, 190, 101, 0.32)", // "--green-30 32%",
329
+ dark2: "rgba(66, 190, 101, 0.32)", // "--green-30 32%",
330
+ dark3: "rgba(66, 190, 101, 0.32)", // "--green-30 32%",
331
+ dark4: "rgba(66, 190, 101, 0.32)", // "--green-30 32%",
332
+ },
333
+ alert_success_border: {
334
+ light1: "--green-30",
335
+ light2: "--green-30",
336
+ dark1: "--green-30",
337
+ dark2: "--green-30",
338
+ dark3: "--green-30",
339
+ dark4: "--green-30",
340
+ },
341
+ alert_info_bg: {
342
+ light1: "rgba(69, 137, 255, 0.16)", // "--blue-40 16%",
343
+ light2: "rgba(69, 137, 255, 0.16)", // "--blue-40 16%",
344
+ dark1: "rgba(120, 169, 255, 0.32)", // "--blue-30 32%",
345
+ dark2: "rgba(120, 169, 255, 0.32)", // "--blue-30 32%",
346
+ dark3: "rgba(120, 169, 255, 0.32)", // "--blue-30 32%",
347
+ dark4: "rgba(120, 169, 255, 0.32)", // "--blue-30 32%",
348
+ },
349
+ alert_info_border: {
350
+ light1: "--blue-40",
351
+ light2: "--blue-40",
352
+ dark1: "--blue-30",
353
+ dark2: "--blue-30",
354
+ dark3: "--blue-30",
355
+ dark4: "--blue-30",
356
+ },
357
+ alert_warning_bg: {
358
+ light1: "rgba(245, 134, 54, 0.16)", // "--orange-40 16%",
359
+ light2: "rgba(245, 134, 54, 0.16)", // "--orange-40 16%",
360
+ dark1: "rgba(255, 155, 84, 0.32)", // "--orange-30 32%",
361
+ dark2: "rgba(255, 155, 84, 0.32)", // "--orange-30 32%",
362
+ dark3: "rgba(255, 155, 84, 0.32)", // "--orange-30 32%",
363
+ dark4: "rgba(255, 155, 84, 0.32)", // "--orange-30 32%",
364
+ },
365
+ alert_warning_border: {
366
+ light1: "--orange-40",
367
+ light2: "--orange-40",
368
+ dark1: "--orange-30",
369
+ dark2: "--orange-30",
370
+ dark3: "--orange-30",
371
+ dark4: "--orange-30",
372
+ },
373
+ },
374
+ chip: {
375
+ chip_primary_bg: {
376
+ light1: "--lunitTeal-20",
377
+ light2: "--lunitTeal-20",
378
+ dark1: "--lunitTeal-60",
379
+ dark2: "--lunitTeal-60",
380
+ dark3: "--lunitTeal-60",
381
+ dark4: "--lunitTeal-60",
382
+ },
383
+ chip_primary_text: {
384
+ light1: "--lunitTeal-50",
385
+ light2: "--lunitTeal-50",
386
+ dark1: "--lunitTeal-40",
387
+ dark2: "--lunitTeal-40",
388
+ dark3: "--lunitTeal-40",
389
+ dark4: "--lunitTeal-40",
390
+ },
391
+ chip_secondary_bg: {
392
+ light1: "--grey-15",
393
+ light2: "--grey-15",
394
+ dark1: "--grey-60",
395
+ dark2: "--grey-60",
396
+ dark3: "--grey-60",
397
+ dark4: "--grey-60",
398
+ },
399
+ chip_secondary_text: {
400
+ light1: "--grey-40",
401
+ light2: "--grey-40",
402
+ dark1: "--grey-30",
403
+ dark2: "--grey-30",
404
+ dark3: "--grey-30",
405
+ dark4: "--grey-30",
406
+ },
407
+ chip_error_bg: {
408
+ light1: "--red-20",
409
+ light2: "--red-20",
410
+ dark1: "--red-60",
411
+ dark2: "--red-60",
412
+ dark3: "--red-60",
413
+ dark4: "--red-60",
414
+ },
415
+ chip_error_text: {
416
+ light1: "--red-40",
417
+ light2: "--red-40",
418
+ dark1: "--red-30",
419
+ dark2: "--red-30",
420
+ dark3: "--red-30",
421
+ dark4: "--red-30",
422
+ },
423
+ chip_warning_bg: {
424
+ light1: "--orange-20",
425
+ light2: "--orange-20",
426
+ dark1: "--orange-60",
427
+ dark2: "--orange-60",
428
+ dark3: "--orange-60",
429
+ dark4: "--orange-60",
430
+ },
431
+ chip_warning_text: {
432
+ light1: "--orange-40",
433
+ light2: "--orange-40",
434
+ dark1: "--orange-30",
435
+ dark2: "--orange-30",
436
+ dark3: "--orange-30",
437
+ dark4: "--orange-30",
438
+ },
439
+ chip_success_bg: {
440
+ light1: "--green-20",
441
+ light2: "--green-20",
442
+ dark1: "--green-60",
443
+ dark2: "--green-60",
444
+ dark3: "--green-60",
445
+ dark4: "--green-60",
446
+ },
447
+ chip_success_text: {
448
+ light1: "--green-40",
449
+ light2: "--green-40",
450
+ dark1: "--green-30",
451
+ dark2: "--green-30",
452
+ dark3: "--green-30",
453
+ dark4: "--green-30",
454
+ },
455
+ },
456
+ };
@@ -0,0 +1,204 @@
1
+ import { ColorTokenValueBySurface } from "./types";
2
+
3
+ export interface TokenCoreColorValue {
4
+ [token: string]: ColorTokenValueBySurface;
5
+ }
6
+
7
+ export const tokenCoreColor: TokenCoreColorValue = {
8
+ bg_01: {
9
+ light1: "--grey-0",
10
+ light2: "--grey-10",
11
+ dark1: "--grey-90",
12
+ dark2: "--grey-85",
13
+ dark3: "--grey-80",
14
+ dark4: "--grey-70",
15
+ },
16
+ bg_02: {
17
+ light1: "--grey-0",
18
+ light2: "--grey-0",
19
+ dark1: "--grey-70",
20
+ dark2: "--grey-70",
21
+ dark3: "--grey-70",
22
+ dark4: "--grey-70",
23
+ },
24
+ bg_03: {
25
+ light1: "--grey-0",
26
+ light2: "--grey-0",
27
+ dark1: "--grey-85",
28
+ dark2: "--grey-85",
29
+ dark3: "--grey-85",
30
+ dark4: "--grey-85",
31
+ },
32
+ text_primary: {
33
+ light1: "--lunitTeal-50",
34
+ light2: "--lunitTeal-50",
35
+ dark1: "--lunitTeal-40",
36
+ dark2: "--lunitTeal-40",
37
+ dark3: "--lunitTeal-40",
38
+ dark4: "--lunitTeal-40",
39
+ },
40
+ text_normal: {
41
+ light1: "--grey-95",
42
+ light2: "--grey-95",
43
+ dark1: "--grey-5",
44
+ dark2: "--grey-5",
45
+ dark3: "--grey-5",
46
+ dark4: "--grey-5",
47
+ },
48
+ text_medium: {
49
+ light1: "--grey-60",
50
+ light2: "--grey-60",
51
+ dark1: "--grey-40",
52
+ dark2: "--grey-40",
53
+ dark3: "--grey-40",
54
+ dark4: "--grey-30",
55
+ },
56
+ text_light: {
57
+ light1: "--grey-40",
58
+ light2: "--grey-40",
59
+ dark1: "--grey-50",
60
+ dark2: "--grey-50",
61
+ dark3: "--grey-50",
62
+ dark4: "--grey-40",
63
+ },
64
+ text_error: {
65
+ light1: "--red-40",
66
+ light2: "--red-40",
67
+ dark1: "--red-40",
68
+ dark2: "--red-40",
69
+ dark3: "--red-30",
70
+ dark4: "--red-30",
71
+ },
72
+ text_success: {
73
+ // TODO: sucess -> success 로 바뀌었으니 코드 내 사용되는 부분 확인해서 업데이트. 개발자들에게도 공지할것.
74
+ light1: "--green-40",
75
+ light2: "--green-40",
76
+ dark1: "--green-40",
77
+ dark2: "--green-40",
78
+ dark3: "--green-30",
79
+ dark4: "--green-30",
80
+ },
81
+ text_warning: {
82
+ light1: "--orange-40",
83
+ light2: "--orange-40",
84
+ dark1: "--orange-40",
85
+ dark2: "--orange-40",
86
+ dark3: "--orange-30",
87
+ dark4: "--orange-30",
88
+ },
89
+ text_info: {
90
+ light1: "--blue-40",
91
+ light2: "--blue-40",
92
+ dark1: "--blue-40",
93
+ dark2: "--blue-40",
94
+ dark3: "--blue-30",
95
+ dark4: "--blue-30",
96
+ },
97
+ link_primary: {
98
+ light1: "--blue-40",
99
+ light2: "--blue-40",
100
+ dark1: "--blue-40",
101
+ dark2: "--blue-40",
102
+ dark3: "--blue-30",
103
+ dark4: "--blue-30",
104
+ },
105
+ link_hover: {
106
+ light1: "--blue-50",
107
+ light2: "--blue-50",
108
+ dark1: "--blue-50",
109
+ dark2: "--blue-50",
110
+ dark3: "--blue-40",
111
+ dark4: "--blue-40",
112
+ },
113
+ link_visited: {
114
+ light1: "--purple-50",
115
+ light2: "--purple-50",
116
+ dark1: "--purple-50",
117
+ dark2: "--purple-50",
118
+ dark3: "--purple-40",
119
+ dark4: "--purple-40",
120
+ },
121
+ icon_error_02: {
122
+ light1: "--red-40",
123
+ light2: "--red-40",
124
+ dark1: "--red-30",
125
+ dark2: "--red-30",
126
+ dark3: "--red-30",
127
+ dark4: "--red-30",
128
+ },
129
+ icon_success_02: {
130
+ // TODO: sucess -> success 로 바뀌었으니 코드 내 사용되는 부분 확인해서 업데이트. 개발자들에게도 공지할것.
131
+ // TODO: 피그마에 오타 수정 요청한 상태. 확인되면 todo 지우기
132
+ light1: "--green-40",
133
+ light2: "--green-40",
134
+ dark1: "--green-30",
135
+ dark2: "--green-30",
136
+ dark3: "--green-30",
137
+ dark4: "--green-30",
138
+ },
139
+ icon_warning_02: {
140
+ light1: "--orange-40",
141
+ light2: "--orange-40",
142
+ dark1: "--orange-30",
143
+ dark2: "--orange-30",
144
+ dark3: "--orange-30",
145
+ dark4: "--orange-30",
146
+ },
147
+ icon_info_02: {
148
+ light1: "--blue-40",
149
+ light2: "--blue-40",
150
+ dark1: "--blue-30",
151
+ dark2: "--blue-30",
152
+ dark3: "--blue-30",
153
+ dark4: "--blue-30",
154
+ },
155
+ hover: {
156
+ // TODO: 알파값 적용 코드는 일단 하드코딩. 나중에 수정할것
157
+ light1: "rgba(0, 0, 0, 0.06)", // grey_100 6% // TODO: 10%로 수정 예정이라고 하니 다시 확인하기
158
+ light2: "rgba(0, 0, 0, 0.06)", // grey_100 6%
159
+ dark1: "rgba(255, 255, 255, 0.06)", // grey_00 6%
160
+ dark2: "rgba(255, 255, 255, 0.06)", // grey_00 6%
161
+ dark3: "rgba(255, 255, 255, 0.06)", // grey_00 6%
162
+ dark4: "rgba(255, 255, 255, 0.06)", // grey_00 6%
163
+ },
164
+ focused: {
165
+ light1: "--lunitTeal-40",
166
+ light2: "--lunitTeal-40",
167
+ dark1: "--lunitTeal-40",
168
+ dark2: "--lunitTeal-40",
169
+ dark3: "--lunitTeal-40",
170
+ dark4: "--lunitTeal-40",
171
+ },
172
+ shadow_01: {
173
+ light1: "rgba(0, 0, 0, 0.12)", // "--grey-100 12%",
174
+ light2: "rgba(0, 0, 0, 0.12)", // "--grey-100 12%",
175
+ dark4: "rgba(0, 0, 0, 0.32)", // "--grey-100 32%",
176
+ dark3: "rgba(0, 0, 0, 0.32)", // "--grey-100 32%",
177
+ dark2: "rgba(0, 0, 0, 0.32)", // "--grey-100 32%",
178
+ dark1: "rgba(0, 0, 0, 0.32)", // "--grey-100 32%",
179
+ },
180
+ shadow_02: {
181
+ light1: "rgba(0, 0, 0, 0.18)", // "--grey-100 18%",
182
+ light2: "rgba(0, 0, 0, 0.18)", // "--grey-100 18%",
183
+ dark4: "rgba(0, 0, 0, 0.4)", // "--grey-100 40%",
184
+ dark3: "rgba(0, 0, 0, 0.4)", // "--grey-100 40%",
185
+ dark2: "rgba(0, 0, 0, 0.4)", // "--grey-100 40%",
186
+ dark1: "rgba(0, 0, 0, 0.4)", // "--grey-100 40%",
187
+ },
188
+ shadow_03: {
189
+ light1: "rgba(0, 0, 0, 0.12)", // "--grey-100 12%",
190
+ light2: "rgba(0, 0, 0, 0.12)", // "--grey-100 12%",
191
+ dark4: "rgba(0, 0, 0, 0.36)", // "--grey-100 36%",
192
+ dark3: "rgba(0, 0, 0, 0.36)", // "--grey-100 36%",
193
+ dark2: "rgba(0, 0, 0, 0.36)", // "--grey-100 36%",
194
+ dark1: "rgba(0, 0, 0, 0.36)", // "--grey-100 36%",
195
+ },
196
+ shadow_04: {
197
+ light1: "rgba(0, 0, 0, 0.18)", // "--grey-100 18%",
198
+ light2: "rgba(0, 0, 0, 0.18)", // "--grey-100 18%",
199
+ dark4: "rgba(0, 0, 0, 0.48)", // "--grey-100 48%",
200
+ dark3: "rgba(0, 0, 0, 0.48)", // "--grey-100 48%",
201
+ dark2: "rgba(0, 0, 0, 0.48)", // "--grey-100 48%",
202
+ dark1: "rgba(0, 0, 0, 0.48)", // "--grey-100 48%",
203
+ },
204
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./component";
2
+ export * from "./core";
@@ -0,0 +1,8 @@
1
+ export interface ColorTokenValueBySurface {
2
+ light1: string;
3
+ light2: string;
4
+ dark1: string;
5
+ dark2: string;
6
+ dark3: string;
7
+ dark4: string;
8
+ }