-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #404 from Giphy/move-colors-to-own-package
Move colors to own package
- Loading branch information
Showing
26 changed files
with
211 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@giphy/react-components': patch | ||
'@giphy/colors': patch | ||
--- | ||
|
||
Add colors package | ||
Remove @giphy/js-brand from react-components, use colors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,5 @@ umd/ | |
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions | ||
.hintrc | ||
.hintrc | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# @giphy/colors | ||
|
||
Color values for GIPHY color palette |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"scripts": { | ||
"lint": "run -T eslint . --ext .ts,.tsx", | ||
"clean": "rm -rf ./dist", | ||
"build": "run -T tsup src/index.ts --format cjs,esm --dts && run -T publint", | ||
"prepublish": "npm run clean && npm run build" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^5.0.4" | ||
}, | ||
"name": "@giphy/colors", | ||
"version": "1.0.0", | ||
"description": "GIPHY color palette", | ||
"homepage": "https://github.com/Giphy/giphy-js/tree/master/packages/colors", | ||
"main": "dist/index.cjs", | ||
"types": "dist/index.d.ts", | ||
"module": "dist/index.js", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"files": [ | ||
"dist/", | ||
"src/**/*" | ||
], | ||
"author": "giannif", | ||
"license": "MIT", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"source": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* greys */ | ||
export const giphyBlack = '#121212' | ||
export const giphyDarkestGrey = '#212121' | ||
export const giphyDarkGrey = '#2e2e2e' | ||
export const giphyDarkCharcoal = '#3e3e3e' | ||
export const giphyCharcoal = '#4a4a4a' | ||
export const giphyLightCharcoal = '#5c5c5c' | ||
export const giphyLightGrey = '#a6a6a6' | ||
export const giphyLightestGrey = '#d8d8d8' | ||
export const giphyWhiteSmoke = '#ececec' | ||
export const giphyWhite = '#ffffff' | ||
/* primary */ | ||
export const giphyBlue = '#00ccff' | ||
export const giphyGreen = '#00ff99' | ||
export const giphyPurple = '#9933ff' | ||
export const giphyRed = '#ff6666' | ||
export const giphyYellow = '#fff35c' | ||
/* secondary */ | ||
export const giphyAqua = '#00e6cc' | ||
export const giphyLightBlue = '#3191ff' | ||
export const giphyIndigo = '#6157ff' | ||
export const giphyPink = '#e646b6' | ||
/* social */ | ||
export const facebookColor = '#3894fc' | ||
export const twitterColor = '#00ccff' | ||
export const pinterestColor = '#e54cb5' | ||
export const tumblrColor = '#529ecc' | ||
export const instagramColor = '#c23c8d' | ||
export const redditColor = '#fc6669' | ||
export const smsColor = '#00ff99' | ||
/* functional */ | ||
export const errorColor = giphyRed | ||
export const deleteColor = giphyRed | ||
export const primaryCTA = giphyIndigo | ||
export const primaryCTADisabled = '#241F74' | ||
export const secondaryCTA = giphyCharcoal | ||
export const dimColor = `rgba(0, 0, 0, 0.8)` | ||
export const gifOverlayColor = `rgba(0, 0, 0, 0.4)` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"outDir": "./dist" | ||
}, | ||
"files": ["src/index.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/react-components/src/components/attribution/verified-badge.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
packages/react-components/src/components/emoji-variations-list.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/react-components/src/components/search-bar/search-bar-channel.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/react-components/src/components/search-bar/suggestion-bar/pills.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/react-components/src/components/video/progress-bar.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.