@heliux-org/ui-style 1.0.22

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 (365) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +111 -0
  3. package/dist/_functions.scss +8 -0
  4. package/dist/_mixins.scss +3 -0
  5. package/dist/colors.json +696 -0
  6. package/dist/functions/_camelize.scss +25 -0
  7. package/dist/functions/_capitalize.scss +11 -0
  8. package/dist/functions/_contain.scss +8 -0
  9. package/dist/functions/_extract-rgb.scss +8 -0
  10. package/dist/functions/_map-collect.scss +17 -0
  11. package/dist/functions/functions/_camelize.scss +25 -0
  12. package/dist/functions/functions/_capitalize.scss +11 -0
  13. package/dist/functions/functions/_contain.scss +8 -0
  14. package/dist/functions/functions/_extract-rgb.scss +8 -0
  15. package/dist/functions/functions/_map-collect.scss +17 -0
  16. package/dist/index.css +1289 -0
  17. package/dist/index.css.map +1 -0
  18. package/dist/index.min.css +1 -0
  19. package/dist/mixins/_common.scss +67 -0
  20. package/dist/mixins/_states.scss +48 -0
  21. package/dist/mixins/_typography.scss +24 -0
  22. package/dist/mixins/mixins/_common.scss +67 -0
  23. package/dist/mixins/mixins/_states.scss +48 -0
  24. package/dist/mixins/mixins/_typography.scss +24 -0
  25. package/package.json +67 -0
  26. package/src/Icons/API.svg +3 -0
  27. package/src/Icons/Academy.svg +3 -0
  28. package/src/Icons/Activity.svg +3 -0
  29. package/src/Icons/Add.svg +4 -0
  30. package/src/Icons/AddNewDoc.svg +13 -0
  31. package/src/Icons/AddSmall.svg +4 -0
  32. package/src/Icons/AddToTeam.svg +6 -0
  33. package/src/Icons/AddUpdate.svg +4 -0
  34. package/src/Icons/Alert.svg +3 -0
  35. package/src/Icons/Announcement.svg +3 -0
  36. package/src/Icons/Apps.svg +3 -0
  37. package/src/Icons/Archive.svg +3 -0
  38. package/src/Icons/Attach.svg +3 -0
  39. package/src/Icons/Basic.svg +5 -0
  40. package/src/Icons/Battery.svg +3 -0
  41. package/src/Icons/BlockQuote.svg +8 -0
  42. package/src/Icons/Board.svg +3 -0
  43. package/src/Icons/BoardPrivate.svg +5 -0
  44. package/src/Icons/BoardShareable.svg +5 -0
  45. package/src/Icons/BoardTemplate.svg +5 -0
  46. package/src/Icons/Bold.svg +11 -0
  47. package/src/Icons/Bolt.svg +3 -0
  48. package/src/Icons/Bookmark.svg +3 -0
  49. package/src/Icons/Broadcast.svg +3 -0
  50. package/src/Icons/Broom.svg +5 -0
  51. package/src/Icons/Bug.svg +3 -0
  52. package/src/Icons/Bullet.svg +3 -0
  53. package/src/Icons/Bullets.svg +15 -0
  54. package/src/Icons/Bulllet.svg +3 -0
  55. package/src/Icons/Calendar.svg +3 -0
  56. package/src/Icons/Chart.svg +3 -0
  57. package/src/Icons/Check.svg +4 -0
  58. package/src/Icons/CheckList.svg +7 -0
  59. package/src/Icons/Checkbox.svg +6 -0
  60. package/src/Icons/Clear.svg +3 -0
  61. package/src/Icons/Close.svg +3 -0
  62. package/src/Icons/CloseRound.svg +3 -0
  63. package/src/Icons/CloseSmall.svg +4 -0
  64. package/src/Icons/Code.svg +4 -0
  65. package/src/Icons/Collapse.svg +5 -0
  66. package/src/Icons/CollapseRound.svg +5 -0
  67. package/src/Icons/Column.svg +3 -0
  68. package/src/Icons/Comment.svg +3 -0
  69. package/src/Icons/Completed.svg +3 -0
  70. package/src/Icons/Connect.svg +4 -0
  71. package/src/Icons/ConnectedDoc.svg +11 -0
  72. package/src/Icons/ContentDirectory.svg +3 -0
  73. package/src/Icons/ConvertToItem.svg +3 -0
  74. package/src/Icons/ConvertToSubitem.svg +3 -0
  75. package/src/Icons/Counter.svg +12 -0
  76. package/src/Icons/Country.svg +3 -0
  77. package/src/Icons/CreditCard.svg +3 -0
  78. package/src/Icons/Custom.svg +5 -0
  79. package/src/Icons/Cut.svg +6 -0
  80. package/src/Icons/Dashboard.svg +3 -0
  81. package/src/Icons/DashboardPrivate.svg +5 -0
  82. package/src/Icons/Deactivate.svg +3 -0
  83. package/src/Icons/Delete.svg +3 -0
  84. package/src/Icons/Dependency.svg +3 -0
  85. package/src/Icons/Description.svg +6 -0
  86. package/src/Icons/DisabledUser.svg +11 -0
  87. package/src/Icons/Divider.svg +3 -0
  88. package/src/Icons/Doc.svg +5 -0
  89. package/src/Icons/DocPrivate.svg +6 -0
  90. package/src/Icons/DocShareable.svg +3 -0
  91. package/src/Icons/DocTemplate.svg +3 -0
  92. package/src/Icons/DoubleCheck.svg +3 -0
  93. package/src/Icons/Download.svg +3 -0
  94. package/src/Icons/Drag.svg +11 -0
  95. package/src/Icons/Dropdown.svg +3 -0
  96. package/src/Icons/DropdownChevronDown.svg +4 -0
  97. package/src/Icons/DropdownChevronLeft.svg +4 -0
  98. package/src/Icons/DropdownChevronRight.svg +4 -0
  99. package/src/Icons/DropdownChevronUp.svg +4 -0
  100. package/src/Icons/DueDate.svg +3 -0
  101. package/src/Icons/Duplicate.svg +3 -0
  102. package/src/Icons/Edit.svg +3 -0
  103. package/src/Icons/Education.svg +3 -0
  104. package/src/Icons/Email.svg +3 -0
  105. package/src/Icons/Embed.svg +3 -0
  106. package/src/Icons/Emoji.svg +6 -0
  107. package/src/Icons/Enter.svg +3 -0
  108. package/src/Icons/Erase.svg +3 -0
  109. package/src/Icons/Event.svg +4 -0
  110. package/src/Icons/Expand.svg +3 -0
  111. package/src/Icons/ExternalPage.svg +3 -0
  112. package/src/Icons/Favorite.svg +3 -0
  113. package/src/Icons/Featured.svg +3 -0
  114. package/src/Icons/Feedback.svg +3 -0
  115. package/src/Icons/File.svg +4 -0
  116. package/src/Icons/Filter.svg +5 -0
  117. package/src/Icons/Folder.svg +5 -0
  118. package/src/Icons/Form.svg +6 -0
  119. package/src/Icons/Formula.svg +4 -0
  120. package/src/Icons/Forum.svg +3 -0
  121. package/src/Icons/Fullscreen.svg +3 -0
  122. package/src/Icons/FullscreenClose.svg +3 -0
  123. package/src/Icons/Gallery.svg +6 -0
  124. package/src/Icons/Gantt.svg +5 -0
  125. package/src/Icons/Gif.svg +5 -0
  126. package/src/Icons/Globe.svg +5 -0
  127. package/src/Icons/Graph.svg +3 -0
  128. package/src/Icons/Group.svg +3 -0
  129. package/src/Icons/Guest.svg +3 -0
  130. package/src/Icons/Health.svg +3 -0
  131. package/src/Icons/Help.svg +5 -0
  132. package/src/Icons/Hide.svg +3 -0
  133. package/src/Icons/Highlight.svg +4 -0
  134. package/src/Icons/HighlightColorBucket.svg +3 -0
  135. package/src/Icons/Home.svg +3 -0
  136. package/src/Icons/IPRestrictions.svg +3 -0
  137. package/src/Icons/Idea.svg +3 -0
  138. package/src/Icons/Image.svg +5 -0
  139. package/src/Icons/Inbox.svg +4 -0
  140. package/src/Icons/Info.svg +3 -0
  141. package/src/Icons/Integrations.svg +3 -0
  142. package/src/Icons/Invite.svg +11 -0
  143. package/src/Icons/Italic.svg +9 -0
  144. package/src/Icons/Item.svg +3 -0
  145. package/src/Icons/ItemDefaultValues.svg +3 -0
  146. package/src/Icons/ItemHeightTriple.svg +8 -0
  147. package/src/Icons/Keyboard.svg +3 -0
  148. package/src/Icons/Labs.svg +3 -0
  149. package/src/Icons/Launch.svg +10 -0
  150. package/src/Icons/Layout.svg +3 -0
  151. package/src/Icons/LearnMore.svg +5 -0
  152. package/src/Icons/Lines.svg +5 -0
  153. package/src/Icons/Link.svg +3 -0
  154. package/src/Icons/Location.svg +3 -0
  155. package/src/Icons/Locked.svg +3 -0
  156. package/src/Icons/LogIn.svg +8 -0
  157. package/src/Icons/LogOut.svg +8 -0
  158. package/src/Icons/LongText.svg +3 -0
  159. package/src/Icons/Mention.svg +4 -0
  160. package/src/Icons/Menu.svg +6 -0
  161. package/src/Icons/Microphone.svg +3 -0
  162. package/src/Icons/Minimize.svg +4 -0
  163. package/src/Icons/Mirror.svg +3 -0
  164. package/src/Icons/Mobile.svg +3 -0
  165. package/src/Icons/MondayDoc.svg +3 -0
  166. package/src/Icons/MondayLogoOutline.svg +3 -0
  167. package/src/Icons/Moon.svg +3 -0
  168. package/src/Icons/MoreActions.svg +3 -0
  169. package/src/Icons/MoreBelow.svg +5 -0
  170. package/src/Icons/MoreBelowFilled.svg +3 -0
  171. package/src/Icons/MoveArrowDown.svg +4 -0
  172. package/src/Icons/MoveArrowLeft.svg +4 -0
  173. package/src/Icons/MoveArrowLeftDouble.svg +10 -0
  174. package/src/Icons/MoveArrowRight.svg +4 -0
  175. package/src/Icons/MoveArrowUp.svg +4 -0
  176. package/src/Icons/Mute.svg +4 -0
  177. package/src/Icons/MyWeek.svg +5 -0
  178. package/src/Icons/NavigationChevronDown.svg +4 -0
  179. package/src/Icons/NavigationChevronLeft.svg +4 -0
  180. package/src/Icons/NavigationChevronRight.svg +4 -0
  181. package/src/Icons/NavigationChevronUp.svg +4 -0
  182. package/src/Icons/NavigationDoubleChevronLeft.svg +4 -0
  183. package/src/Icons/NewTab.svg +3 -0
  184. package/src/Icons/Night.svg +5 -0
  185. package/src/Icons/NoColor.svg +5 -0
  186. package/src/Icons/Note.svg +3 -0
  187. package/src/Icons/Notifications.svg +4 -0
  188. package/src/Icons/NotificationsMuted.svg +4 -0
  189. package/src/Icons/Numbers.svg +8 -0
  190. package/src/Icons/Offline.svg +4 -0
  191. package/src/Icons/Open.svg +4 -0
  192. package/src/Icons/Page.svg +3 -0
  193. package/src/Icons/Paste.svg +7 -0
  194. package/src/Icons/Pause.svg +3 -0
  195. package/src/Icons/Person.svg +4 -0
  196. package/src/Icons/PersonRound.svg +4 -0
  197. package/src/Icons/Pin.svg +3 -0
  198. package/src/Icons/Placeholder.svg +3 -0
  199. package/src/Icons/Play.svg +3 -0
  200. package/src/Icons/Print.svg +3 -0
  201. package/src/Icons/PushNotification.svg +3 -0
  202. package/src/Icons/Quote.svg +6 -0
  203. package/src/Icons/Radio.svg +3 -0
  204. package/src/Icons/Recurring.svg +3 -0
  205. package/src/Icons/RecycleBin.svg +11 -0
  206. package/src/Icons/Redo.svg +4 -0
  207. package/src/Icons/Remove.svg +3 -0
  208. package/src/Icons/Replay.svg +3 -0
  209. package/src/Icons/Retry.svg +3 -0
  210. package/src/Icons/Robot.svg +3 -0
  211. package/src/Icons/Rotate.svg +3 -0
  212. package/src/Icons/Search.svg +3 -0
  213. package/src/Icons/Security.svg +3 -0
  214. package/src/Icons/Send.svg +3 -0
  215. package/src/Icons/Settings.svg +3 -0
  216. package/src/Icons/SettingsKnobs.svg +3 -0
  217. package/src/Icons/Share.svg +3 -0
  218. package/src/Icons/ShortText.svg +3 -0
  219. package/src/Icons/Show.svg +3 -0
  220. package/src/Icons/Shredder.svg +3 -0
  221. package/src/Icons/Sort.svg +4 -0
  222. package/src/Icons/SortAscending.svg +3 -0
  223. package/src/Icons/SortDescending.svg +3 -0
  224. package/src/Icons/Sound.svg +4 -0
  225. package/src/Icons/Status.svg +10 -0
  226. package/src/Icons/StrikethroughS.svg +12 -0
  227. package/src/Icons/StrikethroughT.svg +11 -0
  228. package/src/Icons/Subitems.svg +3 -0
  229. package/src/Icons/Sun.svg +3 -0
  230. package/src/Icons/Switch.svg +3 -0
  231. package/src/Icons/Switcher.svg +18 -0
  232. package/src/Icons/Table.svg +3 -0
  233. package/src/Icons/Tags.svg +3 -0
  234. package/src/Icons/Team.svg +3 -0
  235. package/src/Icons/Text.svg +3 -0
  236. package/src/Icons/TextBig.svg +3 -0
  237. package/src/Icons/TextColorIndicator.svg +26 -0
  238. package/src/Icons/TextCopy.svg +3 -0
  239. package/src/Icons/TextHuge.svg +3 -0
  240. package/src/Icons/TextMedium.svg +3 -0
  241. package/src/Icons/TextSmall.svg +3 -0
  242. package/src/Icons/Textcolor.svg +5 -0
  243. package/src/Icons/ThumbsUp.svg +3 -0
  244. package/src/Icons/Time.svg +3 -0
  245. package/src/Icons/Timeline.svg +5 -0
  246. package/src/Icons/Translation.svg +3 -0
  247. package/src/Icons/TurnInto.svg +6 -0
  248. package/src/Icons/Underline.svg +8 -0
  249. package/src/Icons/Undo.svg +4 -0
  250. package/src/Icons/Unlocked.svg +3 -0
  251. package/src/Icons/Update.svg +3 -0
  252. package/src/Icons/Upgrade.svg +3 -0
  253. package/src/Icons/Upload.svg +3 -0
  254. package/src/Icons/UserDomain.svg +4 -0
  255. package/src/Icons/UserStatus.svg +4 -0
  256. package/src/Icons/Versioning.svg +3 -0
  257. package/src/Icons/Video.svg +6 -0
  258. package/src/Icons/Wand.svg +3 -0
  259. package/src/Icons/Warning.svg +5 -0
  260. package/src/Icons/WhatsNew.svg +3 -0
  261. package/src/Icons/Widgets.svg +3 -0
  262. package/src/Icons/Work.svg +3 -0
  263. package/src/Icons/Workflow.svg +7 -0
  264. package/src/Icons/Workspace.svg +3 -0
  265. package/src/Icons/iconsMetaData.js +1801 -0
  266. package/src/Themes/_basic-theme.scss +26 -0
  267. package/src/Themes/_black-theme.scss +23 -0
  268. package/src/Themes/_dark-theme.scss +23 -0
  269. package/src/Themes/_hacker-theme.scss +23 -0
  270. package/src/Themes/basic/_basic-theme-legacy-settings.scss +4 -0
  271. package/src/Themes/basic/_basic-theme-settings.scss +4 -0
  272. package/src/Themes/basic/_content-colors.scss +239 -0
  273. package/src/Themes/black/_black-theme-content-colors.scss +240 -0
  274. package/src/Themes/black/_black-theme-legacy-settings.scss +4 -0
  275. package/src/Themes/black/_black-theme-settings.scss +4 -0
  276. package/src/Themes/dark/_dark-theme-content-colors.scss +240 -0
  277. package/src/Themes/dark/_dark-theme-legacy-settings.scss +4 -0
  278. package/src/Themes/dark/_dark-theme-settings.scss +4 -0
  279. package/src/Themes/hacker/_hacker-theme-content-colors.scss +240 -0
  280. package/src/Themes/hacker/_hacker-theme-legacy-settings.scss +4 -0
  281. package/src/Themes/hacker/_hacker-theme-settings.scss +4 -0
  282. package/src/_common.scss +9 -0
  283. package/src/_config.scss +17 -0
  284. package/src/_core.scss +12 -0
  285. package/src/_functions.scss +8 -0
  286. package/src/_internal-mixins.scss +5 -0
  287. package/src/_mixins.scss +3 -0
  288. package/src/_themes.scss +5 -0
  289. package/src/config/maps/_config-basic-theme-maps.scss +7 -0
  290. package/src/config/maps/_config-black-theme-maps.scss +4 -0
  291. package/src/config/maps/_config-core-maps.scss +12 -0
  292. package/src/config/maps/_config-dark-theme-maps.scss +4 -0
  293. package/src/config/maps/_config-hacker-theme-maps.scss +5 -0
  294. package/src/config/maps/core/_core-borders.scss +9 -0
  295. package/src/config/maps/core/_core-common-map.scss +9 -0
  296. package/src/config/maps/core/_core-fonts-map-deprecated.scss +37 -0
  297. package/src/config/maps/core/_core-motion-map.scss +17 -0
  298. package/src/config/maps/core/_core-radius-map.scss +10 -0
  299. package/src/config/maps/core/_core-shadows-map.scss +19 -0
  300. package/src/config/maps/core/_core-spacing-map.scss +14 -0
  301. package/src/config/maps/core/_core-typography-map-deprecated.scss +40 -0
  302. package/src/config/maps/core/_core-typography-map.scss +52 -0
  303. package/src/config/maps/themes/basic/keys/_keys.scss +71 -0
  304. package/src/config/maps/themes/basic/keys/legacy/_legacy-keys.scss +34 -0
  305. package/src/config/maps/themes/basic/palette/_palette.scss +157 -0
  306. package/src/config/maps/themes/basic/palette/legacy/_legacy-pallete.scss +82 -0
  307. package/src/config/maps/themes/black/keys/_black-theme-keys.scss +70 -0
  308. package/src/config/maps/themes/black/keys/legacy/_black-theme-legacy-keys.scss +33 -0
  309. package/src/config/maps/themes/dark/keys/_dark-theme-keys.scss +72 -0
  310. package/src/config/maps/themes/dark/keys/legacy/_dark-theme-legacy-keys.scss +33 -0
  311. package/src/config/maps/themes/hacker/keys/_hacker-theme-keys.scss +69 -0
  312. package/src/config/maps/themes/hacker/keys/legacy/_hacker-theme-legacy-keys.scss +33 -0
  313. package/src/config/maps/themes/hacker/palette/legacy/_hacker-theme-legacy-palette.scss +7 -0
  314. package/src/config/tokens/_config-basic-theme-tokens.scss +7 -0
  315. package/src/config/tokens/_config-black-theme-tokens.scss +6 -0
  316. package/src/config/tokens/_config-core-tokens.scss +16 -0
  317. package/src/config/tokens/_config-dark-theme-tokens.scss +6 -0
  318. package/src/config/tokens/_config-hacker-theme-tokens.scss +7 -0
  319. package/src/config/tokens/core/_core-border.scss +5 -0
  320. package/src/config/tokens/core/_core-common.scss +7 -0
  321. package/src/config/tokens/core/_core-fonts-deprecated.scss +37 -0
  322. package/src/config/tokens/core/_core-motion.scss +35 -0
  323. package/src/config/tokens/core/_core-opacity.scss +14 -0
  324. package/src/config/tokens/core/_core-radius.scss +6 -0
  325. package/src/config/tokens/core/_core-shadows.scss +7 -0
  326. package/src/config/tokens/core/_core-spacing.scss +10 -0
  327. package/src/config/tokens/core/_core-typography-deprecated.scss +55 -0
  328. package/src/config/tokens/core/_core-typography.scss +55 -0
  329. package/src/config/tokens/themes/basic/keys/_keys.scss +87 -0
  330. package/src/config/tokens/themes/basic/keys/legacy/_legacy-keys.scss +51 -0
  331. package/src/config/tokens/themes/basic/palette/_palette.scss +210 -0
  332. package/src/config/tokens/themes/basic/palette/legacy/_legacy-pallete.scss +102 -0
  333. package/src/config/tokens/themes/black/keys/_black-theme-keys.scss +79 -0
  334. package/src/config/tokens/themes/black/keys/legacy/_black-theme-legacy-keys.scss +50 -0
  335. package/src/config/tokens/themes/black/palette/_black-theme-palette.scss +19 -0
  336. package/src/config/tokens/themes/dark/keys/_dark-theme-keys.scss +82 -0
  337. package/src/config/tokens/themes/dark/keys/legacy/_dark-theme-legacy-keys.scss +49 -0
  338. package/src/config/tokens/themes/dark/palette/_dark-theme-palette.scss +47 -0
  339. package/src/config/tokens/themes/hacker/keys/_hacker-theme-keys.scss +78 -0
  340. package/src/config/tokens/themes/hacker/keys/legacy/hacker-theme-legacy-keys.scss +53 -0
  341. package/src/config/tokens/themes/hacker/palette/_hacker-theme-palette.scss +25 -0
  342. package/src/config/tokens/themes/hacker/palette/legacy/_hacker-theme-legacy-palette.scss +9 -0
  343. package/src/core/_core-settings.scss +20 -0
  344. package/src/files/colors.json +696 -0
  345. package/src/functions/_camelize.scss +25 -0
  346. package/src/functions/_capitalize.scss +11 -0
  347. package/src/functions/_contain.scss +8 -0
  348. package/src/functions/_extract-rgb.scss +8 -0
  349. package/src/functions/_map-collect.scss +17 -0
  350. package/src/index.scss +18 -0
  351. package/src/internal-mixins/_generate-custom-properties.scss +12 -0
  352. package/src/internal-mixins/_utilities.scss +76 -0
  353. package/src/loaders/monday.svg +0 -0
  354. package/src/mixins/_common.scss +67 -0
  355. package/src/mixins/_states.scss +48 -0
  356. package/src/mixins/_typography.scss +24 -0
  357. package/src/utilities/_utilities-maps.scss +33 -0
  358. package/stylelint-config/index.js +7 -0
  359. package/stylelint-config/rules/use-defined-css-var-when-available/__tests__/fixtures/contains-values-with-multiple-replacements.scss +4 -0
  360. package/stylelint-config/rules/use-defined-css-var-when-available/__tests__/fixtures/contains-values-with-single-replacement.scss +8 -0
  361. package/stylelint-config/rules/use-defined-css-var-when-available/__tests__/index.test.js +170 -0
  362. package/stylelint-config/rules/use-defined-css-var-when-available/__tests__/props-to-allowed-vars.test.js +122 -0
  363. package/stylelint-config/rules/use-defined-css-var-when-available/index.js +105 -0
  364. package/stylelint-config/rules/use-defined-css-var-when-available/parse-monday-css.js +115 -0
  365. package/stylelint-config/rules/use-defined-css-var-when-available/props-to-allowed-vars.js +161 -0
@@ -0,0 +1,72 @@
1
+ // DARK THEME KEYS
2
+
3
+ // DARK THEME COLOR KEYS MAP: dark theme's keys color map.
4
+ // - Map include semantic color keys scope tokens.
5
+ // - Map is collected into the $theme-dark-settings map and is interpolated into custom properties.
6
+
7
+ $theme-dark-keys: (
8
+ primary-color: $theme-dark-primary-color,
9
+ primary-on-secondary-color: $theme-dark-primary-on-secondary-color,
10
+ primary-hover-color: $theme-dark-primary-hover-color,
11
+ surface-selected: $theme-dark-surface-selected,
12
+ primary-selected-hover-color: $theme-dark-primary-selected-hover-color,
13
+ primary-highlighted-color: $theme-dark-primary-highlighted-color,
14
+ text-primary: $theme-dark-text-primary,
15
+ text-secondary: $theme-dark-text-secondary,
16
+ text-tertiary: $theme-dark-text-tertiary,
17
+ text-color-on-primary: $theme-dark-text-color-on-primary,
18
+ text-color-on-inverted: $theme-dark-text-color-on-inverted,
19
+ placeholder-color: $theme-dark-placeholder-color,
20
+ icon-primary: $theme-dark-icon-primary,
21
+ link-color: $theme-dark-link-color,
22
+ fixed-light-color: $theme-dark-fixed-light-color,
23
+ fixed-dark-color: $theme-dark-fixed-dark-color,
24
+ surface-primary: $theme-dark-surface-primary,
25
+ surface-primary-hover: $theme-dark-surface-primary-hover,
26
+ surface-secondary: $theme-dark-surface-secondary,
27
+ surface-tertiary: $theme-dark-surface-tertiary,
28
+ surface-quaternary: $theme-dark-surface-quaternary,
29
+ surface-inverse: $theme-dark-surface-inverse,
30
+ surface-success: $theme-dark-surface-success,
31
+ surface-alert: $theme-dark-surface-alert,
32
+ surface-warning: $theme-dark-surface-warning,
33
+ disabled-text-color: $theme-dark-disabled-text-color,
34
+ disabled-background-color: $theme-dark-disabled-background-color,
35
+ positive-color: $theme-dark-positive-color,
36
+ positive-color-hover: $theme-dark-positive-color-hover,
37
+ positive-color-selected: $theme-dark-positive-color-selected,
38
+ positive-color-selected-hover: $theme-dark-positive-color-selected-hover,
39
+ positive-color-background: $theme-dark-positive-color-background,
40
+ negative-color: $theme-dark-negative-color,
41
+ negative-color-hover: $theme-dark-negative-color-hover,
42
+ negative-color-selected: $theme-dark-negative-color-selected,
43
+ negative-color-selected-hover: $theme-dark-negative-color-selected-hover,
44
+ negative-color-background: $theme-dark-negative-color-background,
45
+ divider-primary: $theme-dark-divider-primary,
46
+ divider-secondary: $theme-dark-divider-secondary,
47
+ divider-overlay: $theme-dark-divider-overlay,
48
+ divider-halo: $theme-dark-divider-halo,
49
+ divider-selected: $theme-dark-divider-selected,
50
+ warning-color: $theme-dark-warning-color,
51
+ warning-color-hover: $theme-dark-warning-color-hover,
52
+ warning-color-selected: $theme-dark-warning-color-selected,
53
+ warning-color-selected-hover: $theme-dark-warning-color-selected-hover,
54
+ warning-color-background: $theme-dark-warning-color-background,
55
+ brand-color: $theme-dark-primary-color,
56
+ brand-hover-color: $theme-dark-primary-hover-color,
57
+ brand-selected-color: $theme-dark-surface-selected,
58
+ brand-selected-hover-color: $theme-dark-primary-selected-hover-color,
59
+ text-color-on-brand: $theme-dark-text-color-on-primary
60
+ );
61
+
62
+ // DARK THEME SHADOW MAP: dark theme's shadow color map.
63
+ // - Map include shadow scope tokens.
64
+ // - Map is collected into the $theme-dark-settings map and is interpolated into custom properties.
65
+
66
+ $theme-dark-shadow-keys: (
67
+ box-shadow-xs: $theme-dark-box-shadow-xs,
68
+ box-shadow-small: $theme-dark-box-shadow-small,
69
+ box-shadow-medium: $theme-dark-box-shadow-medium,
70
+ box-shadow-large: $theme-dark-box-shadow-large,
71
+ shadow-color: $theme-dark-shadow-color
72
+ );
@@ -0,0 +1,33 @@
1
+ // DARK THEME LEGACY KEYS MAP: This partial defines the dark theme's legacy keys color map.
2
+ // - Map include legacy keys scope tokens.
3
+ // - Its main Purpose is to separate legacy tokens to registration tokens and key tokens.
4
+ // - This map is for Key Tokens.
5
+ // - Legacy Key tokens are aliases of registration tokens or content color tokens with a semantic meaning.
6
+ // - Map is collected into the $theme-dark-settings map and is interpolated into custom properties.
7
+
8
+ $theme-dark-legacy-keys: (
9
+ primary-on-secondary-color: $theme-dark-primary-on-secondary-color,
10
+ primary-hover-on-secondary-color: $theme-dark-primary-hover-on-secondary-color,
11
+ surface-selected-rgb: $theme-dark-surface-selected-rgb,
12
+ primary-selected-on-secondary-color: $theme-dark-primary-selected-on-secondary-color,
13
+ primary-text-on-secondary-color: $theme-dark-primary-text-on-secondary-color,
14
+ surface-primary-rgb: $theme-dark-surface-primary-rgb,
15
+ primary-background-hover-on-secondary-color: $theme-dark-primary-background-hover-on-secondary-color,
16
+ surface-secondary-rgb: $theme-dark-surface-secondary-rgb,
17
+ text-tertiary: $theme-dark-text-tertiary,
18
+ link-on-secondary-color: $theme-dark-link-on-secondary-color,
19
+ modal-background-color: $theme-dark-modal-background-color,
20
+ dark-background-color: $theme-dark-dark-background-color,
21
+ dark-background-on-secondary-color: $theme-dark-dark-background-on-secondary-color,
22
+ dialog-background-color: $theme-dark-dialog-background-color,
23
+ label-background-color: $theme-dark-label-background-color,
24
+ label-background-on-secondary-color: $theme-dark-label-background-on-secondary-color,
25
+ icon-on-secondary-color: $theme-dark-icon-on-secondary-color,
26
+ placeholder-color-with-opacity: $theme-dark-placeholder-color-with-opacity,
27
+ placeholder-on-secondary-color: $theme-dark-placeholder-on-secondary-color,
28
+ ui-border-on-secondary-color: $theme-dark-ui-border-on-secondary-color,
29
+ layout-border-on-secondary-color: $theme-dark-layout-border-on-secondary-color,
30
+ disabled-background-on-secondary-color: $theme-dark-disabled-background-on-secondary-color,
31
+ disabled-text-on-secondary-color: $theme-dark-disabled-text-on-secondary-color,
32
+ box-shadow-mediun: $box-shadow-mediun
33
+ );
@@ -0,0 +1,69 @@
1
+ // HACKER THEME KEYS
2
+
3
+ // HACKER THEME COLOR KEYS MAP: hacker theme's keys color map.
4
+ // - Map include semantic color keys scope tokens.
5
+ // - Map is collected into the $theme-hacker-settings map and is interpolated into custom properties.
6
+
7
+ $theme-hacker-keys: (
8
+ primary-color: $theme-hacker-primary-color,
9
+ primary-hover-color: $theme-hacker-primary-hover-color,
10
+ surface-selected: $theme-hacker-surface-selected,
11
+ primary-selected-hover-color: $theme-hacker-primary-selected-hover-color,
12
+ primary-highlighted-color: $theme-hacker-primary-highlighted-color,
13
+ text-primary: $theme-hacker-text-primary,
14
+ text-secondary: $theme-hacker-text-secondary,
15
+ text-tertiary: $theme-hacker-text-tertiary,
16
+ text-color-on-inverted: $theme-hacker-text-color-on-inverted,
17
+ placeholder-color: $theme-hacker-placeholder-color,
18
+ icon-primary: $theme-hacker-icon-primary,
19
+ link-color: $theme-hacker-link-color,
20
+ fixed-light-color: $theme-hacker-fixed-light-color,
21
+ fixed-dark-color: $theme-hacker-fixed-dark-color,
22
+ surface-primary: $theme-hacker-surface-primary,
23
+ surface-primary-hover: $theme-hacker-surface-primary-hover,
24
+ surface-secondary: $theme-hacker-surface-secondary,
25
+ surface-tertiary: $theme-hacker-surface-tertiary,
26
+ surface-quaternary: $theme-hacker-surface-quaternary,
27
+ surface-inverse: $theme-hacker-surface-inverse,
28
+ surface-success: $theme-hacker-surface-success,
29
+ surface-alert: $theme-hacker-surface-alert,
30
+ surface-warning: $theme-hacker-surface-warning,
31
+ disabled-text-color: $theme-hacker-disabled-text-color,
32
+ disabled-background-color: $theme-hacker-disabled-background-color,
33
+ positive-color: $theme-hacker-positive-color,
34
+ positive-color-hover: $theme-hacker-positive-color-hover,
35
+ positive-color-selected: $theme-hacker-positive-color-selected,
36
+ positive-color-selected-hover: $theme-hacker-positive-color-selected-hover,
37
+ positive-color-background: $theme-hacker-positive-color-background,
38
+ negative-color: $theme-hacker-negative-color,
39
+ negative-color-hover: $theme-hacker-negative-color-hover,
40
+ negative-color-selected: $theme-hacker-negative-color-selected,
41
+ negative-color-selected-hover: $theme-hacker-negative-color-selected-hover,
42
+ negative-color-background: $theme-hacker-negative-color-background,
43
+ divider-primary: $theme-hacker-divider-primary,
44
+ divider-secondary: $theme-hacker-divider-secondary,
45
+ divider-overlay: $theme-hacker-divider-overlay,
46
+ divider-halo: $theme-hacker-divider-halo,
47
+ divider-selected: $theme-hacker-divider-selected,
48
+ warning-color: $theme-hacker-warning-color,
49
+ warning-color-hover: $theme-hacker-warning-color-hover,
50
+ warning-color-selected: $theme-hacker-warning-color-selected,
51
+ warning-color-selected-hover: $theme-hacker-warning-color-selected-hover,
52
+ warning-color-background: $theme-hacker-warning-color-background,
53
+ brand-color: $theme-hacker-primary-color,
54
+ brand-hover-color: $theme-hacker-primary-hover-color,
55
+ brand-selected-color: $theme-hacker-surface-selected,
56
+ brand-selected-hover-color: $theme-hacker-primary-selected-hover-color
57
+ );
58
+
59
+ // DARK THEME SHADOW MAP: dark theme's shadow color map.
60
+ // - Map include shadow scope tokens.
61
+ // - Map is collected into the $theme-hacker-settings map and is interpolated into custom properties.
62
+
63
+ $theme-hacker-shadow-keys: (
64
+ box-shadow-xs: $theme-hacker-box-shadow-xs,
65
+ box-shadow-small: $theme-hacker-box-shadow-small,
66
+ box-shadow-medium: $theme-hacker-box-shadow-medium,
67
+ box-shadow-large: $theme-hacker-box-shadow-large,
68
+ shadow-color: $theme-hacker-shadow-color
69
+ );
@@ -0,0 +1,33 @@
1
+ // HACKER THEME LEGACY KEYS MAP: This partial defines the hacker theme's legacy keys color map.
2
+ // - Map include legacy keys scope tokens.
3
+ // - Its main Purpose is to separate legacy tokens to registration tokens and key tokens.
4
+ // - This map is for Key Tokens.
5
+ // - Legacy Key tokens are aliases of registration tokens or content color tokens with a semantic meaning.
6
+ // - Map is collected into the $theme-dark-settings map and is interpolated into custom properties.
7
+
8
+ $theme-hacker-legacy-keys: (
9
+ primary-on-secondary-color: $theme-hacker-primary-on-secondary-color,
10
+ primary-hover-on-secondary-color: $theme-hacker-primary-hover-on-secondary-color,
11
+ surface-selected-rgb: $theme-hacker-surface-selected-rgb,
12
+ primary-selected-on-secondary-color: $theme-hacker-primary-selected-on-secondary-color,
13
+ primary-text-on-secondary-color: $theme-hacker-primary-text-on-secondary-color,
14
+ surface-primary-rgb: $theme-hacker-surface-primary-rgb,
15
+ primary-background-hover-on-secondary-color: $theme-hacker-primary-background-hover-on-secondary-color,
16
+ surface-secondary-rgb: $theme-hacker-surface-secondary-rgb,
17
+ text-tertiary: $theme-hacker-text-tertiary,
18
+ link-on-secondary-color: $theme-hacker-link-on-secondary-color,
19
+ modal-background-color: $theme-hacker-modal-background-color,
20
+ dark-background-color: $theme-hacker-dark-background-color,
21
+ dark-background-on-secondary-color: $theme-hacker-dark-background-on-secondary-color,
22
+ dialog-background-color: $theme-hacker-dialog-background-color,
23
+ label-background-color: $theme-hacker-label-background-color,
24
+ label-background-on-secondary-color: $theme-hacker-label-background-on-secondary-color,
25
+ icon-on-secondary-color: $theme-hacker-icon-on-secondary-color,
26
+ placeholder-color-with-opacity: $theme-hacker-placeholder-color-with-opacity,
27
+ placeholder-on-secondary-color: $theme-hacker-placeholder-on-secondary-color,
28
+ ui-border-on-secondary-color: $theme-hacker-ui-border-on-secondary-color,
29
+ layout-border-on-secondary-color: $theme-hacker-layout-border-on-secondary-color,
30
+ disabled-background-on-secondary-color: $theme-hacker-disabled-background-on-secondary-color,
31
+ disabled-text-on-secondary-color: $theme-hacker-disabled-text-on-secondary-color,
32
+ box-shadow-mediun: $box-shadow-mediun
33
+ );
@@ -0,0 +1,7 @@
1
+ // BASIC THEME LEGACY COLOR MAP: This partial defines the basic theme's legacy color map.
2
+ // - Map include legacy color scope tokens.
3
+
4
+ $theme-hacker-legacy-palette: (
5
+ color-success: $theme-hacker-success,
6
+ color-error: $theme-hacker-error
7
+ );
@@ -0,0 +1,7 @@
1
+ // CONFIG: BASIC THEME TOKENS
2
+ // This partial loads basic theme's config tokens
3
+
4
+ @import "themes/basic/palette/palette";
5
+ @import "themes/basic/palette/legacy/legacy-pallete";
6
+ @import "themes/basic/keys/keys";
7
+ @import "themes/basic/keys/legacy/legacy-keys";
@@ -0,0 +1,6 @@
1
+ // CONFIG: BLACK THEME TOKENS
2
+ // This partial loads black theme's config tokens
3
+
4
+ @import "themes/black/palette/black-theme-palette";
5
+ @import "themes/black/keys/black-theme-keys";
6
+ @import "themes/black/keys/legacy/black-theme-legacy-keys";
@@ -0,0 +1,16 @@
1
+ // CONFIG: CORE TOKENS
2
+ // This partial loads Core config tokens
3
+ // - loading order is important
4
+ // -- please verify token dependency when adding.
5
+ // -- we put tokens without dependencies first.
6
+
7
+ @import "core/core-motion";
8
+ @import "core/core-border";
9
+ @import "core/core-opacity";
10
+ @import "core/core-spacing";
11
+ @import "core/core-radius";
12
+ @import "core/core-shadows";
13
+ @import "core/core-common";
14
+ @import "core/core-typography";
15
+ @import "core/core-fonts-deprecated";
16
+ @import "core/core-typography-deprecated";
@@ -0,0 +1,6 @@
1
+ // CONFIG: DARK THEME TOKENS
2
+ // This partial loads dark theme's config tokens
3
+
4
+ @import "themes/dark/palette/dark-theme-palette";
5
+ @import "themes/dark/keys/dark-theme-keys";
6
+ @import "themes/dark/keys/legacy/dark-theme-legacy-keys";
@@ -0,0 +1,7 @@
1
+ // CONFIG: HACKER THEME TOKENS
2
+ // This partial loads hacker theme's config tokens
3
+
4
+ @import "themes/hacker/palette/hacker-theme-palette";
5
+ @import "themes/hacker/palette/legacy/hacker-theme-legacy-palette";
6
+ @import "themes/hacker/keys/hacker-theme-keys";
7
+ @import "themes/hacker/keys/legacy/hacker-theme-legacy-keys";
@@ -0,0 +1,5 @@
1
+ // CORE TOKENS: BORDER
2
+ // This partial Defines Global border tokens
3
+
4
+ $border-width: 1px;
5
+ $border-style: solid;
@@ -0,0 +1,7 @@
1
+ // CORE TOKENS: COMMON
2
+ // This partial defines Common global tokens
3
+ // - common tokens defines misc global tokens
4
+
5
+ // Common Opacity aliases
6
+ $disabled-component-opacity: $opacity-38;
7
+ $effect-divider-halo: 0 0 0 3px var(--divider-halo);
@@ -0,0 +1,37 @@
1
+ // CORE TOKENS: FONTS
2
+ // This partial Defines Global fonts tokens
3
+
4
+ // REGISTRATION TOKENS
5
+ // - Font sizes (numeric units)
6
+ $font-reg-size-14: 14px;
7
+ $font-reg-size-16: 16px;
8
+ $font-reg-size-18: 18px;
9
+ $font-reg-size-24: 24px;
10
+ $font-reg-size-30: 30px;
11
+
12
+ // - Line heights (numeric units)
13
+ $font-reg-line-height-18: 18px;
14
+ $font-reg-line-height-24: 24px;
15
+ $font-reg-line-height-32: 32px;
16
+ $font-reg-line-height-42: 42px;
17
+
18
+ // GLOBAL FONT TOKENS
19
+ $font-size-base: $font-reg-size-16;
20
+
21
+ // - Font weights
22
+ $font-weight-very-light: 200;
23
+ $font-weight-light: 300;
24
+ $font-weight-normal: 400;
25
+ $font-weight-bold: 600;
26
+
27
+ // - Font family
28
+ $font-family: "Inter", "Roboto", "Noto Sans Hebrew", "Noto Kufi Arabic", "Noto Sans JP", sans-serif;
29
+ $title-font-family: "Inter", "Roboto", "Noto Sans Hebrew", "Noto Kufi Arabic", "Noto Sans JP", sans-serif;
30
+ $h1-font-family: var(--title-font-family);
31
+
32
+ // - Font smoothing
33
+ $font-smoothing-webkit: antialiased;
34
+ $font-smoothing-moz: grayscale;
35
+
36
+ // h1 letter spacing -0.1px
37
+ // h2 letter spacing -0.2px
@@ -0,0 +1,35 @@
1
+ // # CORE TOKENS: MOTION
2
+ // This partial defines global motion tokens
3
+
4
+ // ## Registration: not exposed externally
5
+ $motion-duration-70ms: 70ms;
6
+ $motion-duration-100ms: 100ms;
7
+ $motion-duration-150ms: 150ms;
8
+ $motion-duration-250ms: 250ms;
9
+ $motion-duration-400ms: 400ms;
10
+
11
+ $motion-easing-in: cubic-bezier(0, 0, 0.35, 1);
12
+ $motion-easing-out: cubic-bezier(0.4, 0, 1, 4);
13
+ $motion-easing-in-out: cubic-bezier(0.4, 0, 0.2, 1);
14
+ $motion-easing-in-elastic: cubic-bezier(0, 0, 0.2, 1.4);
15
+
16
+ // ## BASE: properties API tokens
17
+ // - Productive: small UI, small affect transitions
18
+ $motion-productive-short: $motion-duration-70ms;
19
+ $motion-productive-medium: $motion-duration-250ms;
20
+ $motion-productive-long: $motion-duration-400ms;
21
+
22
+ // - Expressive, Layout UI, Larger affect, elements with content, feedback.
23
+ // -- Duration
24
+ $motion-expressive-short: $motion-duration-250ms;
25
+ $motion-expressive-long: $motion-duration-400ms;
26
+
27
+ // -- Timing
28
+ $motion-timing-enter: $motion-easing-in;
29
+ $motion-timing-exit: $motion-easing-out;
30
+ $motion-timing-transition: $motion-easing-in-out;
31
+ $motion-timing-emphasize: $motion-easing-in-elastic;
32
+
33
+ // ### Common, Global: Aliases for Base API, in more specific use casing.
34
+ // - This is the layer we would like to emphasize although base layer can also be used when a case is not specified.
35
+ $expand-animation-timing: var(--motion-timing-enter);
@@ -0,0 +1,14 @@
1
+ // CORE TOKENS: OPACITY
2
+ // This partial defines global opacity tokens
3
+ // - Opacity tokens defines allowed values as part of our efforts to limit hard coded values.
4
+ // - Currently they are derived from existing values.
5
+
6
+ $opacity-0: 0;
7
+ $opacity-10: 0.1;
8
+ $opacity-20: 0.2;
9
+ $opacity-30: 0.3;
10
+ $opacity-38: 0.38;
11
+ $opacity-40: 0.4;
12
+ $opacity-50: 0.5;
13
+ $opacity-60: 0.6;
14
+ $opacity-100: 1;
@@ -0,0 +1,6 @@
1
+ // CORE TOKENS: BORDER RADIUS
2
+ // This partial defines global border radius tokens
3
+
4
+ $border-radius-small: 2px;
5
+ $border-radius-medium: 6px;
6
+ $border-radius-big: 16px;
@@ -0,0 +1,7 @@
1
+ // CORE TOKENS: SHADOWS
2
+ // This partial defines global shadow related tokens
3
+
4
+ $shadow-size-xs: 0px 4px 6px -4px;
5
+ $shadow-size-small: 0px 4px 8px;
6
+ $shadow-size-medium: 0px 6px 20px;
7
+ $shadow-size-large: 0px 15px 50px;
@@ -0,0 +1,10 @@
1
+ // CORE TOKENS: SPACING
2
+ // This partial defines global spacing Tokens
3
+
4
+ $spacing-xs: 4px;
5
+ $spacing-small: 8px;
6
+ $spacing-medium: 16px;
7
+ $spacing-large: 24px;
8
+ $spacing-xl: 32px;
9
+ $spacing-xxl: 48px;
10
+ $spacing-xxxl: 64px;
@@ -0,0 +1,55 @@
1
+ // CORE TOKENS: TYPOGRAPHY
2
+ // This partial Defines Global Typography tokens
3
+
4
+ // FONTS SCALES
5
+ // - Font Size scale
6
+ $font-size-10: $font-reg-size-14;
7
+ $font-size-20: $font-reg-size-14;
8
+ $font-size-30: $font-size-base;
9
+ $font-size-40: $font-reg-size-18;
10
+ $font-size-50: $font-reg-size-24;
11
+ $font-size-60: $font-reg-size-30;
12
+
13
+ // - LINE HEIGHT SCALE
14
+ $font-line-height-10: $font-reg-line-height-18;
15
+ $font-line-height-20: $font-reg-line-height-24;
16
+ $font-line-height-30: $font-reg-line-height-24;
17
+ $font-line-height-40: $font-reg-line-height-24;
18
+ $font-line-height-50: $font-reg-line-height-32;
19
+ $font-line-height-60: $font-reg-line-height-42;
20
+
21
+ // TYPOGRAPHY TOKENS
22
+ // - Font sizes (meaningful units)
23
+ $font-size-h1: var(--font-size-60);
24
+ $font-size-h2: var(--font-size-50);
25
+ $font-size-h3: var(--font-size-50);
26
+ $font-size-h4: var(--font-size-40);
27
+ $font-size-h5: var(--font-size-30);
28
+ $font-size-h6: var(--font-size-30);
29
+ $font-size-general-label: var(--font-size-20);
30
+ $font-size-paragraph: var(--font-size-30);
31
+ $font-size-subtext: var(--font-size-10);
32
+
33
+ // - Line heights (meaningful units)
34
+ $font-line-height-h1: var(--font-line-height-60);
35
+ $font-line-height-h2: var(--font-line-height-50);
36
+ $font-line-height-h3: var(--font-line-height-50);
37
+ $font-line-height-h4: var(--font-line-height-40);
38
+ $font-line-height-h5: var(--font-line-height-30);
39
+ $font-line-height-h6: var(--font-line-height-30);
40
+ $font-line-height-general-label: var(--font-line-height-20);
41
+ $font-line-height-paragraph: var(--font-line-height-30);
42
+ $font-line-height-subtext: var(--font-line-height-10);
43
+
44
+ // - Font definition shorthands per semantics atom definitions
45
+ $font-h1: var(--font-weight-bold) var(--font-size-h1) / var(--font-line-height-h1) var(--title-font-family);
46
+ $font-h2: var(--font-weight-bold) var(--font-size-h2) / var(--font-line-height-h2) var(--title-font-family);
47
+ $font-h3: var(--font-weight-light) var(--font-size-h3) / var(--font-line-height-h3) var(--title-font-family);
48
+ $font-h4: var(--font-weight-bold) var(--font-size-h4) / var(--font-line-height-h4) var(--title-font-family);
49
+ $font-h5: var(--font-weight-bold) var(--font-size-h5) / var(--font-line-height-h5) var(--font-family);
50
+ $font-h6: var(--font-weight-bold) var(--font-size-h6) / var(--font-line-height-h6) var(--font-family);
51
+ $font-general-label: var(--font-weight-normal) var(--font-size-general-label) / var(--font-line-height-general-label)
52
+ var(--font-family);
53
+ $font-paragraph: var(--font-weight-normal) var(--font-size-paragraph) / var(--font-line-height-paragraph)
54
+ var(--font-family);
55
+ $font-subtext: var(--font-weight-normal) var(--font-size-subtext) / var(--font-line-height-subtext) var(--font-family);
@@ -0,0 +1,55 @@
1
+ // CORE TOKENS: TYPOGRAPHY
2
+ // This partial Defines Global Typography tokens
3
+
4
+ // Font family
5
+ $font-family-english-heading: "Inter";
6
+ $font-family-english-text: "Inter";
7
+ $font-family-other-languages: "Noto Sans Hebrew", "Noto Kufi Arabic", "Noto Sans JP", sans-serif;
8
+ $text-font-family: $font-family-english-text, $font-family-other-languages;
9
+ $title-font-family: $font-family-english-heading, $font-family-other-languages;
10
+
11
+ // Font definition shorthands per semantics atom definitions
12
+ $font-h1-bold: 800 52px / 60px var(--title-font-family);
13
+ $font-h1-normal: 500 52px / 60px var(--title-font-family);
14
+ $font-h1-light: 300 52px / 60px var(--title-font-family);
15
+ $font-h2-bold: 800 44px / 64px var(--title-font-family);
16
+ $font-h2-normal: 500 44px / 64px var(--title-font-family);
17
+ $font-h2-light: 300 44px / 64px var(--title-font-family);
18
+ $font-h3-bold: 800 32px / 44px var(--title-font-family);
19
+ $font-h3-normal: 500 32px / 44px var(--title-font-family);
20
+ $font-h3-light: 300 32px / 44px var(--title-font-family);
21
+ $font-h4-bold: 800 22px / 34px var(--title-font-family);
22
+ $font-h4-normal: 500 22px / 34px var(--title-font-family);
23
+ $font-h4-light: 300 22px / 34px var(--title-font-family);
24
+ $font-h5-bold: 700 18px / 24px var(--title-font-family);
25
+ $font-h5-normal: 500 18px / 24px var(--title-font-family);
26
+ $font-h5-light: 300 18px / 24px var(--title-font-family);
27
+ $font-h6-bold: 700 14px / 18px var(--title-font-family);
28
+ $font-h6-normal: 500 14px / 18px var(--title-font-family);
29
+ $font-h6-light: 300 14px / 18px var(--title-font-family);
30
+ $font-text1-bold: 700 14px / 24px var(--font-family);
31
+ $font-text1-medium: 600 14px / 24px var(--font-family);
32
+ $font-text1-normal: 400 14px / 24px var(--font-family);
33
+ $font-text2-bold: 700 12px / 18px var(--font-family);
34
+ $font-text2-medium: 600 12px / 18px var(--font-family);
35
+ $font-text2-normal: 400 12px / 18px var(--font-family);
36
+
37
+ // Letter spacing definition per semantics atom definitions
38
+ $letter-spacing-h1-bold: -0.5px;
39
+ $letter-spacing-h1-normal: -0.5px;
40
+ $letter-spacing-h1-light: -0.5px;
41
+ $letter-spacing-h2-bold: -0.1px;
42
+ $letter-spacing-h2-normal: -0.1px;
43
+ $letter-spacing-h2-light: -0.1px;
44
+ $letter-spacing-h3-bold: -0.1px;
45
+ $letter-spacing-h3-normal: -0.1px;
46
+ $letter-spacing-h3-light: -0.1px;
47
+ $letter-spacing-h4-bold: -0.1px;
48
+ $letter-spacing-h4-normal: -0.1px;
49
+ $letter-spacing-h4-light: -0.1px;
50
+ $letter-spacing-h5-bold: -0.1px;
51
+ $letter-spacing-h5-normal: -0.1px;
52
+ $letter-spacing-h5-light: -0.1px;
53
+ $letter-spacing-h6-bold: -0.1px;
54
+ $letter-spacing-h6-normal: -0.1px;
55
+ $letter-spacing-h6-light: -0.1px;
@@ -0,0 +1,87 @@
1
+ // BASIC THEME TOKENS: SEMANTIC KEYS COLORS
2
+ // - This partial defines Basic Theme's Semantic Keys color tokens
3
+ // FIGMA REFERENCE: COLOR KEYS
4
+
5
+ // - Theme keys should hold registration values (colors, content colors, other keys)
6
+ // - In some case there are unique hex values assignments
7
+ // - They should be transformed into Registration colors.
8
+ // - We replaced them with nearest registration or key colors.
9
+ // - When several key has the same value and have a connection
10
+ // - We either use $token or var(--token) depending on connection logic and value type.
11
+
12
+ // SHADOWS
13
+ $shadow-color: $colors-gray-200;
14
+
15
+ $shadow-xs-opacity: $opacity-10;
16
+ $shadow-small-opacity: $opacity-20;
17
+ $shadow-medium-opacity: $shadow-small-opacity;
18
+ $shadow-large-opacity: $opacity-30;
19
+
20
+ $box-shadow-xs: $shadow-size-xs rgba($shadow-color, $shadow-xs-opacity);
21
+ $box-shadow-small: $shadow-size-small rgba($shadow-color, $shadow-small-opacity);
22
+ $box-shadow-medium: $shadow-size-medium rgba($shadow-color, $shadow-medium-opacity);
23
+ $box-shadow-large: $shadow-size-large rgba($shadow-color, $shadow-large-opacity);
24
+
25
+
26
+
27
+ // Fixed colors - Mostly Monochrome Values
28
+ $fixed-light-color: $color-white;
29
+ $fixed-dark-color: $color-black;
30
+
31
+ // SURFACES COLORS
32
+ $surface-primary: $color-white;
33
+ $surface-primary-hover: $colors-gray-100;
34
+ $surface-secondary: $colors-gray-100;
35
+ $surface-tertiary: $colors-gray-200;
36
+ $surface-quaternary: $colors-gray-300;
37
+ $surface-selected: $colors-steel-100;
38
+ $surface-inverse: $color-black;
39
+ $surface-success: $colors-green-100;
40
+ $surface-alert: $colors-red-100;
41
+ $surface-warning: $colors-yellow-100;
42
+
43
+
44
+ // BRAND COLORS
45
+ $primary-color: $colors-steel-500;
46
+ $primary-hover-color: $colors-steel-800;
47
+ $primary-selected-hover-color: $colors-steel-950;
48
+ $primary-highlighted-color: $colors-steel-200;
49
+
50
+
51
+ // TEXT COLORS
52
+ $text-primary: $colors-gray-900;
53
+ $text-secondary: $colors-gray-500;
54
+ $text-tertiary: $colors-gray-300;
55
+ $text-color-on-primary: $color-white;
56
+ $text-color-on-inverted: $color-white;
57
+ $placeholder-color: $colors-gray-500;
58
+ $icon-primary: $colors-gray-900;
59
+ $link-color: $colors-steel-500;
60
+
61
+
62
+ // System Semantics (state, status)
63
+ $disabled-text-color: rgba($text-primary, var(--disabled-component-opacity));
64
+ $disabled-background-color: $color-ui_grey-muted;
65
+ $positive-color: $colors-green-400;
66
+ $positive-color-hover: $colors-green-600;
67
+ $positive-color-selected: $colors-green-600;
68
+ $positive-color-selected-hover: $colors-green-700;
69
+ $positive-color-background: $colors-green-200;
70
+ $negative-color: $colors-red-400;
71
+ $negative-color-hover: $colors-red-600;
72
+ $negative-color-selected: $colors-red-600;
73
+ $negative-color-selected-hover: $colors-red-700;
74
+ $negative-color-background: $colors-red-200;
75
+ $warning-color: $colors-yellow-400;
76
+ $warning-color-hover: $colors-yellow-600;
77
+ $warning-color-selected: $colors-yellow-600;
78
+ $warning-color-selected-hover: $colors-yellow-700;
79
+ $warning-color-background: $colors-yellow-200;
80
+
81
+ // DIVIDER COLORS
82
+ $divider-primary: $colors-gray-200;
83
+ $divider-secondary: $colors-gray-300;
84
+ $divider-overlay: rgba($shadow-color, $shadow-xs-opacity);
85
+ $divider-halo: $colors-steel-200;
86
+ $divider-selected: $colors-steel-500;
87
+
@@ -0,0 +1,51 @@
1
+ // BASIC THEME TOKENS: LEGACY KEYS
2
+ // - This partial defines Basic Theme's legacy keys tokens
3
+ // - Legacy keys are colors that are not part of the theme's keys
4
+ // - Legacy keys are currently presented as custom properties
5
+ // - Due to separation between Registration and Semantic candidates sort order between group is important
6
+ // - Some Semantic candidates are aliases or Registration colors (as it should be)
7
+ // - Legacy keys might be in use within themes.
8
+ // - Per now they cannot be deprecated.
9
+ // - We define a token as a legacy key when:
10
+ // - It has a legacy registration color as value.(value duplication)
11
+ // - It has name that indicates a certain role
12
+ // - It is abstract and not tied to a specific use. (such as some legacy tokens)
13
+ // - Some other token is using them and it makes a sense (connection is clear)
14
+ // - This way we eliminate duplication for hard coded value declaration.
15
+
16
+ // # Not in Vibe UI definitions
17
+ $primary-on-secondary-color: $color-basic_blue;
18
+ $primary-hover-on-secondary-color: $color-dark_blue;
19
+ $surface-selected-rgb: $color-highlight_blue-rgb;
20
+ $primary-selected-on-secondary-color: $color-highlight_blue;
21
+ $primary-text-on-secondary-color: $color-mud_black;
22
+ $text-color-on-primary-with-opacity: $color-snow_white-with-opacity;
23
+
24
+ $surface-primary-rgb: $color-snow_white-rgb;
25
+ $primary-background-hover-on-secondary-color: $color-ui_grey;
26
+ $surface-secondary-rgb: $color-snow_white-rgb;
27
+
28
+ $link-on-secondary-color: $color-link_color;
29
+
30
+ $modal-background-color: $color-snow_white;
31
+ $dark-background-color: $color-teal-lightstone_gray;
32
+ $dark-background-on-secondary-color: $color-teal-lightstone_gray;
33
+ $dialog-background-color: $color-snow_white;
34
+
35
+ $label-background-color: $color-highlight_blue;
36
+ $label-background-on-secondary-color: $color-highlight_blue;
37
+
38
+ $icon-on-secondary-color: $color-asphalt;
39
+ $placeholder-color-with-opacity: $color-asphalt-with-opacity;
40
+ $placeholder-on-secondary-color: $color-asphalt;
41
+
42
+ // States
43
+ $disabled-background-on-secondary-color: $disabled-background-color;
44
+ $disabled-text-on-secondary-color: $disabled-text-color;
45
+
46
+ // borders
47
+ $ui-border-on-secondary-color: $color-wolf_gray;
48
+ $layout-border-on-secondary-color: $divider-secondary;
49
+
50
+ // legacy shadow
51
+ $box-shadow-mediun: $box-shadow-medium;