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 ✅
31 lines
764 B
JavaScript
31 lines
764 B
JavaScript
// https://www.openpolicyagent.org/docs/latest/policy-reference/
|
|
|
|
Prism.languages.rego = {
|
|
'comment': /#.*/,
|
|
'property': {
|
|
pattern: /(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,
|
|
lookbehind: true,
|
|
greedy: true
|
|
},
|
|
'string': {
|
|
pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,
|
|
lookbehind: true,
|
|
greedy: true
|
|
},
|
|
|
|
'keyword': /\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,
|
|
'boolean': /\b(?:false|true)\b/,
|
|
|
|
'function': {
|
|
pattern: /\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,
|
|
inside: {
|
|
'namespace': /\b\w+\b(?=\s*\.)/,
|
|
'punctuation': /\./
|
|
}
|
|
},
|
|
|
|
'number': /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
|
|
'operator': /[-+*/%|&]|[<>:=]=?|!=|\b_\b/,
|
|
'punctuation': /[,;.\[\]{}()]/
|
|
};
|