@primer/react-brand 0.3.0-rc.6d63e37 → 0.3.0-rc.78f0d9f

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 (103) hide show
  1. package/CHANGELOG.md +5 -1
  2. package/lib/Accordion/Accordion.d.ts +29 -0
  3. package/lib/Accordion/index.d.ts +1 -0
  4. package/lib/FAQ/FAQ.d.ts +37 -0
  5. package/lib/FAQ/index.d.ts +1 -0
  6. package/lib/InlineLink/InlineLink.d.ts +24 -0
  7. package/lib/InlineLink/index.d.ts +1 -0
  8. package/lib/css/main.css +355 -15
  9. package/lib/css/stylesheets.d.ts +1 -0
  10. package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
  11. package/lib/design-tokens/css/tokens/base/colors/color-scales.css +1 -1
  12. package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
  13. package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
  14. package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +16 -1
  15. package/lib/design-tokens/css/tokens/functional/colors/global.css +6 -1
  16. package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +19 -0
  17. package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +1 -1
  18. package/lib/design-tokens/css/tokens/functional/components/faq/base.css +9 -0
  19. package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +16 -0
  20. package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +8 -0
  21. package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
  22. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +19 -0
  23. package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +9 -0
  24. package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
  25. package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
  26. package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
  27. package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
  28. package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
  29. package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
  30. package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +19 -7
  31. package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
  32. package/lib/design-tokens/js/module/tokens/base/colors/color-scales.js +1 -1
  33. package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
  34. package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
  35. package/lib/design-tokens/js/module/tokens/functional/colors/global.js +92 -1
  36. package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +47 -0
  37. package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +31 -0
  38. package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
  39. package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +49 -0
  40. package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
  41. package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
  42. package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
  43. package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
  44. package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
  45. package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
  46. package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
  47. package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +173 -0
  48. package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
  49. package/lib/design-tokens/js/tokens/base/colors/color-scales.js +1 -1
  50. package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
  51. package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
  52. package/lib/design-tokens/js/tokens/functional/colors/global.js +7 -2
  53. package/lib/design-tokens/js/tokens/functional/components/faq/base.js +7 -0
  54. package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +6 -0
  55. package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
  56. package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +7 -0
  57. package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
  58. package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
  59. package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
  60. package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
  61. package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
  62. package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
  63. package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
  64. package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +9 -0
  65. package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
  66. package/lib/design-tokens/ts/tokens/base/colors/color-scales.d.ts +1 -1
  67. package/lib/design-tokens/ts/tokens/base/colors/color-scales.js +1 -1
  68. package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
  69. package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
  70. package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
  71. package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
  72. package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +9 -2
  73. package/lib/design-tokens/ts/tokens/functional/colors/global.js +9 -2
  74. package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +18 -0
  75. package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +17 -0
  76. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +15 -0
  77. package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +14 -0
  78. package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
  79. package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
  80. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +16 -0
  81. package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +15 -0
  82. package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
  83. package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
  84. package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
  85. package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
  86. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
  87. package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
  88. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
  89. package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
  90. package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
  91. package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
  92. package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
  93. package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
  94. package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
  95. package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
  96. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +18 -0
  97. package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +17 -0
  98. package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
  99. package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
  100. package/lib/index.d.ts +3 -0
  101. package/lib/index.js +1 -1
  102. package/lib/index.js.LICENSE.txt +9 -0
  103. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -4,7 +4,11 @@
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - [#45](https://github.com/primer/react-brand/pull/45) [`2fb6924`](https://github.com/primer/react-brand/commit/2fb6924a834ddcbad34cfb97ecfc1659d54f4ed5) Thanks [@rezrah](https://github.com/rezrah)! - > **Warning**
7
+ - [`c8609a8`](https://github.com/primer/react-brand/commit/c8609a8d35ea80192d85e97794390207f4624e63) Thanks [@rezrah](https://github.com/rezrah)! - added an FAQ component, which displays a list of questions and answers relating to a particular subject.
8
+
9
+ [See usage examples](https://primer.style/react-brand/components/FAQ)
10
+
11
+ * [#45](https://github.com/primer/react-brand/pull/45) [`2fb6924`](https://github.com/primer/react-brand/commit/2fb6924a834ddcbad34cfb97ecfc1659d54f4ed5) Thanks [@rezrah](https://github.com/rezrah)! - > **Warning**
8
12
 
9
13
  > This is a breaking change, but as the library is a pre-v1 release we are publishing this update as a `minor` change.
10
14
  > Please read the following instructions carefully before updating:
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ /**
3
+ * Design tokens
4
+ */
5
+ import '../../lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css';
6
+ export declare type AccordionRootProps = {
7
+ open?: boolean;
8
+ className?: string;
9
+ children: React.ReactElement<AccordionHeadingProps | AccordionContentProps>[];
10
+ } & React.HTMLAttributes<HTMLDetailsElement>;
11
+ export declare function AccordionRoot({ children, className, open, ...rest }: AccordionRootProps): JSX.Element;
12
+ declare type AccordionHeadingProps = {
13
+ className?: string;
14
+ children: string;
15
+ };
16
+ export declare function AccordionHeading({ children, className }: AccordionHeadingProps): JSX.Element;
17
+ declare type AccordionContentProps = {
18
+ className?: string;
19
+ children: React.ReactElement | React.ReactElement[];
20
+ };
21
+ export declare function AccordionContent({ children, className }: AccordionContentProps): JSX.Element;
22
+ /**
23
+ * Branded Accordion component
24
+ */
25
+ export declare const Accordion: typeof AccordionRoot & {
26
+ Content: typeof AccordionContent;
27
+ Heading: typeof AccordionHeading;
28
+ };
29
+ export {};
@@ -0,0 +1 @@
1
+ export * from './Accordion';
@@ -0,0 +1,37 @@
1
+ import React from 'react';
2
+ import { AccordionHeading, AccordionContent, AccordionRoot, AccordionRootProps } from '..';
3
+ /**
4
+ * Design tokens
5
+ */
6
+ import '../../lib/design-tokens/css/tokens/functional/components/faq/base.css';
7
+ import '../../lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css';
8
+ declare type FAQRootProps = {
9
+ className?: string;
10
+ children: React.ReactElement<FAQHeadingProps | FAQSubheadingProps | AccordionRootProps>[];
11
+ };
12
+ declare function FAQRoot({ children, className }: FAQRootProps): JSX.Element;
13
+ declare type FAQHeadingProps = {
14
+ className?: string;
15
+ size?: 'medium' | 'large';
16
+ align?: 'start' | 'center';
17
+ children: string;
18
+ };
19
+ declare function FAQHeading({ children, className, size, align }: FAQHeadingProps): JSX.Element;
20
+ declare type FAQSubheadingProps = {
21
+ align?: 'start' | 'center';
22
+ className?: string;
23
+ children: string;
24
+ };
25
+ declare function FAQSubheading({ children, className }: FAQSubheadingProps): JSX.Element;
26
+ /**
27
+ * FAQ component:
28
+ * {@link https://primer.style/react-brand/components/FAQ/ See usage examples}.
29
+ */
30
+ export declare const FAQ: typeof FAQRoot & {
31
+ Subheading: typeof FAQSubheading;
32
+ Heading: typeof FAQHeading;
33
+ Item: typeof AccordionRoot;
34
+ Question: typeof AccordionHeading;
35
+ Answer: typeof AccordionContent;
36
+ };
37
+ export {};
@@ -0,0 +1 @@
1
+ export * from './FAQ';
@@ -0,0 +1,24 @@
1
+ import React, { PropsWithChildren } from 'react';
2
+ import { TextSizes } from '../';
3
+ /**
4
+ * Design tokens
5
+ */
6
+ import '../../lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css';
7
+ export declare type InlineLinkProps = {
8
+ /**
9
+ * Forward a custom HTML class attribute
10
+ */
11
+ className?: string;
12
+ /**
13
+ * Specify the links destination
14
+ */
15
+ href: string;
16
+ /**
17
+ * Specify the text size
18
+ */
19
+ size?: typeof TextSizes[number];
20
+ } & React.AnchorHTMLAttributes<HTMLAnchorElement>;
21
+ /**
22
+ * A HTML anchor link component that renders inline with adjacent text.
23
+ */
24
+ export declare function InlineLink({ className, size, children, href, ...rest }: PropsWithChildren<InlineLinkProps>): JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './InlineLink';
package/lib/css/main.css CHANGED
@@ -91,7 +91,7 @@ select {
91
91
 
92
92
  /**
93
93
  * Do not edit directly
94
- * Generated on Fri, 01 Jul 2022 09:10:25 GMT
94
+ * Generated on Fri, 01 Jul 2022 09:35:47 GMT
95
95
  */
96
96
 
97
97
  :root {
@@ -897,7 +897,7 @@ select {
897
897
 
898
898
  /**
899
899
  * Do not edit directly
900
- * Generated on Fri, 01 Jul 2022 09:10:25 GMT
900
+ * Generated on Fri, 01 Jul 2022 09:35:47 GMT
901
901
  */
902
902
 
903
903
  :root {
@@ -922,7 +922,7 @@ select {
922
922
 
923
923
  /**
924
924
  * Do not edit directly
925
- * Generated on Fri, 01 Jul 2022 09:10:25 GMT
925
+ * Generated on Fri, 01 Jul 2022 09:35:47 GMT
926
926
  */
927
927
 
928
928
  :root {
@@ -970,12 +970,16 @@ select {
970
970
  --brand-text-weight-300: var(--base-text-weight-normal);
971
971
  --brand-text-weight-200: var(--base-text-weight-normal);
972
972
  --brand-text-weight-100: var(--base-text-weight-normal);
973
+ --brand-heading-lineHeight-700: 2rem;
974
+ --brand-heading-lineHeight-600: 1.75rem;
975
+ --brand-heading-lineHeight-500: 1.5rem;
976
+ --brand-heading-lineHeight-400: 1.25rem;
973
977
  --brand-heading-letterSpacing-700: -0.01em;
974
978
  --brand-heading-letterSpacing-600: -0.01em;
975
979
  --brand-heading-letterSpacing-500: -0.01em;
976
980
  --brand-heading-letterSpacing-400: -0.01em;
977
- --brand-heading-weight-700: var(--base-text-weight-bold);
978
- --brand-heading-weight-600: var(--base-text-weight-semibold);
981
+ --brand-heading-weight-700: var(--base-text-weight-extrabold);
982
+ --brand-heading-weight-600: var(--base-text-weight-bold);
979
983
  --brand-heading-weight-500: var(--base-text-weight-semibold);
980
984
  --brand-heading-weight-400: var(--base-text-weight-semibold);
981
985
  --brand-fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
@@ -1029,12 +1033,16 @@ select {
1029
1033
  --brand-text-weight-300: var(--base-text-weight-normal);
1030
1034
  --brand-text-weight-200: var(--base-text-weight-normal);
1031
1035
  --brand-text-weight-100: var(--base-text-weight-normal);
1036
+ --brand-heading-lineHeight-700: 2.75rem;
1037
+ --brand-heading-lineHeight-600: 2rem;
1038
+ --brand-heading-lineHeight-500: 1.75rem;
1039
+ --brand-heading-lineHeight-400: 1.5rem;
1032
1040
  --brand-heading-letterSpacing-700: -0.01em;
1033
1041
  --brand-heading-letterSpacing-600: -0.01em;
1034
1042
  --brand-heading-letterSpacing-500: -0.01em;
1035
1043
  --brand-heading-letterSpacing-400: -0.01em;
1036
- --brand-heading-weight-700: var(--base-text-weight-bold);
1037
- --brand-heading-weight-600: var(--base-text-weight-semibold);
1044
+ --brand-heading-weight-700: var(--base-text-weight-extrabold);
1045
+ --brand-heading-weight-600: var(--base-text-weight-bold);
1038
1046
  --brand-heading-weight-500: var(--base-text-weight-semibold);
1039
1047
  --brand-heading-weight-400: var(--base-text-weight-semibold);
1040
1048
  }
@@ -1076,12 +1084,16 @@ select {
1076
1084
  --brand-text-weight-300: var(--base-text-weight-normal);
1077
1085
  --brand-text-weight-200: var(--base-text-weight-normal);
1078
1086
  --brand-text-weight-100: var(--base-text-weight-normal);
1087
+ --brand-heading-lineHeight-700: 3.25rem;
1088
+ --brand-heading-lineHeight-600: 2.25rem;
1089
+ --brand-heading-lineHeight-500: 1.75rem;
1090
+ --brand-heading-lineHeight-400: 1.5rem;
1079
1091
  --brand-heading-letterSpacing-700: -0.01em;
1080
1092
  --brand-heading-letterSpacing-600: -0.01em;
1081
1093
  --brand-heading-letterSpacing-500: -0.01em;
1082
1094
  --brand-heading-letterSpacing-400: -0.01em;
1083
- --brand-heading-weight-700: var(--base-text-weight-bold);
1084
- --brand-heading-weight-600: var(--base-text-weight-semibold);
1095
+ --brand-heading-weight-700: var(--base-text-weight-extrabold);
1096
+ --brand-heading-weight-600: var(--base-text-weight-bold);
1085
1097
  --brand-heading-weight-500: var(--base-text-weight-semibold);
1086
1098
  --brand-heading-weight-400: var(--base-text-weight-semibold);
1087
1099
  }
@@ -1089,7 +1101,7 @@ select {
1089
1101
 
1090
1102
  /**
1091
1103
  * Do not edit directly
1092
- * Generated on Fri, 01 Jul 2022 09:10:25 GMT
1104
+ * Generated on Fri, 01 Jul 2022 09:35:47 GMT
1093
1105
  */
1094
1106
 
1095
1107
  :root {
@@ -1103,10 +1115,32 @@ select {
1103
1115
 
1104
1116
  /**
1105
1117
  * Do not edit directly
1106
- * Generated on Fri, 01 Jul 2022 09:10:26 GMT
1118
+ * Generated on Fri, 01 Jul 2022 09:35:47 GMT
1107
1119
  */
1108
1120
 
1109
1121
  :root {
1122
+ --brand-borderRadius-full: 100vh;
1123
+ --brand-borderRadius-large: 0.75rem;
1124
+ --brand-borderRadius-medium: 0.375rem;
1125
+ --brand-borderRadius-small: 0.1875rem;
1126
+ --brand-borderWidth-thick: max(4px, 0.25rem);
1127
+ --brand-borderWidth-normal: max(2px, 0.125rem);
1128
+ --brand-borderWidth-thin: max(1px, 0.0625rem);
1129
+ --brand-borderInset-thick: inset 0 0 0 var(--brand-borderWidth-thick);
1130
+ --brand-borderInset-normal: inset 0 0 0 var(--brand-borderWidth-normal);
1131
+ --brand-borderInset-thin: inset 0 0 0 var(--brand-borderWidth-thin);
1132
+ }
1133
+
1134
+ /**
1135
+ * Do not edit directly
1136
+ * Generated on Fri, 01 Jul 2022 09:35:48 GMT
1137
+ */
1138
+
1139
+ :root {
1140
+ --brand-color-accent-fg: var(--base-color-scale-pink-5);
1141
+ --brand-color-accent-emphasis: var(--base-color-scale-pink-5);
1142
+ --brand-color-accent-muted: hsl(var(--base-color-scale-pink-3-hsl) / 60%);
1143
+ --brand-color-accent-subtle: var(--base-color-scale-pink-0);
1110
1144
  --brand-color-text-default: var(--base-color-scale-gray-9);
1111
1145
  --brand-color-text-muted: var(--base-color-scale-gray-6);
1112
1146
  --brand-color-text-subtle: var(--base-color-scale-gray-5);
@@ -1122,9 +1156,14 @@ select {
1122
1156
  --brand-color-border-default: var(--base-color-scale-gray-2);
1123
1157
  --brand-color-border-muted: hsl(var(--base-color-scale-gray-2-hsl) / 99.7%);
1124
1158
  --brand-color-border-subtle: hsl(var(--base-color-scale-black-0-hsl) / 99.85%);
1159
+ --brand-color-focus: var(--base-color-scale-blue-5);
1125
1160
  }
1126
1161
 
1127
1162
  [data-color-mode="light"] {
1163
+ --brand-color-accent-fg: var(--base-color-scale-pink-5);
1164
+ --brand-color-accent-emphasis: var(--base-color-scale-pink-5);
1165
+ --brand-color-accent-muted: hsl(var(--base-color-scale-pink-3-hsl) / 60%);
1166
+ --brand-color-accent-subtle: var(--base-color-scale-pink-0);
1128
1167
  --brand-color-text-default: var(--base-color-scale-gray-9);
1129
1168
  --brand-color-text-muted: var(--base-color-scale-gray-6);
1130
1169
  --brand-color-text-subtle: var(--base-color-scale-gray-5);
@@ -1140,9 +1179,14 @@ select {
1140
1179
  --brand-color-border-default: var(--base-color-scale-gray-2);
1141
1180
  --brand-color-border-muted: hsl(var(--base-color-scale-gray-2-hsl) / 99.7%);
1142
1181
  --brand-color-border-subtle: hsl(var(--base-color-scale-black-0-hsl) / 99.85%);
1182
+ --brand-color-focus: var(--base-color-scale-blue-5);
1143
1183
  }
1144
1184
 
1145
1185
  [data-color-mode="dark"] {
1186
+ --brand-color-accent-fg: var(--base-color-scale-pink-3);
1187
+ --brand-color-accent-emphasis: var(--base-color-scale-pink-5);
1188
+ --brand-color-accent-muted: hsl(var(--base-color-scale-pink-4-hsl) / 60%);
1189
+ --brand-color-accent-subtle: hsl(var(--base-color-scale-pink-4-hsl) / 85%);
1146
1190
  --brand-color-text-default: var(--base-color-scale-white-0);
1147
1191
  --brand-color-text-muted: var(--base-color-scale-gray-3);
1148
1192
  --brand-color-text-subtle: var(--base-color-scale-gray-4);
@@ -1158,6 +1202,7 @@ select {
1158
1202
  --brand-color-border-default: var(--base-color-scale-gray-6);
1159
1203
  --brand-color-border-muted: var(--base-color-scale-gray-7);
1160
1204
  --brand-color-border-subtle: hsl(var(--base-color-scale-gray-0-hsl) / 99.9%);
1205
+ --brand-color-focus: var(--base-color-scale-blue-3);
1161
1206
  }
1162
1207
 
1163
1208
  .Primer_Brand__Hero-module__Hero___EM3jf {
@@ -1290,7 +1335,7 @@ select {
1290
1335
 
1291
1336
  /**
1292
1337
  * Do not edit directly
1293
- * Generated on Fri, 01 Jul 2022 09:10:26 GMT
1338
+ * Generated on Fri, 01 Jul 2022 09:35:48 GMT
1294
1339
  */
1295
1340
 
1296
1341
  :root {
@@ -1398,7 +1443,7 @@ select {
1398
1443
  .Primer_Brand__Heading-module__Heading--3___wsITu {
1399
1444
  font-weight: var(--brand-heading-weight-700);
1400
1445
  font-size: var(--brand-text-size-700);
1401
- line-height: var(--brand-text-lineHeight-700);
1446
+ line-height: var(--brand-heading-lineHeight-700);
1402
1447
  font-family: var(--brand-heading-fontFamily);
1403
1448
  letter-spacing: var(--brand-heading-letterSpacing-700);
1404
1449
  }
@@ -1429,7 +1474,7 @@ select {
1429
1474
 
1430
1475
  /**
1431
1476
  * Do not edit directly
1432
- * Generated on Fri, 01 Jul 2022 09:10:25 GMT
1477
+ * Generated on Fri, 01 Jul 2022 09:35:47 GMT
1433
1478
  */
1434
1479
 
1435
1480
  :root {
@@ -1439,7 +1484,7 @@ select {
1439
1484
 
1440
1485
  /**
1441
1486
  * Do not edit directly
1442
- * Generated on Fri, 01 Jul 2022 09:10:25 GMT
1487
+ * Generated on Fri, 01 Jul 2022 09:35:47 GMT
1443
1488
  */
1444
1489
 
1445
1490
  :root {
@@ -1560,6 +1605,62 @@ select {
1560
1605
  }
1561
1606
  }
1562
1607
 
1608
+ /**
1609
+ * Do not edit directly
1610
+ * Generated on Fri, 01 Jul 2022 09:35:48 GMT
1611
+ */
1612
+
1613
+ :root {
1614
+ --brand-InlineLink-color-rest: var(--base-color-scale-blue-5);
1615
+ --brand-InlineLink-color-pressed: var(--base-color-scale-blue-7);
1616
+ }
1617
+
1618
+ [data-color-mode="light"] {
1619
+ --brand-InlineLink-color-rest: var(--base-color-scale-blue-5);
1620
+ --brand-InlineLink-color-pressed: var(--base-color-scale-blue-7);
1621
+ }
1622
+
1623
+ [data-color-mode="dark"] {
1624
+ --brand-InlineLink-color-rest: var(--base-color-scale-blue-4);
1625
+ --brand-InlineLink-color-pressed: var(--base-color-scale-blue-2);
1626
+ }
1627
+
1628
+ .Primer_Brand__InlineLink-module__InlineLink___U_Ama {
1629
+ text-decoration: none;
1630
+ position: relative;
1631
+ }
1632
+
1633
+ .Primer_Brand__InlineLink-module__InlineLink___U_Ama,
1634
+ .Primer_Brand__InlineLink-module__InlineLink___U_Ama > span {
1635
+ color: var(--brand-InlineLink-color-rest);
1636
+ }
1637
+
1638
+ .Primer_Brand__InlineLink-module__InlineLink___U_Ama:active,
1639
+ .Primer_Brand__InlineLink-module__InlineLink___U_Ama:active > span {
1640
+ color: var(--brand-InlineLink-color-pressed);
1641
+ }
1642
+
1643
+ .Primer_Brand__InlineLink-module__InlineLink___U_Ama::after {
1644
+ content: '';
1645
+ border-bottom: 1px solid var(--brand-InlineLink-color-rest);
1646
+ height: 0;
1647
+ transition: 0.3s transform;
1648
+ transform: scaleY(1);
1649
+ transform-origin: 50% 100%;
1650
+ width: 100%;
1651
+ position: absolute;
1652
+ bottom: 0;
1653
+ left: 0;
1654
+ }
1655
+
1656
+ .Primer_Brand__InlineLink-module__InlineLink___U_Ama:hover::after {
1657
+ transform: scaleY(-2);
1658
+ }
1659
+
1660
+ .Primer_Brand__InlineLink-module__InlineLink___U_Ama:active::after {
1661
+ border-color: var(--brand-InlineLink-color-pressed);
1662
+ }
1663
+
1563
1664
  .Primer_Brand__Link-module__Link___lvKjM {
1564
1665
  position: relative;
1565
1666
  display: inline-flex;
@@ -1613,3 +1714,242 @@ select {
1613
1714
  height: 20px;
1614
1715
  }
1615
1716
 
1717
+ /**
1718
+ * Do not edit directly
1719
+ * Generated on Fri, 01 Jul 2022 09:35:48 GMT
1720
+ */
1721
+
1722
+ :root {
1723
+ --brand-Accordion-toggle-color-start: var(--brand-color-accent-fg);
1724
+ --brand-Accordion-toggle-color-end: var(--brand-color-accent-fg);
1725
+ }
1726
+
1727
+ [data-color-mode="light"] {
1728
+ --brand-Accordion-toggle-color-start: var(--brand-color-accent-fg);
1729
+ --brand-Accordion-toggle-color-end: var(--brand-color-accent-fg);
1730
+ }
1731
+
1732
+ [data-color-mode="dark"] {
1733
+ --brand-Accordion-toggle-color-start: var(--brand-color-accent-fg);
1734
+ --brand-Accordion-toggle-color-end: var(--brand-color-accent-fg);
1735
+ }
1736
+
1737
+ .Primer_Brand__Accordion-module__Accordion___M_LPt {
1738
+ box-sizing: border-box;
1739
+ position: relative;
1740
+ border-bottom: var(--brand-borderWidth-thin) solid var(--brand-color-border-default);
1741
+ }
1742
+
1743
+ .Primer_Brand__Accordion-module__Accordion___M_LPt::after {
1744
+ content: '';
1745
+ border: 3px solid var(--brand-color-border-default);
1746
+ height: 0;
1747
+ transition: 0.3s transform;
1748
+ transform: scaleY(0);
1749
+ transform-origin: 50% 100%;
1750
+ width: 100%;
1751
+ position: absolute;
1752
+ bottom: 0;
1753
+ left: 0;
1754
+ }
1755
+
1756
+ .Primer_Brand__Accordion-module__Accordion___M_LPt:hover::after {
1757
+ transform: scaleY(0.35);
1758
+ }
1759
+
1760
+ .Primer_Brand__Accordion-module__Accordion__summary___NUIYc {
1761
+ cursor: pointer;
1762
+ padding: var(--base-size-24) 0;
1763
+ position: relative;
1764
+ display: grid;
1765
+ grid-template-columns: var(--base-size-24) auto;
1766
+ grid-gap: var(--base-size-8);
1767
+ gap: var(--base-size-8);
1768
+ }
1769
+
1770
+ .Primer_Brand__Accordion-module__Accordion__summary___NUIYc::-webkit-details-marker {
1771
+ display: none;
1772
+ }
1773
+
1774
+ .Primer_Brand__Accordion-module__Accordion__summary___NUIYc.Primer_Brand__Accordion-module__focus-visible___NWNew {
1775
+ outline: var(--brand-borderWidth-normal) solid var(--brand-color-focus);
1776
+ }
1777
+
1778
+ .Primer_Brand__Accordion-module__Accordion__summary___NUIYc:focus-visible {
1779
+ outline: var(--brand-borderWidth-normal) solid var(--brand-color-focus);
1780
+ }
1781
+
1782
+ .Primer_Brand__Accordion-module__Accordion__summary___NUIYc::before,
1783
+ .Primer_Brand__Accordion-module__Accordion__summary___NUIYc::after {
1784
+ font-family: var(--brand-fontStack-sansSerif);
1785
+ font-weight: 500;
1786
+ cursor: pointer;
1787
+ display: block;
1788
+ font-size: 32px;
1789
+ line-height: 24px;
1790
+ text-align: center;
1791
+ height: 24px;
1792
+ width: 24px;
1793
+ background: linear-gradient(
1794
+ -70deg,
1795
+ var(--brand-Accordion-toggle-color-start) 0%,
1796
+ var(--brand-Accordion-toggle-color-end) 100%
1797
+ );
1798
+ -webkit-background-clip: text;
1799
+ background-clip: text;
1800
+ -webkit-text-fill-color: transparent;
1801
+ -webkit-box-decoration-break: clone;
1802
+ box-decoration-break: clone;
1803
+ transition: transform 0.3s ease, opacity 0.2s ease;
1804
+ grid-column: 1 / 2;
1805
+ grid-row: 1;
1806
+ align-self: center;
1807
+ justify-self: center;
1808
+ place-self: center center;
1809
+ }
1810
+ .Primer_Brand__Accordion-module__Accordion__summary___NUIYc::before {
1811
+ font-weight: var(--base-text-weight-medium);
1812
+ content: '–';
1813
+ opacity: 0;
1814
+ }
1815
+ .Primer_Brand__Accordion-module__Accordion__summary___NUIYc::after {
1816
+ content: '+';
1817
+ }
1818
+
1819
+ .Primer_Brand__Accordion-module__Accordion__summary-heading_____snF {
1820
+ /*Visual appearance as a h6*/
1821
+ font-weight: var(--brand-heading-weight-400);
1822
+ font-size: var(--brand-text-size-400);
1823
+ line-height: var(--brand-text-lineHeight-400);
1824
+ letter-spacing: var(--brand-heading-letterSpacing-400);
1825
+ }
1826
+
1827
+ details[open] > .Primer_Brand__Accordion-module__Accordion__summary___NUIYc::before {
1828
+ opacity: 1;
1829
+ transform: rotateZ(180deg);
1830
+ }
1831
+ details[open] > .Primer_Brand__Accordion-module__Accordion__summary___NUIYc::after {
1832
+ opacity: 0;
1833
+ transform: rotateZ(180deg);
1834
+ }
1835
+ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
1836
+ padding-left: var(--base-size-40);
1837
+ padding-bottom: var(--base-size-24);
1838
+ margin-top: calc(var(--base-size-16) * -1); /* for 8px gap between question and answer */
1839
+ -webkit-animation: Primer_Brand__Accordion-module__fade-in___b3l0l 0.5s;
1840
+ animation: Primer_Brand__Accordion-module__fade-in___b3l0l 0.5s;
1841
+ }
1842
+ .Primer_Brand__Accordion-module__Accordion__content-item___M_dlm {
1843
+ margin-bottom: var(--base-size-12);
1844
+ }
1845
+ /* Medium breakpoint and up */
1846
+ @media screen and (min-width: 48rem) {
1847
+ .Primer_Brand__Accordion-module__Accordion__summary___NUIYc {
1848
+ gap: var(--base-size-40);
1849
+ }
1850
+ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
1851
+ padding-left: calc(var(--base-size-48) + var(--base-size-16));
1852
+ }
1853
+ }
1854
+
1855
+ @-webkit-keyframes Primer_Brand__Accordion-module__fade-in___b3l0l {
1856
+ 0% {
1857
+ opacity: 0;
1858
+ }
1859
+ 100% {
1860
+ opacity: 1;
1861
+ }
1862
+ }
1863
+
1864
+ @keyframes Primer_Brand__Accordion-module__fade-in___b3l0l {
1865
+ 0% {
1866
+ opacity: 0;
1867
+ }
1868
+ 100% {
1869
+ opacity: 1;
1870
+ }
1871
+ }
1872
+
1873
+ /**
1874
+ * Do not edit directly
1875
+ * Generated on Fri, 01 Jul 2022 09:35:47 GMT
1876
+ */
1877
+
1878
+ :root {
1879
+ --brand-FAQ-maxWidth: 51rem;
1880
+ --brand-FAQ-heading-centered-maxWidth: 37.5rem;
1881
+ }
1882
+
1883
+ /**
1884
+ * Do not edit directly
1885
+ * Generated on Fri, 01 Jul 2022 09:35:48 GMT
1886
+ */
1887
+
1888
+ :root {
1889
+ --brand-FAQ-heading-color: var(--brand-color-text-default);
1890
+ }
1891
+
1892
+ [data-color-mode="light"] {
1893
+ --brand-FAQ-heading-color: var(--brand-color-text-default);
1894
+ }
1895
+
1896
+ [data-color-mode="dark"] {
1897
+ --brand-FAQ-heading-color: var(--brand-color-text-default);
1898
+ }
1899
+
1900
+ .Primer_Brand__FAQ-module__FAQ___R3vLU {
1901
+ max-width: var(--brand-FAQ-maxWidth);
1902
+ margin: 0 auto;
1903
+ }
1904
+
1905
+ .Primer_Brand__FAQ-module__FAQ__heading___bH0aG {
1906
+ /*Visual appearance as a h3*/
1907
+ font-weight: var(--brand-heading-weight-700);
1908
+ font-size: var(--brand-text-size-700);
1909
+ line-height: var(--brand-heading-lineHeight-700);
1910
+ letter-spacing: var(--brand-heading-letterSpacing-700);
1911
+
1912
+ color: var(--brand-FAQ-heading-color);
1913
+ }
1914
+
1915
+ .Primer_Brand__FAQ-module__FAQ__subheading___I4puv {
1916
+ /*Visual appearance as a h4*/
1917
+ font-weight: var(--brand-heading-weight-600);
1918
+ font-size: var(--brand-text-size-600);
1919
+ line-height: var(--brand-text-lineHeight-600);
1920
+ letter-spacing: var(--brand-heading-letterSpacing-600);
1921
+
1922
+ margin-top: var(--base-size-64);
1923
+ margin-bottom: var(--base-size-16);
1924
+ }
1925
+
1926
+ .Primer_Brand__FAQ-module__FAQ__heading--start___eHaT3 {
1927
+ text-align: left;
1928
+ }
1929
+
1930
+ .Primer_Brand__FAQ-module__FAQ__heading--center___xMpbW {
1931
+ text-align: center;
1932
+ max-width: var(--brand-FAQ-heading-centered-maxWidth);
1933
+ margin-left: auto;
1934
+ margin-right: auto;
1935
+ }
1936
+
1937
+ .Primer_Brand__FAQ-module__FAQ__heading--large___pBEPT {
1938
+ /*Visual appearance as a h2*/
1939
+ font-weight: var(--brand-text-weight-800);
1940
+ font-size: var(--brand-text-size-800);
1941
+ line-height: var(--brand-text-lineHeight-800);
1942
+ letter-spacing: var(--brand-text-letterSpacing-800);
1943
+ }
1944
+
1945
+ /* Large breakpoint and up */
1946
+ @media screen and (min-width: 63.25rem) {
1947
+ .Primer_Brand__FAQ-module__FAQ__subheading___I4puv {
1948
+ margin-top: var(--base-size-96);
1949
+ }
1950
+
1951
+ .Primer_Brand__FAQ-module__FAQ__heading--with-margin___S2_ET {
1952
+ margin-bottom: var(--base-size-64);
1953
+ }
1954
+ }
1955
+
@@ -6,4 +6,5 @@ import '../../lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.c
6
6
  import '../../lib/design-tokens/css/tokens/base/size/size.css';
7
7
  import '../../lib/design-tokens/css/tokens/functional/typography/typography-responsive.css';
8
8
  import '../../lib/design-tokens/css/tokens/functional/size/breakpoints.css';
9
+ import '../../lib/design-tokens/css/tokens/functional/size/border.css';
9
10
  import '../../lib/design-tokens/css/tokens/functional/colors/global-with-modes.css';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 01 Jul 2022 09:10:25 GMT
3
+ * Generated on Fri, 01 Jul 2022 09:35:47 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 01 Jul 2022 09:10:25 GMT
3
+ * Generated on Fri, 01 Jul 2022 09:35:47 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 01 Jul 2022 09:10:25 GMT
3
+ * Generated on Fri, 01 Jul 2022 09:35:47 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 01 Jul 2022 09:10:25 GMT
3
+ * Generated on Fri, 01 Jul 2022 09:35:47 GMT
4
4
  */
5
5
 
6
6
  :root {