stylesheet #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm wondering if we can automatically generate a brand CSS stylesheet from brand.json with a workflow? where's best place to put that the css file in the repo?
Implementation Plan
I'll set up automatic CSS generation from brand.json using a Forgejo Actions workflow.
Approach:
Create a Node.js script (
scripts/generate-css.js) that transforms brand.json into a comprehensive CSS stylesheet with:Add the workflow (
.forgejo/workflows/generate-brand-css.yml) that:File location:
brand.cssin the repo root@import url('https://git.brads.house/brad/brand-guidelines/raw/branch/main/brand.css');Starting implementation now.
✓ Implemented
Created PR #3 with full CSS generation solution.
What you get:
brand.cssautomatically generated from brand.jsonFile location:
brand.cssin repo roothttps://git.brads.house/brad/brand-guidelines/raw/branch/main/brand.cssLocal development:
The workflow commits changes automatically, so you just edit brand.json and push — CSS regenerates and updates itself.
Ready for review.