clean up logo styling

This commit is contained in:
mulan xia 2024-02-01 15:34:27 -05:00
parent 790a1f13db
commit 569090db6b
No known key found for this signature in database
GPG Key ID: C6CE526613568D73
2 changed files with 2 additions and 7 deletions

View File

@ -3,7 +3,7 @@ import { useSelector } from 'react-redux';
import { AppTheme } from '@/state/configs';
import { getAppTheme } from '@/state/configsSelectors';
const ChaosLabsIcon: React.FC<{ className?: string }> = ({ className }: { className?: string }) => {
const ChaosLabsIcon: React.FC = () => {
const appTheme = useSelector(getAppTheme);
const fills = appTheme === AppTheme.Light ? ['#1482E5', '#000000'] : ['#1482E5', '#E5E9EB'];

View File

@ -117,7 +117,7 @@ const LaunchIncentivesContent = () => {
{stringGetter({ key: STRING_KEYS.LAUNCH_INCENTIVES_DESCRIPTION })}{' '}
</Styled.Description>
<Styled.ChaosLabsLogo>
{stringGetter({ key: STRING_KEYS.POWERED_BY })} <Styled.ChaosLabsIcon />
{stringGetter({ key: STRING_KEYS.POWERED_BY })} <ChaosLabsIcon />
</Styled.ChaosLabsLogo>
<Styled.ButtonRow>
<Styled.AboutButton
@ -286,11 +286,6 @@ Styled.ChaosLabsLogo = styled.span`
font: var(--font-mini-medium);
`;
Styled.ChaosLabsIcon = styled(ChaosLabsIcon)`
height: 1.25rem;
align-self: start;
`;
Styled.NewTag = styled(Tag)`
color: var(--color-accent);
background-color: var(--color-accent-faded);