Add inherit to color palette (#5597)

Re-implementation of #2706.

Co-Authored-By: Jorge González <yo@jorgeglz.io>

Co-authored-by: Jorge González <yo@jorgeglz.io>
This commit is contained in:
Adam Wathan 2021-09-26 10:09:43 -04:00 committed by GitHub
parent e602a3dca7
commit 4efc5971f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -13,8 +13,9 @@ function warn({ version, from, to }) {
}
export default {
transparent: 'transparent',
inherit: 'inherit',
current: 'currentColor',
transparent: 'transparent',
black: '#000',
white: '#fff',
slate: {

View File

@ -11,8 +11,9 @@ module.exports = {
'2xl': '1536px',
},
colors: ({ colors }) => ({
transparent: colors.transparent,
inherit: colors.inherit,
current: colors.current,
transparent: colors.transparent,
black: colors.black,
white: colors.white,
slate: colors.slate,