Skip to content

Commit

Permalink
chore(config): add rececss config
Browse files Browse the repository at this point in the history
  • Loading branch information
n1stre committed Nov 1, 2023
1 parent c1e7738 commit 6c1f6c1
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions packages/rececss-core/rececss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/** @type {import('./dist').IConfig.DTO} */
module.exports = {
output: {
path: "./tmp/styles",
filename: "rececss",
extension: "css",
splitByMedia: true,
// purge: { content: ["./website/pages/**/*.js"] },
},
media: {
md: "only screen and (min-width: 768px)",
lg: "only screen and (min-width: 992px)",
xl: "only screen and (min-width: 1200px)",
},
separator: {
media: ":",
variant: ":",
},
values: ({ defaults }) => {
return {
width: { ...defaults.width },
...defaults,
};
},
};

0 comments on commit 6c1f6c1

Please sign in to comment.