Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Add new game colors, handle radius
Browse files Browse the repository at this point in the history
  • Loading branch information
arnemolland committed Aug 6, 2021
1 parent 5787158 commit d73319f
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gameflow-tv/flume",
"version": "0.1.2",
"version": "0.1.3",
"description": "React implementation of the Flume design system",
"main": "dist/index.js",
"module": "dist/index.es.js",
Expand Down Expand Up @@ -90,8 +90,8 @@
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.0",
"storybook": "^6.3.6",
"styled-components": "^5.3.0",
"ts-jest": "^27.0.4",
"typescript": "^4.3.5",
"styled-components": "^5.3.0"
"typescript": "^4.3.5"
}
}
4 changes: 3 additions & 1 deletion src/lib/theme/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export type Colors = {
toggle: string
onToggle: string
card: string
shadow: string
}

const fallback: Colors = {
Expand Down Expand Up @@ -61,7 +62,8 @@ const fallback: Colors = {
shimmerBackground: palette.black10,
toggle: palette.codGray,
onToggle: palette.white,
card: palette.emperorGray
card: palette.emperorGray,
shadow: palette.black20
}

export default fallback
11 changes: 9 additions & 2 deletions src/lib/theme/palette.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,16 @@ const palette = {
white: '#ffffff',
black: '#000000',
offWhite: '#eeeeee',
csgo: '#ed8914',
lol: '#3c46a2',
counterStrike: '#ed8914',
leagueOfLegends: '#3c46a2',
dota: '#cc3c21',
valorant: '#ff4655',
rocketLeague: '#3983bb',
callOfDuty: '#bebebe',
overwatch: '#f99e1a',
rainbowSix: '#bcbcbc',
fifa: '#ddddde',
hearthstone: '#586b8e',
punchRed: '#de3131',
lightningYellow: '#f9c513',
mustardYellow: '#735C0f',
Expand Down
4 changes: 3 additions & 1 deletion src/lib/theme/shapes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export type Borders = {
medium: string
pill: string
full: string
handle: string
}

export type Shapes = {
Expand All @@ -16,7 +17,8 @@ const fallback: Shapes = {
small: '4px',
medium: '6px',
pill: '100px',
full: '50%'
full: '50%',
handle: '0px 6px 0px 6px'
}
}

Expand Down

0 comments on commit d73319f

Please sign in to comment.