@ably/ui 8.7.0-dev.f891ad9 → 8.7.0-dev.fba161a
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/core/.DS_Store +0 -0
- package/core/Code/component.css +2 -0
- package/core/Code/component.js +1 -1
- package/core/Code.jsx +108 -88
- package/core/CompanyAutocomplete/component.js +1 -1
- package/core/ConnectStateWrapper/component.js +1 -1
- package/core/ConnectStateWrapper.jsx +7 -7
- package/core/ContactFooter/component.js +1 -1
- package/core/ContactFooter.jsx +12 -12
- package/core/CookieMessage/component.js +1 -1
- package/core/CookieMessage.jsx +10 -10
- package/core/CustomerLogos/component.js +1 -1
- package/core/CustomerLogos.jsx +7 -7
- package/core/DropdownMenu/component.js +1 -1
- package/core/DropdownMenu.jsx +11 -11
- package/core/FeatureFooter/component.js +1 -1
- package/core/FeaturedLink/component.css +1 -1
- package/core/FeaturedLink/component.js +1 -1
- package/core/FeaturedLink.jsx +10 -10
- package/core/Flash/component.js +1 -1
- package/core/Flash.jsx +19 -19
- package/core/Footer/component.css +3 -3
- package/core/Footer/component.js +1 -1
- package/core/Footer.jsx +32 -32
- package/core/Icon/component.js +1 -1
- package/core/Icon.jsx +7 -7
- package/core/Loader/component.js +1 -1
- package/core/Loader.jsx +7 -7
- package/core/Logo/component.js +1 -1
- package/core/Logo.jsx +7 -7
- package/core/Meganav/component.css +8 -10
- package/core/Meganav/component.js +1 -1
- package/core/Meganav.jsx +157 -144
- package/core/MeganavBlogPostsList/component.js +1 -1
- package/core/MeganavBlogPostsList.jsx +13 -13
- package/core/MeganavContentCompany/component.js +1 -1
- package/core/MeganavContentCompany.jsx +27 -27
- package/core/MeganavContentDevelopers/component.js +1 -1
- package/core/MeganavContentDevelopers.jsx +30 -17
- package/core/MeganavContentPlatform/component.js +1 -1
- package/core/MeganavContentPlatform.jsx +16 -16
- package/core/MeganavContentUseCases/component.js +1 -1
- package/core/MeganavContentUseCases.jsx +15 -15
- package/core/MeganavContentWhyAbly/component.js +1 -22
- package/core/MeganavContentWhyAbly.jsx +333 -2141
- package/core/MeganavControl/component.js +1 -1
- package/core/MeganavControl.jsx +10 -10
- package/core/MeganavControlMobileDropdown/component.js +1 -1
- package/core/MeganavControlMobileDropdown.jsx +11 -11
- package/core/MeganavControlMobilePanelClose/component.js +1 -1
- package/core/MeganavControlMobilePanelClose.jsx +10 -10
- package/core/MeganavControlMobilePanelOpen/component.js +1 -1
- package/core/MeganavControlMobilePanelOpen.jsx +10 -10
- package/core/MeganavItemsDesktop/component.js +1 -1
- package/core/MeganavItemsDesktop.jsx +16 -16
- package/core/MeganavItemsMobile/component.js +1 -1
- package/core/MeganavItemsMobile.jsx +39 -39
- package/core/MeganavItemsSignedIn/component.js +1 -1
- package/core/MeganavItemsSignedIn.jsx +33 -33
- package/core/MeganavSearch/component.js +1 -1
- package/core/MeganavSearch.jsx +23 -23
- package/core/MeganavSearchAutocomplete/component.js +1 -1
- package/core/MeganavSearchAutocomplete.jsx +4 -4
- package/core/MeganavSearchPanel/component.js +1 -1
- package/core/MeganavSearchPanel.jsx +19 -19
- package/core/MeganavSearchSuggestions/component.js +1 -1
- package/core/MeganavSearchSuggestions.jsx +13 -13
- package/core/Notice/component.css +1 -1
- package/core/Notice/component.js +1 -1
- package/core/Notice.jsx +32 -32
- package/core/Showcase/component.js +1 -1
- package/core/Showcase.jsx +1 -1
- package/core/SignOutLink/component.js +1 -1
- package/core/SignOutLink.jsx +7 -7
- package/core/Slider/component.js +1 -1
- package/core/Slider.jsx +14 -14
- package/core/Uptime/component.js +1 -1
- package/core/Uptime.jsx +15 -15
- package/core/fonts/jetBrains-mono.css +3 -0
- package/core/fonts/manrope.css +3 -0
- package/core/scripts.js +1 -1
- package/core/styles.css +222 -101
- package/package.json +1 -1
- package/reset/scripts.js +1 -1
- package/reset/styles.css +1 -11
- package/src/.DS_Store +0 -0
- package/src/core/FeaturedLink/component.css +1 -1
- package/src/core/Footer/component.css +3 -3
- package/src/core/Footer/component.html.erb +13 -13
- package/src/core/Footer/component.jsx +13 -13
- package/src/core/Meganav/component.css +8 -8
- package/src/core/MeganavContentDevelopers/component.html.erb +9 -2
- package/src/core/MeganavContentDevelopers/component.jsx +11 -1
- package/src/core/MeganavContentPlatform/component.html.erb +1 -1
- package/src/core/MeganavContentPlatform/component.jsx +1 -1
- package/src/core/Notice/component.css +1 -1
- package/src/core/Notice/component.html.erb +2 -2
- package/src/core/Notice/component.jsx +2 -2
- package/src/core/fonts/jetBrains-mono.css +3 -0
- package/src/core/fonts/manrope.css +3 -0
- package/src/core/styles/buttons.css +5 -5
- package/src/core/styles/forms.css +5 -5
- package/src/core/styles/properties.css +153 -45
- package/src/core/styles/text.css +59 -40
- package/src/core/utils/syntax-highlighter-registry.js +2 -0
- package/src/core/utils/syntax-highlighter.css +2 -0
- package/src/core/utils/syntax-highlighter.js +5 -0
- package/tailwind.config.js +60 -44
- package/core/Meganav/component.js.LICENSE.txt +0 -7
- package/core/MeganavSearchAutocomplete/component.js.LICENSE.txt +0 -7
|
@@ -8,15 +8,15 @@ export default function Footer({ paths, urlBase }) {
|
|
|
8
8
|
const absUrl = (path) => _absUrl(path, urlBase);
|
|
9
9
|
|
|
10
10
|
return (
|
|
11
|
-
<footer className="bg-light-grey font-
|
|
11
|
+
<footer className="bg-light-grey font-manrope antialiased leading-normal" data-id="footer">
|
|
12
12
|
<div className="max-w-screen-xl mx-auto py-32 sm:py-40 md:py-64 ui-grid-gap ui-grid-px grid grid-cols-6">
|
|
13
13
|
<div className="col-span-full md:col-span-2">
|
|
14
14
|
<div className="flex flex-row p-menu-row-snug">
|
|
15
15
|
<img className="mr-24 -mt-16" src={paths.ablyStack} alt="Ably homepage" />
|
|
16
|
-
<h2 className="text-overline2 col-span-full
|
|
16
|
+
<h2 className="text-overline2 font-jetbrains_mono font-bold col-span-full uppercase tracking-widen-0.16">The Ably Platform</h2>
|
|
17
17
|
</div>
|
|
18
18
|
<div className="md:col-span-4 md:w-3/4 xs:w-3/5 w-full">
|
|
19
|
-
<p className="text-p3 py-16 font-
|
|
19
|
+
<p className="font-manrope text-p3 py-16 font-bold p-menu-row-snug">
|
|
20
20
|
Easily power any realtime experience in your application via a simple API that handles everything realtime.
|
|
21
21
|
</p>
|
|
22
22
|
</div>
|
|
@@ -274,7 +274,7 @@ export default function Footer({ paths, urlBase }) {
|
|
|
274
274
|
>
|
|
275
275
|
<Icon name="glassdoor" size="1.5rem" />
|
|
276
276
|
</a>
|
|
277
|
-
<div className="pl-16 text-menu3 font-
|
|
277
|
+
<div className="pl-16 text-menu3 font-manrope font-medium">
|
|
278
278
|
<strong className="block font-medium">We're hiring!</strong>
|
|
279
279
|
<a href="https://www.glassdoor.co.uk/Overview/Working-at-Ably-EI_IE2184188.11,15.htm" className="ui-footer-link">
|
|
280
280
|
Learn more at Glassdoor
|
|
@@ -294,7 +294,7 @@ export default function Footer({ paths, urlBase }) {
|
|
|
294
294
|
>
|
|
295
295
|
<Icon name="glassdoor" size="1.5rem" />
|
|
296
296
|
</a>
|
|
297
|
-
<div className="text-menu3 font-
|
|
297
|
+
<div className="text-menu3 font-manrope font-medium">
|
|
298
298
|
<strong className="block font-medium">We're hiring!</strong>
|
|
299
299
|
<a href="https://www.glassdoor.co.uk/Overview/Working-at-Ably-EI_IE2184188.11,15.htm" className="ui-footer-link">
|
|
300
300
|
Learn more at Glassdoor
|
|
@@ -335,29 +335,29 @@ export default function Footer({ paths, urlBase }) {
|
|
|
335
335
|
<div className="flex mr-24">
|
|
336
336
|
<Icon name="icon-gui-tick" color="text-active-orange" size="1.5rem" additionalCSS="bg-white rounded-full mr-12 ui-footer-tick-icon" />
|
|
337
337
|
<div>
|
|
338
|
-
<p className="ui-footer-compliance-text font-
|
|
339
|
-
<p className="ui-footer-compliance-text font-
|
|
338
|
+
<p className="ui-footer-compliance-text font-bold whitespace-nowrap">SOC 2 Type 2</p>
|
|
339
|
+
<p className="ui-footer-compliance-text font-medium mb-24">Certified</p>
|
|
340
340
|
</div>
|
|
341
341
|
</div>
|
|
342
342
|
<div className="flex mr-24 md:col-start-2">
|
|
343
343
|
<Icon name="icon-gui-tick" color="text-active-orange" size="1.5rem" additionalCSS="bg-white rounded-full mr-12 ui-footer-tick-icon" />
|
|
344
344
|
<div>
|
|
345
|
-
<p className="ui-footer-compliance-text font-
|
|
346
|
-
<p className="ui-footer-compliance-text font-
|
|
345
|
+
<p className="ui-footer-compliance-text font-bold whitespace-nowrap">HIPAA</p>
|
|
346
|
+
<p className="ui-footer-compliance-text font-medium mb-24">Compliant</p>
|
|
347
347
|
</div>
|
|
348
348
|
</div>
|
|
349
349
|
<div className="flex mr-24 md:col-start-3">
|
|
350
350
|
<Icon name="icon-gui-tick" color="text-active-orange" size="1.5rem" additionalCSS="bg-white rounded-full mr-12 ui-footer-tick-icon" />
|
|
351
351
|
<div>
|
|
352
|
-
<p className="ui-footer-compliance-text font-
|
|
353
|
-
<p className="ui-footer-compliance-text font-
|
|
352
|
+
<p className="ui-footer-compliance-text font-bold whitespace-nowrap">EU GDPR</p>
|
|
353
|
+
<p className="ui-footer-compliance-text font-medium mb-24">Certified</p>
|
|
354
354
|
</div>
|
|
355
355
|
</div>
|
|
356
356
|
<div className="flex mr-24 md:col-start-4">
|
|
357
357
|
<Icon name="icon-gui-tick" color="text-active-orange" size="1.5rem" additionalCSS="bg-white rounded-full mr-12 ui-footer-tick-icon" />
|
|
358
358
|
<div>
|
|
359
|
-
<p className="ui-footer-compliance-text font-
|
|
360
|
-
<p className="ui-footer-compliance-text font-
|
|
359
|
+
<p className="ui-footer-compliance-text font-bold whitespace-nowrap">256-bit AES</p>
|
|
360
|
+
<p className="ui-footer-compliance-text font-medium mb-24">Encryption</p>
|
|
361
361
|
</div>
|
|
362
362
|
</div>
|
|
363
363
|
</div>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
z-index: var(--stacking-context-page-meganav);
|
|
8
8
|
|
|
9
9
|
@apply fixed top-0 w-full;
|
|
10
|
-
@apply antialiased font-
|
|
10
|
+
@apply antialiased font-manrope transition-colors;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.ui-meganav {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.ui-meganav-link {
|
|
54
|
-
@apply text-menu2 font-
|
|
54
|
+
@apply text-menu2 font-bold block font-manrope;
|
|
55
55
|
@apply mr-12 lg:mr-24 px-0 py-20;
|
|
56
56
|
@apply hover:text-gui-hover focus:text-gui-focus focus:outline-none;
|
|
57
57
|
@apply transition-colors;
|
|
@@ -63,13 +63,13 @@
|
|
|
63
63
|
|
|
64
64
|
.ui-meganav-mobile-link {
|
|
65
65
|
@apply p-menu-row relative -left-8 w-extend-8;
|
|
66
|
-
@apply text-menu2 font-medium block text-cool-black text-left;
|
|
66
|
+
@apply text-menu2 font-bold font-jetbrains_mono font-medium block text-cool-black text-left;
|
|
67
67
|
@apply flex items-center;
|
|
68
68
|
@apply focus:text-gui-focus focus:outline-none;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.ui-meganav-account-link {
|
|
72
|
-
@apply block px-8 py-8 hover:bg-light-grey hover:text-gui-hover rounded relative -left-8 text-menu3 w-extend-8 font-
|
|
72
|
+
@apply block px-8 py-8 hover:bg-light-grey hover:text-gui-hover rounded relative -left-8 text-menu3 w-extend-8 font-bold font-jetbrains_mono;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.ui-meganav-content {
|
|
@@ -93,19 +93,19 @@
|
|
|
93
93
|
grid-template-rows: min-content 1fr;
|
|
94
94
|
|
|
95
95
|
@apply block px-8 py-8 hover:bg-light-grey rounded relative -left-8 w-extend-8;
|
|
96
|
-
@apply grid gap-x-
|
|
96
|
+
@apply grid gap-x-16;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
.ui-meganav-media-heading {
|
|
100
|
-
@apply text-menu3 text-cool-black font-
|
|
100
|
+
@apply text-menu3 text-cool-black font-bold font-manrope group-hover:text-gui-hover group-focus:text-gui-focus leading-normal;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
.ui-meganav-media-copy {
|
|
104
|
-
@apply text-p3 text-dark-grey
|
|
104
|
+
@apply text-p3 font-manrope font-medium text-dark-grey leading-normal;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
.ui-meganav-overline {
|
|
108
|
-
@apply text-overline2 text-cool-black uppercase font-
|
|
108
|
+
@apply text-overline2 text-cool-black uppercase font-bold font-jetbrains_mono tracking-widen-0.16 p-overline;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
.ui-meganav-hr {
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
</li>
|
|
36
36
|
</ul>
|
|
37
37
|
</div>
|
|
38
|
-
|
|
39
38
|
<div class="col-span-full md:col-span-4 pb-8 md:py-24 lg:py-32 px-24 sm:px-32 md:px-0">
|
|
40
39
|
<ul class="md:mt-40" aria-labelledby="meganav-developers-panel-explore">
|
|
41
40
|
<li>
|
|
@@ -65,9 +64,17 @@
|
|
|
65
64
|
</div>
|
|
66
65
|
<% end %>
|
|
67
66
|
</li>
|
|
67
|
+
<li>
|
|
68
|
+
<%= link_to abs_url("/reference-guide-multiplayer"), class: "ui-meganav-media-with-image group" do %>
|
|
69
|
+
<%= render(AblyUi::Core::Icon.new(name: "icon-multi-user-spaces-col", size: "2.5rem")) %>
|
|
70
|
+
<div class="flex flex-col justify-center">
|
|
71
|
+
<p class="ui-meganav-media-heading">Multiplayer reference guide</p>
|
|
72
|
+
<p class="ui-meganav-media-copy">Learn how to build collaborative features with Ably.</p>
|
|
73
|
+
</div>
|
|
74
|
+
<% end %>
|
|
75
|
+
</li>
|
|
68
76
|
</ul>
|
|
69
77
|
</div>
|
|
70
|
-
|
|
71
78
|
<div class="col-span-full md:col-span-4 pt-8 pb-24 md:py-24 lg:py-32 px-24 sm:px-32 md:px-0">
|
|
72
79
|
<h3 class="ui-meganav-overline uppercase" id="meganav-developers-panel-quick-links">
|
|
73
80
|
Quick links
|
|
@@ -58,7 +58,7 @@ const MeganavContentDevelopers = ({ absUrl }) => (
|
|
|
58
58
|
<Icon name="icon-display-tutorials-demos-col" size="2.5rem" />
|
|
59
59
|
<div className="flex flex-col justify-center">
|
|
60
60
|
<p className="ui-meganav-media-heading">Tutorials & Demos</p>
|
|
61
|
-
<p className="ui-meganav-media-copy">Get stuck in with our hands-on resources
|
|
61
|
+
<p className="ui-meganav-media-copy">Get stuck in with our hands-on resources.</p>
|
|
62
62
|
</div>
|
|
63
63
|
</a>
|
|
64
64
|
</li>
|
|
@@ -71,6 +71,15 @@ const MeganavContentDevelopers = ({ absUrl }) => (
|
|
|
71
71
|
</div>
|
|
72
72
|
</a>
|
|
73
73
|
</li>
|
|
74
|
+
<li>
|
|
75
|
+
<a href={absUrl("/reference-guide-multiplayer")} className="ui-meganav-media-with-image group">
|
|
76
|
+
<Icon name="icon-multi-user-spaces-col" size="2.5rem" />
|
|
77
|
+
<div className="flex flex-col justify-center">
|
|
78
|
+
<p className="ui-meganav-media-heading">Multiplayer reference guide</p>
|
|
79
|
+
<p className="ui-meganav-media-copy">Learn how to build collaborative features with Ably.</p>
|
|
80
|
+
</div>
|
|
81
|
+
</a>
|
|
82
|
+
</li>
|
|
74
83
|
</ul>
|
|
75
84
|
</div>
|
|
76
85
|
|
|
@@ -99,6 +108,7 @@ const MeganavContentDevelopers = ({ absUrl }) => (
|
|
|
99
108
|
<p className="ui-meganav-media-heading">
|
|
100
109
|
Status
|
|
101
110
|
<iframe
|
|
111
|
+
title="Ably status"
|
|
102
112
|
src="https://status.ably.com/embed/icon"
|
|
103
113
|
allowtransparency="true"
|
|
104
114
|
frameBorder="0"
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<h3 class="ui-meganav-overline ml-24">The Ably Platform</h3>
|
|
8
8
|
</div>
|
|
9
9
|
|
|
10
|
-
<p class="text-p2 font-
|
|
10
|
+
<p class="text-p2 font-bold text-cool-black mb-24 leading-normal" style="max-width: 330px">
|
|
11
11
|
Easily power any realtime experience in your application. No complex infrastructure to manage or provision. Just a simple API that handles everything
|
|
12
12
|
realtime, and lets you focus on your code.
|
|
13
13
|
</p>
|
|
@@ -12,7 +12,7 @@ const MeganavContentPlatform = ({ paths, absUrl }) => (
|
|
|
12
12
|
<img src={paths.ablyStack} alt="Ably homepage" />
|
|
13
13
|
<h3 className="ui-meganav-overline ml-24">The Ably Platform</h3>
|
|
14
14
|
</div>
|
|
15
|
-
<p className="text-p2 font-
|
|
15
|
+
<p className="text-p2 font-bold text-cool-black mb-24 leading-normal" style={{ maxWidth: "330px" }}>
|
|
16
16
|
Easily power any realtime experience in your application. No complex infrastructure to manage or provision. Just a simple API that handles everything
|
|
17
17
|
realtime, and lets you focus on your code.
|
|
18
18
|
</p>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<%# Note the style attribute is used for entry animation %>
|
|
2
2
|
<%= tag.div class: "ui-announcement #{bg_color} #{text_color}", data: { id: "ui-notice" }, style: "max-height: 0; overflow: hidden" do %>
|
|
3
3
|
<div class="ui-grid-px py-16 max-w-screen-xl mx-auto flex items-start">
|
|
4
|
-
<%= content_wrapper class: "font-
|
|
5
|
-
<strong class="font-
|
|
4
|
+
<%= content_wrapper class: "font-medium w-full pr-8 text-p3 self-center" do %>
|
|
5
|
+
<strong class="font-bold whitespace-nowrap pr-4"><%= @contents[:title] %></strong>
|
|
6
6
|
<span class="pr-4"><%= @contents[:body_text] %></span>
|
|
7
7
|
<span class="underline cursor-pointer whitespace-nowrap"><%= @contents[:button_label] %></span>
|
|
8
8
|
<% end %>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useEffect } from "react";
|
|
2
2
|
import T from "prop-types";
|
|
3
3
|
|
|
4
|
-
const contentWrapperClasses = "font-
|
|
4
|
+
const contentWrapperClasses = "font-medium w-full pr-8 text-p3 self-center";
|
|
5
5
|
|
|
6
6
|
import NoticeScripts from "./component.js";
|
|
7
7
|
import Icon from "../Icon/component.jsx";
|
|
@@ -38,7 +38,7 @@ const Notice = ({ buttonLink, buttonLabel, bodyText, title, config, closeBtn, bg
|
|
|
38
38
|
<div className={wrapperClasses} data-id="ui-notice" style={{ maxHeight: 0, overflow: "hidden" }}>
|
|
39
39
|
<div className="ui-grid-px py-16 max-w-screen-xl mx-auto flex items-start">
|
|
40
40
|
<ContentWrapper buttonLink={buttonLink}>
|
|
41
|
-
<strong className="font-
|
|
41
|
+
<strong className="font-bold whitespace-nowrap pr-4">{title}</strong>
|
|
42
42
|
<span className="pr-4">{bodyText}</span>
|
|
43
43
|
{buttonLabel && <span className="underline cursor-pointer whitespace-nowrap">{buttonLabel}</span>}
|
|
44
44
|
</ContentWrapper>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@layer components {
|
|
2
2
|
.ui-btn {
|
|
3
|
-
@apply text-white bg-cool-black text-btn2 font-
|
|
3
|
+
@apply text-white bg-cool-black text-btn2 font-manrope font-bold inline-block rounded p-btn;
|
|
4
4
|
@apply hover:text-white hover:bg-active-orange;
|
|
5
5
|
@apply active:text-white active:bg-red-orange;
|
|
6
6
|
@apply focus:text-white focus:bg-cool-black focus:outline-gui-focus;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
background-size: 200% 100%;
|
|
25
25
|
background-position: 0% 0%;
|
|
26
26
|
|
|
27
|
-
@apply text-white text-btn2 font-
|
|
27
|
+
@apply text-white text-btn2 font-manrope font-bold inline-block rounded p-btn;
|
|
28
28
|
@apply focus:outline-gui-focus;
|
|
29
29
|
@apply inline-flex items-center justify-center;
|
|
30
30
|
}
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.ui-btn-invert {
|
|
43
|
-
@apply text-cool-black bg-white text-btn2 font-
|
|
43
|
+
@apply text-cool-black bg-white text-btn2 font-manrope font-bold inline-block rounded p-btn;
|
|
44
44
|
@apply hover:text-white hover:bg-active-orange;
|
|
45
45
|
@apply active:text-white active:bg-red-orange;
|
|
46
46
|
@apply focus:text-white focus:bg-cool-black focus:outline-gui-focus;
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.ui-btn-secondary {
|
|
53
|
-
@apply text-cool-black bg-white text-btn2 font-
|
|
53
|
+
@apply text-cool-black bg-white text-btn2 font-manrope font-bold inline-block border-btn border-cool-black rounded p-btn;
|
|
54
54
|
@apply hover:text-cool-black hover:border-active-orange hover:bg-white;
|
|
55
55
|
@apply active:border-red-orange active:bg-white;
|
|
56
56
|
@apply focus:border-cool-black focus:bg-white focus:outline-gui-focus;
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.ui-btn-secondary-invert {
|
|
63
|
-
@apply text-white bg-cool-black text-btn2 font-
|
|
63
|
+
@apply text-white bg-cool-black text-btn2 font-manrope font-bold inline-block border-btn border-mid-grey rounded p-btn;
|
|
64
64
|
@apply hover:text-white hover:border-active-orange;
|
|
65
65
|
@apply active:border-red-orange;
|
|
66
66
|
@apply focus:outline-gui-focus;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
@layer components {
|
|
2
2
|
.ui-checkbox-p1 {
|
|
3
|
-
@apply flex items-start mb-16 font-
|
|
3
|
+
@apply flex items-start mb-16 font-manrope font-medium;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.ui-checkbox-p2 {
|
|
7
|
-
@apply flex items-start mb-12 font-
|
|
7
|
+
@apply flex items-start mb-12 font-manrope font-medium;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.ui-checkbox-input {
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
|
|
24
24
|
.ui-checkbox-label-p1 {
|
|
25
25
|
@apply select-none;
|
|
26
|
-
@apply text-p1 font-
|
|
26
|
+
@apply text-p1 font-medium text-cool-black;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.ui-checkbox-label-p2 {
|
|
30
30
|
@apply select-none;
|
|
31
|
-
@apply text-p2 font-
|
|
31
|
+
@apply text-p2 font-medium text-cool-black;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.ui-checkbox-input:disabled + .ui-checkbox-styled {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.ui-textarea {
|
|
52
|
-
@apply font-
|
|
52
|
+
@apply font-manrope font-medium text-cool-black text-p1;
|
|
53
53
|
@apply p-input mb-16;
|
|
54
54
|
@apply bg-light-grey border-mid-grey transition-input border rounded block w-full;
|
|
55
55
|
@apply hover:bg-white hover:shadow-input hover:border-transparent;
|
|
@@ -1,34 +1,132 @@
|
|
|
1
1
|
@layer base {
|
|
2
2
|
:root {
|
|
3
|
-
|
|
4
|
-
--color-
|
|
5
|
-
--color-
|
|
6
|
-
--color-
|
|
7
|
-
--color-
|
|
8
|
-
--color-
|
|
9
|
-
--color-
|
|
10
|
-
--color-
|
|
11
|
-
--color-
|
|
12
|
-
--color-
|
|
13
|
-
--color-
|
|
14
|
-
--color-
|
|
15
|
-
--color-
|
|
16
|
-
--color-
|
|
17
|
-
--color-
|
|
18
|
-
|
|
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;
|
|
19
92
|
--color-gui-focus-outline: #80b9f2;
|
|
20
|
-
--color-gui-active: #074095;
|
|
21
93
|
--color-gui-visited: #4887c2;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
--color-
|
|
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);
|
|
25
123
|
|
|
26
124
|
/* code syntax: theme */
|
|
27
|
-
--syntax-black: var(--color-
|
|
28
|
-
--syntax-dark-grey: var(--color-
|
|
29
|
-
--syntax-mid-grey: var(--color-
|
|
30
|
-
--syntax-light-grey: var(--color-
|
|
31
|
-
--syntax-extra-light-grey: var(--color-
|
|
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);
|
|
32
130
|
--syntax-orange: #e78c45;
|
|
33
131
|
--syntax-yellow: #e7c547;
|
|
34
132
|
--syntax-blue: #3490ec;
|
|
@@ -70,44 +168,51 @@
|
|
|
70
168
|
|
|
71
169
|
--gradient-hot-pink: linear-gradient(
|
|
72
170
|
80.2deg,
|
|
73
|
-
var(--color-
|
|
171
|
+
var(--color-orange-700) 0%,
|
|
74
172
|
var(--color-jazzy-pink) 100%
|
|
75
173
|
);
|
|
76
174
|
|
|
77
|
-
--fs-title-xl:
|
|
78
|
-
--fs-title:
|
|
79
|
-
--fs-title-xs:
|
|
80
|
-
--fs-h1-xl:
|
|
81
|
-
--fs-h1:
|
|
82
|
-
--fs-h1-xs:
|
|
83
|
-
|
|
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;
|
|
84
183
|
--fs-h2: 2rem;
|
|
85
|
-
--fs-h2-xs: 1.
|
|
184
|
+
--fs-h2-xs: 1.75rem;
|
|
185
|
+
|
|
86
186
|
--fs-h3: 1.5rem;
|
|
87
|
-
--fs-h4: 1.
|
|
88
|
-
--fs-
|
|
89
|
-
|
|
187
|
+
--fs-h4: 1.25rem;
|
|
188
|
+
--fs-h5: 1rem;
|
|
189
|
+
|
|
190
|
+
--fs-p1: 1rem;
|
|
191
|
+
--fs-p2: 0.938rem;
|
|
90
192
|
--fs-p3: 0.875rem;
|
|
91
193
|
--fs-standfirst-xl: 2.25rem;
|
|
92
194
|
--fs-standfirst: 1.5rem;
|
|
93
|
-
--fs-sub-header: 1.
|
|
94
|
-
--fs-sub-header-xs: 1.
|
|
195
|
+
--fs-sub-header: 1.125rem;
|
|
196
|
+
--fs-sub-header-xs: 1.063rem;
|
|
95
197
|
--fs-overline1: 1rem;
|
|
96
198
|
--fs-overline2: 0.875rem;
|
|
97
|
-
--fs-btn1:
|
|
98
|
-
--fs-btn2:
|
|
199
|
+
--fs-btn1: 1rem;
|
|
200
|
+
--fs-btn2: 0.938rem;
|
|
99
201
|
--fs-btn3: 0.875rem;
|
|
100
|
-
--fs-menu1:
|
|
101
|
-
--fs-menu2:
|
|
202
|
+
--fs-menu1: 1rem;
|
|
203
|
+
--fs-menu2: 0.938rem;
|
|
102
204
|
--fs-menu3: 0.875rem;
|
|
103
|
-
--fs-quote: 1.
|
|
104
|
-
--fs-code: 0.
|
|
205
|
+
--fs-quote: 1.25rem;
|
|
206
|
+
--fs-code: 0.938rem;
|
|
207
|
+
--fs-code2: 0.813rem;
|
|
105
208
|
|
|
106
209
|
--lh-dense: 1;
|
|
107
210
|
--lh-tight: 1.125;
|
|
108
211
|
--lh-snug: 1.15;
|
|
212
|
+
--lh-min-normal: 1.2;
|
|
109
213
|
--lh-normal: 1.25;
|
|
110
214
|
--lh-relaxed: 1.45;
|
|
215
|
+
--lh-extra-relaxed: 1.6;
|
|
111
216
|
|
|
112
217
|
--ls-tighten-0_025: -0.025em;
|
|
113
218
|
--ls-tighten-0_02: -0.02em;
|
|
@@ -115,7 +220,9 @@
|
|
|
115
220
|
--ls-tighten-0_01: -0.01em;
|
|
116
221
|
--ls-tighten-0_005: -0.005em;
|
|
117
222
|
--ls-tighten-0_0025: -0.0025em;
|
|
223
|
+
--ls-tighten-0_0015: -0.0015em;
|
|
118
224
|
--ls-widen-0_1: 0.1em;
|
|
225
|
+
--ls-widen-0_16: 0.16em;
|
|
119
226
|
--ls-widen-0_15: 0.15em;
|
|
120
227
|
|
|
121
228
|
--spacing-0: 0px;
|
|
@@ -130,6 +237,7 @@
|
|
|
130
237
|
--spacing-20: 1.25rem;
|
|
131
238
|
--spacing-24: 1.5rem;
|
|
132
239
|
--spacing-32: 2rem;
|
|
240
|
+
--spacing-36: 2.25rem;
|
|
133
241
|
--spacing-40: 2.5rem;
|
|
134
242
|
--spacing-48: 3rem;
|
|
135
243
|
--spacing-64: 4rem;
|