Skip to content

Conversation

alex-ju
Copy link
Member

@alex-ju alex-ju commented Sep 25, 2025

📌 Summary

rollup-plugin-scss is unfortunately limited to outputting a single CSS file.

This PR is a proof of concept for a rollup plugin that compiles SCSS (with different include paths) to CSS as part of the build pipeline and fails if the sass compilation encounters any errors. This will serve as a basis for themed tokens using either css selectors of prefers-color-scheme.

🔗 External links

Jira ticket: HDS-5505


👀 Component checklist

💬 Please consider using conventional comments when reviewing this PR.

📋 PCI review checklist
  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.
  • If applicable, I've worked with GRC to document the impact of any changes to security controls.
    Examples of changes to controls include access controls, encryption, logging, etc.
  • If applicable, I've worked with GRC to ensure compliance due to a significant change to the in-scope PCI environment.
    Examples include changes to operating systems, ports, protocols, services, cryptography-related components, PII processing code, etc.

Copy link

vercel bot commented Sep 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
hds-showcase Ready Ready Preview Sep 25, 2025 1:43pm
hds-website Ready Ready Preview Sep 25, 2025 1:43pm

@alex-ju
Copy link
Member Author

alex-ju commented Oct 1, 2025

Incorporated in #3259

@alex-ju alex-ju closed this Oct 1, 2025
@alex-ju alex-ju deleted the alex-ju/spike-multiple-css-output branch October 1, 2025 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants