Skip to content

Conversation

@pmusaraj
Copy link
Contributor

@pmusaraj pmusaraj commented Feb 2, 2021

  • @import "theme_variables" is no longer supported in core since discourse/discourse@e8b8272 (and is not necessary, core already injects those variables)
  • colors are now dark-mode-friendly

Copy link
Member

@davidtaylorhq davidtaylorhq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the import change break this theme for older versions of Discourse? If so we might want to add a .discourse-compatibility file?

@pmusaraj
Copy link
Contributor Author

pmusaraj commented Feb 2, 2021

No, I don't think so, in previous versions of Discourse, theme variables are injected by core for all theme fields. So the imports were not doing anything useful.

And for the dark-mode color changes, the previous entry in .discourse-compatibility should work fine.

@pmusaraj pmusaraj merged commit 363401c into master Feb 2, 2021
@cvx cvx deleted the fix-scss branch May 12, 2022 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants