Skip to content

Commit

Permalink
Improve copy and display of notification text
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisdano committed Dec 13, 2019
1 parent 7b716c6 commit a561e18
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/stylesheets/core/_notifications.scss
Expand Up @@ -9,7 +9,7 @@
*/

$uswds-notifications: "
$uswds-notifications: "\a
--------------------------------------------------------------------
\2709 USWDS Notifications
--------------------------------------------------------------------
Expand All @@ -19,21 +19,23 @@ point (often styles.scss) with `@import \"uswds-theme-components\"`.
A bug in 2.0 omitted that import.
--------------------------------------------------------------------
2.2.0: We changed the names of some settings.
$theme-navigation-width \2192 $theme-header-min-width
$theme-megamenu-logo-text-width \2192 $theme-header-logo-text-width
- $theme-navigation-width \2192 $theme-header-min-width
- $theme-megamenu-logo-text-width \2192 $theme-header-logo-text-width
--------------------------------------------------------------------
2.0.2: We changed the names of some settings and mixins.
$theme-title-font-size \2192 $theme-display-font-size
@include title \2192 @include display
@include typeset-title \2192 @include typeset-display";
- $theme-title-font-size \2192 $theme-display-font-size
- @include title \2192 @include display
- @include typeset-title \2192 @include typeset-display";

$uswds-notification-disable-message: "
--------------------------------------------------------------------
These are notifications from the USWDS team, not necessarily a
problem with your code.
Disable notifications using $theme-show-notifications: false
--------------------------------------------------------------------";
Disable notifications using `$theme-show-notifications: false`
--------------------------------------------------------------------\a";

@if $theme-show-notifications {
@warn "#{$uswds-notifications}"
Expand Down

0 comments on commit a561e18

Please sign in to comment.