Forked from OpenCode v1.17.4 with multi-agent system: - 5 agents: aircoding, scheduler, worker, architect, reviewer - Deterministic DAG scheduling engine (coordinator_tick) - Tool whitelists as hard enforcement - AirCoding validation plugin - System prompt injection for routing - V1 requirements: C4 docs, ADR, AGENTS.md, debug-log.md - Design documents in docs/
24 lines
576 B
TypeScript
24 lines
576 B
TypeScript
#!/usr/bin/env bun
|
|
|
|
const colors = await Bun.file(import.meta.dir + "/colors.txt").text()
|
|
|
|
const variables = []
|
|
for (const line of colors.split("\n")) {
|
|
if (!line.trim()) continue
|
|
const [variable] = line.trim().split(":")
|
|
const name = variable!.trim().substring(2)
|
|
variables.push(`--color-${name}: var(--${name});`)
|
|
}
|
|
|
|
const output = `
|
|
/* Generated by script/tailwind.ts */
|
|
/* Do not edit this file manually */
|
|
|
|
@theme {
|
|
--color-*: initial;
|
|
${variables.join("\n ")}
|
|
}
|
|
`
|
|
|
|
await Bun.file(import.meta.dir + "/../src/styles/tailwind/colors.css").write(output.trim())
|