@ably/ui 11.7.0 → 11.7.1-dev.a87b30a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +7 -7
  2. package/core/Code/component.css +2 -0
  3. package/core/CompanyAutocomplete/component.js +2 -1
  4. package/core/CompanyAutocomplete/component.js.LICENSE.txt +1 -0
  5. package/core/FeaturedLink/component.css +1 -1
  6. package/core/Footer/component.css +3 -3
  7. package/core/Footer.jsx +15 -15
  8. package/core/Meganav/component.css +6 -6
  9. package/core/Meganav.jsx +336 -751
  10. package/core/MeganavBlogPostsList/component.js +2 -1
  11. package/core/MeganavBlogPostsList/component.js.LICENSE.txt +1 -0
  12. package/core/MeganavContentCompany.jsx +295 -710
  13. package/core/MeganavContentDevelopers.jsx +1 -1
  14. package/core/MeganavContentProducts.jsx +1 -1
  15. package/core/Notice.jsx +2 -2
  16. package/core/Uptime.jsx +289 -704
  17. package/core/fonts/jetBrains-mono.css +3 -0
  18. package/core/fonts/manrope.css +3 -0
  19. package/core/scripts.js +2 -1
  20. package/core/scripts.js.LICENSE.txt +1 -0
  21. package/core/styles.css +221 -94
  22. package/package.json +3 -3
  23. package/src/core/FeaturedLink/component.css +1 -1
  24. package/src/core/Footer/component.css +3 -3
  25. package/src/core/Footer/component.html.erb +14 -14
  26. package/src/core/Footer/component.jsx +15 -15
  27. package/src/core/Meganav/component.css +6 -6
  28. package/src/core/MeganavContentDevelopers/component.html.erb +1 -1
  29. package/src/core/MeganavContentDevelopers/component.jsx +1 -1
  30. package/src/core/MeganavContentProducts/component.html.erb +1 -1
  31. package/src/core/MeganavContentProducts/component.jsx +1 -1
  32. package/src/core/Notice/component.html.erb +2 -2
  33. package/src/core/Notice/component.jsx +2 -2
  34. package/src/core/fonts/jetBrains-mono.css +3 -0
  35. package/src/core/fonts/manrope.css +3 -0
  36. package/src/core/styles/buttons.css +5 -5
  37. package/src/core/styles/forms.css +5 -5
  38. package/src/core/styles/properties.css +153 -45
  39. package/src/core/styles/text.css +58 -39
  40. package/src/core/utils/syntax-highlighter.css +2 -0
  41. package/tailwind.config.js +177 -49
@@ -1,12 +1,12 @@
1
- <footer class="bg-light-grey font-sans antialiased" data-id="footer">
1
+ <footer class="bg-light-grey font-sans antialiased leading-normal" data-id="footer">
2
2
  <div class="max-w-screen-xl mx-auto py-32 sm:py-40 md:py-64 ui-grid-gap ui-grid-px grid grid-cols-6">
3
3
  <div class="col-span-full md:col-span-2">
4
4
  <div class="flex flex-row p-menu-row-snug">
5
5
  <%= image_tag(ably_stack_path, alt: "Ably homepage", class: "mr-24 -mt-16") %>
6
- <h2 class="text-overline2 col-span-full font-medium uppercase tracking-widen-0.1">The Ably Platform</h2>
6
+ <h2 class="text-overline2 col-span-full font-mono font-bold uppercase tracking-widen-0.16">The Ably Platform</h2>
7
7
  </div>
8
8
  <div class="md:col-span-4 md:w-3/4 xs:w-3/5 w-full">
9
- <p class="text-p3 py-16 font-medium p-menu-row-snug">
9
+ <p class="font-sans text-p3 py-16 font-bold p-menu-row-snug">
10
10
  Easily power any realtime experience in your application via a simple API that handles everything realtime.
11
11
  </p>
12
12
  </div>
@@ -79,7 +79,7 @@
79
79
  <%= link_to 'Support & FAQs', abs_url("/support"), class: "ui-footer-menu-row-link" %>
80
80
  </li>
81
81
  <li class="p-menu-row-snug">
82
- <%= link_to 'SDKs', abs_url("/download"), class: "ui-footer-menu-row-link" %>
82
+ <%= link_to 'SDKs', abs_url("/docs/sdks"), class: "ui-footer-menu-row-link" %>
83
83
  </li>
84
84
  <li class="p-menu-row-snug flex items-center -mt-4">
85
85
  <a class="pr-8 ui-footer-menu-row-link" href="https://status.ably.com/">System status</a>
@@ -174,7 +174,7 @@
174
174
  >
175
175
  <%= render(AblyUi::Core::Icon.new(name: "glassdoor", size: "1.5rem")) %>
176
176
  </a>
177
- <div class="pl-16 text-menu3 font-light">
177
+ <div class="pl-16 text-menu3 font-sans font-medium">
178
178
  <strong class="block font-medium">We&apos;re hiring!</strong>
179
179
  <a href="https://www.glassdoor.co.uk/Overview/Working-at-Ably-EI_IE2184188.11,15.htm" class="ui-footer-link">
180
180
  Learn more at Glassdoor
@@ -194,7 +194,7 @@
194
194
  >
195
195
  <%= render(AblyUi::Core::Icon.new(name: "glassdoor", size: "1.5rem")) %>
196
196
  </a>
197
- <div class="text-menu3 font-light">
197
+ <div class="text-menu3 font-sans font-medium">
198
198
  <strong class="block font-medium">We&apos;re hiring!</strong>
199
199
  <a href="https://www.glassdoor.co.uk/Overview/Working-at-Ably-EI_IE2184188.11,15.htm" class="ui-footer-link">
200
200
  Learn more at Glassdoor
@@ -226,29 +226,29 @@
226
226
  <div class="flex mr-24">
227
227
  <%= render(AblyUi::Core::Icon.new(name: "icon-gui-tick", color: "text-active-orange", size: "1.5rem", additional_css:"bg-white rounded-full mr-12 ui-footer-tick-icon")) %>
228
228
  <div>
229
- <p class="ui-footer-compliance-text font-medium whitespace-nowrap">SOC 2 Type 2</p>
230
- <p class="ui-footer-compliance-text font-light mb-24">Certified</p>
229
+ <p class="ui-footer-compliance-text font-bold whitespace-nowrap">SOC 2 Type 2</p>
230
+ <p class="ui-footer-compliance-text font-medium mb-24">Certified</p>
231
231
  </div>
232
232
  </div>
233
233
  <div class="flex mr-24 md:col-start-2">
234
234
  <%= render(AblyUi::Core::Icon.new(name: "icon-gui-tick", color: "text-active-orange", size: "1.5rem", additional_css:"bg-white rounded-full mr-12 ui-footer-tick-icon")) %>
235
235
  <div>
236
- <p class="ui-footer-compliance-text font-medium whitespace-nowrap">HIPAA</p>
237
- <p class="ui-footer-compliance-text font-light mb-24">Compliant</p>
236
+ <p class="ui-footer-compliance-text font-bold whitespace-nowrap">HIPAA</p>
237
+ <p class="ui-footer-compliance-text font-medium mb-24">Compliant</p>
238
238
  </div>
239
239
  </div>
240
240
  <div class="flex mr-24 md:col-start-3">
241
241
  <%= render(AblyUi::Core::Icon.new(name: "icon-gui-tick", color: "text-active-orange", size: "1.5rem", additional_css:"bg-white rounded-full mr-12 ui-footer-tick-icon")) %>
242
242
  <div>
243
- <p class="ui-footer-compliance-text font-medium whitespace-nowrap">EU GDPR</p>
244
- <p class="ui-footer-compliance-text font-light mb-24">Certified</p>
243
+ <p class="ui-footer-compliance-text font-bold whitespace-nowrap">EU GDPR</p>
244
+ <p class="ui-footer-compliance-text font-medium mb-24">Certified</p>
245
245
  </div>
246
246
  </div>
247
247
  <div class="flex mr-24 md:col-start-4">
248
248
  <%= render(AblyUi::Core::Icon.new(name: "icon-gui-tick", color: "text-active-orange", size: "1.5rem", additional_css:"bg-white rounded-full mr-12 ui-footer-tick-icon")) %>
249
249
  <div>
250
- <p class="ui-footer-compliance-text font-medium whitespace-nowrap">256-bit AES</p>
251
- <p class="ui-footer-compliance-text font-light mb-24">Encryption</p>
250
+ <p class="ui-footer-compliance-text font-bold whitespace-nowrap">256-bit AES</p>
251
+ <p class="ui-footer-compliance-text font-medium mb-24">Encryption</p>
252
252
  </div>
253
253
  </div>
254
254
  </div>
@@ -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-sans antialiased" data-id="footer">
11
+ <footer className="bg-light-grey font-sans 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 font-medium uppercase tracking-widen-0.1">The Ably Platform</h2>
16
+ <h2 className="text-overline2 font-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-medium p-menu-row-snug">
19
+ <p className="font-sans 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>
@@ -130,7 +130,7 @@ export default function Footer({ paths, urlBase }) {
130
130
  </a>
131
131
  </li>
132
132
  <li className="p-menu-row-snug">
133
- <a href={absUrl("/download")} className="ui-footer-menu-row-link">
133
+ <a href={absUrl("/docs/sdks")} className="ui-footer-menu-row-link">
134
134
  SDKs
135
135
  </a>
136
136
  </li>
@@ -141,7 +141,7 @@ export default function Footer({ paths, urlBase }) {
141
141
  <iframe
142
142
  className="w-20 h-20 mb-2"
143
143
  src="https://status.ably.com/embed/icon"
144
- allowtransparency="true"
144
+ allowTransparency={true}
145
145
  frameBorder="0"
146
146
  scrolling="no"
147
147
  title="System Status"
@@ -264,7 +264,7 @@ export default function Footer({ paths, urlBase }) {
264
264
  >
265
265
  <Icon name="glassdoor" size="1.5rem" />
266
266
  </a>
267
- <div className="pl-16 text-menu3 font-light">
267
+ <div className="pl-16 text-menu3 font-sans font-medium">
268
268
  <strong className="block font-medium">We&apos;re hiring!</strong>
269
269
  <a href="https://www.glassdoor.co.uk/Overview/Working-at-Ably-EI_IE2184188.11,15.htm" className="ui-footer-link">
270
270
  Learn more at Glassdoor
@@ -284,7 +284,7 @@ export default function Footer({ paths, urlBase }) {
284
284
  >
285
285
  <Icon name="glassdoor" size="1.5rem" />
286
286
  </a>
287
- <div className="text-menu3 font-light">
287
+ <div className="text-menu3 font-sans font-medium">
288
288
  <strong className="block font-medium">We&apos;re hiring!</strong>
289
289
  <a href="https://www.glassdoor.co.uk/Overview/Working-at-Ably-EI_IE2184188.11,15.htm" className="ui-footer-link">
290
290
  Learn more at Glassdoor
@@ -326,29 +326,29 @@ export default function Footer({ paths, urlBase }) {
326
326
  <div className="flex mr-24">
327
327
  <Icon name="icon-gui-tick" color="text-active-orange" size="1.5rem" additionalCSS="bg-white rounded-full mr-12 ui-footer-tick-icon" />
328
328
  <div>
329
- <p className="ui-footer-compliance-text font-medium whitespace-nowrap">SOC 2 Type 2</p>
330
- <p className="ui-footer-compliance-text font-light mb-24">Certified</p>
329
+ <p className="ui-footer-compliance-text font-bold whitespace-nowrap">SOC 2 Type 2</p>
330
+ <p className="ui-footer-compliance-text font-medium mb-24">Certified</p>
331
331
  </div>
332
332
  </div>
333
333
  <div className="flex mr-24 md:col-start-2">
334
334
  <Icon name="icon-gui-tick" color="text-active-orange" size="1.5rem" additionalCSS="bg-white rounded-full mr-12 ui-footer-tick-icon" />
335
335
  <div>
336
- <p className="ui-footer-compliance-text font-medium whitespace-nowrap">HIPAA</p>
337
- <p className="ui-footer-compliance-text font-light mb-24">Compliant</p>
336
+ <p className="ui-footer-compliance-text font-bold whitespace-nowrap">HIPAA</p>
337
+ <p className="ui-footer-compliance-text font-medium mb-24">Compliant</p>
338
338
  </div>
339
339
  </div>
340
340
  <div className="flex mr-24 md:col-start-3">
341
341
  <Icon name="icon-gui-tick" color="text-active-orange" size="1.5rem" additionalCSS="bg-white rounded-full mr-12 ui-footer-tick-icon" />
342
342
  <div>
343
- <p className="ui-footer-compliance-text font-medium whitespace-nowrap">EU GDPR</p>
344
- <p className="ui-footer-compliance-text font-light mb-24">Certified</p>
343
+ <p className="ui-footer-compliance-text font-bold whitespace-nowrap">EU GDPR</p>
344
+ <p className="ui-footer-compliance-text font-medium mb-24">Certified</p>
345
345
  </div>
346
346
  </div>
347
347
  <div className="flex mr-24 md:col-start-4">
348
348
  <Icon name="icon-gui-tick" color="text-active-orange" size="1.5rem" additionalCSS="bg-white rounded-full mr-12 ui-footer-tick-icon" />
349
349
  <div>
350
- <p className="ui-footer-compliance-text font-medium whitespace-nowrap">256-bit AES</p>
351
- <p className="ui-footer-compliance-text font-light mb-24">Encryption</p>
350
+ <p className="ui-footer-compliance-text font-bold whitespace-nowrap">256-bit AES</p>
351
+ <p className="ui-footer-compliance-text font-medium mb-24">Encryption</p>
352
352
  </div>
353
353
  </div>
354
354
  </div>
@@ -51,7 +51,7 @@
51
51
  }
52
52
 
53
53
  .ui-meganav-link {
54
- @apply text-menu2 font-medium block;
54
+ @apply text-menu2 font-bold block font-sans;
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-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-light;
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-mono;
73
73
  }
74
74
 
75
75
  .ui-meganav-content {
@@ -97,15 +97,15 @@
97
97
  }
98
98
 
99
99
  .ui-meganav-media-heading {
100
- @apply text-menu3 text-cool-black font-medium group-hover:text-gui-hover group-focus:text-gui-focus;
100
+ @apply text-menu3 text-cool-black font-bold font-sans 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 font-light;
104
+ @apply text-p3 font-sans 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-medium tracking-widen-0.15 p-overline;
108
+ @apply text-overline2 text-cool-black uppercase font-bold font-mono tracking-widen-0.16 p-overline;
109
109
  }
110
110
 
111
111
  .ui-meganav-hr {
@@ -47,7 +47,7 @@
47
47
  <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">
48
48
  <ul class="md:mt-40" aria-labelledby="meganav-developers-panel-explore">
49
49
  <li>
50
- <%= link_to abs_url("/download"), class: "ui-meganav-media-with-image group" do %>
50
+ <%= link_to abs_url("/docs/sdks"), class: "ui-meganav-media-with-image group" do %>
51
51
  <%= render(AblyUi::Core::Icon.new(name: "icon-display-sdks-col", size: "2.5rem")) %>
52
52
  <div class="flex flex-col justify-center">
53
53
  <p class="ui-meganav-media-heading">SDKs</p>
@@ -54,7 +54,7 @@ const MeganavContentDevelopers = ({ absUrl }) => (
54
54
  <div className="col-span-full md:col-span-4 pb-8 md:py-24 lg:py-32 px-24 sm:px-32 md:px-0">
55
55
  <ul className="md:mt-40" aria-labelledby="meganav-developers-panel-explore">
56
56
  <li>
57
- <a href={absUrl("/download")} className="ui-meganav-media-with-image group">
57
+ <a href={absUrl("/docs/sdks")} className="ui-meganav-media-with-image group">
58
58
  <Icon name="icon-display-sdks-col" size="2.5rem" />
59
59
  <div className="flex flex-col justify-center">
60
60
  <p className="ui-meganav-media-heading">SDKs</p>
@@ -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-medium text-cool-black mb-24" style="max-width: 330px">
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 MeganavContentProducts = ({ 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-medium text-cool-black mb-24" style={{ maxWidth: "330px" }}>
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-light w-full pr-8 text-p3 self-center" do %>
5
- <strong class="font-medium whitespace-nowrap pr-4"><%= @contents[:title] %></strong>
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-light w-full pr-8 text-p3 self-center";
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-medium whitespace-nowrap pr-4">{title}</strong>
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>
@@ -0,0 +1,3 @@
1
+ @layer base {
2
+ @import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100;200;300;400;500;600;700;800&display=swap");
3
+ }
@@ -0,0 +1,3 @@
1
+ @layer base {
2
+ @import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap");
3
+ }
@@ -1,6 +1,6 @@
1
1
  @layer components {
2
2
  .ui-btn {
3
- @apply text-white bg-cool-black text-btn2 font-sans font-medium inline-block rounded p-btn;
3
+ @apply text-white bg-cool-black text-btn2 font-sans 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-sans font-medium inline-block rounded p-btn;
27
+ @apply text-white text-btn2 font-sans 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-sans font-medium inline-block rounded p-btn;
43
+ @apply text-cool-black bg-white text-btn2 font-sans 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-sans font-medium inline-block border-btn border-cool-black rounded p-btn;
53
+ @apply text-cool-black bg-white text-btn2 font-sans 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-sans font-medium inline-block border-btn border-mid-grey rounded p-btn;
63
+ @apply text-white bg-cool-black text-btn2 font-sans 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-sans;
3
+ @apply flex items-start mb-16 font-sans font-medium;
4
4
  }
5
5
 
6
6
  .ui-checkbox-p2 {
7
- @apply flex items-start mb-12 font-sans;
7
+ @apply flex items-start mb-12 font-sans 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-light text-cool-black;
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-light text-cool-black;
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-sans font-light text-cool-black text-p1;
52
+ @apply font-sans 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
- --color-cool-black: #03020d;
4
- --color-active-orange: #ff5416;
5
- --color-red-orange: #e40000;
6
- --color-white: #ffffff;
7
- --color-electric-cyan: #4af7ff;
8
- --color-zingy-green: #08ff13;
9
- --color-bright-red: #ff2739;
10
- --color-jazzy-pink: #ff17d2;
11
- --color-extra-light-grey: #fafafb;
12
- --color-light-grey: #f5f5f6;
13
- --color-mid-grey: #d9d9da;
14
- --color-dark-grey: #76767c;
15
- --color-charcoal-grey: #292831;
16
- --color-gui-default: #0073e6;
17
- --color-gui-hover: #0867c4;
18
- --color-gui-focus: #0073e6;
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
- --color-gui-unavailable: #a8a8a8;
23
- --color-gui-error: #fb0c0c;
24
- --color-gui-success: #11cb24;
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-cool-black);
28
- --syntax-dark-grey: var(--color-dark-grey);
29
- --syntax-mid-grey: var(--color-mid-grey);
30
- --syntax-light-grey: var(--color-light-grey);
31
- --syntax-extra-light-grey: var(--color-extra-light-grey);
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-bright-red) 0%,
171
+ var(--color-orange-700) 0%,
74
172
  var(--color-jazzy-pink) 100%
75
173
  );
76
174
 
77
- --fs-title-xl: 4rem;
78
- --fs-title: 3.5rem;
79
- --fs-title-xs: 3rem;
80
- --fs-h1-xl: 3.5rem;
81
- --fs-h1: 3rem;
82
- --fs-h1-xs: 2.625rem;
83
- --fs-h2-xl: 2.5rem;
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.875rem;
184
+ --fs-h2-xs: 1.75rem;
185
+
86
186
  --fs-h3: 1.5rem;
87
- --fs-h4: 1.125rem;
88
- --fs-p1: 1.125rem;
89
- --fs-p2: 1rem;
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.5rem;
94
- --fs-sub-header-xs: 1.125rem;
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: 1.125rem;
98
- --fs-btn2: 1rem;
199
+ --fs-btn1: 1rem;
200
+ --fs-btn2: 0.938rem;
99
201
  --fs-btn3: 0.875rem;
100
- --fs-menu1: 1.125rem;
101
- --fs-menu2: 1rem;
202
+ --fs-menu1: 1rem;
203
+ --fs-menu2: 0.938rem;
102
204
  --fs-menu3: 0.875rem;
103
- --fs-quote: 1.5rem;
104
- --fs-code: 0.875rem;
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;