I have tried to to that using this line of code but it doesn't work
@import url("Javascriptfile.js");
and <script type="text/javascript" src="Script.js">
these two ways doesn't work.
in js file I have
export const PrimaryColor = "#4267B2";
and I want to import it in my css file how can i do it?
PrimaryColor, and your javascript could read it, and use that value as the constant variablePrimaryColorthat it then uses for other features not directly driven by the css.