fix(sso): improve enterprise key var management (#8152)

Resolve https://github.com/twentyhq/twenty/issues/8070

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
Antoine Moreaux
2024-10-29 11:39:00 +01:00
committed by GitHub
parent 95b475c855
commit 2e10070fdb
12 changed files with 119 additions and 89 deletions

View File

@ -41,7 +41,9 @@ const StyledTag = styled.h3<{
overflow: hidden;
padding: 0 ${spacing2};
border: ${({ variant, theme }) =>
variant === 'outline' ? `1px dashed ${theme.border.color.strong}` : ''};
variant === 'outline' || variant === 'border'
? `1px ${variant === 'border' ? 'solid' : 'dash'} ${theme.border.color.strong}`
: ''};
gap: ${spacing1};
@ -65,7 +67,7 @@ const StyledIconContainer = styled.div`
`;
type TagWeight = 'regular' | 'medium';
type TagVariant = 'solid' | 'outline';
type TagVariant = 'solid' | 'outline' | 'border';
export type TagColor = ThemeColor | 'transparent';
type TagProps = {