🎨 Fix CSS: Import global.css + plain CSS styles
CSS was not being imported! Fixed: ✅ Added 'import ../styles/global.css' to BaseLayout.astro ✅ Rewrote CSS with plain CSS (not @apply which wasn't working) ✅ Cookie banner has inline styles as backup ✅ Font size: 16px base ✅ Solid colors: green-600 (#16a34a), gray-900 (#111827) ✅ Footer has policy links Build: 12 pages ✅
This commit is contained in:
36
dealplustech-astro/node_modules/tailwindcss/lib/util/parseObjectStyles.js
generated
vendored
Normal file
36
dealplustech-astro/node_modules/tailwindcss/lib/util/parseObjectStyles.js
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, "default", {
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
return parseObjectStyles;
|
||||
}
|
||||
});
|
||||
const _postcss = /*#__PURE__*/ _interop_require_default(require("postcss"));
|
||||
const _postcssnested = /*#__PURE__*/ _interop_require_default(require("postcss-nested"));
|
||||
const _postcssjs = /*#__PURE__*/ _interop_require_default(require("postcss-js"));
|
||||
function _interop_require_default(obj) {
|
||||
return obj && obj.__esModule ? obj : {
|
||||
default: obj
|
||||
};
|
||||
}
|
||||
function parseObjectStyles(styles) {
|
||||
if (!Array.isArray(styles)) {
|
||||
return parseObjectStyles([
|
||||
styles
|
||||
]);
|
||||
}
|
||||
return styles.flatMap((style)=>{
|
||||
return (0, _postcss.default)([
|
||||
(0, _postcssnested.default)({
|
||||
bubble: [
|
||||
"screen"
|
||||
]
|
||||
})
|
||||
]).process(style, {
|
||||
parser: _postcssjs.default
|
||||
}).root.nodes;
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user