-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add new theme system warning (#1333)
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
$nb-breaking-notice-enable: true !global; | ||
|
||
@function nb-breaking-notice-show($theme) { | ||
|
||
@debug '$nb-breaking-notice-enable'; | ||
@debug $nb-breaking-notice-enable; | ||
@debug '$nb-breaking-notice-enable'; | ||
|
||
@if($nb-breaking-notice-enable) { | ||
/* stylelint-disable string-no-newline */ | ||
@warn ' | ||
🔥 🔥 🔥 🔥 🔥 🔥 Nebular Attention 🔥 🔥 🔥 🔥 🔥 🔥 | ||
Starting with version 4.0, Nebular will be upgrading its Theme System. | ||
If you use CUSTOM Nebular THEMES | ||
please LET US KNOW AT http://bit.ly/2THkjSE | ||
To supress this warning set $nebular-breaking-notice-enable: false; right before nb-install-global() call. | ||
🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥'; | ||
} | ||
/* stylelint-enable */ | ||
@return true; | ||
} |