Skip to content

Commit

Permalink
Fix icon colors
Browse files Browse the repository at this point in the history
  • Loading branch information
WalkingPizza committed Sep 29, 2022
1 parent 97d2e17 commit dcd7e68
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions admin/src/components/ShopifyIcon/index.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,15 @@
import React from "react";
import { Flex } from "@strapi/design-system/Flex";
import styled, { useTheme } from "styled-components";
import React from 'react';
import { Flex } from '@strapi/design-system/Flex';
import styled, { useTheme } from 'styled-components';

const IconBox = styled(Flex)`
background-color: ${({ theme }) => theme.colors.primary100};
border: 1px solid ${({ theme }) => theme.colors.primary200};
background-color: #f0f0ff;
border: 1px solid #d9d8ff;
`;

const ShopifyIcon = () => {
const theme = useTheme();

return (
<IconBox
justifyContent="center"
alignItems="center"
width={7}
height={6}
hasRadius
aria-hidden
>
<IconBox justifyContent="center" alignItems="center" width={7} height={6} hasRadius aria-hidden>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
Expand All @@ -29,7 +20,7 @@ const ShopifyIcon = () => {
height="1rem"
viewBox="0 0 109.5 124.5"
xmlSpace="preserve"
fill={theme.colors.primary600}
fill="#4945ff"
>
<path
d="M74.7,14.8c0,0-1.4,0.4-3.7,1.1c-0.4-1.3-1-2.8-1.8-4.4c-2.6-5-6.5-7.7-11.1-7.7c0,0,0,0,0,0
Expand Down

0 comments on commit dcd7e68

Please sign in to comment.