@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.
- package/LICENSE +21 -0
- package/README.md +111 -0
- package/dist/_functions.scss +8 -0
- package/dist/_mixins.scss +3 -0
- package/dist/colors.json +696 -0
- package/dist/functions/_camelize.scss +25 -0
- package/dist/functions/_capitalize.scss +11 -0
- package/dist/functions/_contain.scss +8 -0
- package/dist/functions/_extract-rgb.scss +8 -0
- package/dist/functions/_map-collect.scss +17 -0
- package/dist/functions/functions/_camelize.scss +25 -0
- package/dist/functions/functions/_capitalize.scss +11 -0
- package/dist/functions/functions/_contain.scss +8 -0
- package/dist/functions/functions/_extract-rgb.scss +8 -0
- package/dist/functions/functions/_map-collect.scss +17 -0
- package/dist/index.css +1289 -0
- package/dist/index.css.map +1 -0
- package/dist/index.min.css +1 -0
- package/dist/mixins/_common.scss +67 -0
- package/dist/mixins/_states.scss +48 -0
- package/dist/mixins/_typography.scss +24 -0
- package/dist/mixins/mixins/_common.scss +67 -0
- package/dist/mixins/mixins/_states.scss +48 -0
- package/dist/mixins/mixins/_typography.scss +24 -0
- package/package.json +67 -0
- package/src/Icons/API.svg +3 -0
- package/src/Icons/Academy.svg +3 -0
- package/src/Icons/Activity.svg +3 -0
- package/src/Icons/Add.svg +4 -0
- package/src/Icons/AddNewDoc.svg +13 -0
- package/src/Icons/AddSmall.svg +4 -0
- package/src/Icons/AddToTeam.svg +6 -0
- package/src/Icons/AddUpdate.svg +4 -0
- package/src/Icons/Alert.svg +3 -0
- package/src/Icons/Announcement.svg +3 -0
- package/src/Icons/Apps.svg +3 -0
- package/src/Icons/Archive.svg +3 -0
- package/src/Icons/Attach.svg +3 -0
- package/src/Icons/Basic.svg +5 -0
- package/src/Icons/Battery.svg +3 -0
- package/src/Icons/BlockQuote.svg +8 -0
- package/src/Icons/Board.svg +3 -0
- package/src/Icons/BoardPrivate.svg +5 -0
- package/src/Icons/BoardShareable.svg +5 -0
- package/src/Icons/BoardTemplate.svg +5 -0
- package/src/Icons/Bold.svg +11 -0
- package/src/Icons/Bolt.svg +3 -0
- package/src/Icons/Bookmark.svg +3 -0
- package/src/Icons/Broadcast.svg +3 -0
- package/src/Icons/Broom.svg +5 -0
- package/src/Icons/Bug.svg +3 -0
- package/src/Icons/Bullet.svg +3 -0
- package/src/Icons/Bullets.svg +15 -0
- package/src/Icons/Bulllet.svg +3 -0
- package/src/Icons/Calendar.svg +3 -0
- package/src/Icons/Chart.svg +3 -0
- package/src/Icons/Check.svg +4 -0
- package/src/Icons/CheckList.svg +7 -0
- package/src/Icons/Checkbox.svg +6 -0
- package/src/Icons/Clear.svg +3 -0
- package/src/Icons/Close.svg +3 -0
- package/src/Icons/CloseRound.svg +3 -0
- package/src/Icons/CloseSmall.svg +4 -0
- package/src/Icons/Code.svg +4 -0
- package/src/Icons/Collapse.svg +5 -0
- package/src/Icons/CollapseRound.svg +5 -0
- package/src/Icons/Column.svg +3 -0
- package/src/Icons/Comment.svg +3 -0
- package/src/Icons/Completed.svg +3 -0
- package/src/Icons/Connect.svg +4 -0
- package/src/Icons/ConnectedDoc.svg +11 -0
- package/src/Icons/ContentDirectory.svg +3 -0
- package/src/Icons/ConvertToItem.svg +3 -0
- package/src/Icons/ConvertToSubitem.svg +3 -0
- package/src/Icons/Counter.svg +12 -0
- package/src/Icons/Country.svg +3 -0
- package/src/Icons/CreditCard.svg +3 -0
- package/src/Icons/Custom.svg +5 -0
- package/src/Icons/Cut.svg +6 -0
- package/src/Icons/Dashboard.svg +3 -0
- package/src/Icons/DashboardPrivate.svg +5 -0
- package/src/Icons/Deactivate.svg +3 -0
- package/src/Icons/Delete.svg +3 -0
- package/src/Icons/Dependency.svg +3 -0
- package/src/Icons/Description.svg +6 -0
- package/src/Icons/DisabledUser.svg +11 -0
- package/src/Icons/Divider.svg +3 -0
- package/src/Icons/Doc.svg +5 -0
- package/src/Icons/DocPrivate.svg +6 -0
- package/src/Icons/DocShareable.svg +3 -0
- package/src/Icons/DocTemplate.svg +3 -0
- package/src/Icons/DoubleCheck.svg +3 -0
- package/src/Icons/Download.svg +3 -0
- package/src/Icons/Drag.svg +11 -0
- package/src/Icons/Dropdown.svg +3 -0
- package/src/Icons/DropdownChevronDown.svg +4 -0
- package/src/Icons/DropdownChevronLeft.svg +4 -0
- package/src/Icons/DropdownChevronRight.svg +4 -0
- package/src/Icons/DropdownChevronUp.svg +4 -0
- package/src/Icons/DueDate.svg +3 -0
- package/src/Icons/Duplicate.svg +3 -0
- package/src/Icons/Edit.svg +3 -0
- package/src/Icons/Education.svg +3 -0
- package/src/Icons/Email.svg +3 -0
- package/src/Icons/Embed.svg +3 -0
- package/src/Icons/Emoji.svg +6 -0
- package/src/Icons/Enter.svg +3 -0
- package/src/Icons/Erase.svg +3 -0
- package/src/Icons/Event.svg +4 -0
- package/src/Icons/Expand.svg +3 -0
- package/src/Icons/ExternalPage.svg +3 -0
- package/src/Icons/Favorite.svg +3 -0
- package/src/Icons/Featured.svg +3 -0
- package/src/Icons/Feedback.svg +3 -0
- package/src/Icons/File.svg +4 -0
- package/src/Icons/Filter.svg +5 -0
- package/src/Icons/Folder.svg +5 -0
- package/src/Icons/Form.svg +6 -0
- package/src/Icons/Formula.svg +4 -0
- package/src/Icons/Forum.svg +3 -0
- package/src/Icons/Fullscreen.svg +3 -0
- package/src/Icons/FullscreenClose.svg +3 -0
- package/src/Icons/Gallery.svg +6 -0
- package/src/Icons/Gantt.svg +5 -0
- package/src/Icons/Gif.svg +5 -0
- package/src/Icons/Globe.svg +5 -0
- package/src/Icons/Graph.svg +3 -0
- package/src/Icons/Group.svg +3 -0
- package/src/Icons/Guest.svg +3 -0
- package/src/Icons/Health.svg +3 -0
- package/src/Icons/Help.svg +5 -0
- package/src/Icons/Hide.svg +3 -0
- package/src/Icons/Highlight.svg +4 -0
- package/src/Icons/HighlightColorBucket.svg +3 -0
- package/src/Icons/Home.svg +3 -0
- package/src/Icons/IPRestrictions.svg +3 -0
- package/src/Icons/Idea.svg +3 -0
- package/src/Icons/Image.svg +5 -0
- package/src/Icons/Inbox.svg +4 -0
- package/src/Icons/Info.svg +3 -0
- package/src/Icons/Integrations.svg +3 -0
- package/src/Icons/Invite.svg +11 -0
- package/src/Icons/Italic.svg +9 -0
- package/src/Icons/Item.svg +3 -0
- package/src/Icons/ItemDefaultValues.svg +3 -0
- package/src/Icons/ItemHeightTriple.svg +8 -0
- package/src/Icons/Keyboard.svg +3 -0
- package/src/Icons/Labs.svg +3 -0
- package/src/Icons/Launch.svg +10 -0
- package/src/Icons/Layout.svg +3 -0
- package/src/Icons/LearnMore.svg +5 -0
- package/src/Icons/Lines.svg +5 -0
- package/src/Icons/Link.svg +3 -0
- package/src/Icons/Location.svg +3 -0
- package/src/Icons/Locked.svg +3 -0
- package/src/Icons/LogIn.svg +8 -0
- package/src/Icons/LogOut.svg +8 -0
- package/src/Icons/LongText.svg +3 -0
- package/src/Icons/Mention.svg +4 -0
- package/src/Icons/Menu.svg +6 -0
- package/src/Icons/Microphone.svg +3 -0
- package/src/Icons/Minimize.svg +4 -0
- package/src/Icons/Mirror.svg +3 -0
- package/src/Icons/Mobile.svg +3 -0
- package/src/Icons/MondayDoc.svg +3 -0
- package/src/Icons/MondayLogoOutline.svg +3 -0
- package/src/Icons/Moon.svg +3 -0
- package/src/Icons/MoreActions.svg +3 -0
- package/src/Icons/MoreBelow.svg +5 -0
- package/src/Icons/MoreBelowFilled.svg +3 -0
- package/src/Icons/MoveArrowDown.svg +4 -0
- package/src/Icons/MoveArrowLeft.svg +4 -0
- package/src/Icons/MoveArrowLeftDouble.svg +10 -0
- package/src/Icons/MoveArrowRight.svg +4 -0
- package/src/Icons/MoveArrowUp.svg +4 -0
- package/src/Icons/Mute.svg +4 -0
- package/src/Icons/MyWeek.svg +5 -0
- package/src/Icons/NavigationChevronDown.svg +4 -0
- package/src/Icons/NavigationChevronLeft.svg +4 -0
- package/src/Icons/NavigationChevronRight.svg +4 -0
- package/src/Icons/NavigationChevronUp.svg +4 -0
- package/src/Icons/NavigationDoubleChevronLeft.svg +4 -0
- package/src/Icons/NewTab.svg +3 -0
- package/src/Icons/Night.svg +5 -0
- package/src/Icons/NoColor.svg +5 -0
- package/src/Icons/Note.svg +3 -0
- package/src/Icons/Notifications.svg +4 -0
- package/src/Icons/NotificationsMuted.svg +4 -0
- package/src/Icons/Numbers.svg +8 -0
- package/src/Icons/Offline.svg +4 -0
- package/src/Icons/Open.svg +4 -0
- package/src/Icons/Page.svg +3 -0
- package/src/Icons/Paste.svg +7 -0
- package/src/Icons/Pause.svg +3 -0
- package/src/Icons/Person.svg +4 -0
- package/src/Icons/PersonRound.svg +4 -0
- package/src/Icons/Pin.svg +3 -0
- package/src/Icons/Placeholder.svg +3 -0
- package/src/Icons/Play.svg +3 -0
- package/src/Icons/Print.svg +3 -0
- package/src/Icons/PushNotification.svg +3 -0
- package/src/Icons/Quote.svg +6 -0
- package/src/Icons/Radio.svg +3 -0
- package/src/Icons/Recurring.svg +3 -0
- package/src/Icons/RecycleBin.svg +11 -0
- package/src/Icons/Redo.svg +4 -0
- package/src/Icons/Remove.svg +3 -0
- package/src/Icons/Replay.svg +3 -0
- package/src/Icons/Retry.svg +3 -0
- package/src/Icons/Robot.svg +3 -0
- package/src/Icons/Rotate.svg +3 -0
- package/src/Icons/Search.svg +3 -0
- package/src/Icons/Security.svg +3 -0
- package/src/Icons/Send.svg +3 -0
- package/src/Icons/Settings.svg +3 -0
- package/src/Icons/SettingsKnobs.svg +3 -0
- package/src/Icons/Share.svg +3 -0
- package/src/Icons/ShortText.svg +3 -0
- package/src/Icons/Show.svg +3 -0
- package/src/Icons/Shredder.svg +3 -0
- package/src/Icons/Sort.svg +4 -0
- package/src/Icons/SortAscending.svg +3 -0
- package/src/Icons/SortDescending.svg +3 -0
- package/src/Icons/Sound.svg +4 -0
- package/src/Icons/Status.svg +10 -0
- package/src/Icons/StrikethroughS.svg +12 -0
- package/src/Icons/StrikethroughT.svg +11 -0
- package/src/Icons/Subitems.svg +3 -0
- package/src/Icons/Sun.svg +3 -0
- package/src/Icons/Switch.svg +3 -0
- package/src/Icons/Switcher.svg +18 -0
- package/src/Icons/Table.svg +3 -0
- package/src/Icons/Tags.svg +3 -0
- package/src/Icons/Team.svg +3 -0
- package/src/Icons/Text.svg +3 -0
- package/src/Icons/TextBig.svg +3 -0
- package/src/Icons/TextColorIndicator.svg +26 -0
- package/src/Icons/TextCopy.svg +3 -0
- package/src/Icons/TextHuge.svg +3 -0
- package/src/Icons/TextMedium.svg +3 -0
- package/src/Icons/TextSmall.svg +3 -0
- package/src/Icons/Textcolor.svg +5 -0
- package/src/Icons/ThumbsUp.svg +3 -0
- package/src/Icons/Time.svg +3 -0
- package/src/Icons/Timeline.svg +5 -0
- package/src/Icons/Translation.svg +3 -0
- package/src/Icons/TurnInto.svg +6 -0
- package/src/Icons/Underline.svg +8 -0
- package/src/Icons/Undo.svg +4 -0
- package/src/Icons/Unlocked.svg +3 -0
- package/src/Icons/Update.svg +3 -0
- package/src/Icons/Upgrade.svg +3 -0
- package/src/Icons/Upload.svg +3 -0
- package/src/Icons/UserDomain.svg +4 -0
- package/src/Icons/UserStatus.svg +4 -0
- package/src/Icons/Versioning.svg +3 -0
- package/src/Icons/Video.svg +6 -0
- package/src/Icons/Wand.svg +3 -0
- package/src/Icons/Warning.svg +5 -0
- package/src/Icons/WhatsNew.svg +3 -0
- package/src/Icons/Widgets.svg +3 -0
- package/src/Icons/Work.svg +3 -0
- package/src/Icons/Workflow.svg +7 -0
- package/src/Icons/Workspace.svg +3 -0
- package/src/Icons/iconsMetaData.js +1801 -0
- package/src/Themes/_basic-theme.scss +26 -0
- package/src/Themes/_black-theme.scss +23 -0
- package/src/Themes/_dark-theme.scss +23 -0
- package/src/Themes/_hacker-theme.scss +23 -0
- package/src/Themes/basic/_basic-theme-legacy-settings.scss +4 -0
- package/src/Themes/basic/_basic-theme-settings.scss +4 -0
- package/src/Themes/basic/_content-colors.scss +239 -0
- package/src/Themes/black/_black-theme-content-colors.scss +240 -0
- package/src/Themes/black/_black-theme-legacy-settings.scss +4 -0
- package/src/Themes/black/_black-theme-settings.scss +4 -0
- package/src/Themes/dark/_dark-theme-content-colors.scss +240 -0
- package/src/Themes/dark/_dark-theme-legacy-settings.scss +4 -0
- package/src/Themes/dark/_dark-theme-settings.scss +4 -0
- package/src/Themes/hacker/_hacker-theme-content-colors.scss +240 -0
- package/src/Themes/hacker/_hacker-theme-legacy-settings.scss +4 -0
- package/src/Themes/hacker/_hacker-theme-settings.scss +4 -0
- package/src/_common.scss +9 -0
- package/src/_config.scss +17 -0
- package/src/_core.scss +12 -0
- package/src/_functions.scss +8 -0
- package/src/_internal-mixins.scss +5 -0
- package/src/_mixins.scss +3 -0
- package/src/_themes.scss +5 -0
- package/src/config/maps/_config-basic-theme-maps.scss +7 -0
- package/src/config/maps/_config-black-theme-maps.scss +4 -0
- package/src/config/maps/_config-core-maps.scss +12 -0
- package/src/config/maps/_config-dark-theme-maps.scss +4 -0
- package/src/config/maps/_config-hacker-theme-maps.scss +5 -0
- package/src/config/maps/core/_core-borders.scss +9 -0
- package/src/config/maps/core/_core-common-map.scss +9 -0
- package/src/config/maps/core/_core-fonts-map-deprecated.scss +37 -0
- package/src/config/maps/core/_core-motion-map.scss +17 -0
- package/src/config/maps/core/_core-radius-map.scss +10 -0
- package/src/config/maps/core/_core-shadows-map.scss +19 -0
- package/src/config/maps/core/_core-spacing-map.scss +14 -0
- package/src/config/maps/core/_core-typography-map-deprecated.scss +40 -0
- package/src/config/maps/core/_core-typography-map.scss +52 -0
- package/src/config/maps/themes/basic/keys/_keys.scss +71 -0
- package/src/config/maps/themes/basic/keys/legacy/_legacy-keys.scss +34 -0
- package/src/config/maps/themes/basic/palette/_palette.scss +157 -0
- package/src/config/maps/themes/basic/palette/legacy/_legacy-pallete.scss +82 -0
- package/src/config/maps/themes/black/keys/_black-theme-keys.scss +70 -0
- package/src/config/maps/themes/black/keys/legacy/_black-theme-legacy-keys.scss +33 -0
- package/src/config/maps/themes/dark/keys/_dark-theme-keys.scss +72 -0
- package/src/config/maps/themes/dark/keys/legacy/_dark-theme-legacy-keys.scss +33 -0
- package/src/config/maps/themes/hacker/keys/_hacker-theme-keys.scss +69 -0
- package/src/config/maps/themes/hacker/keys/legacy/_hacker-theme-legacy-keys.scss +33 -0
- package/src/config/maps/themes/hacker/palette/legacy/_hacker-theme-legacy-palette.scss +7 -0
- package/src/config/tokens/_config-basic-theme-tokens.scss +7 -0
- package/src/config/tokens/_config-black-theme-tokens.scss +6 -0
- package/src/config/tokens/_config-core-tokens.scss +16 -0
- package/src/config/tokens/_config-dark-theme-tokens.scss +6 -0
- package/src/config/tokens/_config-hacker-theme-tokens.scss +7 -0
- package/src/config/tokens/core/_core-border.scss +5 -0
- package/src/config/tokens/core/_core-common.scss +7 -0
- package/src/config/tokens/core/_core-fonts-deprecated.scss +37 -0
- package/src/config/tokens/core/_core-motion.scss +35 -0
- package/src/config/tokens/core/_core-opacity.scss +14 -0
- package/src/config/tokens/core/_core-radius.scss +6 -0
- package/src/config/tokens/core/_core-shadows.scss +7 -0
- package/src/config/tokens/core/_core-spacing.scss +10 -0
- package/src/config/tokens/core/_core-typography-deprecated.scss +55 -0
- package/src/config/tokens/core/_core-typography.scss +55 -0
- package/src/config/tokens/themes/basic/keys/_keys.scss +87 -0
- package/src/config/tokens/themes/basic/keys/legacy/_legacy-keys.scss +51 -0
- package/src/config/tokens/themes/basic/palette/_palette.scss +210 -0
- package/src/config/tokens/themes/basic/palette/legacy/_legacy-pallete.scss +102 -0
- package/src/config/tokens/themes/black/keys/_black-theme-keys.scss +79 -0
- package/src/config/tokens/themes/black/keys/legacy/_black-theme-legacy-keys.scss +50 -0
- package/src/config/tokens/themes/black/palette/_black-theme-palette.scss +19 -0
- package/src/config/tokens/themes/dark/keys/_dark-theme-keys.scss +82 -0
- package/src/config/tokens/themes/dark/keys/legacy/_dark-theme-legacy-keys.scss +49 -0
- package/src/config/tokens/themes/dark/palette/_dark-theme-palette.scss +47 -0
- package/src/config/tokens/themes/hacker/keys/_hacker-theme-keys.scss +78 -0
- package/src/config/tokens/themes/hacker/keys/legacy/hacker-theme-legacy-keys.scss +53 -0
- package/src/config/tokens/themes/hacker/palette/_hacker-theme-palette.scss +25 -0
- package/src/config/tokens/themes/hacker/palette/legacy/_hacker-theme-legacy-palette.scss +9 -0
- package/src/core/_core-settings.scss +20 -0
- package/src/files/colors.json +696 -0
- package/src/functions/_camelize.scss +25 -0
- package/src/functions/_capitalize.scss +11 -0
- package/src/functions/_contain.scss +8 -0
- package/src/functions/_extract-rgb.scss +8 -0
- package/src/functions/_map-collect.scss +17 -0
- package/src/index.scss +18 -0
- package/src/internal-mixins/_generate-custom-properties.scss +12 -0
- package/src/internal-mixins/_utilities.scss +76 -0
- package/src/loaders/monday.svg +0 -0
- package/src/mixins/_common.scss +67 -0
- package/src/mixins/_states.scss +48 -0
- package/src/mixins/_typography.scss +24 -0
- package/src/utilities/_utilities-maps.scss +33 -0
- package/stylelint-config/index.js +7 -0
- package/stylelint-config/rules/use-defined-css-var-when-available/__tests__/fixtures/contains-values-with-multiple-replacements.scss +4 -0
- package/stylelint-config/rules/use-defined-css-var-when-available/__tests__/fixtures/contains-values-with-single-replacement.scss +8 -0
- package/stylelint-config/rules/use-defined-css-var-when-available/__tests__/index.test.js +170 -0
- package/stylelint-config/rules/use-defined-css-var-when-available/__tests__/props-to-allowed-vars.test.js +122 -0
- package/stylelint-config/rules/use-defined-css-var-when-available/index.js +105 -0
- package/stylelint-config/rules/use-defined-css-var-when-available/parse-monday-css.js +115 -0
- package/stylelint-config/rules/use-defined-css-var-when-available/props-to-allowed-vars.js +161 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// HACKER THEME TOKENS: SEMANTIC KEYS COLORS
|
|
2
|
+
// - This partial defines Basic Theme's Semantic Keys color tokens
|
|
3
|
+
|
|
4
|
+
// - Theme keys should hold registration values (colors, content colors, other keys)
|
|
5
|
+
// - In some case there are unique hex values assignments
|
|
6
|
+
// - They should be transformed into Registration colors.
|
|
7
|
+
// - We add some annotation to their scope when found.
|
|
8
|
+
// - When several key has the same value and have a connection
|
|
9
|
+
// - We either use $theme-hacker token or var(--token) depending on connection logic and value type.
|
|
10
|
+
|
|
11
|
+
@use "sass:color";
|
|
12
|
+
|
|
13
|
+
// SHADOWS
|
|
14
|
+
$theme-hacker-shadow-color: $color-black;
|
|
15
|
+
|
|
16
|
+
$theme-hacker-box-shadow-xs: $shadow-size-xs $theme-hacker-shadow-color;
|
|
17
|
+
$theme-hacker-box-shadow-small: $shadow-size-small $theme-hacker-shadow-color;
|
|
18
|
+
$theme-hacker-box-shadow-medium: $shadow-size-medium $theme-hacker-shadow-color;
|
|
19
|
+
$theme-hacker-box-shadow-large: $shadow-size-large $theme-hacker-shadow-color;
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
// Fixed colors - Mostly Monochrome Values
|
|
24
|
+
$theme-hacker-fixed-light-color: $color-white;
|
|
25
|
+
$theme-hacker-fixed-dark-color: $color-black;
|
|
26
|
+
|
|
27
|
+
// SURFACES COLORS
|
|
28
|
+
$theme-hacker-surface-primary: $colors-gray-950;
|
|
29
|
+
$theme-hacker-surface-primary-hover: rgba($colors-gray-950, 0.3);
|
|
30
|
+
$theme-hacker-surface-secondary: $color-black;
|
|
31
|
+
$theme-hacker-surface-tertiary: $color-black;
|
|
32
|
+
$theme-hacker-surface-quaternary: $color-black; //todo: fix, grey and allgrey should not be the same
|
|
33
|
+
$theme-hacker-surface-selected: $colors-steel-900;
|
|
34
|
+
$theme-hacker-surface-inverse: $color-white; // todo: fix, value from basic theme
|
|
35
|
+
$theme-hacker-surface-success: $colors-green-800;
|
|
36
|
+
$theme-hacker-surface-alert: $colors-red-800;
|
|
37
|
+
$theme-hacker-surface-warning: $colors-yellow-800;
|
|
38
|
+
|
|
39
|
+
// BRAND COLORS
|
|
40
|
+
$theme-hacker-primary-color: $colors-lime-600;
|
|
41
|
+
$theme-hacker-primary-hover-color: #{color.adjust($color-pink-plastic, $lightness: -6%)};
|
|
42
|
+
$theme-hacker-primary-selected-hover-color: $color-deep_blue;
|
|
43
|
+
$theme-hacker-primary-highlighted-color: $color-downriver;
|
|
44
|
+
|
|
45
|
+
// TEXT COLORS
|
|
46
|
+
$theme-hacker-text-primary: $color-white;
|
|
47
|
+
$theme-hacker-text-secondary: $colors-gray-400; // todo: fix, value from basic legacy palette
|
|
48
|
+
$theme-hacker-text-tertiary: $colors-gray-700; // todo: fix, value from basic legacy palette
|
|
49
|
+
$theme-hacker-text-color-on-inverted: $color-mud_black; // todo: fix, value from basic theme
|
|
50
|
+
$theme-hacker-placeholder-color: $color-wolf_gray; // todo: fix, value from basic theme
|
|
51
|
+
$theme-hacker-icon-primary: $color-wolf_gray; // todo: fix, value from basic theme
|
|
52
|
+
$theme-hacker-link-color: $colors-lime-300;
|
|
53
|
+
|
|
54
|
+
// System Semantics (state, status)
|
|
55
|
+
$theme-hacker-disabled-text-color: $theme-black-disabled-text-color;
|
|
56
|
+
$theme-hacker-disabled-background-color: $color-dust-muted;
|
|
57
|
+
$theme-hacker-positive-color: $colors-green-700;
|
|
58
|
+
$theme-hacker-positive-color-hover: $colors-green-600;
|
|
59
|
+
$theme-hacker-positive-color-selected: $colors-green-600;
|
|
60
|
+
$theme-hacker-positive-color-selected-hover: $colors-green-500;
|
|
61
|
+
$theme-hacker-positive-color-background: $colors-green-700;
|
|
62
|
+
$theme-hacker-negative-color: $colors-red-700;
|
|
63
|
+
$theme-hacker-negative-color-hover: $colors-red-600;
|
|
64
|
+
$theme-hacker-negative-color-selected: $colors-red-600;
|
|
65
|
+
$theme-hacker-negative-color-selected-hover: $colors-red-500;
|
|
66
|
+
$theme-hacker-negative-color-background: $colors-red-700;
|
|
67
|
+
$theme-hacker-warning-color: $colors-yellow-700;
|
|
68
|
+
$theme-hacker-warning-color-hover: $colors-yellow-600;
|
|
69
|
+
$theme-hacker-warning-color-selected: $colors-yellow-600;
|
|
70
|
+
$theme-hacker-warning-color-selected-hover: $colors-yellow-500;
|
|
71
|
+
$theme-hacker-warning-color-background: $colors-yellow-700;
|
|
72
|
+
|
|
73
|
+
// DIVIDER COLORS
|
|
74
|
+
$theme-hacker-divider-primary: $colors-gray-700;
|
|
75
|
+
$theme-hacker-divider-secondary: $colors-gray-600;
|
|
76
|
+
$theme-hacker-divider-overlay: rgba($theme-hacker-shadow-color, $shadow-xs-opacity);
|
|
77
|
+
$theme-hacker-divider-halo: $colors-lime-600;
|
|
78
|
+
$theme-hacker-divider-selected: $colors-lime-400;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// HACKER THEME TOKENS: LEGACY KEYS
|
|
2
|
+
// - This partial defines Hacker 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
|
+
|
|
18
|
+
@use "sass:color";
|
|
19
|
+
|
|
20
|
+
$theme-hacker-primary-on-secondary-color: $color-pink-plastic;
|
|
21
|
+
$theme-hacker-primary-hover-on-secondary-color: #{color.adjust($color-pink-plastic, $lightness: -6%)};
|
|
22
|
+
$theme-hacker-surface-selected-rgb: extract-rgb($color-viola-vivid);
|
|
23
|
+
$theme-hacker-primary-selected-on-secondary-color: $color-viola-vivid;
|
|
24
|
+
$theme-hacker-primary-text-on-secondary-color: $color-snow;
|
|
25
|
+
|
|
26
|
+
$theme-hacker-surface-primary-rgb: extract-rgb($color-night-sky);
|
|
27
|
+
$theme-hacker-primary-background-hover-on-secondary-color: $color-silver;
|
|
28
|
+
$theme-hacker-surface-secondary-rgb: extract-rgb($color-graphite);
|
|
29
|
+
|
|
30
|
+
$theme-hacker-link-on-secondary-color: $color-liliac;
|
|
31
|
+
|
|
32
|
+
$theme-hacker-modal-background-color: $color-night-sky;
|
|
33
|
+
$theme-hacker-dark-background-color: $color-parisian-night;
|
|
34
|
+
$theme-hacker-dark-background-on-secondary-color: $color-shadow-mountain;
|
|
35
|
+
$theme-hacker-dialog-background-color: $color-graphite;
|
|
36
|
+
|
|
37
|
+
$theme-hacker-label-background-color: $color-buster_blue; // todo: fix, not part of Vibe colors
|
|
38
|
+
$theme-hacker-label-background-on-secondary-color: $color-buster_blue; // todo: fix, not part of Vibe colors
|
|
39
|
+
|
|
40
|
+
$theme-hacker-icon-on-secondary-color: $color-wolf_gray;
|
|
41
|
+
$theme-hacker-placeholder-color-with-opacity: $color-wolf_gray-with-opacity;
|
|
42
|
+
$theme-hacker-placeholder-on-secondary-color: $color-wolf_gray;
|
|
43
|
+
|
|
44
|
+
// States
|
|
45
|
+
$theme-hacker-disabled-text-on-secondary-color: $theme-hacker-disabled-text-color;
|
|
46
|
+
$theme-hacker-disabled-background-on-secondary-color: $theme-hacker-disabled-background-color;
|
|
47
|
+
|
|
48
|
+
// borders
|
|
49
|
+
$theme-hacker-ui-border-on-secondary-color: $color-fog;
|
|
50
|
+
$theme-hacker-layout-border-on-secondary-color: $color-blue-manhattan;
|
|
51
|
+
|
|
52
|
+
// legacy shadow
|
|
53
|
+
$theme-hacker-box-shadow-mediun: var(--box-shadow-medium);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// HACKER THEME TOKENS: BASE COLORS
|
|
2
|
+
// - This partial defines Dark Theme's base color tokens
|
|
3
|
+
// -- Please notice Dark theme is also using basic theme colors as dependency.
|
|
4
|
+
// --- Only New theme related colors are defined here.
|
|
5
|
+
|
|
6
|
+
// Colors
|
|
7
|
+
// - Brand
|
|
8
|
+
$color-pink-plastic: #fe78c6;
|
|
9
|
+
$color-viola-vivid: #9f4077;
|
|
10
|
+
$color-liliac: #bd93f9;
|
|
11
|
+
$color-deep_blue: #0d2e65;
|
|
12
|
+
|
|
13
|
+
// - Semantics
|
|
14
|
+
$color-red-fluorescent: #ff5555;
|
|
15
|
+
$color-amber_red: #5a2027;
|
|
16
|
+
|
|
17
|
+
$color-green-grotesque: #50fa7b;
|
|
18
|
+
$color-green-blackboard: #26503e;
|
|
19
|
+
$color-darker_green: #194733;
|
|
20
|
+
|
|
21
|
+
// Natural / Gray
|
|
22
|
+
$color-night-sky: #282a36;
|
|
23
|
+
$color-blue-manhattan: #414458;
|
|
24
|
+
$color-parisian-night: #303241;
|
|
25
|
+
$color-shadow-mountain: #595959;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// HACKER THEME TOKENS: LEGACY COLORS
|
|
2
|
+
// - This partial defines Hacker Theme's legacy color tokens
|
|
3
|
+
// - Legacy colors are colors that are not part of the theme's keys
|
|
4
|
+
|
|
5
|
+
// success and error are redundant aliases the should not be used.
|
|
6
|
+
// we use positive and negative keys instead.
|
|
7
|
+
|
|
8
|
+
$theme-hacker-error: $color-red-fluorescent;
|
|
9
|
+
$theme-hacker-success: $color-green-grotesque;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// CORE : SETTINGS
|
|
2
|
+
// This partial Defines a Unified settings map for the Core Scope.
|
|
3
|
+
// - Map collect function is used in order to merge multiple maps from Core config .
|
|
4
|
+
|
|
5
|
+
$core-settings-map: map-collect(
|
|
6
|
+
$core-motion-map,
|
|
7
|
+
$core-spacing-map,
|
|
8
|
+
$core-border-map,
|
|
9
|
+
$core-border-radius-map,
|
|
10
|
+
$core-common-map,
|
|
11
|
+
$core-fonts-map,
|
|
12
|
+
$core-font-weight-map,
|
|
13
|
+
$core-font-size-scale-map,
|
|
14
|
+
$core-font-line-height-scale-map,
|
|
15
|
+
$core-typography-font-sizes-map,
|
|
16
|
+
$core-typography-line-height-sizes-map,
|
|
17
|
+
$core-typography-fonts-map-deprecated,
|
|
18
|
+
$core-typography-fonts-map,
|
|
19
|
+
$core-typography-letter-spacing-map
|
|
20
|
+
);
|