@ably/ui 13.3.0 → 14.0.0-dev.fbce38f
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/README.md +25 -152
- package/core/Accordion/component.js +1 -0
- package/core/Code/component.css +1 -72
- package/core/Code/component.js +1 -1
- package/core/ConnectStateWrapper/component.js +1 -1
- package/core/ContactFooter/component.css +7 -10
- package/core/ContactFooter/component.js +1 -1
- package/core/CookieMessage/component.css +10 -13
- package/core/CookieMessage/component.js +1 -1
- package/core/CustomerLogos/component.js +1 -1
- package/core/DropdownMenu/component.js +1 -1
- package/core/FeaturedLink/component.js +1 -1
- package/core/Flash/component.css +19 -22
- package/core/Flash/component.js +1 -1
- package/core/Footer/component.css +22 -25
- package/core/Footer/component.js +1 -1
- package/core/Icon/component.js +1 -1
- package/core/Loader/component.js +1 -1
- package/core/Logo/component.js +1 -1
- package/core/Meganav/component.css +103 -106
- package/core/Meganav/component.js +1 -1
- package/core/MeganavBlogPostsList/component.js +1 -2
- package/core/MeganavContentCompany/component.js +1 -1
- package/core/MeganavContentDevelopers/component.js +1 -1
- package/core/MeganavContentProducts/component.js +1 -1
- package/core/MeganavContentUseCases/component.js +1 -1
- package/core/MeganavControl/component.js +1 -1
- package/core/MeganavControlMobileDropdown/component.js +1 -1
- package/core/MeganavControlMobilePanelClose/component.js +1 -1
- package/core/MeganavControlMobilePanelOpen/component.js +1 -1
- package/core/MeganavItemsDesktop/component.js +1 -1
- package/core/MeganavItemsMobile/component.js +1 -1
- package/core/MeganavItemsSignedIn/component.js +1 -1
- package/core/MeganavSearch/component.js +1 -1
- package/core/MeganavSearchAutocomplete/component.js +1 -1
- package/core/MeganavSearchPanel/component.js +1 -1
- package/core/MeganavSearchSuggestions/component.js +1 -1
- package/core/Notice/component.css +4 -7
- package/core/Notice/component.js +1 -1
- package/core/SignOutLink/component.js +1 -1
- package/core/Slider/component.css +4 -7
- package/core/Slider/component.js +1 -1
- package/core/Table/Table.js +1 -0
- package/core/Table/TableCell.js +1 -0
- package/core/Table/TableRow.js +1 -0
- package/core/Table/index.js +1 -0
- package/core/Table/stories/data.js +1 -0
- package/core/Tooltip/component.js +1 -0
- package/core/css.js +1 -0
- package/core/dom-query.js +1 -0
- package/core/hubspot-chat-toggle.js +1 -0
- package/core/icons/discord.svg +10 -0
- package/core/icons/facebook.svg +4 -0
- package/core/icons/github.svg +3 -0
- package/core/icons/glassdoor.svg +3 -0
- package/core/icons/google.svg +3 -0
- package/core/icons/icon-display-48hrs.svg +3 -0
- package/core/icons/icon-display-about-ably-col.svg +4 -0
- package/core/icons/icon-display-api-keys.svg +3 -0
- package/core/icons/icon-display-api.svg +3 -0
- package/core/icons/icon-display-asset-tracking-col.svg +18 -0
- package/core/icons/icon-display-browser.svg +10 -0
- package/core/icons/icon-display-calendar.svg +3 -0
- package/core/icons/icon-display-call-mobile.svg +3 -0
- package/core/icons/icon-display-careers-col.svg +9 -0
- package/core/icons/icon-display-case-studies-col.svg +5 -0
- package/core/icons/icon-display-chat-col.svg +4 -0
- package/core/icons/icon-display-chat-stack-col.svg +4 -0
- package/core/icons/icon-display-chat-stack.svg +4 -0
- package/core/icons/icon-display-cloud-servers.svg +3 -0
- package/core/icons/icon-display-compare-tech-col.svg +9 -0
- package/core/icons/icon-display-customers-col.svg +15 -0
- package/core/icons/icon-display-data-broadcast-col.svg +26 -0
- package/core/icons/icon-display-data-synchronization-col.svg +14 -0
- package/core/icons/icon-display-docs-col.svg +7 -0
- package/core/icons/icon-display-documentation.svg +3 -0
- package/core/icons/icon-display-events-col.svg +13 -0
- package/core/icons/icon-display-examples-col.svg +11 -0
- package/core/icons/icon-display-gdpr.svg +3 -0
- package/core/icons/icon-display-general-comms.svg +3 -0
- package/core/icons/icon-display-hipaa.svg +10 -0
- package/core/icons/icon-display-integrations-col.svg +8 -0
- package/core/icons/icon-display-it-support-access.svg +3 -0
- package/core/icons/icon-display-it-support-helpdesk.svg +3 -0
- package/core/icons/icon-display-kafka-at-the-edge-col.svg +8 -0
- package/core/icons/icon-display-laptop.svg +10 -0
- package/core/icons/icon-display-lightbulb-col.svg +10 -0
- package/core/icons/icon-display-live-chat.svg +3 -0
- package/core/icons/icon-display-map-pin.svg +3 -0
- package/core/icons/icon-display-message.svg +3 -0
- package/core/icons/icon-display-padlock-closed.svg +3 -0
- package/core/icons/icon-display-platform.svg +22 -0
- package/core/icons/icon-display-play.svg +3 -0
- package/core/icons/icon-display-privacy-shield-framework.svg +7 -0
- package/core/icons/icon-display-push-notifications-col.svg +6 -0
- package/core/icons/icon-display-quickstart-guides-col.svg +8 -0
- package/core/icons/icon-display-resources-col.svg +21 -0
- package/core/icons/icon-display-sdks-col.svg +11 -0
- package/core/icons/icon-display-servers.svg +3 -0
- package/core/icons/icon-display-shopping-cart.svg +10 -0
- package/core/icons/icon-display-sla.svg +3 -0
- package/core/icons/icon-display-soc2-type2.svg +3 -0
- package/core/icons/icon-display-tech-account-comms.svg +3 -0
- package/core/icons/icon-display-tutorials-demos-col.svg +25 -0
- package/core/icons/icon-display-virtual-events-col.svg +12 -0
- package/core/icons/icon-display-virtual-events.svg +12 -0
- package/core/icons/icon-gui-ably-badge.svg +3 -0
- package/core/icons/icon-gui-arrow-bidirectional-horizontal.svg +3 -0
- package/core/icons/icon-gui-arrow-bidirectional-vertical.svg +3 -0
- package/core/icons/icon-gui-arrow-down.svg +3 -0
- package/core/icons/icon-gui-arrow-left.svg +3 -0
- package/core/icons/icon-gui-arrow-right.svg +3 -0
- package/core/icons/icon-gui-arrow-up.svg +3 -0
- package/core/icons/icon-gui-burger-menu.svg +5 -0
- package/core/icons/icon-gui-check-circled-fill-black.svg +4 -0
- package/core/icons/icon-gui-check-circled-fill.svg +4 -0
- package/core/icons/icon-gui-check-circled.svg +3 -0
- package/core/icons/icon-gui-checklist-checked.svg +3 -0
- package/core/icons/icon-gui-clock.svg +3 -0
- package/core/icons/icon-gui-close.svg +3 -0
- package/core/icons/icon-gui-copy.svg +10 -0
- package/core/icons/icon-gui-cross-circled-fill.svg +4 -0
- package/core/icons/icon-gui-cross-circled.svg +3 -0
- package/core/icons/icon-gui-dash-circled.svg +3 -0
- package/core/icons/icon-gui-disclosure-arrow.svg +3 -0
- package/core/icons/icon-gui-document-generic.svg +3 -0
- package/core/icons/icon-gui-enlarge.svg +3 -0
- package/core/icons/icon-gui-external-link.svg +3 -0
- package/core/icons/icon-gui-filter-flow-step-1.svg +5 -0
- package/core/icons/icon-gui-filter-flow-step-2.svg +5 -0
- package/core/icons/icon-gui-filter-flow-step-3.svg +5 -0
- package/core/icons/icon-gui-history.svg +3 -0
- package/core/icons/icon-gui-info.svg +3 -0
- package/core/icons/icon-gui-link-arrow.svg +3 -0
- package/core/icons/icon-gui-link.svg +4 -0
- package/core/icons/icon-gui-live-chat.svg +3 -0
- package/core/icons/icon-gui-minus.svg +3 -0
- package/core/icons/icon-gui-plus.svg +3 -0
- package/core/icons/icon-gui-quote-marks-solid.svg +3 -0
- package/core/icons/icon-gui-refresh.svg +10 -0
- package/core/icons/icon-gui-resources.svg +3 -0
- package/core/icons/icon-gui-search.svg +3 -0
- package/core/icons/icon-gui-tick.svg +3 -0
- package/core/icons/icon-gui-warning.svg +5 -0
- package/core/icons/icon-live-updates-results-metrics-col.svg +26 -0
- package/core/icons/icon-multi-user-spaces-col.svg +13 -0
- package/core/icons/icon-social-x.svg +3 -0
- package/core/icons/icon-tech-apachekafka.svg +3 -0
- package/core/icons/linkedin.svg +3 -0
- package/core/icons/quote.svg +3 -0
- package/core/icons/stackoverflow.svg +3 -0
- package/core/icons/twitter.svg +3 -0
- package/core/icons/youtube.svg +11 -0
- package/core/icons.js +1 -0
- package/core/load-sprites.js +1 -0
- package/core/react-renderer.js +1 -0
- package/core/remote-blogs-posts.js +1 -0
- package/core/remote-data-store.js +1 -0
- package/core/remote-data-util.js +1 -0
- package/core/remote-session-data.js +1 -0
- package/core/scripts.js +1 -2
- package/core/sprites.svg +1 -525
- package/core/styles/buttons.css +122 -0
- package/core/styles/forms.css +62 -0
- package/core/styles/layout.css +19 -0
- package/core/styles/properties.css +276 -0
- package/core/styles/text.css +166 -0
- package/core/styles.base.css +1 -0
- package/core/styles.components.css +33 -0
- package/core/styles.css +2 -699
- package/core/url-base.js +1 -0
- package/core/utils/syntax-highlighter-registry.js +1 -0
- package/core/utils/syntax-highlighter.css +67 -0
- package/core/utils/syntax-highlighter.js +1 -0
- package/package.json +39 -34
- package/reset/scripts.js +1 -1
- package/reset/styles/normalize.css +353 -0
- package/reset/styles/reset.css +129 -0
- package/reset/styles.css +2 -477
- package/src/core/Accordion/Accordion.stories.tsx +39 -0
- package/src/core/Accordion/component.tsx +147 -0
- package/src/core/Code/Code.stories.tsx +71 -0
- package/src/core/Code/component.tsx +45 -0
- package/src/core/ConnectStateWrapper/{component.jsx → component.tsx} +7 -3
- package/src/core/ContactFooter/ContactFooter.stories.tsx +11 -0
- package/src/core/ContactFooter/component.css +7 -9
- package/src/core/ContactFooter/component.tsx +92 -0
- package/src/core/CookieMessage/CookieMessage.stories.tsx +12 -0
- package/src/core/CookieMessage/component.css +10 -12
- package/src/core/CookieMessage/{component.jsx → component.tsx} +15 -10
- package/src/core/CustomerLogos/CustomerLogos.stories.tsx +43 -0
- package/src/core/CustomerLogos/component.tsx +35 -0
- package/src/core/DropdownMenu/DropdownMenu.stories.tsx +48 -0
- package/src/core/DropdownMenu/{component.jsx → component.tsx} +64 -36
- package/src/core/FeaturedLink/FeaturedLink.stories.tsx +43 -0
- package/src/core/FeaturedLink/{component.jsx → component.tsx} +26 -18
- package/src/core/Flash/Flash.stories.tsx +37 -0
- package/src/core/Flash/component.css +19 -21
- package/src/core/Flash/{component.jsx → component.tsx} +78 -39
- package/src/core/Footer/Footer.stories.tsx +26 -0
- package/src/core/Footer/component.css +22 -24
- package/src/core/Footer/{component.jsx → component.tsx} +237 -70
- package/src/core/Icon/Icon.stories.tsx +150 -0
- package/src/core/Icon/component.tsx +26 -0
- package/src/core/Loader/Loader.stories.tsx +21 -0
- package/src/core/Loader/{component.jsx → component.tsx} +11 -8
- package/src/core/Logo/Logo.stories.tsx +12 -0
- package/src/core/Logo/component.tsx +29 -0
- package/src/core/Meganav/Meganav.stories.tsx +86 -0
- package/src/core/Meganav/component.css +103 -105
- package/src/core/Meganav/component.js +6 -7
- package/src/core/Meganav/component.tsx +228 -0
- package/src/core/MeganavBlogPostsList/{component.jsx → component.tsx} +15 -14
- package/src/core/MeganavContentCompany/{component.jsx → component.tsx} +82 -33
- package/src/core/MeganavContentDevelopers/{component.jsx → component.tsx} +98 -34
- package/src/core/MeganavContentProducts/component.tsx +165 -0
- package/src/core/MeganavContentUseCases/component.tsx +244 -0
- package/src/core/MeganavControl/{component.jsx → component.tsx} +18 -12
- package/src/core/MeganavControlMobileDropdown/{component.jsx → component.tsx} +3 -7
- package/src/core/MeganavControlMobilePanelClose/{component.jsx → component.tsx} +16 -9
- package/src/core/MeganavControlMobilePanelOpen/component.tsx +32 -0
- package/src/core/MeganavItemsDesktop/component.tsx +68 -0
- package/src/core/MeganavItemsMobile/component.tsx +197 -0
- package/src/core/MeganavItemsSignedIn/{component.jsx → component.tsx} +59 -23
- package/src/core/MeganavSearch/component.tsx +36 -0
- package/src/core/MeganavSearchAutocomplete/component.tsx +12 -0
- package/src/core/MeganavSearchPanel/component.tsx +52 -0
- package/src/core/MeganavSearchSuggestions/component.tsx +62 -0
- package/src/core/Notice/component.css +4 -6
- package/src/core/Notice/component.js +1 -1
- package/src/core/Notice/component.tsx +104 -0
- package/src/core/SignOutLink/component.tsx +51 -0
- package/src/core/Slider/Slider.stories.tsx +45 -0
- package/src/core/Slider/component.css +4 -6
- package/src/core/Slider/component.tsx +112 -0
- package/src/core/Table/Table.tsx +30 -0
- package/src/core/Table/TableCell.tsx +84 -0
- package/src/core/Table/TableRow.tsx +25 -0
- package/src/core/Table/index.ts +24 -0
- package/src/core/Table/stories/Table.stories.tsx +12 -0
- package/src/core/Table/stories/data.tsx +113 -0
- package/src/core/Tooltip/Tooltip.stories.tsx +27 -0
- package/src/core/Tooltip/component.tsx +60 -0
- package/src/core/icons.js +6 -0
- package/src/core/{react-renderer.js → react-renderer.tsx} +9 -7
- package/src/core/styles/buttons.css +121 -123
- package/src/core/styles/forms.css +49 -51
- package/src/core/styles/layout.css +14 -16
- package/src/core/styles/properties.css +250 -259
- package/src/core/styles/text.css +165 -167
- package/src/core/styles.components.css +22 -24
- package/src/core/utils/syntax-highlighter.css +55 -59
- package/src/pages/Buttons.mdx +121 -0
- package/src/pages/Chips.mdx +136 -0
- package/src/pages/Colour.mdx +23 -0
- package/src/pages/Forms.mdx +173 -0
- package/src/pages/Layout.mdx +58 -0
- package/src/pages/Typography.mdx +206 -0
- package/src/pages/utils.ts +70 -0
- package/tailwind.config.js +1 -7
- package/tailwind.extend.js +1 -1
- package/core/.gitignore +0 -1
- package/core/Code.jsx +0 -684
- package/core/CompanyAutocomplete/component.css +0 -46
- package/core/CompanyAutocomplete/component.js +0 -2
- package/core/CompanyAutocomplete/component.js.LICENSE.txt +0 -1
- package/core/ConnectStateWrapper.jsx +0 -222
- package/core/ContactFooter.jsx +0 -342
- package/core/CookieMessage.jsx +0 -204
- package/core/CustomerLogos.jsx +0 -144
- package/core/DropdownMenu.jsx +0 -313
- package/core/FeatureFooter/component.css +0 -13
- package/core/FeatureFooter/component.js +0 -1
- package/core/FeaturedLink.jsx +0 -241
- package/core/Flash.jsx +0 -622
- package/core/Footer.jsx +0 -587
- package/core/Icon.jsx +0 -152
- package/core/Loader.jsx +0 -154
- package/core/Logo.jsx +0 -147
- package/core/Meganav.jsx +0 -4151
- package/core/MeganavBlogPostsList/component.js.LICENSE.txt +0 -1
- package/core/MeganavBlogPostsList.jsx +0 -296
- package/core/MeganavContentCompany.jsx +0 -1058
- package/core/MeganavContentDevelopers.jsx +0 -334
- package/core/MeganavContentProducts.jsx +0 -373
- package/core/MeganavContentUseCases.jsx +0 -341
- package/core/MeganavControl.jsx +0 -199
- package/core/MeganavControlMobileDropdown.jsx +0 -197
- package/core/MeganavControlMobilePanelClose.jsx +0 -198
- package/core/MeganavControlMobilePanelOpen.jsx +0 -193
- package/core/MeganavItemsDesktop.jsx +0 -279
- package/core/MeganavItemsMobile.jsx +0 -689
- package/core/MeganavItemsSignedIn.jsx +0 -643
- package/core/MeganavSearch.jsx +0 -434
- package/core/MeganavSearchAutocomplete.jsx +0 -117
- package/core/MeganavSearchPanel.jsx +0 -386
- package/core/MeganavSearchSuggestions.jsx +0 -299
- package/core/Notice.jsx +0 -914
- package/core/Showcase/component.css +0 -31
- package/core/Showcase/component.js +0 -1
- package/core/Showcase.jsx +0 -17
- package/core/SignOutLink.jsx +0 -157
- package/core/Slider.jsx +0 -400
- package/core/Uptime/component.css +0 -128
- package/core/Uptime/component.js +0 -1
- package/core/Uptime.jsx +0 -895
- package/core/scripts.js.LICENSE.txt +0 -1
- package/preview/tmp/.keep +0 -0
- package/preview/tmp/pids/.keep +0 -0
- package/reset/.gitignore +0 -1
- package/src/core/Code/component.html.erb +0 -3
- package/src/core/Code/component.jsx +0 -31
- package/src/core/Code/component.rb +0 -12
- package/src/core/CompanyAutocomplete/component.css +0 -45
- package/src/core/CompanyAutocomplete/component.js +0 -204
- package/src/core/ContactFooter/component.html.erb +0 -32
- package/src/core/ContactFooter/component.jsx +0 -66
- package/src/core/ContactFooter/component.rb +0 -13
- package/src/core/CustomerLogos/component.html.erb +0 -9
- package/src/core/CustomerLogos/component.jsx +0 -28
- package/src/core/CustomerLogos/component.rb +0 -14
- package/src/core/FeatureFooter/component.css +0 -12
- package/src/core/FeatureFooter/component.html.erb +0 -54
- package/src/core/FeatureFooter/component.js +0 -7
- package/src/core/FeatureFooter/component.rb +0 -30
- package/src/core/FeaturedLink/component.html.erb +0 -15
- package/src/core/FeaturedLink/component.rb +0 -21
- package/src/core/Footer/component.html.erb +0 -256
- package/src/core/Footer/component.rb +0 -14
- package/src/core/Icon/component.html.erb +0 -3
- package/src/core/Icon/component.jsx +0 -19
- package/src/core/Icon/component.rb +0 -25
- package/src/core/Loader/component.html.erb +0 -18
- package/src/core/Loader/component.rb +0 -19
- package/src/core/Logo/component.html.erb +0 -3
- package/src/core/Logo/component.jsx +0 -20
- package/src/core/Logo/component.rb +0 -31
- package/src/core/Meganav/component.html.erb +0 -31
- package/src/core/Meganav/component.jsx +0 -123
- package/src/core/Meganav/component.rb +0 -60
- package/src/core/MeganavBlogPostsList/component.html.erb +0 -5
- package/src/core/MeganavBlogPostsList/component.rb +0 -13
- package/src/core/MeganavContentCompany/component.html.erb +0 -90
- package/src/core/MeganavContentCompany/component.rb +0 -14
- package/src/core/MeganavContentDevelopers/component.html.erb +0 -129
- package/src/core/MeganavContentDevelopers/component.rb +0 -13
- package/src/core/MeganavContentProducts/component.html.erb +0 -83
- package/src/core/MeganavContentProducts/component.jsx +0 -105
- package/src/core/MeganavContentProducts/component.rb +0 -14
- package/src/core/MeganavContentUseCases/component.html.erb +0 -135
- package/src/core/MeganavContentUseCases/component.jsx +0 -147
- package/src/core/MeganavContentUseCases/component.rb +0 -13
- package/src/core/MeganavControl/component.html.erb +0 -6
- package/src/core/MeganavControl/component.rb +0 -20
- package/src/core/MeganavControlMobileDropdown/component.html.erb +0 -7
- package/src/core/MeganavControlMobileDropdown/component.rb +0 -11
- package/src/core/MeganavControlMobilePanelClose/component.html.erb +0 -12
- package/src/core/MeganavControlMobilePanelClose/component.rb +0 -12
- package/src/core/MeganavControlMobilePanelOpen/component.html.erb +0 -7
- package/src/core/MeganavControlMobilePanelOpen/component.jsx +0 -25
- package/src/core/MeganavControlMobilePanelOpen/component.rb +0 -9
- package/src/core/MeganavItemsDesktop/component.html.erb +0 -17
- package/src/core/MeganavItemsDesktop/component.jsx +0 -49
- package/src/core/MeganavItemsDesktop/component.rb +0 -23
- package/src/core/MeganavItemsMobile/component.html.erb +0 -75
- package/src/core/MeganavItemsMobile/component.jsx +0 -137
- package/src/core/MeganavItemsMobile/component.rb +0 -21
- package/src/core/MeganavItemsSignedIn/component.html.erb +0 -53
- package/src/core/MeganavItemsSignedIn/component.rb +0 -33
- package/src/core/MeganavSearch/component.html.erb +0 -15
- package/src/core/MeganavSearch/component.jsx +0 -33
- package/src/core/MeganavSearch/component.rb +0 -13
- package/src/core/MeganavSearchAutocomplete/component.html.erb +0 -6
- package/src/core/MeganavSearchAutocomplete/component.jsx +0 -14
- package/src/core/MeganavSearchAutocomplete/component.rb +0 -6
- package/src/core/MeganavSearchPanel/component.html.erb +0 -22
- package/src/core/MeganavSearchPanel/component.jsx +0 -39
- package/src/core/MeganavSearchPanel/component.rb +0 -13
- package/src/core/MeganavSearchSuggestions/component.html.erb +0 -22
- package/src/core/MeganavSearchSuggestions/component.jsx +0 -49
- package/src/core/MeganavSearchSuggestions/component.rb +0 -18
- package/src/core/Notice/component.html.erb +0 -16
- package/src/core/Notice/component.jsx +0 -71
- package/src/core/Notice/component.rb +0 -29
- package/src/core/Showcase/component.css +0 -30
- package/src/core/Showcase/component.html.erb +0 -76
- package/src/core/Showcase/component.js +0 -180
- package/src/core/Showcase/component.jsx +0 -0
- package/src/core/Showcase/component.rb +0 -190
- package/src/core/SignOutLink/component.html.erb +0 -1
- package/src/core/SignOutLink/component.jsx +0 -32
- package/src/core/SignOutLink/component.rb +0 -17
- package/src/core/Slider/component.html.erb +0 -28
- package/src/core/Slider/component.jsx +0 -86
- package/src/core/Slider/component.rb +0 -38
- package/src/core/Uptime/component.css +0 -127
- package/src/core/Uptime/component.html.erb +0 -0
- package/src/core/Uptime/component.js +0 -1
- package/src/core/Uptime/component.jsx +0 -183
- package/src/core/Uptime/component.rb +0 -7
- package/src/core/core.rb +0 -81
- /package/{preview/log/.keep → src/core/Accordion/component.js} +0 -0
package/core/styles.css
CHANGED
|
@@ -1,699 +1,2 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
/* Neutral colors */
|
|
4
|
-
--color-neutral-000: #ffffff;
|
|
5
|
-
--color-neutral-100: #f8fafc;
|
|
6
|
-
--color-neutral-200: #f4f8fb;
|
|
7
|
-
--color-neutral-300: #edf1f7;
|
|
8
|
-
--color-neutral-400: #e2e7ef;
|
|
9
|
-
--color-neutral-500: #c6ced9;
|
|
10
|
-
--color-neutral-600: #adb6c2;
|
|
11
|
-
--color-neutral-700: #89929f;
|
|
12
|
-
--color-neutral-800: #667085;
|
|
13
|
-
--color-neutral-900: #39414e;
|
|
14
|
-
--color-neutral-1000: #2b303b;
|
|
15
|
-
--color-neutral-1100: #202531;
|
|
16
|
-
--color-neutral-1200: #141924;
|
|
17
|
-
--color-neutral-1300: #03020d;
|
|
18
|
-
|
|
19
|
-
/* Ably orange */
|
|
20
|
-
--color-orange-100: #fff5f1;
|
|
21
|
-
--color-orange-200: #ffe3d8;
|
|
22
|
-
--color-orange-300: #ffc4ae;
|
|
23
|
-
--color-orange-400: #ff9c79;
|
|
24
|
-
--color-orange-500: #ff723f;
|
|
25
|
-
--color-orange-600: #ff5416;
|
|
26
|
-
--color-orange-700: #ff2739;
|
|
27
|
-
--color-orange-800: #e40000;
|
|
28
|
-
--color-orange-900: #b82202;
|
|
29
|
-
--color-orange-1000: #751500;
|
|
30
|
-
--color-orange-1100: #2a0b00;
|
|
31
|
-
|
|
32
|
-
/* Secondary colours */
|
|
33
|
-
--color-yellow-100: #fffbef;
|
|
34
|
-
--color-yellow-200: #fff0ba;
|
|
35
|
-
--color-yellow-300: #ffe27c;
|
|
36
|
-
--color-yellow-400: #ffd43d;
|
|
37
|
-
--color-yellow-500: #f8c100;
|
|
38
|
-
--color-yellow-600: #e8a700;
|
|
39
|
-
--color-yellow-700: #ac8600;
|
|
40
|
-
--color-yellow-800: #654f00;
|
|
41
|
-
--color-yellow-900: #291c01;
|
|
42
|
-
--color-green-100: #f1fff1;
|
|
43
|
-
--color-green-200: #b8ffbb;
|
|
44
|
-
--color-green-300: #80ff85;
|
|
45
|
-
--color-green-400: #08ff13;
|
|
46
|
-
--color-green-500: #00e80b;
|
|
47
|
-
--color-green-600: #00c008;
|
|
48
|
-
--color-green-700: #008e06;
|
|
49
|
-
--color-green-800: #005303;
|
|
50
|
-
--color-green-900: #002a02;
|
|
51
|
-
--color-blue-100: #f1fbff;
|
|
52
|
-
--color-blue-200: #b8eaff;
|
|
53
|
-
--color-blue-300: #80d9ff;
|
|
54
|
-
--color-blue-400: #4ad4ff;
|
|
55
|
-
--color-blue-500: #2cc0ff;
|
|
56
|
-
--color-blue-600: #00a5ec;
|
|
57
|
-
--color-blue-700: #0284cd;
|
|
58
|
-
--color-blue-800: #004b75;
|
|
59
|
-
--color-blue-900: #001b2a;
|
|
60
|
-
--color-violet-100: #f7f2fe;
|
|
61
|
-
--color-violet-200: #d8bcfb;
|
|
62
|
-
--color-violet-300: #b986f8;
|
|
63
|
-
--color-violet-400: #9951f5;
|
|
64
|
-
--color-violet-500: #7a1bf2;
|
|
65
|
-
--color-violet-600: #5f0bc9;
|
|
66
|
-
--color-violet-700: #460894;
|
|
67
|
-
--color-violet-800: #2d055e;
|
|
68
|
-
--color-violet-900: #130228;
|
|
69
|
-
--color-pink-100: #fff1fc;
|
|
70
|
-
--color-pink-200: #ffb8f1;
|
|
71
|
-
--color-pink-300: #ff80e6;
|
|
72
|
-
--color-pink-400: #ff47db;
|
|
73
|
-
--color-pink-500: #ff17d2;
|
|
74
|
-
--color-pink-600: #d400ab;
|
|
75
|
-
--color-pink-700: #9c007e;
|
|
76
|
-
--color-pink-800: #630050;
|
|
77
|
-
--color-pink-900: #2a0022;
|
|
78
|
-
|
|
79
|
-
/* GUI colours */
|
|
80
|
-
/* Note: The ‘Light and ‘Dark’ refers to the colour of the background on which the colour is used. */
|
|
81
|
-
--color-gui-blue-default-light: #006edc;
|
|
82
|
-
--color-gui-blue-hover-light: #0862b9;
|
|
83
|
-
--color-gui-blue-active-light: #074095;
|
|
84
|
-
--color-gui-blue-default-dark: #4da6ff;
|
|
85
|
-
--color-gui-blue-hover-dark: #2894ff;
|
|
86
|
-
--color-gui-blue-active-dark: #0080ff;
|
|
87
|
-
--color-gui-blue-focus: #80b9f2;
|
|
88
|
-
--color-gui-unavailable: #a8a8a8;
|
|
89
|
-
--color-gui-success-green: #11cb24;
|
|
90
|
-
--color-gui-error-red: #fb0c0c;
|
|
91
|
-
--color-gui-focus: #80b9f2;
|
|
92
|
-
--color-gui-focus-outline: #80b9f2;
|
|
93
|
-
--color-gui-visited: #4887c2;
|
|
94
|
-
|
|
95
|
-
/* Colours replaced by neutral colours */
|
|
96
|
-
--color-white: var(--color-neutral-000);
|
|
97
|
-
--color-extra-light-grey: var(--color-neutral-100);
|
|
98
|
-
--color-light-grey: var(--color-neutral-200);
|
|
99
|
-
--color-mid-grey: var(--color-neutral-500);
|
|
100
|
-
--color-dark-grey: var(--color-neutral-800);
|
|
101
|
-
--color-charcoal-grey: var(--color-neutral-1000);
|
|
102
|
-
--color-cool-black: var(--color-neutral-1300);
|
|
103
|
-
|
|
104
|
-
/* Colours replaced by orange colours */
|
|
105
|
-
--color-active-orange: var(--color-orange-600);
|
|
106
|
-
--color-bright-red: var(--color-orange-700);
|
|
107
|
-
--color-red-orange: var(--color-orange-800);
|
|
108
|
-
|
|
109
|
-
/* Colours replaced by secondary colours */
|
|
110
|
-
--color-electric-cyan: var(--color-blue-400);
|
|
111
|
-
--color-zingy-green: var(--color-green-400);
|
|
112
|
-
--color-jazzy-pink: var(--color-pink-500);
|
|
113
|
-
|
|
114
|
-
/* Colours replaced by GUI colours */
|
|
115
|
-
--color-gui-default: var(--color-gui-blue-default-light);
|
|
116
|
-
--color-gui-hover: var(--color-gui-blue-hover-light);
|
|
117
|
-
--color-gui-active: var(--color-gui-blue-active-light);
|
|
118
|
-
--color-gui-error: var(--color-gui-error-red);
|
|
119
|
-
--color-gui-success: var(--color-gui-success-green);
|
|
120
|
-
--color-gui-default-dark: var(--color-gui-blue-default-dark);
|
|
121
|
-
--color-gui-hover-dark: var(--color-gui-blue-hover-dark);
|
|
122
|
-
--color-gui-active-dark: var(--color-gui-blue-active-dark);
|
|
123
|
-
|
|
124
|
-
/* code syntax: theme */
|
|
125
|
-
--syntax-black: var(--color-neutral-1300);
|
|
126
|
-
--syntax-dark-grey: var(--color-neutral-800);
|
|
127
|
-
--syntax-mid-grey: var(--color-neutral-500);
|
|
128
|
-
--syntax-light-grey: var(--color-neutral-200);
|
|
129
|
-
--syntax-extra-light-grey: var(--color-neutral-100);
|
|
130
|
-
--syntax-orange: #e78c45;
|
|
131
|
-
--syntax-yellow: #e7c547;
|
|
132
|
-
--syntax-blue: #3490ec;
|
|
133
|
-
--syntax-green: #b9ca4a;
|
|
134
|
-
--syntax-red: #d54e53;
|
|
135
|
-
--syntax-lilac: #bb87d3;
|
|
136
|
-
|
|
137
|
-
/* uptime status colors */
|
|
138
|
-
--uptime-color-up: #39b54a;
|
|
139
|
-
--uptime-color-trouble: #e87623;
|
|
140
|
-
--uptime-color-down: #e6242c;
|
|
141
|
-
|
|
142
|
-
/* flat colors for social icons */
|
|
143
|
-
--icon-color-linkedin: #1269bf;
|
|
144
|
-
--icon-color-twitter: #2caae1;
|
|
145
|
-
--icon-color-glassdoor: #0baa41;
|
|
146
|
-
--icon-color-github: #000000;
|
|
147
|
-
--icon-color-discord: #5865f2;
|
|
148
|
-
--icon-color-stackoverflow: #f48024;
|
|
149
|
-
--icon-color-youtube: #ff0000;
|
|
150
|
-
|
|
151
|
-
--gradient-active-orange: linear-gradient(
|
|
152
|
-
61.2deg,
|
|
153
|
-
var(--color-active-orange) 10.46%,
|
|
154
|
-
#fe5215 38.63%,
|
|
155
|
-
#fc4a13 54.38%,
|
|
156
|
-
#f73c10 67.07%,
|
|
157
|
-
#f1280a 78.13%,
|
|
158
|
-
#e90f04 88.02%,
|
|
159
|
-
var(--color-red-orange) 92.73%
|
|
160
|
-
);
|
|
161
|
-
|
|
162
|
-
/* Used for smooth transitions from gradient to non-gradient backgrounds */
|
|
163
|
-
--gradient-transparent: linear-gradient(
|
|
164
|
-
0deg,
|
|
165
|
-
rgba(255, 255, 255, 0),
|
|
166
|
-
rgba(255, 255, 255, 0)
|
|
167
|
-
);
|
|
168
|
-
|
|
169
|
-
--gradient-hot-pink: linear-gradient(
|
|
170
|
-
80.2deg,
|
|
171
|
-
var(--color-orange-700) 0%,
|
|
172
|
-
var(--color-jazzy-pink) 100%
|
|
173
|
-
);
|
|
174
|
-
|
|
175
|
-
--fs-title-xl: 3rem;
|
|
176
|
-
--fs-title: 2.75rem;
|
|
177
|
-
--fs-title-xs: 2.5rem;
|
|
178
|
-
--fs-h1-xl: 2.5rem;
|
|
179
|
-
--fs-h1: 2.25rem;
|
|
180
|
-
--fs-h1-xs: 2rem;
|
|
181
|
-
|
|
182
|
-
--fs-h2-xl: 2.125rem;
|
|
183
|
-
--fs-h2: 2rem;
|
|
184
|
-
--fs-h2-xs: 1.75rem;
|
|
185
|
-
|
|
186
|
-
--fs-h3: 1.5rem;
|
|
187
|
-
--fs-h4: 1.25rem;
|
|
188
|
-
--fs-h5: 1rem;
|
|
189
|
-
|
|
190
|
-
--fs-p1: 1rem;
|
|
191
|
-
--fs-p2: 0.938rem;
|
|
192
|
-
--fs-p3: 0.875rem;
|
|
193
|
-
--fs-standfirst-xl: 2.25rem;
|
|
194
|
-
--fs-standfirst: 1.5rem;
|
|
195
|
-
--fs-sub-header: 1.125rem;
|
|
196
|
-
--fs-sub-header-xs: 1.063rem;
|
|
197
|
-
--fs-overline1: 1rem;
|
|
198
|
-
--fs-overline2: 0.875rem;
|
|
199
|
-
--fs-btn1: 1rem;
|
|
200
|
-
--fs-btn2: 0.938rem;
|
|
201
|
-
--fs-btn3: 0.875rem;
|
|
202
|
-
--fs-menu1: 1rem;
|
|
203
|
-
--fs-menu2: 0.938rem;
|
|
204
|
-
--fs-menu3: 0.875rem;
|
|
205
|
-
--fs-quote: 1.25rem;
|
|
206
|
-
--fs-code: 0.938rem;
|
|
207
|
-
--fs-code2: 0.813rem;
|
|
208
|
-
|
|
209
|
-
--lh-dense: 1;
|
|
210
|
-
--lh-tight: 1.125;
|
|
211
|
-
--lh-snug: 1.15;
|
|
212
|
-
--lh-min-normal: 1.2;
|
|
213
|
-
--lh-normal: 1.25;
|
|
214
|
-
--lh-relaxed: 1.45;
|
|
215
|
-
--lh-extra-relaxed: 1.6;
|
|
216
|
-
|
|
217
|
-
--ls-tighten-0_025: -0.025em;
|
|
218
|
-
--ls-tighten-0_02: -0.02em;
|
|
219
|
-
--ls-tighten-0_015: -0.015em;
|
|
220
|
-
--ls-tighten-0_01: -0.01em;
|
|
221
|
-
--ls-tighten-0_005: -0.005em;
|
|
222
|
-
--ls-tighten-0_0025: -0.0025em;
|
|
223
|
-
--ls-tighten-0_0015: -0.0015em;
|
|
224
|
-
--ls-widen-0_1: 0.1em;
|
|
225
|
-
--ls-widen-0_16: 0.16em;
|
|
226
|
-
--ls-widen-0_15: 0.15em;
|
|
227
|
-
|
|
228
|
-
--spacing-0: 0px;
|
|
229
|
-
--spacing-1: 1px;
|
|
230
|
-
--spacing-2: 0.125rem;
|
|
231
|
-
--spacing-4: 0.25rem;
|
|
232
|
-
--spacing-6: 0.375rem;
|
|
233
|
-
--spacing-8: 0.5rem;
|
|
234
|
-
--spacing-12: 0.75rem;
|
|
235
|
-
--spacing-14: 0.875rem;
|
|
236
|
-
--spacing-16: 1rem;
|
|
237
|
-
--spacing-20: 1.25rem;
|
|
238
|
-
--spacing-24: 1.5rem;
|
|
239
|
-
--spacing-32: 2rem;
|
|
240
|
-
--spacing-36: 2.25rem;
|
|
241
|
-
--spacing-40: 2.5rem;
|
|
242
|
-
--spacing-48: 3rem;
|
|
243
|
-
--spacing-64: 4rem;
|
|
244
|
-
--spacing-72: 4.5rem;
|
|
245
|
-
--spacing-80: 5rem;
|
|
246
|
-
--spacing-88: 5.5rem;
|
|
247
|
-
--spacing-96: 6rem;
|
|
248
|
-
--spacing-128: 8rem;
|
|
249
|
-
--spacing-160: 10rem;
|
|
250
|
-
--spacing-256: 16rem;
|
|
251
|
-
|
|
252
|
-
--spacing-btn-small: 0.875rem 1.25rem; /* 14px 16px */
|
|
253
|
-
--spacing-btn-xsmall: 0.875rem 1rem; /* 14px 16px */
|
|
254
|
-
--spacing-btn: 0.875rem 1.5rem; /* 14px 24px */
|
|
255
|
-
--spacing-btn-large: 0.875rem 1.75rem; /* 14px 28px */
|
|
256
|
-
--spacing-menu-row: 0.625rem 0.5rem 0.6875rem; /* 10px 8px 11px */
|
|
257
|
-
--spacing-menu-row-snug: 0.4375rem 0.5rem 0.375rem; /* 7px 8px 6px */
|
|
258
|
-
--spacing-menu-row-title: 0.6875rem 0.5rem; /* 11px 8px */
|
|
259
|
-
--spacing-media: 0.5rem; /* 8px */
|
|
260
|
-
--spacing-input: 0.8125rem 1rem 0.75rem; /* 13px 16px 12px */
|
|
261
|
-
--spacing-overline: 0.6875rem 0; /* 11px 0 */
|
|
262
|
-
--spacing-chip-xsmall: 0.375rem 0.5rem; /* 6px 8px */
|
|
263
|
-
--spacing-chip-small: 0.5rem 0.75rem; /* 8px 12px */
|
|
264
|
-
--spacing-chip: 0.75rem 1rem; /* 6px 8px */
|
|
265
|
-
--spacing-chip-large: 1rem 1.25rem; /* 16px 20px */
|
|
266
|
-
--spacing-inline-code: 0.375rem 0.5rem; /* 6px 8px */
|
|
267
|
-
|
|
268
|
-
/* In components, when looking at implementing viewport margin and spacing between elements,
|
|
269
|
-
the values in the comments can be used as guide as they represent the grid the elements (should) sit on.
|
|
270
|
-
alternatively, look for ui-grid-* helpers. */
|
|
271
|
-
--bp-xs: 428px; /* gutters 8px, side-margin 24px */
|
|
272
|
-
--bp-sm: 768px; /* gutters 16px, side-margin 32px */
|
|
273
|
-
--bp-md: 1040px; /* gutters 24px, side-margin 40px, meganav desktop */
|
|
274
|
-
--bp-lg: 1280px; /* gutters 24px, side-margin 64px */
|
|
275
|
-
--bp-xl: 1440px; /* gutters 32px, side-margin 64px */
|
|
276
|
-
|
|
277
|
-
/* Page stacking context. If components create new stacking contexts z-index values should be defined within them. */
|
|
278
|
-
--stacking-context-page-meganav: 100;
|
|
279
|
-
|
|
280
|
-
/* Expose component values for cross-component usage */
|
|
281
|
-
--ui-meganav-height: 4rem;
|
|
282
|
-
--ui-showcase-client-logo-min-width: 8.75rem; /* 140px at 16px base*/
|
|
283
|
-
--ui-showcase-client-logo-max-width: 15rem; /* 240px at 16px base*/
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
@layer components {
|
|
287
|
-
.ui-btn {
|
|
288
|
-
@apply text-white bg-cool-black text-btn2 font-sans font-bold inline-block rounded p-btn;
|
|
289
|
-
@apply hover:text-white hover:bg-active-orange;
|
|
290
|
-
@apply active:text-white active:bg-red-orange;
|
|
291
|
-
@apply focus:text-white focus:bg-cool-black focus:outline-gui-focus;
|
|
292
|
-
@apply disabled:text-mid-grey disabled:bg-gui-unavailable disabled:cursor-not-allowed;
|
|
293
|
-
@apply transition-colors;
|
|
294
|
-
@apply inline-flex items-center justify-center;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
.ui-btn-alt {
|
|
298
|
-
transition: background-position 0.2s;
|
|
299
|
-
background: linear-gradient(
|
|
300
|
-
61.2deg,
|
|
301
|
-
var(--color-active-orange) 5%,
|
|
302
|
-
#fe5215 19%,
|
|
303
|
-
#fc4a13 27%,
|
|
304
|
-
#f73c10 33%,
|
|
305
|
-
#f1280a 39%,
|
|
306
|
-
#e90f04 44%,
|
|
307
|
-
var(--color-red-orange) 50%
|
|
308
|
-
);
|
|
309
|
-
background-size: 200% 100%;
|
|
310
|
-
background-position: 0% 0%;
|
|
311
|
-
|
|
312
|
-
@apply text-white text-btn2 font-sans font-bold inline-block rounded p-btn;
|
|
313
|
-
@apply focus:outline-gui-focus;
|
|
314
|
-
@apply inline-flex items-center justify-center;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.ui-btn-alt:hover,
|
|
318
|
-
.ui-btn-alt:focus {
|
|
319
|
-
background-position: 100% 0%;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
.ui-btn-alt:disabled {
|
|
323
|
-
background: linear-gradient(var(--gradient-transparent));
|
|
324
|
-
@apply bg-gui-unavailable text-mid-grey cursor-not-allowed;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.ui-btn-invert {
|
|
328
|
-
@apply text-cool-black bg-white text-btn2 font-sans font-bold inline-block rounded p-btn;
|
|
329
|
-
@apply hover:text-white hover:bg-active-orange;
|
|
330
|
-
@apply active:text-white active:bg-red-orange;
|
|
331
|
-
@apply focus:text-white focus:bg-cool-black focus:outline-gui-focus;
|
|
332
|
-
@apply disabled:text-mid-grey disabled:bg-gui-unavailable disabled:cursor-not-allowed;
|
|
333
|
-
@apply transition-colors;
|
|
334
|
-
@apply inline-flex items-center justify-center;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.ui-btn-secondary {
|
|
338
|
-
@apply text-cool-black bg-white text-btn2 font-sans font-bold inline-block border-btn border-cool-black rounded p-btn;
|
|
339
|
-
@apply hover:text-cool-black hover:border-active-orange hover:bg-white;
|
|
340
|
-
@apply active:border-red-orange active:bg-white;
|
|
341
|
-
@apply focus:border-cool-black focus:bg-white focus:outline-gui-focus;
|
|
342
|
-
@apply disabled:text-gui-unavailable disabled:border-gui-unavailable disabled:bg-white disabled:cursor-not-allowed;
|
|
343
|
-
@apply transition-colors;
|
|
344
|
-
@apply inline-flex items-center justify-center;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
.ui-btn-secondary-invert {
|
|
348
|
-
@apply text-white bg-cool-black text-btn2 font-sans font-bold inline-block border-btn border-mid-grey rounded p-btn;
|
|
349
|
-
@apply hover:text-white hover:border-active-orange;
|
|
350
|
-
@apply active:border-red-orange;
|
|
351
|
-
@apply focus:outline-gui-focus;
|
|
352
|
-
@apply disabled:text-gui-unavailable disabled:border-gui-unavailable disabled:cursor-not-allowed;
|
|
353
|
-
@apply transition-colors;
|
|
354
|
-
@apply inline-flex items-center justify-center;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
.ui-btn-icon {
|
|
358
|
-
@apply w-24 h-24 mr-16;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
.ui-btn-icon-small {
|
|
362
|
-
@apply w-20 h-20 mr-12;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
.ui-btn-icon-xsmall {
|
|
366
|
-
@apply w-16 h-16 mr-8;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
.ui-chip {
|
|
370
|
-
@apply text-btn3 p-chip rounded text-cool-black;
|
|
371
|
-
@apply hover:bg-mid-grey;
|
|
372
|
-
@apply active:bg-red-orange active:text-white;
|
|
373
|
-
@apply focus:bg-red-orange focus:text-white focus:outline-none;
|
|
374
|
-
@apply disabled:text-mid-grey disabled:bg-gui-unavailable disabled:cursor-not-allowed;
|
|
375
|
-
@apply transition-colors;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
.ui-chip[data-selected] {
|
|
379
|
-
@apply bg-active-orange text-white;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
.ui-chip[data-selected]:hover {
|
|
383
|
-
@apply bg-mid-grey text-cool-black;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
.ui-chip[data-selected]:focus {
|
|
387
|
-
@apply bg-red-orange text-white;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
.ui-chip-alt {
|
|
391
|
-
@apply text-btn3 p-chip rounded text-white;
|
|
392
|
-
@apply hover:bg-gui-hover;
|
|
393
|
-
@apply active:bg-gui-active active:text-white;
|
|
394
|
-
@apply focus:bg-gui-active focus:text-white focus:outline-none;
|
|
395
|
-
@apply disabled:text-mid-grey disabled:bg-gui-unavailable disabled:cursor-not-allowed;
|
|
396
|
-
@apply transition-colors;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
.ui-chip-alt[data-selected] {
|
|
400
|
-
@apply bg-dark-grey text-white;
|
|
401
|
-
}
|
|
402
|
-
.ui-chip-alt[data-selected]:hover {
|
|
403
|
-
@apply bg-gui-hover text-white;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
.ui-chip-alt[data-selected]:focus {
|
|
407
|
-
@apply bg-gui-active text-white;
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
@layer components {
|
|
411
|
-
.ui-standard-container {
|
|
412
|
-
@apply w-full max-w-screen-xl mx-auto px-24 sm:px-32 md:px-40 lg:px-64;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
.ui-grid-gap {
|
|
416
|
-
@apply gap-8 sm:gap-16 md:gap-24 xl:gap-32;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.ui-grid-gap-x {
|
|
420
|
-
@apply gap-x-8 sm:gap-x-16 md:gap-x-24 xl:gap-x-32;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
.ui-grid-px {
|
|
424
|
-
@apply px-24 sm:px-32 md:px-40 lg:px-64;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
.ui-grid-mx {
|
|
428
|
-
@apply mx-24 sm:mx-32 md:mx-40 lg:mx-64;
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
@layer components {
|
|
432
|
-
.ui-text-title {
|
|
433
|
-
@apply font-sans font-extrabold text-cool-black;
|
|
434
|
-
@apply text-title-xs xs:text-title xl:text-title-xl;
|
|
435
|
-
@apply tracking-tighten-0.015 xs:tracking-tighten-0.02 xl:tracking-tighten-0.02;
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
.ui-text-h1 {
|
|
439
|
-
@apply font-sans font-extrabold text-cool-black;
|
|
440
|
-
@apply text-h1-xs xs:text-h1 xl:text-h1-xl;
|
|
441
|
-
@apply tracking-tighten-0.0125 xs:tracking-tighten-0.015;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
.ui-text-h2 {
|
|
445
|
-
@apply font-sans font-extrabold text-cool-black;
|
|
446
|
-
@apply text-h2-xs xs:text-h2 xl:text-h2-xl;
|
|
447
|
-
@apply tracking-tighten-0.015 xs:tracking-tighten-0.01;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
.ui-text-h3 {
|
|
451
|
-
@apply font-sans font-extrabold text-cool-black;
|
|
452
|
-
@apply text-h3;
|
|
453
|
-
@apply tracking-tighten-0.005;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
.ui-text-h4 {
|
|
457
|
-
@apply font-sans font-extrabold text-cool-black;
|
|
458
|
-
@apply text-h4;
|
|
459
|
-
@apply tracking-tighten-0.0015;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
.ui-text-h5 {
|
|
463
|
-
@apply font-sans font-extrabold text-cool-black;
|
|
464
|
-
@apply text-h5;
|
|
465
|
-
@apply tracking-tighten-0.0025;
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
.ui-text-p1 {
|
|
469
|
-
@apply font-sans font-medium text-charcoal-grey;
|
|
470
|
-
@apply text-p1;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
.ui-text-p2 {
|
|
474
|
-
@apply font-sans font-medium text-charcoal-grey;
|
|
475
|
-
@apply text-p2;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
.ui-text-p3 {
|
|
479
|
-
@apply font-sans font-medium text-charcoal-grey;
|
|
480
|
-
@apply text-p3;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
.ui-text-standfirst {
|
|
484
|
-
@apply font-sans font-light text-active-orange;
|
|
485
|
-
@apply text-standfirst xl:text-standfirst-xl;
|
|
486
|
-
@apply tracking-tighten-0.025 xl:tracking-tighten-0.015;
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
.ui-text-quote {
|
|
490
|
-
@apply font-sans font-normal text-cool-black;
|
|
491
|
-
@apply text-quote leading-normal;
|
|
492
|
-
@apply tracking-tighten-0.0015;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
.ui-text-sub-header {
|
|
496
|
-
@apply font-sans font-semibold text-neutral-800;
|
|
497
|
-
@apply text-sub-header-xs xs:text-sub-header leading-normal;
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
.ui-text-overline1 {
|
|
501
|
-
@apply font-mono font-medium text-active-orange uppercase;
|
|
502
|
-
@apply text-overline1 leading-normal;
|
|
503
|
-
@apply tracking-widen-0.16;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
.ui-text-overline2 {
|
|
507
|
-
@apply font-mono font-medium text-active-orange uppercase;
|
|
508
|
-
@apply text-overline2 leading-normal;
|
|
509
|
-
@apply tracking-widen-0.16;
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
.ui-text-menu1 {
|
|
513
|
-
@apply font-sans font-medium text-cool-black;
|
|
514
|
-
@apply text-menu1 leading-snug;
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
.ui-text-menu2 {
|
|
518
|
-
@apply font-sans font-medium text-cool-black;
|
|
519
|
-
@apply text-menu2 leading-snug;
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
.ui-text-menu3 {
|
|
523
|
-
@apply font-sans font-medium text-cool-black;
|
|
524
|
-
@apply text-menu3 leading-snug;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
.ui-text-code {
|
|
528
|
-
@apply font-mono font-normal text-code;
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
.ui-text-code2 {
|
|
532
|
-
@apply font-mono font-normal text-code2;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
.ui-text-code-inline {
|
|
536
|
-
@apply font-mono font-normal text-code text-charcoal-grey bg-light-grey p-inline-code rounded-sm mx-1;
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
.ui-unordered-list {
|
|
540
|
-
@apply text-p1 font-medium text-charcoal-grey;
|
|
541
|
-
@apply ml-32 my-16;
|
|
542
|
-
@apply list-disc;
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
.ui-ordered-list {
|
|
546
|
-
@apply text-p1 font-medium text-charcoal-grey;
|
|
547
|
-
@apply ml-32 my-16;
|
|
548
|
-
@apply list-decimal;
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
.ui-ordered-list li,
|
|
552
|
-
.ui-unordered-list li {
|
|
553
|
-
@apply mb-8;
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
.ui-unordered-list li > *:last-of-type:not(ul):not(ol),
|
|
557
|
-
.ui-ordered-list li > *:last-of-type:not(ul):not(ol) {
|
|
558
|
-
margin-bottom: 0;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
.ui-unordered-list ul {
|
|
562
|
-
@apply ml-24 my-8 list-circle;
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
.ui-ordered-list ol {
|
|
566
|
-
@apply ml-24 my-16 list-decimal;
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
.ui-unordered-list ul ul {
|
|
570
|
-
@apply list-square my-8;
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
.ui-unordered-list ul ul {
|
|
574
|
-
@apply my-8;
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
.ui-link {
|
|
578
|
-
@apply text-gui-default;
|
|
579
|
-
@apply hover:text-gui-hover active:text-gui-active disabled:text-gui-unavailable;
|
|
580
|
-
@apply focus:text-gui-default focus:outline-gui-focus;
|
|
581
|
-
@apply no-underline;
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
.ui-link-neutral {
|
|
585
|
-
@apply hover:text-dark-grey active:text-cool-black disabled:text-gui-unavailable;
|
|
586
|
-
@apply focus:text-charcoal-grey;
|
|
587
|
-
@apply underline;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
/* focus:outline-gui-focus-neutral does not get created under Tailwind 3.3.5, not sure why */
|
|
591
|
-
.ui-link-neutral:focus {
|
|
592
|
-
outline: 2px solid var(--color-neutral-000);
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
.ui-figcaption {
|
|
596
|
-
@apply font-mono text-p3 text-neutral-800;
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
@layer components {
|
|
600
|
-
.ui-checkbox-p1 {
|
|
601
|
-
@apply flex items-start mb-16 font-sans font-medium;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
.ui-checkbox-p2 {
|
|
605
|
-
@apply flex items-start mb-12 font-sans font-medium;
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
.ui-checkbox-input {
|
|
609
|
-
@apply opacity-0 absolute h-20 w-20;
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
.ui-checkbox-styled {
|
|
613
|
-
@apply w-20 h-20 mr-16;
|
|
614
|
-
@apply bg-white flex flex-shrink-0 justify-center items-center;
|
|
615
|
-
@apply border border-dark-grey rounded-md focus-within:border-active-orange;
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
.ui-checkbox-styled-tick {
|
|
619
|
-
@apply hidden text-white;
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
.ui-checkbox-label-p1 {
|
|
623
|
-
@apply select-none;
|
|
624
|
-
@apply text-p1 font-medium text-cool-black;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
.ui-checkbox-label-p2 {
|
|
628
|
-
@apply select-none;
|
|
629
|
-
@apply text-p2 font-medium text-cool-black;
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
.ui-checkbox-input:disabled + .ui-checkbox-styled {
|
|
633
|
-
@apply bg-gui-unavailable border;
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
.ui-checkbox-input:focus + .ui-checkbox-styled {
|
|
637
|
-
border-width: 0.125rem;
|
|
638
|
-
@apply border-gui-focus;
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
.ui-checkbox-input:checked + .ui-checkbox-styled {
|
|
642
|
-
@apply bg-active-orange border-dark-grey border;
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
.ui-checkbox-input:checked + .ui-checkbox-styled svg {
|
|
646
|
-
@apply block;
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
.ui-textarea {
|
|
650
|
-
@apply font-sans font-medium text-cool-black text-p1;
|
|
651
|
-
@apply p-input mb-16;
|
|
652
|
-
@apply bg-light-grey border-mid-grey transition-input border rounded block w-full;
|
|
653
|
-
@apply hover:bg-white hover:shadow-input hover:border-transparent;
|
|
654
|
-
@apply focus:bg-white focus:shadow-input focus:border-transparent focus:outline-gui-focus;
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
.ui-textarea::-moz-placeholder {
|
|
658
|
-
/* CSS vars don't work in ::placeholder in Webkit :( */
|
|
659
|
-
/* color: var(--text-dark-grey); */
|
|
660
|
-
color: #76767c;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
.ui-textarea::placeholder {
|
|
664
|
-
/* CSS vars don't work in ::placeholder in Webkit :( */
|
|
665
|
-
/* color: var(--text-dark-grey); */
|
|
666
|
-
color: #76767c;
|
|
667
|
-
}
|
|
668
|
-
}
|
|
669
|
-
@layer components {
|
|
670
|
-
.ui-input {
|
|
671
|
-
@apply text-p2 font-medium bg-light-grey rounded p-input w-full leading-none appearance-none border border-mid-grey transition-input;
|
|
672
|
-
@apply hover:bg-white hover:shadow-input hover:border-transparent;
|
|
673
|
-
@apply focus:bg-white focus:shadow-input focus:border-transparent focus:outline-gui-focus;
|
|
674
|
-
@apply max-w-screen-sm;
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
/* Basis for icon component */
|
|
678
|
-
.ui-icon-cool-black {
|
|
679
|
-
stroke: var(--color-cool-black);
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
.ui-icon-white {
|
|
683
|
-
stroke: var(--color-white);
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
.ui-icon-dark-grey {
|
|
687
|
-
stroke: var(--color-dark-grey);
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
.ui-version-tag {
|
|
691
|
-
@apply inline-block absolute align-top uppercase font-bold whitespace-nowrap;
|
|
692
|
-
|
|
693
|
-
position: relative;
|
|
694
|
-
vertical-align: super;
|
|
695
|
-
margin-left: 3px;
|
|
696
|
-
font-size: 8px;
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
|
|
1
|
+
@import "./styles.base.css";
|
|
2
|
+
@import "./styles.components.css";
|
package/core/url-base.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var DEFAULT_URL_BASE="";var absUrl=function(path){var urlBase=arguments.length>1&&arguments[1]!==void 0?arguments[1]:DEFAULT_URL_BASE;return"".concat(urlBase).concat(path)};export default absUrl;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import bash from"highlight.js/lib/languages/bash";import cpp from"highlight.js/lib/languages/cpp";import csharp from"highlight.js/lib/languages/csharp";import css from"highlight.js/lib/languages/css";import dart from"highlight.js/lib/languages/dart";import dos from"highlight.js/lib/languages/dos";import diff from"highlight.js/lib/languages/diff";import erlang from"highlight.js/lib/languages/erlang";import elixir from"highlight.js/lib/languages/elixir";import plaintext from"highlight.js/lib/languages/plaintext";import go from"highlight.js/lib/languages/go";import http from"highlight.js/lib/languages/http";import java from"highlight.js/lib/languages/java";import javascript from"highlight.js/lib/languages/javascript";import typescript from"highlight.js/lib/languages/typescript";import json from"highlight.js/lib/languages/json";import objectivec from"highlight.js/lib/languages/objectivec";import php from"highlight.js/lib/languages/php";import python from"highlight.js/lib/languages/python";import ruby from"highlight.js/lib/languages/ruby";import swift from"highlight.js/lib/languages/swift";import kotlin from"highlight.js/lib/languages/kotlin";import sql from"highlight.js/lib/languages/sql";import xml from"highlight.js/lib/languages/xml";import yaml from"highlight.js/lib/languages/yaml";import curl from"highlightjs-curl/src/languages/curl";var registry=[{label:"Text",key:"text",module:plaintext},{label:"JS",key:"javascript",module:javascript},{label:"TS",key:"typescript",module:typescript},{label:"Java",key:"java",module:java},{label:"Ruby",key:"ruby",module:ruby},{label:"Python",key:"python",module:python},{label:"PHP",key:"php",module:php},{label:"Shell",key:"bash",module:bash},{label:"C#",key:"cs",module:csharp},{label:"CSS",key:"css",module:css},{label:"Go",key:"go",module:go},{label:"HTML",key:"xml",module:xml},{label:"HTTP",key:"http",module:http},{label:"C++",key:"cpp",module:cpp},{label:"Dart",key:"dart",module:dart},{label:"Swift",key:"swift",module:swift},{label:"Kotlin",key:"kotlin",module:kotlin},{label:"Objective C",key:"objectivec",module:objectivec},{label:"Node.js",key:"javascript",module:javascript},{label:"JSON",key:"json",module:json},{label:"DOS",key:"dos",module:dos},{label:"YAML",key:"yaml",module:yaml},{label:"Erlang",key:"erlang",module:erlang},{label:"Elixir",key:"elixir",module:elixir},{label:"Diff",key:"diff",module:diff},{label:"SQL",key:"sql",module:sql},{label:"cURL",key:"curl",module:curl},{label:"HTML",key:"html",module:xml},{label:"XML",key:"xml",module:xml}];export default registry;
|