generated from effector/razzle-template
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BOX-154: Replaces some repeatable css colors with custom props (#48)
* refactor(app): adds css custom props for other repeatable colors #154 ISSUES CLOSED: #154 * chore(app): fix extra item in commitizen config ISSUES CLOSED: #154
- Loading branch information
Showing
19 changed files
with
157 additions
and
119 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
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
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 |
---|---|---|
@@ -1,12 +1,31 @@ | ||
const palette = { | ||
wizard100: '--wizard100', | ||
wizard300: '--wizard300', | ||
wizard500: '--wizard500', | ||
gray100: '--gray100', | ||
bnw100: '--bnw100', | ||
bnw200: '--bnw200', | ||
bnw0: '--bnw0', | ||
bnw500: '--bnw500', | ||
bnw700: '--bnw700', | ||
bnw1000: '--bnw1000', | ||
notice500: '--notice500', | ||
unknown1: '--unknown-1', | ||
unknown2: '--unknown-2', | ||
unknown3: '--unknown-3', | ||
unknown4: '--unknown-4', | ||
unknown5: '--unknown-5', | ||
unknown6: '--unknown-6', | ||
unknown7: '--unknown-7', | ||
unknown8: '--unknown-8', | ||
}; | ||
|
||
export const theme = { | ||
palette: { | ||
wizard100: '--wizard100', | ||
wizard300: '--wizard300', | ||
wizard500: '--wizard500', | ||
gray100: '--gray100', | ||
bnw100: '--bnw100', | ||
bnw200: '--bnw200', | ||
bnw0: '--bnw0', | ||
boxShadow1: '--box-shadow-1', | ||
}, | ||
palette, | ||
shadows: [ | ||
'none', | ||
`0px 3px 9px var(${palette.gray100})`, | ||
`0px 6px 9px var(${palette.bnw100})`, | ||
'0 3px 9px #ebebeb', | ||
], | ||
}; |
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.