Skip to content

Commit

Permalink
Add inherit to color palette
Browse files Browse the repository at this point in the history
Re-implementation of #2706.

Co-Authored-By: Jorge González <[email protected]>
  • Loading branch information
adamwathan and iksaku committed Sep 25, 2021
1 parent 00b6ed0 commit a56fc67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ function warn({ version, from, to }) {
}

module.exports = {
transparent: 'transparent',
inherit: 'inherit',
current: 'currentColor',
transparent: 'transparent',
black: '#000',
white: '#fff',
slate: {
Expand Down
3 changes: 2 additions & 1 deletion stubs/defaultConfig.stub.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a56fc67

Please sign in to comment.