@@ -257,7 +257,7 @@ Object {
style="position: relative; z-index: 1;"
>
@@ -55,7 +55,7 @@ exports[`Caret renders cardinal directions 2`] = `
@@ -86,7 +86,7 @@ exports[`Caret renders cardinal directions 3`] = `
@@ -117,7 +117,7 @@ exports[`Caret renders cardinal directions 4`] = `
@@ -148,7 +148,7 @@ exports[`Caret renders cardinal directions 5`] = `
@@ -179,7 +179,7 @@ exports[`Caret renders cardinal directions 6`] = `
@@ -210,7 +210,7 @@ exports[`Caret renders cardinal directions 7`] = `
@@ -241,7 +241,7 @@ exports[`Caret renders cardinal directions 8`] = `
@@ -272,7 +272,7 @@ exports[`Caret renders cardinal directions 9`] = `
@@ -303,7 +303,7 @@ exports[`Caret renders cardinal directions 10`] = `
@@ -334,7 +334,7 @@ exports[`Caret renders cardinal directions 11`] = `
@@ -365,7 +365,7 @@ exports[`Caret renders cardinal directions 12`] = `
diff --git a/src/__tests__/__snapshots__/CircleBadge.tsx.snap b/src/__tests__/__snapshots__/CircleBadge.tsx.snap
index 110629fca65..c1b358fecbb 100644
--- a/src/__tests__/__snapshots__/CircleBadge.tsx.snap
+++ b/src/__tests__/__snapshots__/CircleBadge.tsx.snap
@@ -46,7 +46,7 @@ exports[`CircleBadge renders consistently 1`] = `
justify-content: center;
background-color: #ffffff;
border-radius: 50%;
- box-shadow: 0 3px 6px rgba(149,157,165,0.15);
+ box-shadow: 0 3px 6px rgba(140,149,159,0.15);
width: 96px;
height: 96px;
}
@@ -77,7 +77,7 @@ exports[`CircleBadge respects the inline prop 1`] = `
justify-content: center;
background-color: #ffffff;
border-radius: 50%;
- box-shadow: 0 3px 6px rgba(149,157,165,0.15);
+ box-shadow: 0 3px 6px rgba(140,149,159,0.15);
width: 96px;
height: 96px;
}
@@ -103,7 +103,7 @@ exports[`CircleBadge respects the variant prop 1`] = `
justify-content: center;
background-color: #ffffff;
border-radius: 50%;
- box-shadow: 0 3px 6px rgba(149,157,165,0.15);
+ box-shadow: 0 3px 6px rgba(140,149,159,0.15);
width: 128px;
height: 128px;
}
@@ -129,7 +129,7 @@ exports[`CircleBadge uses the size prop to override the variant prop 1`] = `
justify-content: center;
background-color: #ffffff;
border-radius: 50%;
- box-shadow: 0 3px 6px rgba(149,157,165,0.15);
+ box-shadow: 0 3px 6px rgba(140,149,159,0.15);
width: 20px;
height: 20px;
}
diff --git a/src/__tests__/__snapshots__/CircleOcticon.tsx.snap b/src/__tests__/__snapshots__/CircleOcticon.tsx.snap
index d156ef53572..3ca9e0cfe9b 100644
--- a/src/__tests__/__snapshots__/CircleOcticon.tsx.snap
+++ b/src/__tests__/__snapshots__/CircleOcticon.tsx.snap
@@ -8,7 +8,7 @@ exports[`CircleOcticon renders consistently 1`] = `
border-width: 0;
border-radius: 50%;
border-style: solid;
- border-color: #e1e4e8;
+ border-color: #d0d7de;
}
.c1 {
diff --git a/src/__tests__/__snapshots__/CounterLabel.tsx.snap b/src/__tests__/__snapshots__/CounterLabel.tsx.snap
index f1cbb169782..0e2e4f2f9a0 100644
--- a/src/__tests__/__snapshots__/CounterLabel.tsx.snap
+++ b/src/__tests__/__snapshots__/CounterLabel.tsx.snap
@@ -8,8 +8,8 @@ exports[`CounterLabel renders consistently 1`] = `
font-weight: 600;
line-height: 1;
border-radius: 20px;
- color: #24292e;
- background-color: rgba(209,213,218,0.5);
+ color: #24292f;
+ background-color: rgba(175,184,193,0.2);
}
.c0:empty {
diff --git a/src/__tests__/__snapshots__/Dialog.tsx.snap b/src/__tests__/__snapshots__/Dialog.tsx.snap
index ef58dbb482b..4add54b6e7e 100644
--- a/src/__tests__/__snapshots__/Dialog.tsx.snap
+++ b/src/__tests__/__snapshots__/Dialog.tsx.snap
@@ -5,14 +5,14 @@ exports[`Dialog Dialog.Header renders consistently 1`] = `
font-size: 14px;
font-weight: 600;
font-family: sans-serif;
- color: #24292e;
+ color: #24292f;
}
.c0 {
padding: 16px;
background-color: #f6f8fa;
border-radius: 6px 6px 0px 0px;
- border-bottom: 1px solid #e1e4e8;
+ border-bottom: 1px solid #d0d7de;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -30,7 +30,7 @@ exports[`Dialog Dialog.Header renders consistently 1`] = `
>
`;
exports[`Link respectes the "muted" prop 1`] = `
.c0 {
- color: #586069;
+ color: #57606a;
-webkit-text-decoration: none;
text-decoration: none;
}
@@ -151,7 +151,7 @@ exports[`Link respectes the "muted" prop 1`] = `
.c0:hover {
-webkit-text-decoration: none;
text-decoration: none;
- color: #0366d6;
+ color: #0969da;
}
.c0:is(button) {
@@ -179,7 +179,7 @@ exports[`Link respectes the "muted" prop 1`] = `
exports[`Link respects hoverColor prop 1`] = `
.c0 {
- color: #0366d6;
+ color: #0969da;
-webkit-text-decoration: none;
text-decoration: none;
}
@@ -187,7 +187,7 @@ exports[`Link respects hoverColor prop 1`] = `
.c0:hover {
-webkit-text-decoration: underline;
text-decoration: underline;
- color: #0366d6;
+ color: #0969da;
}
.c0:is(button) {
diff --git a/src/__tests__/__snapshots__/Pagehead.tsx.snap b/src/__tests__/__snapshots__/Pagehead.tsx.snap
index 1a5d4e7cc8a..ebfe2fecc34 100644
--- a/src/__tests__/__snapshots__/Pagehead.tsx.snap
+++ b/src/__tests__/__snapshots__/Pagehead.tsx.snap
@@ -6,7 +6,7 @@ exports[`Pagehead renders consistently 1`] = `
padding-top: 24px;
padding-bottom: 24px;
margin-bottom: 24px;
- border-bottom: 1px solid #e1e4e8;
+ border-bottom: 1px solid #d0d7de;
}
and
1`] = `
.c0 {
- background-color: #ffeef0;
+ background-color: #FFEBE9;
border-width: 1px;
border-style: solid;
- border-color: #e1e4e8;
+ border-color: #d0d7de;
border-radius: 6px;
position: relative;
}
@@ -31,12 +31,12 @@ exports[`PointerBox passes the "bg" prop to both and 1`] = `
>
@@ -46,7 +46,7 @@ exports[`PointerBox passes the "bg" prop to both and 1`] = `
exports[`PointerBox passes the "borderColor" prop to both and 1`] = `
.c0 {
- border-color: #d73a49;
+ border-color: #cf222e;
border-width: 1px;
border-style: solid;
border-radius: 6px;
@@ -79,7 +79,7 @@ exports[`PointerBox passes the "borderColor" prop to both and
@@ -91,7 +91,7 @@ exports[`PointerBox renders a in with relative positioning 1
.c0 {
border-width: 1px;
border-style: solid;
- border-color: #e1e4e8;
+ border-color: #d0d7de;
border-radius: 6px;
position: relative;
}
@@ -122,7 +122,7 @@ exports[`PointerBox renders a in with relative positioning 1
@@ -134,7 +134,7 @@ exports[`PointerBox renders consistently 1`] = `
.c0 {
border-width: 1px;
border-style: solid;
- border-color: #e1e4e8;
+ border-color: #d0d7de;
border-radius: 6px;
position: relative;
}
@@ -165,7 +165,7 @@ exports[`PointerBox renders consistently 1`] = `
diff --git a/src/__tests__/__snapshots__/Popover.tsx.snap b/src/__tests__/__snapshots__/Popover.tsx.snap
index f00886250e1..07ec53303e0 100644
--- a/src/__tests__/__snapshots__/Popover.tsx.snap
+++ b/src/__tests__/__snapshots__/Popover.tsx.snap
@@ -8,7 +8,7 @@ exports[`Popover Popover.Content renders consistently 1`] = `
}
.c2 {
- border: 1px solid #e1e4e8;
+ border: 1px solid #d0d7de;
border-radius: 6px;
position: relative;
width: 232px;
@@ -30,7 +30,7 @@ exports[`Popover Popover.Content renders consistently 1`] = `
top: -16px;
margin-left: -9px;
border: 8px solid transparent;
- border-bottom-color: #e1e4e8;
+ border-bottom-color: #d0d7de;
}
.c2::after {
@@ -54,7 +54,7 @@ exports[`Popover Popover.Content renders consistently 1`] = `
.c0.caret-pos--bottom-right .c2::before,
.c0.caret-pos--bottom-left .c2::before {
bottom: -16px;
- border-top-color: #e1e4e8;
+ border-top-color: #d0d7de;
}
.c0.caret-pos--bottom .c2::after,
@@ -147,7 +147,7 @@ exports[`Popover Popover.Content renders consistently 1`] = `
.c0.caret-pos--right-top .c2::before,
.c0.caret-pos--right-bottom .c2::before {
right: -16px;
- border-left-color: #e1e4e8;
+ border-left-color: #d0d7de;
}
.c0.caret-pos--right .c2::after,
@@ -161,7 +161,7 @@ exports[`Popover Popover.Content renders consistently 1`] = `
.c0.caret-pos--left-top .c2::before,
.c0.caret-pos--left-bottom .c2::before {
left: -16px;
- border-right-color: #e1e4e8;
+ border-right-color: #d0d7de;
}
.c0.caret-pos--left .c2::after,
@@ -215,7 +215,7 @@ exports[`Popover renders consistently 1`] = `
}
.c2 {
- border: 1px solid #e1e4e8;
+ border: 1px solid #d0d7de;
border-radius: 6px;
position: relative;
width: 232px;
@@ -237,7 +237,7 @@ exports[`Popover renders consistently 1`] = `
top: -16px;
margin-left: -9px;
border: 8px solid transparent;
- border-bottom-color: #e1e4e8;
+ border-bottom-color: #d0d7de;
}
.c2::after {
@@ -261,7 +261,7 @@ exports[`Popover renders consistently 1`] = `
.c0.caret-pos--bottom-right .c2::before,
.c0.caret-pos--bottom-left .c2::before {
bottom: -16px;
- border-top-color: #e1e4e8;
+ border-top-color: #d0d7de;
}
.c0.caret-pos--bottom .c2::after,
@@ -354,7 +354,7 @@ exports[`Popover renders consistently 1`] = `
.c0.caret-pos--right-top .c2::before,
.c0.caret-pos--right-bottom .c2::before {
right: -16px;
- border-left-color: #e1e4e8;
+ border-left-color: #d0d7de;
}
.c0.caret-pos--right .c2::after,
@@ -368,7 +368,7 @@ exports[`Popover renders consistently 1`] = `
.c0.caret-pos--left-top .c2::before,
.c0.caret-pos--left-bottom .c2::before {
left: -16px;
- border-right-color: #e1e4e8;
+ border-right-color: #d0d7de;
}
.c0.caret-pos--left .c2::after,
@@ -422,7 +422,7 @@ exports[`Popover renders correctly for a caret position of bottom 1`] = `
}
.c2 {
- border: 1px solid #e1e4e8;
+ border: 1px solid #d0d7de;
border-radius: 6px;
position: relative;
width: 232px;
@@ -444,7 +444,7 @@ exports[`Popover renders correctly for a caret position of bottom 1`] = `
top: -16px;
margin-left: -9px;
border: 8px solid transparent;
- border-bottom-color: #e1e4e8;
+ border-bottom-color: #d0d7de;
}
.c2::after {
@@ -468,7 +468,7 @@ exports[`Popover renders correctly for a caret position of bottom 1`] = `
.c0.caret-pos--bottom-right .c2::before,
.c0.caret-pos--bottom-left .c2::before {
bottom: -16px;
- border-top-color: #e1e4e8;
+ border-top-color: #d0d7de;
}
.c0.caret-pos--bottom .c2::after,
@@ -561,7 +561,7 @@ exports[`Popover renders correctly for a caret position of bottom 1`] = `
.c0.caret-pos--right-top .c2::before,
.c0.caret-pos--right-bottom .c2::before {
right: -16px;
- border-left-color: #e1e4e8;
+ border-left-color: #d0d7de;
}
.c0.caret-pos--right .c2::after,
@@ -575,7 +575,7 @@ exports[`Popover renders correctly for a caret position of bottom 1`] = `
.c0.caret-pos--left-top .c2::before,
.c0.caret-pos--left-bottom .c2::before {
left: -16px;
- border-right-color: #e1e4e8;
+ border-right-color: #d0d7de;
}
.c0.caret-pos--left .c2::after,
@@ -778,7 +778,7 @@ exports[`Popover renders correctly for a caret position of bottom-left 1`] = `
}
.c2 {
- border: 1px solid #e1e4e8;
+ border: 1px solid #d0d7de;
border-radius: 6px;
position: relative;
width: 232px;
@@ -800,7 +800,7 @@ exports[`Popover renders correctly for a caret position of bottom-left 1`] = `
top: -16px;
margin-left: -9px;
border: 8px solid transparent;
- border-bottom-color: #e1e4e8;
+ border-bottom-color: #d0d7de;
}
.c2::after {
@@ -824,7 +824,7 @@ exports[`Popover renders correctly for a caret position of bottom-left 1`] = `
.c0.caret-pos--bottom-right .c2::before,
.c0.caret-pos--bottom-left .c2::before {
bottom: -16px;
- border-top-color: #e1e4e8;
+ border-top-color: #d0d7de;
}
.c0.caret-pos--bottom .c2::after,
@@ -917,7 +917,7 @@ exports[`Popover renders correctly for a caret position of bottom-left 1`] = `
.c0.caret-pos--right-top .c2::before,
.c0.caret-pos--right-bottom .c2::before {
right: -16px;
- border-left-color: #e1e4e8;
+ border-left-color: #d0d7de;
}
.c0.caret-pos--right .c2::after,
@@ -931,7 +931,7 @@ exports[`Popover renders correctly for a caret position of bottom-left 1`] = `
.c0.caret-pos--left-top .c2::before,
.c0.caret-pos--left-bottom .c2::before {
left: -16px;
- border-right-color: #e1e4e8;
+ border-right-color: #d0d7de;
}
.c0.caret-pos--left .c2::after,
@@ -1134,7 +1134,7 @@ exports[`Popover renders correctly for a caret position of bottom-right 1`] = `
}
.c2 {
- border: 1px solid #e1e4e8;
+ border: 1px solid #d0d7de;
border-radius: 6px;
position: relative;
width: 232px;
@@ -1156,7 +1156,7 @@ exports[`Popover renders correctly for a caret position of bottom-right 1`] = `
top: -16px;
margin-left: -9px;
border: 8px solid transparent;
- border-bottom-color: #e1e4e8;
+ border-bottom-color: #d0d7de;
}
.c2::after {
@@ -1180,7 +1180,7 @@ exports[`Popover renders correctly for a caret position of bottom-right 1`] = `
.c0.caret-pos--bottom-right .c2::before,
.c0.caret-pos--bottom-left .c2::before {
bottom: -16px;
- border-top-color: #e1e4e8;
+ border-top-color: #d0d7de;
}
.c0.caret-pos--bottom .c2::after,
@@ -1273,7 +1273,7 @@ exports[`Popover renders correctly for a caret position of bottom-right 1`] = `
.c0.caret-pos--right-top .c2::before,
.c0.caret-pos--right-bottom .c2::before {
right: -16px;
- border-left-color: #e1e4e8;
+ border-left-color: #d0d7de;
}
.c0.caret-pos--right .c2::after,
@@ -1287,7 +1287,7 @@ exports[`Popover renders correctly for a caret position of bottom-right 1`] = `
.c0.caret-pos--left-top .c2::before,
.c0.caret-pos--left-bottom .c2::before {
left: -16px;
- border-right-color: #e1e4e8;
+ border-right-color: #d0d7de;
}
.c0.caret-pos--left .c2::after,
@@ -1490,7 +1490,7 @@ exports[`Popover renders correctly for a caret position of left 1`] = `
}
.c2 {
- border: 1px solid #e1e4e8;
+ border: 1px solid #d0d7de;
border-radius: 6px;
position: relative;
width: 232px;
@@ -1512,7 +1512,7 @@ exports[`Popover renders correctly for a caret position of left 1`] = `
top: -16px;
margin-left: -9px;
border: 8px solid transparent;
- border-bottom-color: #e1e4e8;
+ border-bottom-color: #d0d7de;
}
.c2::after {
@@ -1536,7 +1536,7 @@ exports[`Popover renders correctly for a caret position of left 1`] = `
.c0.caret-pos--bottom-right .c2::before,
.c0.caret-pos--bottom-left .c2::before {
bottom: -16px;
- border-top-color: #e1e4e8;
+ border-top-color: #d0d7de;
}
.c0.caret-pos--bottom .c2::after,
@@ -1629,7 +1629,7 @@ exports[`Popover renders correctly for a caret position of left 1`] = `
.c0.caret-pos--right-top .c2::before,
.c0.caret-pos--right-bottom .c2::before {
right: -16px;
- border-left-color: #e1e4e8;
+ border-left-color: #d0d7de;
}
.c0.caret-pos--right .c2::after,
@@ -1643,7 +1643,7 @@ exports[`Popover renders correctly for a caret position of left 1`] = `
.c0.caret-pos--left-top .c2::before,
.c0.caret-pos--left-bottom .c2::before {
left: -16px;
- border-right-color: #e1e4e8;
+ border-right-color: #d0d7de;
}
.c0.caret-pos--left .c2::after,
@@ -1846,7 +1846,7 @@ exports[`Popover renders correctly for a caret position of left-bottom 1`] = `
}
.c2 {
- border: 1px solid #e1e4e8;
+ border: 1px solid #d0d7de;
border-radius: 6px;
position: relative;
width: 232px;
@@ -1868,7 +1868,7 @@ exports[`Popover renders correctly for a caret position of left-bottom 1`] = `
top: -16px;
margin-left: -9px;
border: 8px solid transparent;
- border-bottom-color: #e1e4e8;
+ border-bottom-color: #d0d7de;
}
.c2::after {
@@ -1892,7 +1892,7 @@ exports[`Popover renders correctly for a caret position of left-bottom 1`] = `
.c0.caret-pos--bottom-right .c2::before,
.c0.caret-pos--bottom-left .c2::before {
bottom: -16px;
- border-top-color: #e1e4e8;
+ border-top-color: #d0d7de;
}
.c0.caret-pos--bottom .c2::after,
@@ -1985,7 +1985,7 @@ exports[`Popover renders correctly for a caret position of left-bottom 1`] = `
.c0.caret-pos--right-top .c2::before,
.c0.caret-pos--right-bottom .c2::before {
right: -16px;
- border-left-color: #e1e4e8;
+ border-left-color: #d0d7de;
}
.c0.caret-pos--right .c2::after,
@@ -1999,7 +1999,7 @@ exports[`Popover renders correctly for a caret position of left-bottom 1`] = `
.c0.caret-pos--left-top .c2::before,
.c0.caret-pos--left-bottom .c2::before {
left: -16px;
- border-right-color: #e1e4e8;
+ border-right-color: #d0d7de;
}
.c0.caret-pos--left .c2::after,
@@ -2202,7 +2202,7 @@ exports[`Popover renders correctly for a caret position of left-top 1`] = `
}
.c2 {
- border: 1px solid #e1e4e8;
+ border: 1px solid #d0d7de;
border-radius: 6px;
position: relative;
width: 232px;
@@ -2224,7 +2224,7 @@ exports[`Popover renders correctly for a caret position of left-top 1`] = `
top: -16px;
margin-left: -9px;
border: 8px solid transparent;
- border-bottom-color: #e1e4e8;
+ border-bottom-color: #d0d7de;
}
.c2::after {
@@ -2248,7 +2248,7 @@ exports[`Popover renders correctly for a caret position of left-top 1`] = `
.c0.caret-pos--bottom-right .c2::before,
.c0.caret-pos--bottom-left .c2::before {
bottom: -16px;
- border-top-color: #e1e4e8;
+ border-top-color: #d0d7de;
}
.c0.caret-pos--bottom .c2::after,
@@ -2341,7 +2341,7 @@ exports[`Popover renders correctly for a caret position of left-top 1`] = `
.c0.caret-pos--right-top .c2::before,
.c0.caret-pos--right-bottom .c2::before {
right: -16px;
- border-left-color: #e1e4e8;
+ border-left-color: #d0d7de;
}
.c0.caret-pos--right .c2::after,
@@ -2355,7 +2355,7 @@ exports[`Popover renders correctly for a caret position of left-top 1`] = `
.c0.caret-pos--left-top .c2::before,
.c0.caret-pos--left-bottom .c2::before {
left: -16px;
- border-right-color: #e1e4e8;
+ border-right-color: #d0d7de;
}
.c0.caret-pos--left .c2::after,
@@ -2558,7 +2558,7 @@ exports[`Popover renders correctly for a caret position of right 1`] = `
}
.c2 {
- border: 1px solid #e1e4e8;
+ border: 1px solid #d0d7de;
border-radius: 6px;
position: relative;
width: 232px;
@@ -2580,7 +2580,7 @@ exports[`Popover renders correctly for a caret position of right 1`] = `
top: -16px;
margin-left: -9px;
border: 8px solid transparent;
- border-bottom-color: #e1e4e8;
+ border-bottom-color: #d0d7de;
}
.c2::after {
@@ -2604,7 +2604,7 @@ exports[`Popover renders correctly for a caret position of right 1`] = `
.c0.caret-pos--bottom-right .c2::before,
.c0.caret-pos--bottom-left .c2::before {
bottom: -16px;
- border-top-color: #e1e4e8;
+ border-top-color: #d0d7de;
}
.c0.caret-pos--bottom .c2::after,
@@ -2697,7 +2697,7 @@ exports[`Popover renders correctly for a caret position of right 1`] = `
.c0.caret-pos--right-top .c2::before,
.c0.caret-pos--right-bottom .c2::before {
right: -16px;
- border-left-color: #e1e4e8;
+ border-left-color: #d0d7de;
}
.c0.caret-pos--right .c2::after,
@@ -2711,7 +2711,7 @@ exports[`Popover renders correctly for a caret position of right 1`] = `
.c0.caret-pos--left-top .c2::before,
.c0.caret-pos--left-bottom .c2::before {
left: -16px;
- border-right-color: #e1e4e8;
+ border-right-color: #d0d7de;
}
.c0.caret-pos--left .c2::after,
@@ -2914,7 +2914,7 @@ exports[`Popover renders correctly for a caret position of right-bottom 1`] = `
}
.c2 {
- border: 1px solid #e1e4e8;
+ border: 1px solid #d0d7de;
border-radius: 6px;
position: relative;
width: 232px;
@@ -2936,7 +2936,7 @@ exports[`Popover renders correctly for a caret position of right-bottom 1`] = `
top: -16px;
margin-left: -9px;
border: 8px solid transparent;
- border-bottom-color: #e1e4e8;
+ border-bottom-color: #d0d7de;
}
.c2::after {
@@ -2960,7 +2960,7 @@ exports[`Popover renders correctly for a caret position of right-bottom 1`] = `
.c0.caret-pos--bottom-right .c2::before,
.c0.caret-pos--bottom-left .c2::before {
bottom: -16px;
- border-top-color: #e1e4e8;
+ border-top-color: #d0d7de;
}
.c0.caret-pos--bottom .c2::after,
@@ -3053,7 +3053,7 @@ exports[`Popover renders correctly for a caret position of right-bottom 1`] = `
.c0.caret-pos--right-top .c2::before,
.c0.caret-pos--right-bottom .c2::before {
right: -16px;
- border-left-color: #e1e4e8;
+ border-left-color: #d0d7de;
}
.c0.caret-pos--right .c2::after,
@@ -3067,7 +3067,7 @@ exports[`Popover renders correctly for a caret position of right-bottom 1`] = `
.c0.caret-pos--left-top .c2::before,
.c0.caret-pos--left-bottom .c2::before {
left: -16px;
- border-right-color: #e1e4e8;
+ border-right-color: #d0d7de;
}
.c0.caret-pos--left .c2::after,
@@ -3270,7 +3270,7 @@ exports[`Popover renders correctly for a caret position of right-top 1`] = `
}
.c2 {
- border: 1px solid #e1e4e8;
+ border: 1px solid #d0d7de;
border-radius: 6px;
position: relative;
width: 232px;
@@ -3292,7 +3292,7 @@ exports[`Popover renders correctly for a caret position of right-top 1`] = `
top: -16px;
margin-left: -9px;
border: 8px solid transparent;
- border-bottom-color: #e1e4e8;
+ border-bottom-color: #d0d7de;
}
.c2::after {
@@ -3316,7 +3316,7 @@ exports[`Popover renders correctly for a caret position of right-top 1`] = `
.c0.caret-pos--bottom-right .c2::before,
.c0.caret-pos--bottom-left .c2::before {
bottom: -16px;
- border-top-color: #e1e4e8;
+ border-top-color: #d0d7de;
}
.c0.caret-pos--bottom .c2::after,
@@ -3409,7 +3409,7 @@ exports[`Popover renders correctly for a caret position of right-top 1`] = `
.c0.caret-pos--right-top .c2::before,
.c0.caret-pos--right-bottom .c2::before {
right: -16px;
- border-left-color: #e1e4e8;
+ border-left-color: #d0d7de;
}
.c0.caret-pos--right .c2::after,
@@ -3423,7 +3423,7 @@ exports[`Popover renders correctly for a caret position of right-top 1`] = `
.c0.caret-pos--left-top .c2::before,
.c0.caret-pos--left-bottom .c2::before {
left: -16px;
- border-right-color: #e1e4e8;
+ border-right-color: #d0d7de;
}
.c0.caret-pos--left .c2::after,
@@ -3626,7 +3626,7 @@ exports[`Popover renders correctly for a caret position of top 1`] = `
}
.c2 {
- border: 1px solid #e1e4e8;
+ border: 1px solid #d0d7de;
border-radius: 6px;
position: relative;
width: 232px;
@@ -3648,7 +3648,7 @@ exports[`Popover renders correctly for a caret position of top 1`] = `
top: -16px;
margin-left: -9px;
border: 8px solid transparent;
- border-bottom-color: #e1e4e8;
+ border-bottom-color: #d0d7de;
}
.c2::after {
@@ -3672,7 +3672,7 @@ exports[`Popover renders correctly for a caret position of top 1`] = `
.c0.caret-pos--bottom-right .c2::before,
.c0.caret-pos--bottom-left .c2::before {
bottom: -16px;
- border-top-color: #e1e4e8;
+ border-top-color: #d0d7de;
}
.c0.caret-pos--bottom .c2::after,
@@ -3765,7 +3765,7 @@ exports[`Popover renders correctly for a caret position of top 1`] = `
.c0.caret-pos--right-top .c2::before,
.c0.caret-pos--right-bottom .c2::before {
right: -16px;
- border-left-color: #e1e4e8;
+ border-left-color: #d0d7de;
}
.c0.caret-pos--right .c2::after,
@@ -3779,7 +3779,7 @@ exports[`Popover renders correctly for a caret position of top 1`] = `
.c0.caret-pos--left-top .c2::before,
.c0.caret-pos--left-bottom .c2::before {
left: -16px;
- border-right-color: #e1e4e8;
+ border-right-color: #d0d7de;
}
.c0.caret-pos--left .c2::after,
@@ -3982,7 +3982,7 @@ exports[`Popover renders correctly for a caret position of top-left 1`] = `
}
.c2 {
- border: 1px solid #e1e4e8;
+ border: 1px solid #d0d7de;
border-radius: 6px;
position: relative;
width: 232px;
@@ -4004,7 +4004,7 @@ exports[`Popover renders correctly for a caret position of top-left 1`] = `
top: -16px;
margin-left: -9px;
border: 8px solid transparent;
- border-bottom-color: #e1e4e8;
+ border-bottom-color: #d0d7de;
}
.c2::after {
@@ -4028,7 +4028,7 @@ exports[`Popover renders correctly for a caret position of top-left 1`] = `
.c0.caret-pos--bottom-right .c2::before,
.c0.caret-pos--bottom-left .c2::before {
bottom: -16px;
- border-top-color: #e1e4e8;
+ border-top-color: #d0d7de;
}
.c0.caret-pos--bottom .c2::after,
@@ -4121,7 +4121,7 @@ exports[`Popover renders correctly for a caret position of top-left 1`] = `
.c0.caret-pos--right-top .c2::before,
.c0.caret-pos--right-bottom .c2::before {
right: -16px;
- border-left-color: #e1e4e8;
+ border-left-color: #d0d7de;
}
.c0.caret-pos--right .c2::after,
@@ -4135,7 +4135,7 @@ exports[`Popover renders correctly for a caret position of top-left 1`] = `
.c0.caret-pos--left-top .c2::before,
.c0.caret-pos--left-bottom .c2::before {
left: -16px;
- border-right-color: #e1e4e8;
+ border-right-color: #d0d7de;
}
.c0.caret-pos--left .c2::after,
@@ -4338,7 +4338,7 @@ exports[`Popover renders correctly for a caret position of top-right 1`] = `
}
.c2 {
- border: 1px solid #e1e4e8;
+ border: 1px solid #d0d7de;
border-radius: 6px;
position: relative;
width: 232px;
@@ -4360,7 +4360,7 @@ exports[`Popover renders correctly for a caret position of top-right 1`] = `
top: -16px;
margin-left: -9px;
border: 8px solid transparent;
- border-bottom-color: #e1e4e8;
+ border-bottom-color: #d0d7de;
}
.c2::after {
@@ -4384,7 +4384,7 @@ exports[`Popover renders correctly for a caret position of top-right 1`] = `
.c0.caret-pos--bottom-right .c2::before,
.c0.caret-pos--bottom-left .c2::before {
bottom: -16px;
- border-top-color: #e1e4e8;
+ border-top-color: #d0d7de;
}
.c0.caret-pos--bottom .c2::after,
@@ -4477,7 +4477,7 @@ exports[`Popover renders correctly for a caret position of top-right 1`] = `
.c0.caret-pos--right-top .c2::before,
.c0.caret-pos--right-bottom .c2::before {
right: -16px;
- border-left-color: #e1e4e8;
+ border-left-color: #d0d7de;
}
.c0.caret-pos--right .c2::after,
@@ -4491,7 +4491,7 @@ exports[`Popover renders correctly for a caret position of top-right 1`] = `
.c0.caret-pos--left-top .c2::before,
.c0.caret-pos--left-bottom .c2::before {
left: -16px;
- border-right-color: #e1e4e8;
+ border-right-color: #d0d7de;
}
.c0.caret-pos--left .c2::after,
diff --git a/src/__tests__/__snapshots__/ProgressBar.tsx.snap b/src/__tests__/__snapshots__/ProgressBar.tsx.snap
index 655539f2ee8..243396d5860 100644
--- a/src/__tests__/__snapshots__/ProgressBar.tsx.snap
+++ b/src/__tests__/__snapshots__/ProgressBar.tsx.snap
@@ -3,7 +3,7 @@
exports[`ProgressBar renders consistently 1`] = `
.c1 {
width: 0;
- background-color: #28a745;
+ background-color: #2da44e;
}
.c0 {
@@ -12,7 +12,7 @@ exports[`ProgressBar renders consistently 1`] = `
display: -ms-flexbox;
display: flex;
overflow: hidden;
- background-color: #e1e4e8;
+ background-color: #d0d7de;
border-radius: 3px;
height: 8px;
}
@@ -29,7 +29,7 @@ exports[`ProgressBar renders consistently 1`] = `
exports[`ProgressBar respects the "progress" prop 1`] = `
.c1 {
width: 80%;
- background-color: #28a745;
+ background-color: #2da44e;
}
.c0 {
@@ -38,7 +38,7 @@ exports[`ProgressBar respects the "progress" prop 1`] = `
display: -ms-flexbox;
display: flex;
overflow: hidden;
- background-color: #e1e4e8;
+ background-color: #d0d7de;
border-radius: 3px;
height: 8px;
}
diff --git a/src/__tests__/__snapshots__/SelectMenu.tsx.snap b/src/__tests__/__snapshots__/SelectMenu.tsx.snap
index 0fa494a034f..cdaa899d40c 100644
--- a/src/__tests__/__snapshots__/SelectMenu.tsx.snap
+++ b/src/__tests__/__snapshots__/SelectMenu.tsx.snap
@@ -23,10 +23,10 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
text-decoration: none;
text-align: center;
font-size: 14px;
- color: #24292e;
- background-color: #fafbfc;
- border: 1px solid rgba(27,31,35,0.15);
- box-shadow: 0 1px 0 rgba(27,31,35,0.04),inset 0 1px 0 rgba(255,255,255,0.25);
+ color: #24292f;
+ background-color: #f6f8fa;
+ border: 1px solid rgba(27,31,36,0.15);
+ box-shadow: 0 1px 0 rgba(27,31,36,0.04),inset 0 1px 0 rgba(255,255,255,0.25);
}
.c1:hover {
@@ -48,23 +48,23 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
.c1:hover {
background-color: #f3f4f6;
- border-color: rgba(27,31,35,0.15);
+ border-color: rgba(27,31,36,0.15);
}
.c1:focus {
- border-color: rgba(27,31,35,0.15);
- box-shadow: 0 0 0 3px rgba(3,102,214,0.3);
+ border-color: rgba(27,31,36,0.15);
+ box-shadow: 0 0 0 3px rgba(9,105,218,0.3);
}
.c1:active {
background-color: hsla(220,14%,94%,1);
- box-shadow: inset 0 0.15em 0.3em rgba(27,31,35,0.15);
+ box-shadow: inset 0 0.15em 0.3em rgba(27,31,36,0.15);
}
.c1:disabled {
- color: #959da5;
- background-color: #fafbfc;
- border-color: rgba(27,31,35,0.15);
+ color: #57606a;
+ background-color: #f6f8fa;
+ border-color: rgba(27,31,36,0.15);
}
.c6 {
@@ -72,18 +72,18 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
margin: 0;
font-size: 12px;
font-weight: 600;
- color: #6a737d;
+ color: #57606a;
background-color: #f6f8fa;
- border-bottom: 1px solid hsla(214,13%,93%,1);
+ border-bottom: 1px solid hsla(210,18%,87%,1);
}
.c7 {
margin-top: -1px;
padding: 8px 16px;
font-size: 12px;
- color: #6a737d;
+ color: #57606a;
text-align: center;
- border-top: 1px solid hsla(214,13%,93%,1);
+ border-top: 1px solid hsla(210,18%,87%,1);
}
.c5 {
@@ -101,8 +101,8 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
cursor: pointer;
background-color: #ffffff;
border: 0;
- border-bottom: 1px solid hsla(214,13%,93%,1);
- color: #586069;
+ border-bottom: 1px solid hsla(210,18%,87%,1);
+ color: #57606a;
-webkit-text-decoration: none;
text-decoration: none;
font-size: 12px;
@@ -143,7 +143,7 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
.c5[aria-checked='true'] {
font-weight: 500;
- color: #24292e;
+ color: #24292f;
}
.c5[aria-checked='true'] .SelectMenu-selected-icon {
@@ -185,7 +185,7 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
flex-direction: column;
background-color: #ffffff;
border-radius: 6px;
- box-shadow: 0 1px 0 rgba(27,31,35,0.04);
+ box-shadow: 0 1px 0 rgba(27,31,36,0.04);
-webkit-animation: lejQAW 0.12s cubic-bezier(0,0.1,0.1,1) backwards;
animation: lejQAW 0.12s cubic-bezier(0,0.1,0.1,1) backwards;
width: 300px;
@@ -217,7 +217,7 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
left: 0;
pointer-events: none;
content: '';
- background-color: rgba(27,31,35,0.5);
+ background-color: rgba(27,31,36,0.5);
}
.c0 > summary {
@@ -249,33 +249,33 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
.c5:hover,
.c5:active,
.c5:focus {
- background-color: #f6f8fa;
+ background-color: rgba(234,238,242,0.5);
}
}
@media (hover:none) {
.c5 {
- -webkit-tap-highlight-color: rgba(209,213,218,0.5);
+ -webkit-tap-highlight-color: rgba(175,184,193,0.5);
}
.c5:focus,
.c5:active {
- background-color: #fafbfc;
+ background-color: #f6f8fa;
}
}
@media (hover:hover) {
.c4 .SelectMenuTab:focus {
- background-color: #dbedff;
+ background-color: #b6e3ff;
}
.c4 .SelectMenuTab:not([aria-checked='true']):hover {
- color: #24292e;
+ color: #24292f;
background-color: #f6f8fa;
}
.c4 .SelectMenuTab:not([aria-checked='true']):active {
- color: #24292e;
+ color: #24292f;
background-color: #f6f8fa;
}
}
@@ -286,9 +286,9 @@ exports[`SelectMenu right-aligned modal has right: 0px 1`] = `
max-height: 350px;
margin: 4px 0 16px 0;
font-size: 12px;
- border: 1px solid #e1e4e8;
+ border: 1px solid #d0d7de;
border-radius: 6px;
- box-shadow: 0 1px 0 rgba(27,31,35,0.04);
+ box-shadow: 0 1px 0 rgba(27,31,36,0.04);
}
}
diff --git a/src/__tests__/__snapshots__/SelectPanel.tsx.snap b/src/__tests__/__snapshots__/SelectPanel.tsx.snap
index 32d0bcb0897..c2b1d6d58ed 100644
--- a/src/__tests__/__snapshots__/SelectPanel.tsx.snap
+++ b/src/__tests__/__snapshots__/SelectPanel.tsx.snap
@@ -4,7 +4,7 @@ exports[`SelectPanel renders consistently 1`] = `
.c0 {
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
line-height: 1.5;
- color: #24292e;
+ color: #24292f;
}
.c1 {
@@ -29,10 +29,10 @@ exports[`SelectPanel renders consistently 1`] = `
text-decoration: none;
text-align: center;
font-size: 14px;
- color: #24292e;
- background-color: #fafbfc;
- border: 1px solid rgba(27,31,35,0.15);
- box-shadow: 0 1px 0 rgba(27,31,35,0.04),inset 0 1px 0 rgba(255,255,255,0.25);
+ color: #24292f;
+ background-color: #f6f8fa;
+ border: 1px solid rgba(27,31,36,0.15);
+ box-shadow: 0 1px 0 rgba(27,31,36,0.04),inset 0 1px 0 rgba(255,255,255,0.25);
}
.c1:hover {
@@ -54,23 +54,23 @@ exports[`SelectPanel renders consistently 1`] = `
.c1:hover {
background-color: #f3f4f6;
- border-color: rgba(27,31,35,0.15);
+ border-color: rgba(27,31,36,0.15);
}
.c1:focus {
- border-color: rgba(27,31,35,0.15);
- box-shadow: 0 0 0 3px rgba(3,102,214,0.3);
+ border-color: rgba(27,31,36,0.15);
+ box-shadow: 0 0 0 3px rgba(9,105,218,0.3);
}
.c1:active {
background-color: hsla(220,14%,94%,1);
- box-shadow: inset 0 0.15em 0.3em rgba(27,31,35,0.15);
+ box-shadow: inset 0 0.15em 0.3em rgba(27,31,36,0.15);
}
.c1:disabled {
- color: #959da5;
- background-color: #fafbfc;
- border-color: rgba(27,31,35,0.15);
+ color: #57606a;
+ background-color: #f6f8fa;
+ border-color: rgba(27,31,36,0.15);
}
.c2 {
diff --git a/src/__tests__/__snapshots__/SideNav.tsx.snap b/src/__tests__/__snapshots__/SideNav.tsx.snap
index 820f454a192..7ca1df5f5b9 100644
--- a/src/__tests__/__snapshots__/SideNav.tsx.snap
+++ b/src/__tests__/__snapshots__/SideNav.tsx.snap
@@ -2,7 +2,7 @@
exports[`SideNav SideNav.Link renders consistently 1`] = `
.c0 {
- color: #0366d6;
+ color: #0969da;
-webkit-text-decoration: none;
text-decoration: none;
position: relative;
@@ -39,10 +39,10 @@ exports[`SideNav SideNav.Link renders consistently 1`] = `
}
.c1.variant-normal > .c0 {
- color: #24292e;
+ color: #24292f;
padding: 16px;
border: 0;
- border-top: 1px solid hsla(214,13%,93%,1);
+ border-top: 1px solid hsla(210,18%,87%,1);
}
.c1.variant-normal > .c0:first-child {
@@ -68,18 +68,18 @@ exports[`SideNav SideNav.Link renders consistently 1`] = `
}
.c1.variant-normal > .c0:hover {
- background-color: #f6f8fa;
+ background-color: rgba(234,238,242,0.5);
outline: none;
-webkit-text-decoration: none;
text-decoration: none;
}
.c1.variant-normal > .c0:focus {
- background-color: #f6f8fa;
+ background-color: rgba(234,238,242,0.5);
outline: none;
-webkit-text-decoration: none;
text-decoration: none;
- box-shadow: 0 0 0 3px rgba(3,102,214,0.3);
+ box-shadow: 0 0 0 3px rgba(9,105,218,0.3);
z-index: 1;
}
@@ -90,33 +90,33 @@ exports[`SideNav SideNav.Link renders consistently 1`] = `
.c1.variant-normal > .c0[aria-current='page']::before,
.c1.variant-normal > .c0[aria-selected='true']::before {
- background-color: #f9826c;
+ background-color: #FD8C73;
}
.c1.variant-lightweight > .c0 {
padding: 4px 0;
- color: #0366d6;
+ color: #0969da;
}
.c1.variant-lightweight > .c0:hover {
- color: #24292e;
+ color: #24292f;
-webkit-text-decoration: none;
text-decoration: none;
outline: none;
}
.c1.variant-lightweight > .c0:focus {
- color: #24292e;
+ color: #24292f;
-webkit-text-decoration: none;
text-decoration: none;
outline: none;
- box-shadow: 0 0 0 3px rgba(3,102,214,0.3);
+ box-shadow: 0 0 0 3px rgba(9,105,218,0.3);
z-index: 1;
}
.c1.variant-lightweight > .c0[aria-current='page'],
.c1.variant-lightweight > .c0[aria-selected='true'] {
- color: #24292e;
+ color: #24292f;
font-weight: 500;
}
@@ -129,12 +129,12 @@ exports[`SideNav renders consistently 1`] = `
.c0 {
border-width: 0;
border-style: solid;
- border-color: #e1e4e8;
+ border-color: #d0d7de;
border-radius: 6px;
}
.c1 {
- background-color: #fafbfc;
+ background-color: #f6f8fa;
}
Hello
diff --git a/src/__tests__/__snapshots__/Timeline.tsx.snap b/src/__tests__/__snapshots__/Timeline.tsx.snap
index f96b1fbc13e..0d5bc6c3cb6 100644
--- a/src/__tests__/__snapshots__/Timeline.tsx.snap
+++ b/src/__tests__/__snapshots__/Timeline.tsx.snap
@@ -49,8 +49,8 @@ exports[`Timeline.Badge renders consistently 1`] = `
.c1 {
margin-right: 8px;
margin-left: -15px;
- color: #586069;
- background-color: #e1e4e8;
+ color: #57606a;
+ background-color: #eaeef2;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -80,7 +80,7 @@ exports[`Timeline.Badge renders consistently 1`] = `
>
+
Choose this one
),
diff --git a/src/stories/ThemeProvider.stories.tsx b/src/stories/ThemeProvider.stories.tsx
index cdd9f91c5b1..1e927de7534 100644
--- a/src/stories/ThemeProvider.stories.tsx
+++ b/src/stories/ThemeProvider.stories.tsx
@@ -51,11 +51,11 @@ function NightMode() {
Always night mode ( )
@@ -71,11 +71,11 @@ function InverseMode() {
Always inverse of parent mode ( )
diff --git a/src/stories/useFocusTrap.stories.tsx b/src/stories/useFocusTrap.stories.tsx
index 56d6c6d9c6a..16be0f7c612 100644
--- a/src/stories/useFocusTrap.stories.tsx
+++ b/src/stories/useFocusTrap.stories.tsx
@@ -308,7 +308,7 @@ export const MultipleFocusTraps = () => {
the most recently-suspended trap will reactivate. Suspended focus traps can be disabled, causing them to be
removed from the stack of suspended traps.
-
+
Legend
+ */
+const darkHighContrastColors = omitScale(darkHighContrast.colors)
+
+/**
+ * @type Partial
+ */
+const darkHighContrastShadows = omitScale(darkHighContrast.shadows)
+
const theme = {
// General
animation,
@@ -111,6 +122,11 @@ const theme = {
dark_dimmed: {
colors: darkDimmedColors,
shadows: darkDimmedShadows
+ },
+ // eslint-disable-next-line camelcase
+ dark_high_contrast: {
+ colors: darkHighContrastColors,
+ shadows: darkHighContrastShadows
}
}
}