When yarn bundles from SCSS to CSS, colors are occasionally converted to RGB instead of Hex #10691

Closed
opened 2025-12-29 21:34:52 +01:00 by adam · 2 comments
Owner

Originally created by @DanSheps on GitHub (Jan 23, 2025).

Proposed Changes

Find a solution to the compiling of the SCSS resulting in RGB instead of hex.

Justification

+--tblr-secondary-text-emphasis: #2b313a;--tblr-success-text-emphasis: #13481b;--tblr-info-text-emphasis: #1a3d5a;--tblr-warning-text-emphasis: #632903;--tblr-danger-text-emphasis: #561717;
---tblr-light-text-emphasis:rgb(0, 53.2, 50);--tblr-secondary-text-emphasis: rgb(43.2, 48.8, 58);--tblr-success-text-emphasis: rgb(18.8, 71.6, 27.2);--tblr-info-text-emphasis: rgb(26.4, 61.2, 90);--tblr-warning-text-emphasis: rgb(98.8, 41.2, 2.8);--tblr-danger-text-emphasis: rgb(85.6, 22.8, 22.8);
+--tblr-light-text-emphasis: #3a4859;--tblr-dark-text-emphasis: #3a4859;--tblr-primary-bg-subtle: #cce7e5;--tblr-secondary-bg-subtle: #e2e4e9;--tblr-success-bg-subtle: #d5f0da;--tblr-info-bg-subtle: #d9ebf9;--tblr-warning-bg-subtle: #fde1cd;--tblr-danger-bg-subtle: #f7d7d7;--tblr-light-bg-subtle: #f7f9fb;
---tblr-dark-bg-subtle:rgb(204, 230.6, 229);--tblr-secondary-bg-subtle: rgb(225.6, 228.4, 233);--tblr-success-bg-subtle: rgb(213.4, 239.8, 217.6);--tblr-info-bg-subtle: rgb(217.2, 234.6, 249);--tblr-warning-bg-subtle: rgb(253.4, 224.6, 205.4);--tblr-danger-bg-subtle: rgb(246.8, 215.4, 215.4);--tblr-light-bg-subtle: rgb(246.5, 249, 250.5);
Originally created by @DanSheps on GitHub (Jan 23, 2025). ### Proposed Changes Find a solution to the compiling of the SCSS resulting in RGB instead of hex. ### Justification ```diff +--tblr-secondary-text-emphasis: #2b313a;--tblr-success-text-emphasis: #13481b;--tblr-info-text-emphasis: #1a3d5a;--tblr-warning-text-emphasis: #632903;--tblr-danger-text-emphasis: #561717; ---tblr-light-text-emphasis:rgb(0, 53.2, 50);--tblr-secondary-text-emphasis: rgb(43.2, 48.8, 58);--tblr-success-text-emphasis: rgb(18.8, 71.6, 27.2);--tblr-info-text-emphasis: rgb(26.4, 61.2, 90);--tblr-warning-text-emphasis: rgb(98.8, 41.2, 2.8);--tblr-danger-text-emphasis: rgb(85.6, 22.8, 22.8); +--tblr-light-text-emphasis: #3a4859;--tblr-dark-text-emphasis: #3a4859;--tblr-primary-bg-subtle: #cce7e5;--tblr-secondary-bg-subtle: #e2e4e9;--tblr-success-bg-subtle: #d5f0da;--tblr-info-bg-subtle: #d9ebf9;--tblr-warning-bg-subtle: #fde1cd;--tblr-danger-bg-subtle: #f7d7d7;--tblr-light-bg-subtle: #f7f9fb; ---tblr-dark-bg-subtle:rgb(204, 230.6, 229);--tblr-secondary-bg-subtle: rgb(225.6, 228.4, 233);--tblr-success-bg-subtle: rgb(213.4, 239.8, 217.6);--tblr-info-bg-subtle: rgb(217.2, 234.6, 249);--tblr-warning-bg-subtle: rgb(253.4, 224.6, 205.4);--tblr-danger-bg-subtle: rgb(246.8, 215.4, 215.4);--tblr-light-bg-subtle: rgb(246.5, 249, 250.5); ```
adam added the type: housekeeping label 2025-12-29 21:34:52 +01:00
adam closed this issue 2025-12-29 21:34:52 +01:00
Author
Owner

@jeremystretch commented on GitHub (Apr 3, 2025):

@DanSheps I don't think I've ever come across this. I vaguely recall discussing this a while back; were you able to determine the root cause?

@jeremystretch commented on GitHub (Apr 3, 2025): @DanSheps I don't think I've ever come across this. I vaguely recall discussing this a while back; were you able to determine the root cause?
Author
Owner

@DanSheps commented on GitHub (May 29, 2025):

I think we can close this out for now.

If I come across it again I will re-open. Likely just a bug with the version I checked it with vs the version available after I pushed.

@DanSheps commented on GitHub (May 29, 2025): I think we can close this out for now. If I come across it again I will re-open. Likely just a bug with the version I checked it with vs the version available after I pushed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10691