Uses @warn to generate a deprecation notice when using the primary navigation styles.
Was thinking could also log a warning when using the Nunjucks component, but that would require a filter, and the components are provided as standalone macros. I don’t think it’s possible to log messages to the console from within Nunjucks template code, so will have to rely on the notice from Sass alone.
Uses
@warn
to generate a deprecation notice when using the primary navigation styles.Was thinking could also log a warning when using the Nunjucks component, but that would require a filter, and the components are provided as standalone macros. I don’t think it’s possible to log messages to the console from within Nunjucks template code, so will have to rely on the notice from Sass alone.