Skip to content

Commit a56fc67

Browse files
adamwathaniksaku
andcommitted
Add inherit to color palette
Re-implementation of #2706. Co-Authored-By: Jorge González <yo@jorgeglz.io>
1 parent 00b6ed0 commit a56fc67

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

colors.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ function warn({ version, from, to }) {
1313
}
1414

1515
module.exports = {
16-
transparent: 'transparent',
16+
inherit: 'inherit',
1717
current: 'currentColor',
18+
transparent: 'transparent',
1819
black: '#000',
1920
white: '#fff',
2021
slate: {

stubs/defaultConfig.stub.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ module.exports = {
1111
'2xl': '1536px',
1212
},
1313
colors: ({ colors }) => ({
14-
transparent: colors.transparent,
14+
inherit: colors.inherit,
1515
current: colors.current,
16+
transparent: colors.transparent,
1617
black: colors.black,
1718
white: colors.white,
1819
slate: colors.slate,

0 commit comments

Comments
 (0)