added changes layout
This commit is contained in:
1 parent
405993a258
commit
4c13d209b5
3 files changed
+357
-491
No files matched your search
@@ -1,10 +1,16 @@
|
||||
module.exports = {
|
||||
corePlugins: {
|
||||
container: false,
|
||||
},
|
||||
future: {
|
||||
// removeDeprecatedGapUtilities: true,
|
||||
// purgeLayersByDefault: true,
|
||||
},
|
||||
purge: [],
|
||||
theme: {
|
||||
container: {
|
||||
center: true,
|
||||
},
|
||||
extend: {
|
||||
fontsFamily: {
|
||||
body: ['PT Sans']
|
||||
@@ -67,5 +73,28 @@ module.exports = {
|
||||
},
|
||||
plugins: [
|
||||
require('@tailwindcss/ui'),
|
||||
({ addComponents, theme }) => {
|
||||
addComponents({
|
||||
".container": {
|
||||
marginInline: "auto",
|
||||
paddingInline: theme("spacing.4"),
|
||||
maxWidth: theme("screens.sm"),
|
||||
|
||||
// Breakpoints
|
||||
"@screen sm": {
|
||||
maxWidth: theme("screens.sm"),
|
||||
},
|
||||
"@screen md": {
|
||||
maxWidth: theme("screens.md"),
|
||||
},
|
||||
"@screen lg": {
|
||||
maxWidth: theme("screens.lg"),
|
||||
},
|
||||
"@screen xl": {
|
||||
maxWidth: theme("screens.xl"),
|
||||
},
|
||||
},
|
||||
});
|
||||
},
|
||||
],
|
||||
}
|
||||
Reference in new issue
Block a user