mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-24 15:42:53 +00:00
shrink tailwind package size by removing unused core components
This commit is contained in:
parent
d8ebbd5a51
commit
1bcbb9417a
1 changed files with 21 additions and 5 deletions
|
@ -1,4 +1,14 @@
|
||||||
|
const colors = require('tailwindcss/colors')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
mode: 'jit',
|
||||||
|
corePlugins: {
|
||||||
|
float: false,
|
||||||
|
tableLayout: false,
|
||||||
|
sepia: false,
|
||||||
|
saturate: false,
|
||||||
|
},
|
||||||
|
|
||||||
theme: {
|
theme: {
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
display: [
|
display: [
|
||||||
|
@ -17,15 +27,21 @@ module.exports = {
|
||||||
"Segoe UI Symbol", "Noto Color Emoji"
|
"Segoe UI Symbol", "Noto Color Emoji"
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
extend: {
|
colors: {
|
||||||
|
transparent: 'transparent',
|
||||||
|
current: 'currentColor',
|
||||||
|
black: colors.black,
|
||||||
|
white: colors.white,
|
||||||
|
gray: colors.trueGray,
|
||||||
},
|
},
|
||||||
|
extend: {},
|
||||||
},
|
},
|
||||||
|
|
||||||
variants: {
|
variants: {
|
||||||
},
|
},
|
||||||
|
darkMode: false,
|
||||||
purge: [
|
purge: [
|
||||||
"../server/templates/**/*.hbs"
|
"../server/templates/**/*.hbs",
|
||||||
|
"../server/templates/*.hbs"
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in a new issue