fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

How to reference colors of SASS variables output of the Theme Generator

Open ramonitor opened this issue 9 years ago • 4 comments

How can you reference the colors in the SASS variables the Theme Generator generates? Is this some kind of new(er) list syntax?

The output in the current beta version of the Theme Generator looks like this;

$themePrimaryColor: "[theme: themePrimary, default: #0078d7]"; $themeLighterAltColor: "[theme: themeLighterAlt, default: #eff6fc]"; $themeLighterColor: "[theme: themeLighter, default: #deecf9]"; $themeLightColor: "[theme: themeLight, default: #c7e0f4]"; $themeTertiaryColor: "[theme: themeTertiary, default: #71afe5]";

ramonitor avatar Oct 23 '17 21:10 ramonitor

@phkuo Do you know how this works?

mikewheaton avatar Apr 09 '18 19:04 mikewheaton

@ramonitor what's your scenario? office-ui-fabric-react already provides these SASS variables in https://github.com/OfficeDev/office-ui-fabric-react/blob/master/packages/office-ui-fabric-react/src/common/_themeOverrides.scss

phkuo avatar Apr 09 '18 19:04 phkuo

This issue has been automatically marked as stale because it has not activity for 30 days. It will be closed if no further activity occurs within 14 days of this comment. Thank you for your contributions to Fabric React! Why am I receiving this notification?

stale[bot] avatar Jun 08 '18 19:06 stale[bot]

This issue has been automatically closed because it has not had recent activity after being marked as stale. If you belive this issue is still a problem or should be reopened, please reopen it! Thank you for your contributions to Fabric React! Why am I receiving this notification?

stale[bot] avatar Aug 20 '18 20:08 stale[bot]