You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Load it from an extension via ExtensionUtils.loadStyleSheet(module, "foo.less")
Result: LESS throws an exception because @bc-yellow is unrecognized.
Expected: extensions should be able to use Brackets's core LESS constants and macros.
This is probably not super important for third-party extensions yet, but it is definitely a hindrance for core extensions (those in src/extensions/default). We're forced to choose between no code reuse, or dumping styles into the core .less files instead of keeping them with the extension code that uses them. (We currently do an inconsistent mix of both).
The text was updated successfully, but these errors were encountered:
Issue by peterflynn
Tuesday Apr 16, 2013 at 20:16 GMT
Originally opened as adobe/brackets#3459
ExtensionUtils.loadStyleSheet(module, "foo.less")
Result: LESS throws an exception because
@bc-yellow
is unrecognized.Expected: extensions should be able to use Brackets's core LESS constants and macros.
This is probably not super important for third-party extensions yet, but it is definitely a hindrance for core extensions (those in src/extensions/default). We're forced to choose between no code reuse, or dumping styles into the core .less files instead of keeping them with the extension code that uses them. (We currently do an inconsistent mix of both).
The text was updated successfully, but these errors were encountered: