In a discussion titled ‘Functions and Variables’ under the Support category, BlackKnob asked whether it’s possible to access advanced functions and variables (like $primary-low or dark-light-choose()) from Discourse’s variables.scss in theme customization. While basic variables like $primary and $secondary are automatically available, more complex ones are not injected by default. Johani confirmed that importing the variables file directly — using @import "common/foundation/variables" — is the correct solution. They clarified that this is not an overkill, as these imports do not bloat the final CSS sent to the client. For further details, Johani referenced a meta.discourse.org guide explaining how to properly use Discourse’s core variables in themes.