added changes in index.html

This commit is contained in:
unknown committed 2020-10-17 10:49:10 +08:00
1 parent 39a80845c5
commit d624f727bf
13 files changed
+20358 -85876

No files matched your search

+41 -59
View File
@@ -1,16 +1,10 @@
module.exports = {
corePlugins: {
container: false,
},
future: {
// removeDeprecatedGapUtilities: true,
// purgeLayersByDefault: true,
},
purge: [],
theme: {
container: {
center: true,
},
extend: {
fontsFamily: {
body: ['PT Sans', 'san-serif'],
@@ -29,7 +23,9 @@ module.exports = {
'300': '#32ffa8',
},
indigo: {
'700': '#704dff',
'700': '#7643ea',
'800': '#271d3e',
'900': '#150c2b',
},
},
},
@@ -48,63 +44,49 @@ module.exports = {
'16': '4rem',
'20': '5rem',
'24': '6rem',
'28': '7rem',
'32': '8rem',
'40': '10rem',
'48': '12rem',
'56': '13rem',
'56': '14rem',
'64': '16rem',
'66': '17rem',
'70': '24rem',
},
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1920px',
xxl: '2560px',
},
maxWidth: {
none: 'none',
xxs: '10rem',
xs: '13rem',
sm: '24rem',
md: '28rem',
lg: '32rem',
xl: '36rem',
'2xl': '42rem',
'3xl': '48rem',
'4xl': '56rem',
'5xl': '64rem',
'6xl': '72rem',
width: theme => ({
auto: 'auto',
...theme('spacing'),
'1/2': '50%',
'1/3': '33.333333%',
'2/3': '66.666667%',
'1/4': '25%',
'2/4': '50%',
'3/4': '75%',
'1/5': '20%',
'2/5': '40%',
'3/5': '60%',
'4/5': '80%',
'1/6': '16.666667%',
'2/6': '33.333333%',
'3/6': '50%',
'4/6': '66.666667%',
'5/6': '83.333333%',
'1/12': '8.333333%',
'2/12': '16.666667%',
'3/12': '25%',
'4/12': '33.333333%',
'5/12': '41.666667%',
'6/12': '50%',
'7/12': '58.333333%',
'8/12': '66.666667%',
'9/12': '75%',
'10/12': '83.333333%',
'11/12': '91.666667%',
full: '100%',
screen: '100vw',
}),
variants: {
backgroundColor: ['responsive', 'hover', 'focus', 'checked'],
},
},
variants: {
backgroundColor: ['responsive', 'hover', 'focus', 'checked'],
},
plugins: [
require('@tailwindcss/ui'),
({ addComponents, theme }) => {
addComponents({
".container": {
marginInline: "auto",
paddingInline: "auto",
maxWidth: theme("screens.xl"),
// Breakpoints
"@screen sm": {
maxWidth: theme("screens.md"),
},
"@screen md": {
maxWidth: theme("screens.md"),
},
"@screen lg": {
maxWidth: '1366px',
},
"@screen xl": {
maxWidth: '1366px',
},
},
});
},
],
plugins: [],
}
}