diff --git a/packages/juno-core/src/components/Accordion/AccordionDetails/__stories__/__snapshots__/AccordionDetails.story.tsx.snap b/packages/juno-core/src/components/Accordion/AccordionDetails/__stories__/__snapshots__/AccordionDetails.story.tsx.snap index 05b85444..81aa4fbf 100644 --- a/packages/juno-core/src/components/Accordion/AccordionDetails/__stories__/__snapshots__/AccordionDetails.story.tsx.snap +++ b/packages/juno-core/src/components/Accordion/AccordionDetails/__stories__/__snapshots__/AccordionDetails.story.tsx.snap @@ -110,9 +110,21 @@ exports[`Storyshots 🚀 Cleanup Components/Accordion/AccordionDetails Accordion background-color: #666666; } -.c4.RcIconButton-contained.focus-visible, -.c4.RcIconButton-contained[data-focus-visible-added] { - background-color: rgba(102,102,102,0.84); +.c4.RcIconButton-contained:before { + content: ''; + left: 0; + right: 0; + top: 0; + bottom: 0; + width: 100%; + height: 100%; + border-radius: 50%; + position: absolute; +} + +.c4.RcIconButton-contained.focus-visible:before, +.c4.RcIconButton-contained[data-focus-visible-added]:before { + background-color: rgba(255,255,255,0.16); } .c4.RcIconButton-contained.focus-visible, @@ -122,10 +134,6 @@ exports[`Storyshots 🚀 Cleanup Components/Accordion/AccordionDetails Accordion color: #fff; } -.c4.RcIconButton-contained:active { - background-color: rgba(102,102,102,0.76); -} - .c4.RcIconButton-contained:active, .c4.RcIconButton-contained:active .c5 { color: #fff; @@ -183,8 +191,8 @@ exports[`Storyshots 🚀 Cleanup Components/Accordion/AccordionDetails Accordion } @media (hover:hover) and (pointer:fine) { - .c4.RcIconButton-contained:hover { - background-color: rgba(102,102,102,0.92); + .c4.RcIconButton-contained:hover:before { + background-color: rgba(255,255,255,0.08); } .c4.RcIconButton-contained:hover, diff --git a/packages/juno-core/src/components/Accordion/AccordionSummary/__stories__/__snapshots__/AccordionSummary.story.tsx.snap b/packages/juno-core/src/components/Accordion/AccordionSummary/__stories__/__snapshots__/AccordionSummary.story.tsx.snap index 16321916..ef27f5dc 100644 --- a/packages/juno-core/src/components/Accordion/AccordionSummary/__stories__/__snapshots__/AccordionSummary.story.tsx.snap +++ b/packages/juno-core/src/components/Accordion/AccordionSummary/__stories__/__snapshots__/AccordionSummary.story.tsx.snap @@ -110,9 +110,21 @@ exports[`Storyshots 🚀 Cleanup Components/Accordion/AccordionSummary Accordion background-color: #666666; } -.c4.RcIconButton-contained.focus-visible, -.c4.RcIconButton-contained[data-focus-visible-added] { - background-color: rgba(102,102,102,0.84); +.c4.RcIconButton-contained:before { + content: ''; + left: 0; + right: 0; + top: 0; + bottom: 0; + width: 100%; + height: 100%; + border-radius: 50%; + position: absolute; +} + +.c4.RcIconButton-contained.focus-visible:before, +.c4.RcIconButton-contained[data-focus-visible-added]:before { + background-color: rgba(255,255,255,0.16); } .c4.RcIconButton-contained.focus-visible, @@ -122,10 +134,6 @@ exports[`Storyshots 🚀 Cleanup Components/Accordion/AccordionSummary Accordion color: #fff; } -.c4.RcIconButton-contained:active { - background-color: rgba(102,102,102,0.76); -} - .c4.RcIconButton-contained:active, .c4.RcIconButton-contained:active .c5 { color: #fff; @@ -183,8 +191,8 @@ exports[`Storyshots 🚀 Cleanup Components/Accordion/AccordionSummary Accordion } @media (hover:hover) and (pointer:fine) { - .c4.RcIconButton-contained:hover { - background-color: rgba(102,102,102,0.92); + .c4.RcIconButton-contained:hover:before { + background-color: rgba(255,255,255,0.08); } .c4.RcIconButton-contained:hover, @@ -421,9 +429,21 @@ exports[`Storyshots 🚀 Cleanup Components/Accordion/AccordionSummary Accordion background-color: #666666; } -.c4.RcIconButton-contained.focus-visible, -.c4.RcIconButton-contained[data-focus-visible-added] { - background-color: rgba(102,102,102,0.84); +.c4.RcIconButton-contained:before { + content: ''; + left: 0; + right: 0; + top: 0; + bottom: 0; + width: 100%; + height: 100%; + border-radius: 50%; + position: absolute; +} + +.c4.RcIconButton-contained.focus-visible:before, +.c4.RcIconButton-contained[data-focus-visible-added]:before { + background-color: rgba(255,255,255,0.16); } .c4.RcIconButton-contained.focus-visible, @@ -433,10 +453,6 @@ exports[`Storyshots 🚀 Cleanup Components/Accordion/AccordionSummary Accordion color: #fff; } -.c4.RcIconButton-contained:active { - background-color: rgba(102,102,102,0.76); -} - .c4.RcIconButton-contained:active, .c4.RcIconButton-contained:active .c5 { color: #fff; @@ -494,8 +510,8 @@ exports[`Storyshots 🚀 Cleanup Components/Accordion/AccordionSummary Accordion } @media (hover:hover) and (pointer:fine) { - .c4.RcIconButton-contained:hover { - background-color: rgba(102,102,102,0.92); + .c4.RcIconButton-contained:hover:before { + background-color: rgba(255,255,255,0.08); } .c4.RcIconButton-contained:hover, diff --git a/packages/juno-core/src/components/Accordion/__stories__/__snapshots__/Accordion.story.tsx.snap b/packages/juno-core/src/components/Accordion/__stories__/__snapshots__/Accordion.story.tsx.snap index d1ba6fc5..51884e7b 100644 --- a/packages/juno-core/src/components/Accordion/__stories__/__snapshots__/Accordion.story.tsx.snap +++ b/packages/juno-core/src/components/Accordion/__stories__/__snapshots__/Accordion.story.tsx.snap @@ -110,9 +110,21 @@ exports[`Storyshots 🚀 Cleanup Components/Accordion/Accordion Accordion 1`] = background-color: #666666; } -.c4.RcIconButton-contained.focus-visible, -.c4.RcIconButton-contained[data-focus-visible-added] { - background-color: rgba(102,102,102,0.84); +.c4.RcIconButton-contained:before { + content: ''; + left: 0; + right: 0; + top: 0; + bottom: 0; + width: 100%; + height: 100%; + border-radius: 50%; + position: absolute; +} + +.c4.RcIconButton-contained.focus-visible:before, +.c4.RcIconButton-contained[data-focus-visible-added]:before { + background-color: rgba(255,255,255,0.16); } .c4.RcIconButton-contained.focus-visible, @@ -122,10 +134,6 @@ exports[`Storyshots 🚀 Cleanup Components/Accordion/Accordion Accordion 1`] = color: #fff; } -.c4.RcIconButton-contained:active { - background-color: rgba(102,102,102,0.76); -} - .c4.RcIconButton-contained:active, .c4.RcIconButton-contained:active .c5 { color: #fff; @@ -183,8 +191,8 @@ exports[`Storyshots 🚀 Cleanup Components/Accordion/Accordion Accordion 1`] = } @media (hover:hover) and (pointer:fine) { - .c4.RcIconButton-contained:hover { - background-color: rgba(102,102,102,0.92); + .c4.RcIconButton-contained:hover:before { + background-color: rgba(255,255,255,0.08); } .c4.RcIconButton-contained:hover, @@ -422,9 +430,21 @@ Array [ background-color: #666666; } -.c4.RcIconButton-contained.focus-visible, -.c4.RcIconButton-contained[data-focus-visible-added] { - background-color: rgba(102,102,102,0.84); +.c4.RcIconButton-contained:before { + content: ''; + left: 0; + right: 0; + top: 0; + bottom: 0; + width: 100%; + height: 100%; + border-radius: 50%; + position: absolute; +} + +.c4.RcIconButton-contained.focus-visible:before, +.c4.RcIconButton-contained[data-focus-visible-added]:before { + background-color: rgba(255,255,255,0.16); } .c4.RcIconButton-contained.focus-visible, @@ -434,10 +454,6 @@ Array [ color: #fff; } -.c4.RcIconButton-contained:active { - background-color: rgba(102,102,102,0.76); -} - .c4.RcIconButton-contained:active, .c4.RcIconButton-contained:active .c5 { color: #fff; @@ -495,8 +511,8 @@ Array [ } @media (hover:hover) and (pointer:fine) { - .c4.RcIconButton-contained:hover { - background-color: rgba(102,102,102,0.92); + .c4.RcIconButton-contained:hover:before { + background-color: rgba(255,255,255,0.08); } .c4.RcIconButton-contained:hover, @@ -728,9 +744,21 @@ Array [ background-color: #666666; } -.c4.RcIconButton-contained.focus-visible, -.c4.RcIconButton-contained[data-focus-visible-added] { - background-color: rgba(102,102,102,0.84); +.c4.RcIconButton-contained:before { + content: ''; + left: 0; + right: 0; + top: 0; + bottom: 0; + width: 100%; + height: 100%; + border-radius: 50%; + position: absolute; +} + +.c4.RcIconButton-contained.focus-visible:before, +.c4.RcIconButton-contained[data-focus-visible-added]:before { + background-color: rgba(255,255,255,0.16); } .c4.RcIconButton-contained.focus-visible, @@ -740,10 +768,6 @@ Array [ color: #fff; } -.c4.RcIconButton-contained:active { - background-color: rgba(102,102,102,0.76); -} - .c4.RcIconButton-contained:active, .c4.RcIconButton-contained:active .c5 { color: #fff; @@ -801,8 +825,8 @@ Array [ } @media (hover:hover) and (pointer:fine) { - .c4.RcIconButton-contained:hover { - background-color: rgba(102,102,102,0.92); + .c4.RcIconButton-contained:hover:before { + background-color: rgba(255,255,255,0.08); } .c4.RcIconButton-contained:hover, @@ -1034,9 +1058,21 @@ Array [ background-color: #666666; } -.c4.RcIconButton-contained.focus-visible, -.c4.RcIconButton-contained[data-focus-visible-added] { - background-color: rgba(102,102,102,0.84); +.c4.RcIconButton-contained:before { + content: ''; + left: 0; + right: 0; + top: 0; + bottom: 0; + width: 100%; + height: 100%; + border-radius: 50%; + position: absolute; +} + +.c4.RcIconButton-contained.focus-visible:before, +.c4.RcIconButton-contained[data-focus-visible-added]:before { + background-color: rgba(255,255,255,0.16); } .c4.RcIconButton-contained.focus-visible, @@ -1046,10 +1082,6 @@ Array [ color: #fff; } -.c4.RcIconButton-contained:active { - background-color: rgba(102,102,102,0.76); -} - .c4.RcIconButton-contained:active, .c4.RcIconButton-contained:active .c5 { color: #fff; @@ -1107,8 +1139,8 @@ Array [ } @media (hover:hover) and (pointer:fine) { - .c4.RcIconButton-contained:hover { - background-color: rgba(102,102,102,0.92); + .c4.RcIconButton-contained:hover:before { + background-color: rgba(255,255,255,0.08); } .c4.RcIconButton-contained:hover, diff --git a/packages/juno-core/src/components/Autocomplete/__stories__/__snapshots__/Autocomplete.story.tsx.snap b/packages/juno-core/src/components/Autocomplete/__stories__/__snapshots__/Autocomplete.story.tsx.snap index fe9f5b48..f9044170 100644 --- a/packages/juno-core/src/components/Autocomplete/__stories__/__snapshots__/Autocomplete.story.tsx.snap +++ b/packages/juno-core/src/components/Autocomplete/__stories__/__snapshots__/Autocomplete.story.tsx.snap @@ -141,9 +141,21 @@ Array [ background-color: #666666; } -.c2.RcIconButton-contained.focus-visible, -.c2.RcIconButton-contained[data-focus-visible-added] { - background-color: rgba(102,102,102,0.84); +.c2.RcIconButton-contained:before { + content: ''; + left: 0; + right: 0; + top: 0; + bottom: 0; + width: 100%; + height: 100%; + border-radius: 50%; + position: absolute; +} + +.c2.RcIconButton-contained.focus-visible:before, +.c2.RcIconButton-contained[data-focus-visible-added]:before { + background-color: rgba(255,255,255,0.16); } .c2.RcIconButton-contained.focus-visible, @@ -153,10 +165,6 @@ Array [ color: #fff; } -.c2.RcIconButton-contained:active { - background-color: rgba(102,102,102,0.76); -} - .c2.RcIconButton-contained:active, .c2.RcIconButton-contained:active .c5 { color: #fff; @@ -373,8 +381,8 @@ Array [ } @media (hover:hover) and (pointer:fine) { - .c2.RcIconButton-contained:hover { - background-color: rgba(102,102,102,0.92); + .c2.RcIconButton-contained:hover:before { + background-color: rgba(255,255,255,0.08); } .c2.RcIconButton-contained:hover, @@ -458,7 +466,7 @@ Array [ value="" />