Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Logo): old version of Tu logo #1036

Merged
merged 2 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it not possible to improve the quality of these screenshots? 🤔

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they have the size of the logo

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 3 additions & 8 deletions src/logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -342,21 +342,16 @@ const TuLogoImage = ({size}: LogoImageProps) => {
const {isDarkMode} = useTheme();
const isInverse = useIsInverseVariant();
const {colors} = getTuSkin();
const color = isInverse && !isDarkMode ? colors.backgroundBrand : colors.inverse;
const circle = isInverse && !isDarkMode ? colors.inverse : colors.backgroundBrand;
const color = isDarkMode ? colors.inverse : isInverse ? colors.inverse : colors.backgroundBrand;

return (
<svg
className={styles.svg}
style={applyCssVars(calcInlineVars(size))}
viewBox="0 0 72 72"
fill={circle}
fill={color}
>
<circle cx="36" cy="36" r="32" fill={circle} />
<path
d="M56.9231 30.5142V41.4859C56.9231 43.3057 56.4469 44.9175 55.5077 46.2953C54.5685 47.6731 53.2331 48.7649 51.5055 49.5591C49.7245 50.3624 47.6367 50.7692 45.3034 50.7692C42.9168 50.7692 40.7849 50.3598 38.9653 49.5565C37.1936 48.7584 35.8129 47.6497 34.8617 46.2654C33.9105 44.8811 33.4369 43.2693 33.4369 41.4872V33.1385C33.4366 32.8712 33.3273 32.615 33.1332 32.4261C32.9391 32.2373 32.676 32.1312 32.4017 32.1312H25.3311C25.0569 32.1312 24.794 32.2373 24.6001 32.4262C24.4062 32.6151 24.2973 32.8714 24.2973 33.1385V41.8655C24.2973 43.099 24.7548 44.1467 25.6313 44.8993C26.4504 45.5895 27.5444 45.9391 28.8878 45.9391C29.1552 45.9401 29.4225 45.9258 29.6882 45.8962C29.7162 45.8926 29.7448 45.8948 29.7719 45.9026C29.799 45.9105 29.8241 45.9238 29.8456 45.9417C29.863 45.9541 29.877 45.9703 29.8866 45.9891C29.8961 46.0079 29.9008 46.0287 29.9003 46.0496L30.0764 49.0886C30.087 49.2807 30.0338 49.471 29.9247 49.6314C29.8157 49.7917 29.6565 49.9136 29.4707 49.9789C29.0361 50.125 28.594 50.2486 28.146 50.3494C27.0248 50.6213 25.8742 50.7618 24.7188 50.7679C22.2214 50.7679 20.3578 50.118 19.0237 48.7753C17.6896 47.4326 17.0253 45.5687 17.0253 43.0743V33.5077C17.0249 33.1425 16.8758 32.7924 16.6106 32.5343C16.3455 32.2762 15.986 32.1312 15.6112 32.1312H15.4657C15.2529 32.131 15.0421 32.09 14.8456 32.0105C14.649 31.9309 14.4704 31.8145 14.32 31.6677C14.1696 31.5209 14.0504 31.3467 13.9691 31.1551C13.8878 30.9634 13.846 30.758 13.8462 30.5506V28.8751C13.8462 28.6152 14.097 28.4605 14.161 28.4267C17.3795 26.7175 19.9583 24.0574 21.5264 20.8293C21.6477 20.581 21.8389 20.3712 22.0776 20.2244C22.3163 20.0777 22.5929 19.9998 22.8751 20C23.2521 20.001 23.6133 20.1473 23.88 20.4069C24.1467 20.6665 24.2972 21.0183 24.2986 21.3856V27.2348C24.2986 28.4878 24.3213 28.5476 25.6487 28.5476H38.5597C39.095 28.5476 39.6085 28.7548 39.987 29.1236C40.3655 29.4924 40.5782 29.9926 40.5782 30.5142V41.3352C40.5782 42.8157 41.0384 44.0141 41.9429 44.8967C42.8474 45.7792 43.9987 46.2277 45.3514 46.2277C46.7042 46.2277 47.8088 45.7701 48.6866 44.8668C49.5644 43.9634 49.9887 42.7871 49.9887 41.3352V30.5142C49.9885 30.256 50.0405 30.0003 50.1418 29.7617C50.2431 29.5231 50.3917 29.3063 50.579 29.1237C50.7663 28.941 50.9887 28.7962 51.2335 28.6973C51.4784 28.5985 51.7408 28.5476 52.0058 28.5476H54.9047C55.44 28.5476 55.9534 28.7548 56.3319 29.1236C56.7105 29.4924 56.9231 29.9926 56.9231 30.5142Z"
fill={color}
/>
<path d="M36 4C18.3263 4 4 18.3272 4 36C4 53.6728 18.3272 68 36 68C53.6728 68 68 53.6728 68 36C68 18.3272 53.6728 4 36 4ZM55.8772 41.6009C55.8772 43.5342 55.3842 45.257 54.4088 46.7228C53.4333 48.1886 52.0518 49.3518 50.264 50.1991C49.4684 50.5667 48.6149 50.857 47.7088 51.0675C45.8456 51.5 43.8991 51.5 42.036 51.0675C41.1298 50.857 40.2763 50.5675 39.4807 50.1991C37.693 49.3526 36.3114 48.1895 35.336 46.7228C34.3605 45.257 33.8675 43.5342 33.8675 41.6009V33.9974C33.8675 31.9053 33.0009 31.6412 32.2123 31.6412H25.3842L25.3798 41.9404C25.3877 43.2421 25.9368 44.2711 26.7597 45.1465C27.4991 45.9333 29.0526 46.1781 29.0526 46.1781C30.2316 46.3518 31.1386 47.3649 31.1386 48.5921C31.1386 49.8193 30.2325 50.8325 29.0526 51.0061V51.0167C27.9895 51.257 26.9035 51.3825 25.8132 51.3886C23.2211 51.3886 21.2886 50.6956 19.9018 49.2649C18.5167 47.8333 17.8342 45.8509 17.8342 43.1974V31.6412H15.8474C14.7246 31.6412 13.7553 30.7842 13.6939 29.664C13.6763 29.3439 13.7307 29.0386 13.843 28.7623C13.9947 28.3877 14.2737 28.0789 14.6088 27.8544L15.5368 27.2325C18.1184 25.5035 20.193 23.1158 21.5447 20.3184L21.8193 19.7553C21.9939 19.3982 22.2667 19.0912 22.6219 18.9132C22.8781 18.7851 23.1658 18.7132 23.4719 18.7132C24.5184 18.7132 25.3667 19.5544 25.3816 20.5974H25.3833V27.8202H37.4465C37.4518 27.8202 37.457 27.8202 37.4623 27.8202C39.4482 27.8202 41.0588 29.4298 41.0588 31.4167C41.0588 31.4202 41.0588 31.4228 41.0588 31.4263V41.4439C41.0588 42.9851 41.5035 44.2439 42.4088 45.2053C42.4158 45.2123 42.4228 45.2202 42.4298 45.2272C43.75 46.614 45.993 46.614 47.314 45.2272C47.3211 45.2202 47.3281 45.2123 47.3351 45.2053C48.2403 44.243 48.6851 42.9842 48.6851 41.4439V31.5123C48.6851 29.5623 50.2018 27.9018 52.15 27.8325C54.1956 27.7597 55.8772 29.3965 55.8772 31.4263V41.6035V41.6009Z" />
</svg>
);
};
Expand Down
Loading