-
Denis Berezin authored
* Add proper brand colors to drills menu * Add theming for filters and drills * Fix css vars * Fix table css * Add SDK theme colors interface and remapping * Fix dashboard brand color issue * Fix theme colors interface * Fix default theme table cell background * Fix typo * Fix for qb filters panel custom border
Denis Berezin authored* Add proper brand colors to drills menu * Add theming for filters and drills * Fix css vars * Fix table css * Add SDK theme colors interface and remapping * Fix dashboard brand color issue * Fix theme colors interface * Fix default theme table cell background * Fix typo * Fix for qb filters panel custom border
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
postcss.config.js 768 B
/* eslint-env node */
/* eslint-disable import/no-commonjs */
const glob = require("glob");
// eslint-disable-next-line no-undef
const SRC_PATH = __dirname + "/frontend/src/metabase";
const CSS_SRC = glob.sync(SRC_PATH + "/css/**/*.css");
const IS_SDK_BUILD = process.env.IS_SDK_BUILD === "true";
module.exports = {
plugins: {
"postcss-import": {},
"postcss-url": {},
"postcss-preset-env": {
stage: 2,
importFrom: CSS_SRC,
features: {
"custom-media-queries": true,
"custom-properties": IS_SDK_BUILD
? true
: {
preserve: false,
},
"color-mod-function": true,
"focus-visible-pseudo-class": false,
},
},
"postcss-discard-comments": {},
},
};