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
2 people authored and RobinMalfait committed Sep 26, 2021
1 parent c03f9ad commit 3acec89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/public/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ function warn({ version, from, to }) {
}

export default {
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 3acec89

Please sign in to comment.