@primer/react-brand 0.8.0 → 0.9.0-rc.540ca60
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/lib/AnchorNav/useExpandedMenu.d.ts +1 -1
- package/lib/css/main.css +68 -44
- package/lib/design-tokens/css/tokens/base/colors/color-scales-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/base/colors/color-scales.css +1 -1
- package/lib/design-tokens/css/tokens/base/size/size.css +1 -1
- package/lib/design-tokens/css/tokens/base/typography/typography.css +1 -1
- package/lib/design-tokens/css/tokens/functional/colors/global-with-modes.css +5 -9
- package/lib/design-tokens/css/tokens/functional/colors/global.css +3 -5
- package/lib/design-tokens/css/tokens/functional/components/accordion/colors-with-modes.css +5 -5
- package/lib/design-tokens/css/tokens/functional/components/anchor-nav/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/button/colors-with-modes.css +11 -7
- package/lib/design-tokens/css/tokens/functional/components/comparison-table/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/control/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/control/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/cta-banner/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/faq/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/hero/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/inline-link/colors.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/river/base.css +1 -1
- package/lib/design-tokens/css/tokens/functional/components/subdomain-nav-bar/colors-with-modes.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/border.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/breakpoints.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-coarse.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size-fine.css +1 -1
- package/lib/design-tokens/css/tokens/functional/size/size.css +1 -1
- package/lib/design-tokens/css/tokens/functional/typography/typography-responsive.css +1 -1
- package/lib/design-tokens/css/tokens/functional/typography/typography.css +1 -1
- package/lib/design-tokens/js/module/tokens/base/colors/color-scales.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/module/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/colors/global.js +11 -47
- package/lib/design-tokens/js/module/tokens/functional/components/control/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/js/module/tokens/functional/typography/typography.js +1 -1
- package/lib/design-tokens/js/tokens/base/colors/color-scales.js +1 -1
- package/lib/design-tokens/js/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/js/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/js/tokens/functional/colors/global.js +3 -5
- package/lib/design-tokens/js/tokens/functional/components/control/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/js/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/js/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/js/tokens/functional/typography/typography.js +1 -1
- package/lib/design-tokens/ts/tokens/base/colors/color-scales.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/colors/color-scales.js +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/size/size.js +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/base/typography/typography.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/colors/global.d.ts +3 -5
- package/lib/design-tokens/ts/tokens/functional/colors/global.js +3 -5
- package/lib/design-tokens/ts/tokens/functional/components/control/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/control/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/faq/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/hero/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/inline-link/colors.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/components/river/base.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/border.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/breakpoints.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-coarse.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size-fine.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/size.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/size/viewport.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography-responsive.js +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/lib/design-tokens/ts/tokens/functional/typography/typography.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const useExpandedMenu: (open: boolean, containerRef: React.RefObject<HTMLElement>, anchorRef: React.RefObject<HTMLElement
|
|
2
|
+
export declare const useExpandedMenu: (open: boolean, containerRef: React.RefObject<HTMLElement>, anchorRef: React.RefObject<HTMLElement>, isNarrow: boolean) => void;
|
package/lib/css/main.css
CHANGED
|
@@ -89,7 +89,7 @@ select {
|
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
91
|
* Do not edit directly
|
|
92
|
-
* Generated on
|
|
92
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
93
93
|
*/
|
|
94
94
|
|
|
95
95
|
:root,
|
|
@@ -629,7 +629,7 @@ select {
|
|
|
629
629
|
|
|
630
630
|
/**
|
|
631
631
|
* Do not edit directly
|
|
632
|
-
* Generated on
|
|
632
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
633
633
|
*/
|
|
634
634
|
|
|
635
635
|
:root {
|
|
@@ -654,7 +654,7 @@ select {
|
|
|
654
654
|
|
|
655
655
|
/**
|
|
656
656
|
* Do not edit directly
|
|
657
|
-
* Generated on
|
|
657
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
658
658
|
*/
|
|
659
659
|
|
|
660
660
|
:root {
|
|
@@ -669,7 +669,7 @@ select {
|
|
|
669
669
|
|
|
670
670
|
/**
|
|
671
671
|
* Do not edit directly
|
|
672
|
-
* Generated on
|
|
672
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
673
673
|
*/
|
|
674
674
|
|
|
675
675
|
:root {
|
|
@@ -848,7 +848,7 @@ select {
|
|
|
848
848
|
|
|
849
849
|
/**
|
|
850
850
|
* Do not edit directly
|
|
851
|
-
* Generated on
|
|
851
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
852
852
|
*/
|
|
853
853
|
|
|
854
854
|
:root {
|
|
@@ -862,7 +862,7 @@ select {
|
|
|
862
862
|
|
|
863
863
|
/**
|
|
864
864
|
* Do not edit directly
|
|
865
|
-
* Generated on
|
|
865
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
866
866
|
*/
|
|
867
867
|
|
|
868
868
|
:root {
|
|
@@ -880,7 +880,7 @@ select {
|
|
|
880
880
|
|
|
881
881
|
/**
|
|
882
882
|
* Do not edit directly
|
|
883
|
-
* Generated on
|
|
883
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
884
884
|
*/
|
|
885
885
|
|
|
886
886
|
:root,
|
|
@@ -893,10 +893,8 @@ select {
|
|
|
893
893
|
--brand-color-error-emphasis: var(--base-color-scale-red-5);
|
|
894
894
|
--brand-color-error-muted: hsl(var(--base-color-scale-red-3-hsl) / 60%);
|
|
895
895
|
--brand-color-error-subtle: var(--base-color-scale-red-0);
|
|
896
|
-
--brand-color-accent-
|
|
897
|
-
--brand-color-accent-
|
|
898
|
-
--brand-color-accent-muted: hsl(var(--base-color-scale-pink-3-hsl) / 60%);
|
|
899
|
-
--brand-color-accent-subtle: var(--base-color-scale-pink-0);
|
|
896
|
+
--brand-color-accent-primary: var(--base-color-scale-pink-5);
|
|
897
|
+
--brand-color-accent-secondary: var(--base-color-scale-purple-5);
|
|
900
898
|
--brand-color-text-default: var(--base-color-scale-gray-9);
|
|
901
899
|
--brand-color-text-muted: var(--base-color-scale-gray-6);
|
|
902
900
|
--brand-color-text-subtle: var(--base-color-scale-gray-5);
|
|
@@ -924,10 +922,8 @@ select {
|
|
|
924
922
|
--brand-color-error-emphasis: var(--base-color-scale-red-5);
|
|
925
923
|
--brand-color-error-muted: hsl(var(--base-color-scale-red-4-hsl) / 60%);
|
|
926
924
|
--brand-color-error-subtle: hsl(var(--base-color-scale-red-4-hsl) / 85%);
|
|
927
|
-
--brand-color-accent-
|
|
928
|
-
--brand-color-accent-
|
|
929
|
-
--brand-color-accent-muted: hsl(var(--base-color-scale-pink-4-hsl) / 60%);
|
|
930
|
-
--brand-color-accent-subtle: hsl(var(--base-color-scale-pink-4-hsl) / 85%);
|
|
925
|
+
--brand-color-accent-primary: var(--base-color-scale-pink-3);
|
|
926
|
+
--brand-color-accent-secondary: var(--base-color-scale-purple-3);
|
|
931
927
|
--brand-color-text-default: var(--base-color-scale-white-0);
|
|
932
928
|
--brand-color-text-muted: var(--base-color-scale-gray-3);
|
|
933
929
|
--brand-color-text-subtle: var(--base-color-scale-gray-4);
|
|
@@ -1076,29 +1072,33 @@ select {
|
|
|
1076
1072
|
|
|
1077
1073
|
/**
|
|
1078
1074
|
* Do not edit directly
|
|
1079
|
-
* Generated on
|
|
1075
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
1080
1076
|
*/
|
|
1081
1077
|
|
|
1082
1078
|
:root,
|
|
1083
1079
|
[data-color-mode="light"] {
|
|
1084
|
-
--brand-Button-background-base: var(--base-color-scale-
|
|
1080
|
+
--brand-Button-background-base: var(--base-color-scale-gray-9);
|
|
1085
1081
|
--brand-Button-background-overlay: linear-gradient(180deg, hsla(0, 0%, 100%, 0.15) 0, hsla(0, 0%, 100%, 0) 100%), var(--base-color-scale-black-0);
|
|
1086
1082
|
--brand-Button-background-disabled: var(--base-color-scale-gray-4);
|
|
1087
1083
|
--brand-Button-fg-primary-disabled: var(--base-color-scale-gray-2);
|
|
1088
1084
|
--brand-Button-fg-secondary-disabled: var(--base-color-scale-gray-3);
|
|
1089
|
-
--brand-Button-shadow-default: 0 0 0 1px var(--base-color-scale-black-0);
|
|
1090
|
-
--brand-Button-shadow-hover: 0 3px 2px rgba(0, 0, 0, 0.07), 0 7px 5px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03), 0 22px 18px rgba(0, 0, 0, 0.03), 0 42px 33px rgba(0, 0, 0, 0.02), 0 100px 80px rgba(0, 0, 0, 0.02);
|
|
1085
|
+
--brand-Button-shadow-primary-default: inset 0 0 0 1px var(--base-color-scale-black-0);
|
|
1086
|
+
--brand-Button-shadow-primary-hover: 0 3px 2px rgba(0, 0, 0, 0.07), 0 7px 5px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03), 0 22px 18px rgba(0, 0, 0, 0.03), 0 42px 33px rgba(0, 0, 0, 0.02), 0 100px 80px rgba(0, 0, 0, 0.02);
|
|
1087
|
+
--brand-Button-shadow-secondary-default: inset 0 0 0 1px var(--brand-color-border-default);
|
|
1088
|
+
--brand-Button-shadow-secondary-hover: inset 0 0 0 2px var(--brand-color-neutral-emphasisPlus);
|
|
1091
1089
|
--brand-Button-shadow-focus: var(--brand-color-focus);
|
|
1092
1090
|
}
|
|
1093
1091
|
|
|
1094
1092
|
[data-color-mode="dark"] {
|
|
1095
|
-
--brand-Button-background-base: var(--base-color-scale-
|
|
1093
|
+
--brand-Button-background-base: var(--base-color-scale-gray-0);
|
|
1096
1094
|
--brand-Button-background-overlay: linear-gradient(180deg, hsla(0, 0%, 100%, 0.15) 0, hsla(0, 0%, 100%, 0) 100%), var(--base-color-scale-white-0);
|
|
1097
1095
|
--brand-Button-background-disabled: var(--base-color-scale-gray-4);
|
|
1098
1096
|
--brand-Button-fg-primary-disabled: var(--base-color-scale-gray-2);
|
|
1099
1097
|
--brand-Button-fg-secondary-disabled: var(--base-color-scale-gray-4);
|
|
1100
|
-
--brand-Button-shadow-default: 0 0 0 1px var(--base-color-scale-white-0);
|
|
1101
|
-
--brand-Button-shadow-hover: 0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07);
|
|
1098
|
+
--brand-Button-shadow-primary-default: inset 0 0 0 1px var(--base-color-scale-white-0);
|
|
1099
|
+
--brand-Button-shadow-primary-hover: 0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07);
|
|
1100
|
+
--brand-Button-shadow-secondary-default: inset 0 0 0 1px var(--brand-color-border-default);
|
|
1101
|
+
--brand-Button-shadow-secondary-hover: inset 0 0 0 2px var(--brand-color-neutral-emphasisPlus);
|
|
1102
1102
|
--brand-Button-shadow-focus: var(--brand-color-focus);
|
|
1103
1103
|
}
|
|
1104
1104
|
|
|
@@ -1154,7 +1154,7 @@ select {
|
|
|
1154
1154
|
}
|
|
1155
1155
|
|
|
1156
1156
|
.Primer_Brand__Button-module__Button--primary___xIC7G:not(.Primer_Brand__Button-module__Button--disabled___Ba17E):hover {
|
|
1157
|
-
box-shadow: var(--brand-Button-shadow-hover);
|
|
1157
|
+
box-shadow: var(--brand-Button-shadow-primary-hover);
|
|
1158
1158
|
}
|
|
1159
1159
|
|
|
1160
1160
|
.Primer_Brand__Button-module__Button--primary___xIC7G.Primer_Brand__Button-module__Button--disabled___Ba17E {
|
|
@@ -1171,12 +1171,12 @@ select {
|
|
|
1171
1171
|
|
|
1172
1172
|
.Primer_Brand__Button-module__Button--secondary___akMC2 {
|
|
1173
1173
|
color: var(--brand-color-text-default);
|
|
1174
|
-
box-shadow:
|
|
1174
|
+
box-shadow: var(--brand-Button-shadow-secondary-default);
|
|
1175
1175
|
transition: box-shadow 200ms;
|
|
1176
1176
|
}
|
|
1177
1177
|
|
|
1178
1178
|
.Primer_Brand__Button-module__Button--secondary___akMC2:not(.Primer_Brand__Button-module__Button--disabled___Ba17E):hover {
|
|
1179
|
-
box-shadow:
|
|
1179
|
+
box-shadow: var(--brand-Button-shadow-secondary-hover);
|
|
1180
1180
|
}
|
|
1181
1181
|
|
|
1182
1182
|
.Primer_Brand__Button-module__Button--label-secondary___DRJoJ.Primer_Brand__Button-module__Button-label--disabled___ZBpbj,
|
|
@@ -1194,13 +1194,23 @@ select {
|
|
|
1194
1194
|
}
|
|
1195
1195
|
|
|
1196
1196
|
.Primer_Brand__Button-module__Button--size-medium___EyCyw {
|
|
1197
|
-
padding: var(--base-size-16) var(--base-size-24);
|
|
1197
|
+
padding: calc(var(--base-size-16) - 2px) var(--base-size-24);
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
.Primer_Brand__Button-module__Button--size-medium___EyCyw .Primer_Brand__Button-module__Button--label___lUBc0 {
|
|
1201
|
+
/* Brings overall default height down to 48px */
|
|
1202
|
+
line-height: var(--brand-text-lineHeight-200);
|
|
1198
1203
|
}
|
|
1199
1204
|
|
|
1200
1205
|
.Primer_Brand__Button-module__Button--size-large___REN1l {
|
|
1201
1206
|
padding: var(--base-size-16) var(--base-size-32);
|
|
1202
1207
|
}
|
|
1203
1208
|
|
|
1209
|
+
.Primer_Brand__Button-module__Button--size-large___REN1l .Primer_Brand__Button-module__Button--label___lUBc0 {
|
|
1210
|
+
/* Brings overall default height down to 56px */
|
|
1211
|
+
line-height: var(--brand-text-lineHeight-300);
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1204
1214
|
.Primer_Brand__Button-module__Button--disabled___Ba17E,
|
|
1205
1215
|
.Primer_Brand__Button-module__Button--disabled___Ba17E:hover,
|
|
1206
1216
|
.Primer_Brand__Button-module__Button--disabled___Ba17E:focus {
|
|
@@ -1266,7 +1276,7 @@ select {
|
|
|
1266
1276
|
|
|
1267
1277
|
/**
|
|
1268
1278
|
* Do not edit directly
|
|
1269
|
-
* Generated on
|
|
1279
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
1270
1280
|
*/
|
|
1271
1281
|
|
|
1272
1282
|
:root {
|
|
@@ -1287,7 +1297,7 @@ select {
|
|
|
1287
1297
|
|
|
1288
1298
|
/**
|
|
1289
1299
|
* Do not edit directly
|
|
1290
|
-
* Generated on
|
|
1300
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
1291
1301
|
*/
|
|
1292
1302
|
|
|
1293
1303
|
:root {
|
|
@@ -2073,7 +2083,7 @@ select {
|
|
|
2073
2083
|
|
|
2074
2084
|
/**
|
|
2075
2085
|
* Do not edit directly
|
|
2076
|
-
* Generated on
|
|
2086
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
2077
2087
|
*/
|
|
2078
2088
|
|
|
2079
2089
|
:root,
|
|
@@ -2101,7 +2111,7 @@ select {
|
|
|
2101
2111
|
|
|
2102
2112
|
/**
|
|
2103
2113
|
* Do not edit directly
|
|
2104
|
-
* Generated on
|
|
2114
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
2105
2115
|
*/
|
|
2106
2116
|
|
|
2107
2117
|
:root,
|
|
@@ -2206,18 +2216,18 @@ select {
|
|
|
2206
2216
|
|
|
2207
2217
|
/**
|
|
2208
2218
|
* Do not edit directly
|
|
2209
|
-
* Generated on
|
|
2219
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
2210
2220
|
*/
|
|
2211
2221
|
|
|
2212
2222
|
:root,
|
|
2213
2223
|
[data-color-mode="light"] {
|
|
2214
|
-
--brand-Accordion-toggle-color-start: var(--brand-color-accent-
|
|
2215
|
-
--brand-Accordion-toggle-color-end: var(--brand-color-accent-
|
|
2224
|
+
--brand-Accordion-toggle-color-start: var(--brand-color-accent-primary);
|
|
2225
|
+
--brand-Accordion-toggle-color-end: var(--brand-color-accent-primary);
|
|
2216
2226
|
}
|
|
2217
2227
|
|
|
2218
2228
|
[data-color-mode="dark"] {
|
|
2219
|
-
--brand-Accordion-toggle-color-start: var(--brand-color-accent-
|
|
2220
|
-
--brand-Accordion-toggle-color-end: var(--brand-color-accent-
|
|
2229
|
+
--brand-Accordion-toggle-color-start: var(--brand-color-accent-primary);
|
|
2230
|
+
--brand-Accordion-toggle-color-end: var(--brand-color-accent-primary);
|
|
2221
2231
|
}
|
|
2222
2232
|
|
|
2223
2233
|
.Primer_Brand__Accordion-module__Accordion___M_LPt {
|
|
@@ -2348,7 +2358,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2348
2358
|
|
|
2349
2359
|
/**
|
|
2350
2360
|
* Do not edit directly
|
|
2351
|
-
* Generated on
|
|
2361
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
2352
2362
|
*/
|
|
2353
2363
|
|
|
2354
2364
|
:root {
|
|
@@ -2358,7 +2368,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2358
2368
|
|
|
2359
2369
|
/**
|
|
2360
2370
|
* Do not edit directly
|
|
2361
|
-
* Generated on
|
|
2371
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
2362
2372
|
*/
|
|
2363
2373
|
|
|
2364
2374
|
:root,
|
|
@@ -2428,7 +2438,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2428
2438
|
|
|
2429
2439
|
/**
|
|
2430
2440
|
* Do not edit directly
|
|
2431
|
-
* Generated on
|
|
2441
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
2432
2442
|
*/
|
|
2433
2443
|
|
|
2434
2444
|
:root {
|
|
@@ -2447,7 +2457,7 @@ details[open] > .Primer_Brand__Accordion-module__Accordion__content___wMZGe {
|
|
|
2447
2457
|
|
|
2448
2458
|
/**
|
|
2449
2459
|
* Do not edit directly
|
|
2450
|
-
* Generated on
|
|
2460
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
2451
2461
|
*/
|
|
2452
2462
|
|
|
2453
2463
|
:root,
|
|
@@ -3390,7 +3400,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
3390
3400
|
|
|
3391
3401
|
/**
|
|
3392
3402
|
* Do not edit directly
|
|
3393
|
-
* Generated on
|
|
3403
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
3394
3404
|
*/
|
|
3395
3405
|
|
|
3396
3406
|
:root {
|
|
@@ -3707,7 +3717,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
3707
3717
|
|
|
3708
3718
|
/**
|
|
3709
3719
|
* Do not edit directly
|
|
3710
|
-
* Generated on
|
|
3720
|
+
* Generated on Thu, 15 Dec 2022 14:45:30 GMT
|
|
3711
3721
|
*/
|
|
3712
3722
|
|
|
3713
3723
|
:root,
|
|
@@ -3740,10 +3750,16 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
3740
3750
|
*/
|
|
3741
3751
|
|
|
3742
3752
|
.Primer_Brand__ComparisonTable-module__ComparisonTable-footnote___rf35Q {
|
|
3743
|
-
text-align:
|
|
3753
|
+
text-align: left;
|
|
3744
3754
|
margin: var(--base-size-24) 0;
|
|
3745
3755
|
}
|
|
3746
3756
|
|
|
3757
|
+
@media screen and (min-width: 34rem) {
|
|
3758
|
+
.Primer_Brand__ComparisonTable-module__ComparisonTable-footnote___rf35Q {
|
|
3759
|
+
text-align: center;
|
|
3760
|
+
}
|
|
3761
|
+
}
|
|
3762
|
+
|
|
3747
3763
|
/*
|
|
3748
3764
|
* Table
|
|
3749
3765
|
*/
|
|
@@ -4011,7 +4027,7 @@ Fixes safari bug where outline doesn't respect border-radius
|
|
|
4011
4027
|
|
|
4012
4028
|
/**
|
|
4013
4029
|
* Do not edit directly
|
|
4014
|
-
* Generated on
|
|
4030
|
+
* Generated on Thu, 15 Dec 2022 14:45:30 GMT
|
|
4015
4031
|
*/
|
|
4016
4032
|
|
|
4017
4033
|
:root,
|
|
@@ -4051,6 +4067,11 @@ html {
|
|
|
4051
4067
|
}
|
|
4052
4068
|
}
|
|
4053
4069
|
|
|
4070
|
+
.AnchorNav--no-bg-scroll {
|
|
4071
|
+
overflow: hidden;
|
|
4072
|
+
height: 100vh;
|
|
4073
|
+
}
|
|
4074
|
+
|
|
4054
4075
|
/*
|
|
4055
4076
|
* 2. AnchorNav root and inner bounding containers
|
|
4056
4077
|
*/
|
|
@@ -4070,6 +4091,7 @@ html {
|
|
|
4070
4091
|
|
|
4071
4092
|
.Primer_Brand__AnchorNav-module__AnchorNav--stuck___AtvLO {
|
|
4072
4093
|
box-shadow: 0 3px 6px rgba(140, 149, 159, 0.15), 0 1px 1px rgba(0, 0, 0, 0.1); /* TODO: replace with a global token */
|
|
4094
|
+
position: fixed;
|
|
4073
4095
|
}
|
|
4074
4096
|
|
|
4075
4097
|
.Primer_Brand__AnchorNav-module__AnchorNav--expanded___wVGbk {
|
|
@@ -4118,6 +4140,7 @@ html {
|
|
|
4118
4140
|
@media screen and (min-width: 63.25rem) {
|
|
4119
4141
|
.Primer_Brand__AnchorNav-module__AnchorNav___bwgAJ {
|
|
4120
4142
|
padding: var(--base-size-12) var(--base-size-40);
|
|
4143
|
+
height: 75px; /* same as subdomain nav bar */
|
|
4121
4144
|
}
|
|
4122
4145
|
|
|
4123
4146
|
.Primer_Brand__AnchorNav-module__AnchorNav--with-default-background-color___aFdXc {
|
|
@@ -4130,6 +4153,7 @@ html {
|
|
|
4130
4153
|
.Primer_Brand__AnchorNav-module__AnchorNav-inner-container___lshlZ {
|
|
4131
4154
|
margin: 0 auto;
|
|
4132
4155
|
display: flex;
|
|
4156
|
+
align-items: center;
|
|
4133
4157
|
}
|
|
4134
4158
|
}
|
|
4135
4159
|
|
|
@@ -4402,7 +4426,7 @@ html {
|
|
|
4402
4426
|
|
|
4403
4427
|
/**
|
|
4404
4428
|
* Do not edit directly
|
|
4405
|
-
* Generated on
|
|
4429
|
+
* Generated on Thu, 15 Dec 2022 14:45:30 GMT
|
|
4406
4430
|
*/
|
|
4407
4431
|
|
|
4408
4432
|
:root,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root,
|
|
@@ -13,10 +13,8 @@
|
|
|
13
13
|
--brand-color-error-emphasis: var(--base-color-scale-red-5);
|
|
14
14
|
--brand-color-error-muted: hsl(var(--base-color-scale-red-3-hsl) / 60%);
|
|
15
15
|
--brand-color-error-subtle: var(--base-color-scale-red-0);
|
|
16
|
-
--brand-color-accent-
|
|
17
|
-
--brand-color-accent-
|
|
18
|
-
--brand-color-accent-muted: hsl(var(--base-color-scale-pink-3-hsl) / 60%);
|
|
19
|
-
--brand-color-accent-subtle: var(--base-color-scale-pink-0);
|
|
16
|
+
--brand-color-accent-primary: var(--base-color-scale-pink-5);
|
|
17
|
+
--brand-color-accent-secondary: var(--base-color-scale-purple-5);
|
|
20
18
|
--brand-color-text-default: var(--base-color-scale-gray-9);
|
|
21
19
|
--brand-color-text-muted: var(--base-color-scale-gray-6);
|
|
22
20
|
--brand-color-text-subtle: var(--base-color-scale-gray-5);
|
|
@@ -44,10 +42,8 @@
|
|
|
44
42
|
--brand-color-error-emphasis: var(--base-color-scale-red-5);
|
|
45
43
|
--brand-color-error-muted: hsl(var(--base-color-scale-red-4-hsl) / 60%);
|
|
46
44
|
--brand-color-error-subtle: hsl(var(--base-color-scale-red-4-hsl) / 85%);
|
|
47
|
-
--brand-color-accent-
|
|
48
|
-
--brand-color-accent-
|
|
49
|
-
--brand-color-accent-muted: hsl(var(--base-color-scale-pink-4-hsl) / 60%);
|
|
50
|
-
--brand-color-accent-subtle: hsl(var(--base-color-scale-pink-4-hsl) / 85%);
|
|
45
|
+
--brand-color-accent-primary: var(--base-color-scale-pink-3);
|
|
46
|
+
--brand-color-accent-secondary: var(--base-color-scale-purple-3);
|
|
51
47
|
--brand-color-text-default: var(--base-color-scale-white-0);
|
|
52
48
|
--brand-color-text-muted: var(--base-color-scale-gray-3);
|
|
53
49
|
--brand-color-text-subtle: var(--base-color-scale-gray-4);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -20,10 +20,8 @@
|
|
|
20
20
|
--brand-color-text-subtle: var(--base-color-scale-gray-5);
|
|
21
21
|
--brand-color-text-muted: var(--base-color-scale-gray-6);
|
|
22
22
|
--brand-color-text-default: var(--base-color-scale-gray-9);
|
|
23
|
-
--brand-color-accent-
|
|
24
|
-
--brand-color-accent-
|
|
25
|
-
--brand-color-accent-emphasis: var(--base-color-scale-pink-5);
|
|
26
|
-
--brand-color-accent-fg: var(--base-color-scale-pink-5);
|
|
23
|
+
--brand-color-accent-secondary: var(--base-color-scale-purple-5);
|
|
24
|
+
--brand-color-accent-primary: var(--base-color-scale-pink-5);
|
|
27
25
|
--brand-color-error-subtle: var(--base-color-scale-red-0);
|
|
28
26
|
--brand-color-error-muted: hsl(var(--base-color-scale-red-3-hsl) / 60%);
|
|
29
27
|
--brand-color-error-emphasis: var(--base-color-scale-red-5);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root,
|
|
7
7
|
[data-color-mode="light"] {
|
|
8
|
-
--brand-Accordion-toggle-color-start: var(--brand-color-accent-
|
|
9
|
-
--brand-Accordion-toggle-color-end: var(--brand-color-accent-
|
|
8
|
+
--brand-Accordion-toggle-color-start: var(--brand-color-accent-primary);
|
|
9
|
+
--brand-Accordion-toggle-color-end: var(--brand-color-accent-primary);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
[data-color-mode="dark"] {
|
|
13
|
-
--brand-Accordion-toggle-color-start: var(--brand-color-accent-
|
|
14
|
-
--brand-Accordion-toggle-color-end: var(--brand-color-accent-
|
|
13
|
+
--brand-Accordion-toggle-color-start: var(--brand-color-accent-primary);
|
|
14
|
+
--brand-Accordion-toggle-color-end: var(--brand-color-accent-primary);
|
|
15
15
|
}
|
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Thu, 15 Dec 2022 14:45:29 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root,
|
|
7
7
|
[data-color-mode="light"] {
|
|
8
|
-
--brand-Button-background-base: var(--base-color-scale-
|
|
8
|
+
--brand-Button-background-base: var(--base-color-scale-gray-9);
|
|
9
9
|
--brand-Button-background-overlay: linear-gradient(180deg, hsla(0, 0%, 100%, 0.15) 0, hsla(0, 0%, 100%, 0) 100%), var(--base-color-scale-black-0);
|
|
10
10
|
--brand-Button-background-disabled: var(--base-color-scale-gray-4);
|
|
11
11
|
--brand-Button-fg-primary-disabled: var(--base-color-scale-gray-2);
|
|
12
12
|
--brand-Button-fg-secondary-disabled: var(--base-color-scale-gray-3);
|
|
13
|
-
--brand-Button-shadow-default: 0 0 0 1px var(--base-color-scale-black-0);
|
|
14
|
-
--brand-Button-shadow-hover: 0 3px 2px rgba(0, 0, 0, 0.07), 0 7px 5px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03), 0 22px 18px rgba(0, 0, 0, 0.03), 0 42px 33px rgba(0, 0, 0, 0.02), 0 100px 80px rgba(0, 0, 0, 0.02);
|
|
13
|
+
--brand-Button-shadow-primary-default: inset 0 0 0 1px var(--base-color-scale-black-0);
|
|
14
|
+
--brand-Button-shadow-primary-hover: 0 3px 2px rgba(0, 0, 0, 0.07), 0 7px 5px rgba(0, 0, 0, 0.04), 0 12px 10px rgba(0, 0, 0, 0.03), 0 22px 18px rgba(0, 0, 0, 0.03), 0 42px 33px rgba(0, 0, 0, 0.02), 0 100px 80px rgba(0, 0, 0, 0.02);
|
|
15
|
+
--brand-Button-shadow-secondary-default: inset 0 0 0 1px var(--brand-color-border-default);
|
|
16
|
+
--brand-Button-shadow-secondary-hover: inset 0 0 0 2px var(--brand-color-neutral-emphasisPlus);
|
|
15
17
|
--brand-Button-shadow-focus: var(--brand-color-focus);
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
[data-color-mode="dark"] {
|
|
19
|
-
--brand-Button-background-base: var(--base-color-scale-
|
|
21
|
+
--brand-Button-background-base: var(--base-color-scale-gray-0);
|
|
20
22
|
--brand-Button-background-overlay: linear-gradient(180deg, hsla(0, 0%, 100%, 0.15) 0, hsla(0, 0%, 100%, 0) 100%), var(--base-color-scale-white-0);
|
|
21
23
|
--brand-Button-background-disabled: var(--base-color-scale-gray-4);
|
|
22
24
|
--brand-Button-fg-primary-disabled: var(--base-color-scale-gray-2);
|
|
23
25
|
--brand-Button-fg-secondary-disabled: var(--base-color-scale-gray-4);
|
|
24
|
-
--brand-Button-shadow-default: 0 0 0 1px var(--base-color-scale-white-0);
|
|
25
|
-
--brand-Button-shadow-hover: 0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07);
|
|
26
|
+
--brand-Button-shadow-primary-default: inset 0 0 0 1px var(--base-color-scale-white-0);
|
|
27
|
+
--brand-Button-shadow-primary-hover: 0 4px 7px rgba(0, 0, 0, 0.15), 0 100px 80px rgba(255, 255, 255, 0.02), 0 42px 33px rgba(255, 255, 255, 0.024), 0 22px 18px rgba(255, 255, 255, 0.028), 0 12px 10px rgba(255, 255, 255, 0.034), 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07);
|
|
28
|
+
--brand-Button-shadow-secondary-default: inset 0 0 0 1px var(--brand-color-border-default);
|
|
29
|
+
--brand-Button-shadow-secondary-hover: inset 0 0 0 2px var(--brand-color-neutral-emphasisPlus);
|
|
26
30
|
--brand-Button-shadow-focus: var(--brand-color-focus);
|
|
27
31
|
}
|