Web:Common:Add textColor in FloatingButton.
This commit is contained in:
parent
0bc03cd148
commit
dbb724a936
@ -2,6 +2,7 @@ import styled, { css } from "styled-components";
|
||||
import {
|
||||
StyledCircleWrap,
|
||||
StyledFloatingButton,
|
||||
IconBox,
|
||||
} from "@docspace/common/components/FloatingButton/StyledFloatingButton";
|
||||
import Base from "@docspace/components/themes/base";
|
||||
|
||||
@ -25,6 +26,14 @@ const getDefaultStyles = ({ $currentColorScheme, color, icon, theme }) =>
|
||||
? theme.floatingButton.backgroundColor
|
||||
: $currentColorScheme.accentColor} !important;
|
||||
}
|
||||
|
||||
${IconBox} {
|
||||
svg {
|
||||
path {
|
||||
fill: ${$currentColorScheme.textColor};
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
StyledCircleWrap.defaultProps = { theme: Base };
|
||||
|
Loading…
Reference in New Issue
Block a user