Skip to content

Commit

Permalink
icons update (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
vankovap authored Jan 22, 2025
1 parent 5e45e84 commit e4d072a
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 10 deletions.
2 changes: 1 addition & 1 deletion apps/docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ module.exports = {
id: 'references/gitlab-integration',
label: 'Gitlab Integration',
customProps: {
sidebar_icon: 'cloud-arrow-up',
sidebar_icon: 'gitlab',
},
className: 'homepage-sidebar-item',
},
Expand Down
10 changes: 1 addition & 9 deletions apps/docs/src/theme/Icon/Firewall/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,7 @@ const IconFirewall = (props: IconProps) => {
{...props}
className={clsx('text-ui-fg-subtle', props.className)}
>
<g>
<g>
<path d="M498.701,0H13.299C5.954,0,0,5.955,0,13.299v485.403C0,506.045,5.954,512,13.299,512h485.403
c7.344,0,13.299-5.955,13.299-13.299V13.299C512,5.955,506.045,0,498.701,0z M148.503,26.597h214.996v135.204h-0.001H148.503
V26.597z M26.597,26.597h95.308v135.204H26.597V26.597z M26.597,323.601V188.399h216.104v135.203L26.597,323.601L26.597,323.601z
M121.905,485.403H26.597V350.199h95.308V485.403z M363.499,485.403H148.503V350.199h214.996V485.403z M485.403,485.403h-95.308
V350.199h95.308V485.403z M485.403,323.601H269.299v0V188.399h216.104V323.601z M485.403,161.801h-95.308V26.597h95.308V161.801z" />
</g>
</g>
<path d="M473.82,40.283H38.18C17.127,40.283,0,57.411,0,78.463c0,13.495,0,341.346,0,355.074c0,21.052,17.127,38.18,38.18,38.18 H473.82c21.052,0,38.18-17.127,38.18-38.18c0-13.568,0-341.517,0-355.074C512,57.411,494.873,40.283,473.82,40.283z M367.111,78.463h106.71v92.904h-106.71V78.463z M183.068,78.463h145.863v92.904H183.068V78.463z M38.18,78.463h106.708v92.904 H38.18V78.463z M38.18,209.547h198.73v92.905H38.18V209.547z M144.888,433.536H38.18v-92.904h106.708V433.536z M328.931,433.536 H183.068v-92.904h145.863V433.536z M473.82,433.537h-106.71v-92.904h106.71V433.537z M473.82,302.452H275.09v-92.905h198.73 V302.452z" />
</svg>
);
};
Expand Down
21 changes: 21 additions & 0 deletions apps/docs/src/theme/Icon/Gitlab/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { IconProps } from '@medusajs/icons/dist/types';
import clsx from 'clsx';
import React from 'react';

const IconGitlab = (props: IconProps) => {
return (
<svg
fill="currentColor"
width={props.width || 20}
height={props.height || 20}
viewBox="-2 -2.5 24 24"
{...props}
className={clsx('text-ui-fg-subtle', props.className)}
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMinYMin">
<path d='M10.006 18.443L6.326 7.118h7.36l-3.68 11.325zm0 0L1.168 7.118h5.158l3.68 11.325zM1.168 7.118l8.838 11.325-9.68-7.032a.762.762 0 0 1-.276-.852l1.118-3.441zm0 0L3.385.296a.38.38 0 0 1 .724 0l2.217 6.822H1.168zm8.838 11.325l3.68-11.325h5.157l-8.837 11.325zm8.837-11.325l1.119 3.441a.762.762 0 0 1-.277.852l-9.68 7.032 8.838-11.325zm0 0h-5.157L15.902.296a.38.38 0 0 1 .725 0l2.216 6.822z' />
</svg>
);
};

export default IconGitlab;
2 changes: 2 additions & 0 deletions apps/docs/src/theme/Icon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ import IconFirewall from './Firewall';
import IconZerops from './Zerops';
import IconDatabase from './Database';
import IconCloudOk from './CloudOk';
import IconGitlab from './Gitlab';


export default {
Expand Down Expand Up @@ -212,6 +213,7 @@ export default {
'gift-solid': GiftSolid,
'flag-mini': IconFlagMini,
'firewall': IconFirewall,
gitlab: IconGitlab,
github: IconGitHub,
'globe-europe': GlobeEurope,
'globe-europe-solid': GlobeEuropeSolid,
Expand Down

0 comments on commit e4d072a

Please sign in to comment.