Skip to content

Commit

Permalink
feat!: remove unused legacy n-ui-configured variable
Browse files Browse the repository at this point in the history
  • Loading branch information
apaleslimghost authored Sep 9, 2024
1 parent 9312e23 commit 76d59cc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/dotcom-ui-base-styles/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ expect to be available when a page uses n-ui
$n-ui-foundations-is-silent: false !default; // 'silent' means don't apply styles
$n-ui-foundations-applied: false !default;

// Backwards compatible. This enables us to roll n-ui-foundations out to
// components without risk of outputting o-grid etc. twice in apps
@if variable-exists('n-ui-configured') {
$n-ui-foundations-applied: true;
}

@if $n-ui-foundations-applied == false and $n-ui-foundations-is-silent == false {
$n-ui-foundations-applied: true;
@include nUiFoundations;
Expand Down

0 comments on commit 76d59cc

Please sign in to comment.