Skip to content

Commit

Permalink
Merge pull request #10 from pheralb/next
Browse files Browse the repository at this point in the history
🚀 Update react-symbols 1.1.3 & add Supabase icon.
  • Loading branch information
pheralb authored Nov 12, 2022
2 parents 28ff4ba + a3cf666 commit 5a467b6
Show file tree
Hide file tree
Showing 8 changed files with 107 additions and 96 deletions.
12 changes: 6 additions & 6 deletions library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-symbols/icons",
"version": "1.1.2",
"version": "1.1.3",
"description": "File icons by Miguel Solorio for React",
"keywords": [
"react",
Expand Down Expand Up @@ -40,13 +40,13 @@
},
"devDependencies": {
"@swc/cli": "0.1.57",
"@swc/core": "1.3.4",
"@types/node": "18.7.23",
"@types/react": "18.0.21",
"@types/react-dom": "18.0.6",
"@swc/core": "1.3.15",
"@types/node": "18.11.9",
"@types/react": "18.0.25",
"@types/react-dom": "18.0.8",
"react": "18.2.0",
"react-dom": "18.2.0",
"tsup": "6.2.3",
"tsup": "6.4.0",
"typescript": "4.8.4"
},
"peerDependencies": {
Expand Down
1 change: 1 addition & 0 deletions library/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export { default as Storybook } from './library/storybook.js';
export { default as Stylus } from './library/stylus.js';
export { default as Svelte } from './library/svelte.js';
export { default as SVG } from './library/svg.js';
export { default as Supabase } from './library/supabase.js';
export { default as Swift } from './library/swift.js';
export { default as Tailwind } from './library/tailwind.js';
export { default as Text } from './library/text.js';
Expand Down
48 changes: 48 additions & 0 deletions library/src/library/supabase.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import { ComponentProps, FC } from 'react';

const Supabase: FC<ComponentProps<'svg'>> = (props) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 26" {...props}>
<defs>
<linearGradient
id="linear0"
x1="53.974"
x2="94.163"
y1="54.974"
y2="71.829"
gradientTransform="scale(.22936 .22124)"
gradientUnits="userSpaceOnUse"
>
<stop offset="0" stopColor="#249361"></stop>
<stop offset="1" stopColor="#3ECF8E"></stop>
</linearGradient>
<linearGradient
id="linear1"
x1="36.156"
x2="54.484"
y1="30.578"
y2="65.081"
gradientTransform="scale(.22936 .22124)"
gradientUnits="userSpaceOnUse"
>
<stop offset="0" stopOpacity="0.2"></stop>
<stop offset="1" stopOpacity="0"></stop>
</linearGradient>
</defs>
<g>
<path
fill="#249361"
d="M14.613 24.398c-.656.797-1.988.36-2.004-.656l-.23-14.879H22.75c1.879 0 2.926 2.094 1.758 3.512zm0 0"
></path>
<path
fill="#249361"
d="M14.613 24.398c-.656.797-1.988.36-2.004-.656l-.23-14.879H22.75c1.879 0 2.926 2.094 1.758 3.512zm0 0"
></path>
<path
fill="#3ECF8E"
d="M10.395.457c.656-.797 1.984-.36 2 .66l.101 14.875H2.254c-1.879 0-2.926-2.09-1.758-3.512zm0 0"
></path>
</g>
</svg>
);

export default Supabase;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"devDependencies": {
"prettier": "2.7.1",
"turbo": "1.5.5"
"turbo": "1.6.3"
},
"engines": {
"node": ">=14.0.0",
Expand Down
36 changes: 18 additions & 18 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,29 +31,29 @@
},
"dependencies": {
"@react-symbols/icons": "*",
"@remix-run/node": "1.7.2",
"@remix-run/react": "1.7.2",
"@remix-run/vercel": "1.7.2",
"@vercel/node": "2.5.18",
"framer-motion": "7.3.6",
"@remix-run/node": "1.7.5",
"@remix-run/react": "1.7.5",
"@remix-run/vercel": "1.7.5",
"@vercel/node": "2.6.2",
"framer-motion": "7.6.6",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hot-toast": "2.4.0",
"rehype-highlight": "5.0.2"
"rehype-highlight": "6.0.0"
},
"devDependencies": {
"@remix-run/dev": "1.7.2",
"@remix-run/eslint-config": "1.7.2",
"@remix-run/serve": "1.7.2",
"@tailwindcss/typography": "0.5.7",
"@types/react": "18.0.21",
"@types/react-dom": "18.0.6",
"autoprefixer": "10.4.12",
"concurrently": "7.4.0",
"eslint": "8.24.0",
"postcss": "8.4.16",
"tailwindcss": "3.1.8",
"typescript": "4.8.3"
"@remix-run/dev": "1.7.5",
"@remix-run/eslint-config": "1.7.5",
"@remix-run/serve": "1.7.5",
"@tailwindcss/typography": "0.5.8",
"@types/react": "18.0.25",
"@types/react-dom": "18.0.8",
"autoprefixer": "10.4.13",
"concurrently": "7.5.0",
"eslint": "8.27.0",
"postcss": "8.4.19",
"tailwindcss": "3.2.4",
"typescript": "4.8.4"
},
"engines": {
"node": ">=14"
Expand Down
10 changes: 10 additions & 0 deletions website/src/components/header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ const Header = () => (
>
VSCode Theme
</a>
<a
href="https://www.producthunt.com/posts/react-symbols?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-react&#0045;symbols"
target="_blank"
>
<img
src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=362706&theme=dark"
alt="React&#0045;Symbols - ⭐&#0032;A&#0032;beautiful&#0032;icons&#0032;library&#0032;for&#0032;React&#0046; | Product Hunt"
className="w-40 mr-5"
/>
</a>
<a
href="https://github.com/pheralb/react-symbols"
target="_blank"
Expand Down
1 change: 1 addition & 0 deletions website/src/data/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export const Icons = [
{ name: "Svelte", icon: ReactSymbols.Svelte },
{ name: "Svg", icon: ReactSymbols.SVG },
{ name: "Swift", icon: ReactSymbols.Swift },
{ name: "Supabase", icon: ReactSymbols.Supabase },
{ name: "Tailwind", icon: ReactSymbols.Tailwind },
{ name: "Text", icon: ReactSymbols.Text },
{ name: "Ts", icon: ReactSymbols.TypeScript },
Expand Down
93 changes: 22 additions & 71 deletions website/src/styles/tailwind.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
! tailwindcss v3.1.8 | MIT License | https://tailwindcss.com
! tailwindcss v3.2.4 | MIT License | https://tailwindcss.com
*/

/*
Expand Down Expand Up @@ -30,6 +30,7 @@
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
*/

html {
Expand All @@ -44,6 +45,8 @@ html {
/* 3 */
font-family: Inter, sans-serif;
/* 4 */
font-feature-settings: normal;
/* 5 */
}

/*
Expand Down Expand Up @@ -410,54 +413,13 @@ video {
height: auto;
}

*, ::before, ::after {
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
--tw-pan-x: ;
--tw-pan-y: ;
--tw-pinch-zoom: ;
--tw-scroll-snap-strictness: proximity;
--tw-ordinal: ;
--tw-slashed-zero: ;
--tw-numeric-figure: ;
--tw-numeric-spacing: ;
--tw-numeric-fraction: ;
--tw-ring-inset: ;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: rgb(59 130 246 / 0.5);
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
--tw-blur: ;
--tw-brightness: ;
--tw-contrast: ;
--tw-grayscale: ;
--tw-hue-rotate: ;
--tw-invert: ;
--tw-saturate: ;
--tw-sepia: ;
--tw-drop-shadow: ;
--tw-backdrop-blur: ;
--tw-backdrop-brightness: ;
--tw-backdrop-contrast: ;
--tw-backdrop-grayscale: ;
--tw-backdrop-hue-rotate: ;
--tw-backdrop-invert: ;
--tw-backdrop-opacity: ;
--tw-backdrop-saturate: ;
--tw-backdrop-sepia: ;
/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
display: none;
}

::-webkit-backdrop {
*, ::before, ::after {
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
--tw-translate-x: 0;
Expand Down Expand Up @@ -692,22 +654,12 @@ video {
width: 3rem;
}

.transform {
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
.w-40 {
width: 10rem;
}

@-webkit-keyframes tilt {
0%, 50%, 100% {
transform: rotate(0deg);
}

25% {
transform: rotate(1deg);
}

75% {
transform: rotate(-1deg);
}
.transform {
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@keyframes tilt {
Expand All @@ -725,8 +677,7 @@ video {
}

.animate-tilt {
-webkit-animation: tilt 5s infinite linear;
animation: tilt 5s infinite linear;
animation: tilt 5s infinite linear;
}

.cursor-pointer {
Expand Down Expand Up @@ -847,14 +798,6 @@ video {
padding-top: 1.25rem;
}

.pr-3 {
padding-right: 0.75rem;
}

.pl-3 {
padding-left: 0.75rem;
}

.pl-5 {
padding-left: 1.25rem;
}
Expand All @@ -863,6 +806,14 @@ video {
padding-right: 1.25rem;
}

.pr-3 {
padding-right: 0.75rem;
}

.pl-3 {
padding-left: 0.75rem;
}

.pb-4 {
padding-bottom: 1rem;
}
Expand Down

1 comment on commit 5a467b6

@vercel
Copy link

@vercel vercel bot commented on 5a467b6 Nov 12, 2022

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

react-symbols – ./

react-symbols-pheralb.vercel.app
react-symbols-git-main-pheralb.vercel.app
react-symbols.vercel.app

Please sign in to comment.