Skip to content

Commit

Permalink
fix(icons): wrong stroke
Browse files Browse the repository at this point in the history
  • Loading branch information
andresin87 committed Mar 31, 2023
1 parent 22b8255 commit 30c3b48
Show file tree
Hide file tree
Showing 108 changed files with 108 additions and 178 deletions.
2 changes: 1 addition & 1 deletion packages/components/icons/scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const main = async (pattern = 'assets/**/*.svg') => {
const tsxIconCode = componentize({
componentName: pascalCase(name),
node: optimize(svgData, {
attributes: [{ fill: 'currentColor' }, { stroke: 'currentColor' }],
attributes: [{ fill: 'currentColor' }, { stroke: 'none' }],
title: name,
}).trim(),
name,
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/Activity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const Activity = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/ArrowDoubleLeft.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const ArrowDoubleLeft = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/ArrowDoubleRight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const ArrowDoubleRight = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const ArrowHorizontalDown = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/ArrowHorizontalUp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const ArrowHorizontalUp = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/ArrowLeft.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const ArrowLeft = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/ArrowRight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const ArrowRight = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/ArrowVerticalLeft.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const ArrowVerticalLeft = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/ArrowVerticalRight.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const ArrowVerticalRight = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/BankFill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const BankFill = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/BankOutline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const BankOutline = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/BurgerMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const BurgerMenu = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/CalculateFill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const CalculateFill = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/CalculateOutline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const CalculateOutline = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/Calendar2Fill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const Calendar2Fill = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/Calendar2Outline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const Calendar2Outline = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/CalendarFill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const CalendarFill = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/CalendarOutline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const CalendarOutline = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/CalendarValidFill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const CalendarValidFill = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const CalendarValidOutline = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/CallFill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const CallFill = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/CallOutline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const CallOutline = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/CardFill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const CardFill = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/CardOutline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const CardOutline = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
7 changes: 1 addition & 6 deletions packages/components/icons/src/icons/Check.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import { IconProps } from '../Types'

export const Check = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
...props
}: IconProps) => (
export const Check = ({ title, fill = 'currentColor', stroke = 'none', ...props }: IconProps) => (
<svg
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
Expand Down
7 changes: 1 addition & 6 deletions packages/components/icons/src/icons/Close.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import { IconProps } from '../Types'

export const Close = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
...props
}: IconProps) => (
export const Close = ({ title, fill = 'currentColor', stroke = 'none', ...props }: IconProps) => (
<svg
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/ConversationFill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const ConversationFill = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const ConversationOutline = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/CopyFill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const CopyFill = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/CopyOutline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const CopyOutline = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/CountryFill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const CountryFill = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/CountryOutline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const CountryOutline = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
7 changes: 1 addition & 6 deletions packages/components/icons/src/icons/CvFill.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import { IconProps } from '../Types'

export const CvFill = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
...props
}: IconProps) => (
export const CvFill = ({ title, fill = 'currentColor', stroke = 'none', ...props }: IconProps) => (
<svg
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/CvOutline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const CvOutline = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/DeleteFill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const DeleteFill = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/DeleteOutline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const DeleteOutline = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
7 changes: 1 addition & 6 deletions packages/components/icons/src/icons/EyeFill.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import { IconProps } from '../Types'

export const EyeFill = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
...props
}: IconProps) => (
export const EyeFill = ({ title, fill = 'currentColor', stroke = 'none', ...props }: IconProps) => (
<svg
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/EyeOffFill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const EyeOffFill = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/EyeOffOutline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const EyeOffOutline = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/EyeOutline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const EyeOutline = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/icons/FavoriteFill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconProps } from '../Types'
export const FavoriteFill = ({
title,
fill = 'currentColor',
stroke = 'currentColor',
stroke = 'none',
...props
}: IconProps) => (
<svg
Expand Down
Loading

0 comments on commit 30c3b48

Please sign in to comment.