Migrate to a monorepo setup - step 1 * Move web to subfolder /apps/scandic-web * Yarn + transitive deps - Move to yarn - design-system package removed for now since yarn doesn't support the parameter for token (ie project currently broken) - Add missing transitive dependencies as Yarn otherwise prevents these imports - VS Code doesn't pick up TS path aliases unless you open /apps/scandic-web instead of root (will be fixed with monorepo) * Pin framer-motion to temporarily fix typing issue https://github.com/adobe/react-spectrum/issues/7494 * Pin zod to avoid typ error There seems to have been a breaking change in the types returned by zod where error is now returned as undefined instead of missing in the type. We should just handle this but to avoid merge conflicts just pin the dependency for now. * Pin react-intl version Pin version of react-intl to avoid tiny type issue where formatMessage does not accept a generic any more. This will be fixed in a future commit, but to avoid merge conflicts just pin for now. * Pin typescript version Temporarily pin version as newer versions as stricter and results in a type error. Will be fixed in future commit after merge. * Setup workspaces * Add design-system as a monorepo package * Remove unused env var DESIGN_SYSTEM_ACCESS_TOKEN * Fix husky for monorepo setup * Update netlify.toml * Add lint script to root package.json * Add stub readme * Fix react-intl formatMessage types * Test netlify.toml in root * Remove root toml * Update netlify.toml publish path * Remove package-lock.json * Update build for branch/preview builds Approved-by: Linus Flood
24 lines
2.3 KiB
TypeScript
24 lines
2.3 KiB
TypeScript
import { iconVariants } from "./variants"
|
|
|
|
import type { IconProps } from "@/types/components/icon"
|
|
|
|
export default function FitnessIcon({ className, color, ...props }: IconProps) {
|
|
const classNames = iconVariants({ className, color })
|
|
return (
|
|
<svg
|
|
className={classNames}
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
width="24"
|
|
height="24"
|
|
viewBox="0 0 24 24"
|
|
fill="none"
|
|
{...props}
|
|
>
|
|
<path
|
|
d="M7.11239 8.42495L4.28739 11.25C4.10406 11.4333 3.88114 11.527 3.61864 11.5312C3.35614 11.5354 3.12906 11.4416 2.93739 11.25C2.75406 11.0666 2.66031 10.8437 2.65614 10.5812C2.65198 10.3187 2.74156 10.0916 2.92489 9.89995L3.66239 9.14995L2.97489 8.46245C2.78323 8.27078 2.68739 8.04995 2.68739 7.79995C2.68739 7.54995 2.78323 7.32912 2.97489 7.13745L4.39989 5.71245L3.68739 4.98745C3.51239 4.81245 3.42489 4.59787 3.42489 4.3437C3.42489 4.08953 3.51656 3.87078 3.69989 3.68745C3.87489 3.51245 4.08948 3.42287 4.34364 3.4187C4.59781 3.41453 4.81656 3.49995 4.99989 3.67495L5.72489 4.38745L7.14989 2.96245C7.34156 2.77078 7.56239 2.67495 7.81239 2.67495C8.06239 2.67495 8.28323 2.77078 8.4749 2.96245L9.1624 3.64995L9.9124 2.91245C10.0957 2.72912 10.3186 2.63745 10.5811 2.63745C10.8436 2.63745 11.0707 2.73328 11.2624 2.92495C11.4457 3.10828 11.5374 3.33328 11.5374 3.59995C11.5374 3.86662 11.4457 4.09162 11.2624 4.27495L8.43739 7.09995L16.8874 15.55L19.7124 12.725C19.8957 12.5416 20.1186 12.4479 20.3811 12.4437C20.6436 12.4395 20.8707 12.5333 21.0624 12.725C21.2457 12.9083 21.3395 13.1312 21.3436 13.3937C21.3478 13.6562 21.2582 13.8833 21.0749 14.075L20.3374 14.825L21.0249 15.5125C21.2166 15.7041 21.3124 15.925 21.3124 16.175C21.3124 16.425 21.2166 16.6458 21.0249 16.8375L19.5999 18.2625L20.3124 18.9875C20.4874 19.1625 20.5749 19.377 20.5749 19.6312C20.5749 19.8854 20.4832 20.1041 20.2999 20.2875C20.1249 20.4625 19.9103 20.552 19.6561 20.5562C19.402 20.5604 19.1832 20.475 18.9999 20.3L18.2749 19.5875L16.8499 21.0125C16.6582 21.2041 16.4374 21.3 16.1874 21.3C15.9374 21.3 15.7166 21.2041 15.5249 21.0125L14.8374 20.325L14.0874 21.0625C13.9041 21.2458 13.6811 21.3375 13.4186 21.3375C13.1561 21.3375 12.9291 21.2416 12.7374 21.05C12.5541 20.8666 12.4624 20.6416 12.4624 20.375C12.4624 20.1083 12.5541 19.8833 12.7374 19.7L15.5624 16.875L7.11239 8.42495Z"
|
|
fill="#4D001B"
|
|
/>
|
|
</svg>
|
|
)
|
|
}
|