From ebd2cdc9ce4863a38d486a1f76ffb64126fe4a81 Mon Sep 17 00:00:00 2001 From: amalcaraz Date: Tue, 2 May 2023 17:25:55 +0200 Subject: [PATCH] change aleph logo --- assets/img/aleph-dark.svg | 33 ++++++++++++----------------- assets/img/aleph-light.svg | 26 ++++++++++++----------- src/components/TextGradient/cmp.tsx | 3 ++- 3 files changed, 30 insertions(+), 32 deletions(-) diff --git a/assets/img/aleph-dark.svg b/assets/img/aleph-dark.svg index e0712859..72661d63 100644 --- a/assets/img/aleph-dark.svg +++ b/assets/img/aleph-dark.svg @@ -1,20 +1,15 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + diff --git a/assets/img/aleph-light.svg b/assets/img/aleph-light.svg index 1d5c5305..72661d63 100644 --- a/assets/img/aleph-light.svg +++ b/assets/img/aleph-light.svg @@ -1,13 +1,15 @@ - - - - - - - - - - - - + + + + + + + + + + + + + + diff --git a/src/components/TextGradient/cmp.tsx b/src/components/TextGradient/cmp.tsx index e7b90c50..cd3f5b4c 100644 --- a/src/components/TextGradient/cmp.tsx +++ b/src/components/TextGradient/cmp.tsx @@ -15,7 +15,8 @@ export const TextGradient = ({ }: TextGradientProps) => { const theme = useTheme() const tagConfig = theme.typo[type] - const tag = (as || (tagConfig.tag ? type : 'span')) as TypeElements + const tag = (as || + (tagConfig.tag && type !== 'body' ? type : 'span')) as TypeElements const isInline = useMemo(() => inlineElements.has(tag), [tag]) return (