From a7df07be6139e0c70d746db337ec6d4889b1d09c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 20 Dec 2024 13:39:06 +0100 Subject: [PATCH] prettier --- src/components/accordion/accordion.tsx | 10 ++++------ stories/components/tabs.stories.tsx | 4 ++-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/components/accordion/accordion.tsx b/src/components/accordion/accordion.tsx index 1493cfb3..f4a4b047 100644 --- a/src/components/accordion/accordion.tsx +++ b/src/components/accordion/accordion.tsx @@ -32,15 +32,13 @@ const AccordionItemHeader = styled.div` cursor: pointer; display: flex; align-items: center; - border-color: rgb(213 213 213) currentcolor currentcolor; + border-color: #d5d5d5 currentcolor currentcolor; border-style: solid none none; - color: rgb(45 45 45); + color: #2d2d2d; font-weight: bold; text-decoration: none; - text-shadow: rgb(255 255 255) 0 1px 0; - background: rgb(255 255 255) - linear-gradient(rgb(240 240 240) 5%, rgb(225 225 225) 100%) repeat - scroll 0 0; + text-shadow: white 0 1px 0; + background: white linear-gradient(#f0f0f0 5%, white 100%) repeat scroll 0 0; width: 100%; user-select: none; justify-content: space-between; diff --git a/stories/components/tabs.stories.tsx b/stories/components/tabs.stories.tsx index 9f885e8b..f3fab3a6 100644 --- a/stories/components/tabs.stories.tsx +++ b/stories/components/tabs.stories.tsx @@ -90,8 +90,8 @@ const ManyTabsStyled = styled(Tabs, { div[role='tablist'] { overflow: ${(props) => - props.orientation === 'vertical' ? 'hidden' : 'auto'} ${(props) => - props.orientation === 'vertical' ? 'auto' : 'hidden'}; + props.orientation === 'vertical' ? 'hidden' : 'auto'} + ${(props) => (props.orientation === 'vertical' ? 'auto' : 'hidden')}; } `;