Can I add custom variables in _variables.scss file?

Post Reply
Skate10
Posts: 1
Joined: 05 Dec 2019, 13:55

11 Aug 2020, 17:06

I am creating a theme for multiple projects and I needed to add some general variable to style the loader layer of the table. I checked that there is no variable for this and the $maskBGColor is used for modal dialog and I cannot use it, because they should have different values.

Is it save to add custom variables in the _variable.scss file or should I have separate file for such custom variables? Is this file updated with the update of the Designer?

Appreciate the help! Thanks!

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

10 Oct 2020, 17:53

Which _variables.scss files are you referring to? Is it the one under mytheme?

Post Reply

Return to “PrimeNG Theme Designer API”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests