diff --git a/src/js/__tests__/__snapshots__/default-props-test.js.snap b/src/js/__tests__/__snapshots__/default-props-test.js.snap index 05de09b3d18..26cf4a3f864 100644 --- a/src/js/__tests__/__snapshots__/default-props-test.js.snap +++ b/src/js/__tests__/__snapshots__/default-props-test.js.snap @@ -110,7 +110,8 @@ exports[`uses Grommet theme instead of default 1`] = ` display: flex; box-sizing: border-box; max-width: 100%; - background: red; + background-color: #7D4CDB; + color: #f8f8f8; min-width: 0; min-height: 0; -webkit-flex-direction: column; @@ -119,8 +120,11 @@ exports[`uses Grommet theme instead of default 1`] = ` } .c0 { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial,sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 18px; line-height: 24px; + background-color: #ffffff; + color: #444444; box-sizing: border-box; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; diff --git a/src/js/components/Accordion/__tests__/__snapshots__/Accordion-test.tsx.snap b/src/js/components/Accordion/__tests__/__snapshots__/Accordion-test.tsx.snap index 8da86720f12..ee9736349ae 100644 --- a/src/js/components/Accordion/__tests__/__snapshots__/Accordion-test.tsx.snap +++ b/src/js/components/Accordion/__tests__/__snapshots__/Accordion-test.tsx.snap @@ -3906,7 +3906,7 @@ exports[`Accordion complex title 1`] = ` display: flex; box-sizing: border-box; max-width: 100%; - border-bottom: solid 1px rgba(0,0,0,0.33); + border-bottom: solid 1px rgba(255,255,255,0.33); min-width: 0; min-height: 0; -webkit-flex-direction: column; @@ -3998,7 +3998,7 @@ exports[`Accordion complex title 1`] = ` @media only screen and (max-width:768px) { .c8 { - border-bottom: solid 1px rgba(0,0,0,0.33); + border-bottom: solid 1px rgba(255,255,255,0.33); } } diff --git a/src/js/components/Anchor/__tests__/__snapshots__/Anchor-test.tsx.snap b/src/js/components/Anchor/__tests__/__snapshots__/Anchor-test.tsx.snap index a848391ee07..a299e744c25 100644 --- a/src/js/components/Anchor/__tests__/__snapshots__/Anchor-test.tsx.snap +++ b/src/js/components/Anchor/__tests__/__snapshots__/Anchor-test.tsx.snap @@ -991,7 +991,7 @@ exports[`Anchor renders a11yTitle and aria-label 1`] = ` exports[`Anchor renders size specific theming 1`] = ` - .c17 { + .c18 { display: inline-block; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; @@ -1002,30 +1002,30 @@ exports[`Anchor renders size specific theming 1`] = ` stroke: #000000; } -.c17 g { +.c18 g { fill: inherit; stroke: inherit; } -.c17 *:not([stroke])[fill='none'] { +.c18 *:not([stroke])[fill='none'] { stroke-width: 0; } -.c17 *[stroke*='#'], -.c17 *[STROKE*='#'] { +.c18 *[stroke*='#'], +.c18 *[STROKE*='#'] { stroke: inherit; fill: none; } -.c17 *[fill-rule], -.c17 *[FILL-RULE], -.c17 *[fill*='#'], -.c17 *[FILL*='#'] { +.c18 *[fill-rule], +.c18 *[FILL-RULE], +.c18 *[fill*='#'], +.c18 *[FILL*='#'] { fill: inherit; stroke: none; } -.c19 { +.c20 { display: inline-block; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; @@ -1036,25 +1036,25 @@ exports[`Anchor renders size specific theming 1`] = ` stroke: #7D4CDB; } -.c19 g { +.c20 g { fill: inherit; stroke: inherit; } -.c19 *:not([stroke])[fill='none'] { +.c20 *:not([stroke])[fill='none'] { stroke-width: 0; } -.c19 *[stroke*='#'], -.c19 *[STROKE*='#'] { +.c20 *[stroke*='#'], +.c20 *[STROKE*='#'] { stroke: inherit; fill: none; } -.c19 *[fill-rule], -.c19 *[FILL-RULE], -.c19 *[fill*='#'], -.c19 *[FILL*='#'] { +.c20 *[fill-rule], +.c20 *[FILL-RULE], +.c20 *[fill*='#'], +.c20 *[FILL*='#'] { fill: inherit; stroke: none; } @@ -1083,7 +1083,7 @@ exports[`Anchor renders size specific theming 1`] = ` flex-direction: column; } -.c16 { +.c17 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; @@ -1101,7 +1101,7 @@ exports[`Anchor renders size specific theming 1`] = ` flex-direction: row; } -.c18 { +.c19 { -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; @@ -1119,10 +1119,10 @@ exports[`Anchor renders size specific theming 1`] = ` display: inline-flex; font-size: 12px; line-height: 18px; - color: #7D4CDB; - font-weight: 600; - -webkit-text-decoration: none; - text-decoration: none; + color: #000000; + font-weight: 700; + -webkit-text-decoration: underline; + text-decoration: underline; cursor: pointer; } @@ -1139,10 +1139,10 @@ exports[`Anchor renders size specific theming 1`] = ` display: inline-flex; font-size: 14px; line-height: 20px; - color: #7D4CDB; - font-weight: 600; - -webkit-text-decoration: none; - text-decoration: none; + color: #000000; + font-weight: 700; + -webkit-text-decoration: underline; + text-decoration: underline; cursor: pointer; } @@ -1159,10 +1159,10 @@ exports[`Anchor renders size specific theming 1`] = ` display: inline-flex; font-size: 18px; line-height: 24px; - color: #7D4CDB; - font-weight: 600; - -webkit-text-decoration: none; - text-decoration: none; + color: #000000; + font-weight: 700; + -webkit-text-decoration: underline; + text-decoration: underline; cursor: pointer; } @@ -1180,7 +1180,7 @@ exports[`Anchor renders size specific theming 1`] = ` font-size: 22px; line-height: 28px; color: #7D4CDB; - font-weight: 600; + font-weight: 500; -webkit-text-decoration: none; text-decoration: none; cursor: pointer; @@ -1200,7 +1200,7 @@ exports[`Anchor renders size specific theming 1`] = ` font-size: 26px; line-height: 32px; color: #7D4CDB; - font-weight: 600; + font-weight: 500; -webkit-text-decoration: none; text-decoration: none; cursor: pointer; @@ -1220,7 +1220,7 @@ exports[`Anchor renders size specific theming 1`] = ` font-size: 34px; line-height: 40px; color: #7D4CDB; - font-weight: 600; + font-weight: 500; -webkit-text-decoration: none; text-decoration: none; cursor: pointer; @@ -1239,14 +1239,34 @@ exports[`Anchor renders size specific theming 1`] = ` display: inline-flex; font-size: inherit; line-height: inherit; - color: #7D4CDB; - font-weight: 600; + color: #000000; + font-weight: 700; + -webkit-text-decoration: underline; + text-decoration: underline; + cursor: pointer; +} + +.c15:hover { + -webkit-text-decoration: underline; + text-decoration: underline; +} + +.c16 { + box-sizing: border-box; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + font-size: inherit; + line-height: inherit; + color: #000000; + font-weight: 700; -webkit-text-decoration: none; text-decoration: none; cursor: pointer; } -.c15:hover { +.c16:hover { -webkit-text-decoration: underline; text-decoration: underline; } @@ -1427,14 +1447,14 @@ exports[`Anchor renders size specific theming 1`] = ` Default anchor with no size prop should receive medium Anchor with icon @@ -1454,11 +1474,11 @@ exports[`Anchor renders size specific theming 1`] = ` class="c8" > Large anchor with icon should receive color on icon diff --git a/src/js/components/Box/__tests__/__snapshots__/Box-style-test.tsx.snap b/src/js/components/Box/__tests__/__snapshots__/Box-style-test.tsx.snap index 6da53862331..48e05ae5d57 100644 --- a/src/js/components/Box/__tests__/__snapshots__/Box-style-test.tsx.snap +++ b/src/js/components/Box/__tests__/__snapshots__/Box-style-test.tsx.snap @@ -826,7 +826,7 @@ exports[`Box background clip 1`] = ` display: flex; box-sizing: border-box; max-width: 100%; - background-image: gradient-1; + background-image: linear-gradient( hsl(240deg 90% 55%) 0%, hsl(341deg 90% 55%) 50%, hsl(60deg 90% 55%) 100%); background-repeat: no-repeat; background-position: center center; background-size: cover; @@ -881,7 +881,7 @@ exports[`Box background from theme 1`] = ` display: flex; box-sizing: border-box; max-width: 100%; - background: gradient-1; + background: linear-gradient( hsl(240deg 90% 55%) 0%, hsl(341deg 90% 55%) 50%, hsl(60deg 90% 55%) 100%); min-width: 0; min-height: 0; -webkit-flex-direction: column; @@ -916,7 +916,7 @@ exports[`Box background from theme 1`] = ` z-index: -1; border-radius: inherit; background-color: red; - background-image: image-2; + background-image: url(https://images.unsplash.com/photo-1603484477859-abe6a73f9366?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80); background-repeat: no-repeat; background-position: center center; background-size: cover; @@ -1649,6 +1649,21 @@ exports[`Box elevation 1`] = ` box-shadow: 0px 2px 4px rgba(0,0,0,0.20); } +.c8 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + box-sizing: border-box; + max-width: 100%; + min-width: 0; + min-height: 0; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + box-shadow: 0px 4px 4px rgba(255,255,255,0.40); +} +
@@ -1674,7 +1689,7 @@ exports[`Box elevation 1`] = ` class="c7" >
diff --git a/src/js/components/Button/__tests__/__snapshots__/Button-kind-test.js.snap b/src/js/components/Button/__tests__/__snapshots__/Button-kind-test.js.snap index a4914a3bd86..a1a0d131378 100644 --- a/src/js/components/Button/__tests__/__snapshots__/Button-kind-test.js.snap +++ b/src/js/components/Button/__tests__/__snapshots__/Button-kind-test.js.snap @@ -47,7 +47,7 @@ exports[`Button kind badge should align to button container if specified in them .c6 { font-size: 14px; line-height: 20px; - color: #000000; + color: #FFFFFF; font-weight: normal; } @@ -235,6 +235,10 @@ exports[`Button kind badge should apply background 1`] = ` padding: 4px 22px; font-size: 18px; line-height: 24px; + border-style: solid; + border-width: 2px; + border-color: rgba(0,0,0,0.33); + padding: 2px 20px; text-align: center; -webkit-transition-property: color,background-color,border-color,box-shadow; transition-property: color,background-color,border-color,box-shadow; @@ -396,6 +400,10 @@ exports[`Button kind badge should be offset from top-right corner 1`] = ` padding: 4px 22px; font-size: 18px; line-height: 24px; + border-style: solid; + border-width: 2px; + border-color: rgba(0,0,0,0.33); + padding: 2px 20px; text-align: center; -webkit-transition-property: color,background-color,border-color,box-shadow; transition-property: color,background-color,border-color,box-shadow; @@ -538,7 +546,7 @@ exports[`Button kind badge should display "+" when number is greater than max 1` .c6 { font-size: 14px; line-height: 20px; - color: #000000; + color: #FFFFFF; font-weight: normal; } @@ -558,6 +566,10 @@ exports[`Button kind badge should display "+" when number is greater than max 1` padding: 4px 22px; font-size: 18px; line-height: 24px; + border-style: solid; + border-width: 2px; + border-color: rgba(0,0,0,0.33); + padding: 2px 20px; text-align: center; -webkit-transition-property: color,background-color,border-color,box-shadow; transition-property: color,background-color,border-color,box-shadow; @@ -706,7 +718,7 @@ exports[`Button kind badge should display number content 1`] = ` .c6 { font-size: 14px; line-height: 20px; - color: #000000; + color: #FFFFFF; font-weight: normal; } @@ -726,6 +738,10 @@ exports[`Button kind badge should display number content 1`] = ` padding: 4px 22px; font-size: 18px; line-height: 24px; + border-style: solid; + border-width: 2px; + border-color: rgba(0,0,0,0.33); + padding: 2px 20px; text-align: center; -webkit-transition-property: color,background-color,border-color,box-shadow; transition-property: color,background-color,border-color,box-shadow; @@ -907,6 +923,10 @@ exports[`Button kind badge should render custom element 1`] = ` padding: 4px 22px; font-size: 18px; line-height: 24px; + border-style: solid; + border-width: 2px; + border-color: rgba(0,0,0,0.33); + padding: 2px 20px; text-align: center; -webkit-transition-property: color,background-color,border-color,box-shadow; transition-property: color,background-color,border-color,box-shadow; @@ -1237,6 +1257,10 @@ exports[`Button kind border on default button 1`] = ` padding: 4px 22px; font-size: 18px; line-height: 24px; + border-style: solid; + border-width: 2px; + border-color: green; + padding: 2px 20px; text-align: center; -webkit-transition-property: color,background-color,border-color,box-shadow; transition-property: color,background-color,border-color,box-shadow; @@ -1359,6 +1383,8 @@ exports[`Button kind button icon colors 1`] = ` padding: 4px 22px; font-size: 18px; line-height: 0; + background-color: #000; + border-color: #666666; text-align: center; -webkit-transition-property: color,background-color,border-color,box-shadow; transition-property: color,background-color,border-color,box-shadow; @@ -1609,8 +1635,8 @@ exports[`Button kind button with transparent background 1`] = ` -webkit-box-align: flex-start; -ms-flex-align: flex-start; align-items: flex-start; - background-color: background; - color: #f8f8f8; + background-color: rgba(28,28,28,1); + color: #FFFFFF; min-width: 0; min-height: 0; -webkit-flex-direction: column; @@ -1660,10 +1686,12 @@ exports[`Button kind button with transparent background 1`] = ` overflow: visible; text-transform: none; border: none; - border-radius: 18px; - padding: 4px 22px; + border-radius: 2em; + padding: 6px 18px; font-size: 18px; line-height: 24px; + background-color: #FFFFFF0F; + color: #FFFFFF; text-align: center; -webkit-transition-property: color,background-color,border-color,box-shadow; transition-property: color,background-color,border-color,box-shadow; @@ -1671,11 +1699,13 @@ exports[`Button kind button with transparent background 1`] = ` transition-duration: 0.1s; -webkit-transition-timing-function: ease-in-out; transition-timing-function: ease-in-out; + font-size: 19px; + line-height: 24px; } .c2:focus { outline: none; - box-shadow: 0 0 2px 2px #6FFFB0; + box-shadow: 0 0 2px 2px #00E8CF; } .c2:focus > circle, @@ -1686,7 +1716,7 @@ exports[`Button kind button with transparent background 1`] = ` .c2:focus > polyline, .c2:focus > rect { outline: none; - box-shadow: 0 0 2px 2px #6FFFB0; + box-shadow: 0 0 2px 2px #00E8CF; } .c2:focus::-moz-focus-inner { @@ -1724,15 +1754,18 @@ exports[`Button kind button with transparent background 1`] = ` background: transparent; overflow: visible; text-transform: none; - background-color: rgba(221,221,221,0.4); - color: #000000; + background-color: #FFFFFF0F; + color: #FFFFFF; border: none; - border-radius: 18px; - padding: 4px 22px; + border-radius: 2em; + padding: 6px 18px; font-size: 18px; line-height: 24px; - background-color: #33333310; - color: #000000; + background-color: #FFFFFF0F; + color: #FFFFFF; + background-color: rgba(255,255,255,0.058823529411764705); + color: #FFFFFF; + color: #FFFFFF; text-align: center; -webkit-transition-property: color,background-color,border-color,box-shadow; transition-property: color,background-color,border-color,box-shadow; @@ -1740,11 +1773,13 @@ exports[`Button kind button with transparent background 1`] = ` transition-duration: 0.1s; -webkit-transition-timing-function: ease-in-out; transition-timing-function: ease-in-out; + font-size: 19px; + line-height: 24px; } .c4:focus { outline: none; - box-shadow: 0 0 2px 2px #6FFFB0; + box-shadow: 0 0 2px 2px #00E8CF; } .c4:focus > circle, @@ -1755,7 +1790,7 @@ exports[`Button kind button with transparent background 1`] = ` .c4:focus > polyline, .c4:focus > rect { outline: none; - box-shadow: 0 0 2px 2px #6FFFB0; + box-shadow: 0 0 2px 2px #00E8CF; } .c4:focus::-moz-focus-inner { @@ -1782,9 +1817,155 @@ exports[`Button kind button with transparent background 1`] = ` border: 0; } +.c6 { + display: inline-block; + box-sizing: border-box; + cursor: pointer; + font: inherit; + -webkit-text-decoration: none; + text-decoration: none; + margin: 0; + background: transparent; + overflow: visible; + text-transform: none; + border: none; + border-radius: 2em; + padding: 6px 18px; + font-size: 18px; + line-height: 24px; + background-color: #0000000A; + color: #333333; + text-align: center; + -webkit-transition-property: color,background-color,border-color,box-shadow; + transition-property: color,background-color,border-color,box-shadow; + -webkit-transition-duration: 0.1s; + transition-duration: 0.1s; + -webkit-transition-timing-function: ease-in-out; + transition-timing-function: ease-in-out; + font-size: 19px; + line-height: 24px; +} + +.c6:focus { + outline: none; + box-shadow: 0 0 2px 2px #00E8CF; +} + +.c6:focus > circle, +.c6:focus > ellipse, +.c6:focus > line, +.c6:focus > path, +.c6:focus > polygon, +.c6:focus > polyline, +.c6:focus > rect { + outline: none; + box-shadow: 0 0 2px 2px #00E8CF; +} + +.c6:focus::-moz-focus-inner { + border: 0; +} + +.c6:focus:not(:focus-visible) { + outline: none; + box-shadow: none; +} + +.c6:focus:not(:focus-visible) > circle, +.c6:focus:not(:focus-visible) > ellipse, +.c6:focus:not(:focus-visible) > line, +.c6:focus:not(:focus-visible) > path, +.c6:focus:not(:focus-visible) > polygon, +.c6:focus:not(:focus-visible) > polyline, +.c6:focus:not(:focus-visible) > rect { + outline: none; + box-shadow: none; +} + +.c6:focus:not(:focus-visible)::-moz-focus-inner { + border: 0; +} + +.c7 { + display: inline-block; + box-sizing: border-box; + cursor: pointer; + font: inherit; + -webkit-text-decoration: none; + text-decoration: none; + margin: 0; + background: transparent; + overflow: visible; + text-transform: none; + background-color: #0000000A; + color: #555555; + border: none; + border-radius: 2em; + padding: 6px 18px; + font-size: 18px; + line-height: 24px; + background-color: #0000000A; + color: #333333; + background-color: rgba(0,0,0,0.0392156862745098); + color: #333333; + color: #333333; + text-align: center; + -webkit-transition-property: color,background-color,border-color,box-shadow; + transition-property: color,background-color,border-color,box-shadow; + -webkit-transition-duration: 0.1s; + transition-duration: 0.1s; + -webkit-transition-timing-function: ease-in-out; + transition-timing-function: ease-in-out; + font-size: 19px; + line-height: 24px; +} + +.c7:focus { + outline: none; + box-shadow: 0 0 2px 2px #00E8CF; +} + +.c7:focus > circle, +.c7:focus > ellipse, +.c7:focus > line, +.c7:focus > path, +.c7:focus > polygon, +.c7:focus > polyline, +.c7:focus > rect { + outline: none; + box-shadow: 0 0 2px 2px #00E8CF; +} + +.c7:focus::-moz-focus-inner { + border: 0; +} + +.c7:focus:not(:focus-visible) { + outline: none; + box-shadow: none; +} + +.c7:focus:not(:focus-visible) > circle, +.c7:focus:not(:focus-visible) > ellipse, +.c7:focus:not(:focus-visible) > line, +.c7:focus:not(:focus-visible) > path, +.c7:focus:not(:focus-visible) > polygon, +.c7:focus:not(:focus-visible) > polyline, +.c7:focus:not(:focus-visible) > rect { + outline: none; + box-shadow: none; +} + +.c7:focus:not(:focus-visible)::-moz-focus-inner { + border: 0; +} + .c0 { + font-family: 'Metric',Arial,sans-serif; font-size: 18px; line-height: 24px; + background-color: #FFFFFF; + color: #555555; box-sizing: border-box; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; @@ -1836,7 +2017,7 @@ exports[`Button kind button with transparent background 1`] = ` class="c5" >
  • test diff --git a/src/js/components/RangeInput/__tests__/__snapshots__/RangeInput-test.tsx.snap b/src/js/components/RangeInput/__tests__/__snapshots__/RangeInput-test.tsx.snap index 38e65e7b44a..b272c417610 100644 --- a/src/js/components/RangeInput/__tests__/__snapshots__/RangeInput-test.tsx.snap +++ b/src/js/components/RangeInput/__tests__/__snapshots__/RangeInput-test.tsx.snap @@ -816,7 +816,7 @@ exports[`RangeInput track themed 1`] = ` box-sizing: border-box; width: 100%; height: 4px; - background: rgba(0,0,0,0.2); + background: rgba(125,76,219,1); } .c1::-webkit-slider-thumb { @@ -840,7 +840,7 @@ exports[`RangeInput track themed 1`] = ` box-sizing: border-box; width: 100%; height: 4px; - background: rgba(0,0,0,0.2); + background: rgba(125,76,219,1); } .c1::-moz-range-thumb { @@ -885,18 +885,18 @@ exports[`RangeInput track themed 1`] = ` box-sizing: border-box; width: 100%; height: 4px; - background: rgba(0,0,0,0.2); + background: rgba(125,76,219,1); border-color: transparent; color: transparent; } .c1::-ms-fill-lower { - background: rgba(0,0,0,0.2); + background: rgba(125,76,219,1); border-color: transparent; } .c1::-ms-fill-upper { - background: rgba(0,0,0,0.2); + background: rgba(125,76,219,1); border-color: transparent; } @@ -961,7 +961,7 @@ exports[`RangeInput track themed with color and opacity 1`] = ` box-sizing: border-box; width: 100%; height: 4px; - background: rgba(0,0,0,0.2); + background: rgba(125,76,219,0.3); } .c1::-webkit-slider-thumb { @@ -985,7 +985,7 @@ exports[`RangeInput track themed with color and opacity 1`] = ` box-sizing: border-box; width: 100%; height: 4px; - background: rgba(0,0,0,0.2); + background: rgba(125,76,219,0.3); } .c1::-moz-range-thumb { @@ -1030,18 +1030,18 @@ exports[`RangeInput track themed with color and opacity 1`] = ` box-sizing: border-box; width: 100%; height: 4px; - background: rgba(0,0,0,0.2); + background: rgba(125,76,219,0.3); border-color: transparent; color: transparent; } .c1::-ms-fill-lower { - background: rgba(0,0,0,0.2); + background: rgba(125,76,219,0.3); border-color: transparent; } .c1::-ms-fill-upper { - background: rgba(0,0,0,0.2); + background: rgba(125,76,219,0.3); border-color: transparent; } diff --git a/src/js/components/Select/__tests__/__snapshots__/Select-test.js.snap b/src/js/components/Select/__tests__/__snapshots__/Select-test.js.snap index 3f3533bfd98..81691330b3d 100644 --- a/src/js/components/Select/__tests__/__snapshots__/Select-test.js.snap +++ b/src/js/components/Select/__tests__/__snapshots__/Select-test.js.snap @@ -2320,15 +2320,15 @@ exports[`Select applies custom global.hover theme to options 2`] = ` } .c1 { - background-color: rgba(221,221,221,0.4); - color: #000000; + background-color: lightgreen; + color: #7D4CDB; display: block; width: 100%; } .c1:focus { - background-color: rgba(221,221,221,0.4); - color: #000000; + background-color: lightgreen; + color: #7D4CDB; } @media only screen and (max-width:768px) { @@ -3362,7 +3362,7 @@ exports[`Select dark 1`] = ` padding: 11px; font-weight: 600; margin: 0; - border: 1px solid rgba(0,0,0,0.33); + border: 1px solid rgba(255,255,255,0.33); border-radius: 4px; border: none; outline: none; @@ -3405,7 +3405,7 @@ exports[`Select dark 1`] = ` } .c3 { - border: 1px solid rgba(0,0,0,0.33); + border: 1px solid rgba(255,255,255,0.33); border-radius: 4px; } @@ -6747,6 +6747,7 @@ exports[`Select modifies select control style on open 1`] = ` .c2 { border: 1px solid rgba(0,0,0,0.33); border-radius: 4px; + background: purple; } .c0 { diff --git a/src/js/components/Tabs/__tests__/__snapshots__/Tabs-test.tsx.snap b/src/js/components/Tabs/__tests__/__snapshots__/Tabs-test.tsx.snap index f1eebb501f8..ea569a015fe 100644 --- a/src/js/components/Tabs/__tests__/__snapshots__/Tabs-test.tsx.snap +++ b/src/js/components/Tabs/__tests__/__snapshots__/Tabs-test.tsx.snap @@ -2946,6 +2946,10 @@ exports[`Tabs should allow to extend tab styles 1`] = ` .c5 { white-space: nowrap; + color: red; + padding: 20px; + box-shadow: rgba(0,0,0,0.25) 0px 54px 55px,rgba(0,0,0,0.12) 0px -12px 30px,rgba(0,0,0,0.12) 0px 4px 6px,rgba(0,0,0,0.17) 0px 12px 13px,rgba(0,0,0,0.09) 0px -3px 5px; + margin: 30px; } .c7 { @@ -2954,6 +2958,10 @@ exports[`Tabs should allow to extend tab styles 1`] = ` margin-right: 12px; margin-top: 3px; margin-bottom: 3px; + color: red; + padding: 20px; + box-shadow: rgba(0,0,0,0.25) 0px 54px 55px,rgba(0,0,0,0.12) 0px -12px 30px,rgba(0,0,0,0.12) 0px 4px 6px,rgba(0,0,0,0.17) 0px 12px 13px,rgba(0,0,0,0.09) 0px -3px 5px; + margin: 30px; } .c7:hover { @@ -3306,6 +3314,7 @@ exports[`Tabs should apply custom theme disabled style 1`] = ` margin-right: 12px; margin-top: 3px; margin-bottom: 3px; + color: blue; } .c12 { @@ -3683,6 +3692,7 @@ exports[`Tabs should apply custom theme disabled style when theme.button.default margin-right: 12px; margin-top: 3px; margin-bottom: 3px; + color: blue; } .c12 { diff --git a/src/js/components/TextArea/__tests__/__snapshots__/TextArea-test.tsx.snap b/src/js/components/TextArea/__tests__/__snapshots__/TextArea-test.tsx.snap index 898fa92df36..cc261abe077 100644 --- a/src/js/components/TextArea/__tests__/__snapshots__/TextArea-test.tsx.snap +++ b/src/js/components/TextArea/__tests__/__snapshots__/TextArea-test.tsx.snap @@ -1086,7 +1086,7 @@ exports[`TextArea custom theme input font size 1`] = ` .c1 { box-sizing: border-box; - font-size: inherit; + font-size: 16px; font-family: inherit; border: none; -webkit-appearance: none; diff --git a/src/js/components/TextInput/__tests__/__snapshots__/TextInput-test.tsx.snap b/src/js/components/TextInput/__tests__/__snapshots__/TextInput-test.tsx.snap index 47509240956..fa188b4b5fb 100644 --- a/src/js/components/TextInput/__tests__/__snapshots__/TextInput-test.tsx.snap +++ b/src/js/components/TextInput/__tests__/__snapshots__/TextInput-test.tsx.snap @@ -1432,7 +1432,7 @@ exports[`TextInput custom theme input font size 1`] = ` .c2 { box-sizing: border-box; - font-size: inherit; + font-size: 16px; font-family: inherit; border: none; -webkit-appearance: none; @@ -2361,7 +2361,7 @@ exports[`TextInput matches icon size to size prop when theme.icon.matchSize is t line-height: 20px; border: 1px solid rgba(0,0,0,0.33); border-radius: 4px; - padding-left: 48px; + padding-left: 36px; } .c4:focus { @@ -2491,7 +2491,7 @@ exports[`TextInput matches icon size to size prop when theme.icon.matchSize is t line-height: 28px; border: 1px solid rgba(0,0,0,0.33); border-radius: 4px; - padding-left: 48px; + padding-left: 72px; } .c8:focus { diff --git a/src/js/components/Tip/__tests__/__snapshots__/Tip-test.tsx.snap b/src/js/components/Tip/__tests__/__snapshots__/Tip-test.tsx.snap index 4482fc9f53a..8f733029598 100644 --- a/src/js/components/Tip/__tests__/__snapshots__/Tip-test.tsx.snap +++ b/src/js/components/Tip/__tests__/__snapshots__/Tip-test.tsx.snap @@ -528,7 +528,7 @@ exports[`Tip themed 1`] = ` -ms-flex-direction: column; flex-direction: column; overflow: auto; - box-shadow: 0px 8px 16px rgba(0,0,0,0.20); + box-shadow: 0px 8px 16px rgba(255,255,255,0.40); } .c2 { @@ -539,8 +539,8 @@ exports[`Tip themed 1`] = ` box-sizing: border-box; max-width: 100%; margin: 6px; - background-color: #33333310; - color: #444444; + background-color: #FFFFFF18; + color: #f8f8f8; min-width: 0; min-height: 0; -webkit-flex-direction: column; @@ -551,7 +551,7 @@ exports[`Tip themed 1`] = ` padding-top: 6px; padding-bottom: 6px; border-radius: 12px; - box-shadow: 0px 2px 4px rgba(0,0,0,0.20); + box-shadow: 0px 4px 4px rgba(255,255,255,0.40); } .c1 { diff --git a/src/js/components/Video/__tests__/__snapshots__/Video-test.tsx.snap b/src/js/components/Video/__tests__/__snapshots__/Video-test.tsx.snap index f549b5bcd17..e3e4de970df 100644 --- a/src/js/components/Video/__tests__/__snapshots__/Video-test.tsx.snap +++ b/src/js/components/Video/__tests__/__snapshots__/Video-test.tsx.snap @@ -186,7 +186,7 @@ exports[`Video Configure Menu Button 1`] = ` .c5:hover { background-color: rgba(221,221,221,0.4); - color: #000000; + color: #FFFFFF; } .c5:focus { @@ -726,7 +726,7 @@ exports[`Video End event handler 1`] = ` .c5:hover { background-color: rgba(221,221,221,0.4); - color: #000000; + color: #FFFFFF; } .c5:focus { @@ -1254,7 +1254,7 @@ exports[`Video Play and Pause event handlers 1`] = ` .c5:hover { background-color: rgba(221,221,221,0.4); - color: #000000; + color: #FFFFFF; } .c5:focus { @@ -1620,7 +1620,7 @@ exports[`Video Play and Pause event handlers 2`] = ` class="StyledBox-sc-13pk1d4-0 gTjiHd" >