Accessing Scss variables in Javascript?

Posted 5 months ago by benmcm1994

Is it possible to access sass variables in javascript? I'm currently using Laravel for a project, but I'm using Jquery/Js without Vue. Is it possible to access variables from Scss in JS? I'd like to customise the theme later but just changing the Sass later rather than changing both.

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.