Skip to content

Commit a22836f

Browse files
committed
update
1 parent f708b9e commit a22836f

File tree

1 file changed

+5
-0
lines changed
  • backend/src/build-system/handlers/frontend-code-generate

1 file changed

+5
-0
lines changed

backend/src/build-system/handlers/frontend-code-generate/prompt.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,18 @@ export const generateFrontEndCodePrompt = (
6363

6464
export function generateCSSPrompt(
6565
fileName: string,
66+
sitemapDoc: string,
67+
uxDatamapDoc: string,
6668
directDependencies: string,
6769
dependenciesContext: string,
6870
): string {
6971
return `
7072
You are an expert CSS developer. Generate valid, production-ready CSS for the file "${fileName}".
7173
7274
## Context
75+
- Sitemap Documentation: ${sitemapDoc}
76+
- UX Datamap Documentation: ${uxDatamapDoc}
77+
7378
- Direct Dependencies (if any and may include references to other styles or partials):
7479
${directDependencies}
7580

0 commit comments

Comments
 (0)