mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
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:
parent
e602a3dca7
commit
4efc5971f7
@ -13,8 +13,9 @@ function warn({ version, from, to }) {
|
||||
}
|
||||
|
||||
export default {
|
||||
transparent: 'transparent',
|
||||
inherit: 'inherit',
|
||||
current: 'currentColor',
|
||||
transparent: 'transparent',
|
||||
black: '#000',
|
||||
white: '#fff',
|
||||
slate: {
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user