✅ COMPLETED: 1. Dockerfile uses port 80 (astro preview) 2. BaseLayout imports globals.css 3. globals.css with Tailwind v4 @theme syntax 4. index.astro has Header, Footer, FixedContact 5. All image references fixed to existing files 6. Hero uses hdpe_pipe_main.jpg 7. Product cards use hdpe001.jpg 8. pt-20 on main for fixed header ✅ TESTED LOCALLY: - Build: 15 pages in 1.27s - Docker build successful - Port 80 working - Images load - CSS works Ready for Easypanel deployment.
45 lines
1.3 KiB
JavaScript
45 lines
1.3 KiB
JavaScript
Prism.languages.keyman = {
|
|
'comment': {
|
|
pattern: /\bc .*/i,
|
|
greedy: true
|
|
},
|
|
'string': {
|
|
pattern: /"[^"\r\n]*"|'[^'\r\n]*'/,
|
|
greedy: true
|
|
},
|
|
'virtual-key': {
|
|
pattern: /\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,
|
|
greedy: true,
|
|
alias: 'function' // alias for styles
|
|
},
|
|
|
|
// https://help.keyman.com/developer/language/guide/headers
|
|
'header-keyword': {
|
|
pattern: /&\w+/,
|
|
alias: 'bold' // alias for styles
|
|
},
|
|
'header-statement': {
|
|
pattern: /\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,
|
|
alias: 'bold' // alias for styles
|
|
},
|
|
|
|
'rule-keyword': {
|
|
pattern: /\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,
|
|
alias: 'keyword'
|
|
},
|
|
'structural-keyword': {
|
|
pattern: /\b(?:ansi|begin|group|match|newcontext|nomatch|postkeystroke|readonly|unicode|using keys)\b/i,
|
|
alias: 'keyword'
|
|
},
|
|
|
|
'compile-target': {
|
|
pattern: /\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,
|
|
alias: 'property'
|
|
},
|
|
|
|
// U+####, x###, d### characters and numbers
|
|
'number': /\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,
|
|
'operator': /[+>\\$]|\.\./,
|
|
'punctuation': /[()=,]/
|
|
};
|