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 ✅
27 lines
531 B
JavaScript
27 lines
531 B
JavaScript
let Selector = require('../selector')
|
|
let utils = require('../utils')
|
|
|
|
class Autofill extends Selector {
|
|
constructor(name, prefixes, all) {
|
|
super(name, prefixes, all)
|
|
|
|
if (this.prefixes) {
|
|
this.prefixes = utils.uniq(this.prefixes.map(() => '-webkit-'))
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Return different selectors depend on prefix
|
|
*/
|
|
prefixed(prefix) {
|
|
if (prefix === '-webkit-') {
|
|
return ':-webkit-autofill'
|
|
}
|
|
return `:${prefix}autofill`
|
|
}
|
|
}
|
|
|
|
Autofill.names = [':autofill']
|
|
|
|
module.exports = Autofill
|