Skip to content

Commit

Permalink
chore(sassdoc): updated examples to work with sass instead of node-sass
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaursen committed Aug 13, 2021
1 parent f2eb07a commit d8ddf51
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/icon/src/_material-icons.scss
Expand Up @@ -3,7 +3,7 @@
////

@import '~@react-md/typography/dist/variables';
@import 'mixins';
@import './mixins';

/// Creates the font face for material icons. This takes either a font url
/// prefix string or a map of urls for each required font file. If you are using
Expand Down
6 changes: 4 additions & 2 deletions packages/icon/src/_mixins.scss
Expand Up @@ -37,8 +37,10 @@
///
///
/// @example scss - Updating the base icon size with a media query
/// @media (min-width: 75rem) {
/// @include rmd-icon-theme-update-var(size, rmd-icon-theme(dense-size));
/// :root {
/// @media (min-width: 75rem) {
/// @include rmd-icon-theme-update-var(size, rmd-icon-theme(dense-size));
/// }
/// }
///
/// @param {String} theme-style - The icon theme style type to update. This
Expand Down
5 changes: 0 additions & 5 deletions packages/transition/src/_mixins.scss
Expand Up @@ -56,8 +56,6 @@
/// A mixin that allows you to animate box shadow performantly.
///
/// @example scss - Simple Usage
/// @import '~@react-md/theme/dist/color-palette';
///
/// .my-class {
/// $start-shadow: inset 0 0 1px $rmd-blue-500;
/// $end-shadow: inset 0 0 4px $rmd-blue-500;
Expand All @@ -66,9 +64,6 @@
/// }
///
/// @example scss - Merging with elevation
/// @import '~@react-md/elevation/dist/functions';
/// @import '~@react-md/theme/dist/color-palette';
///
/// .my-class {
/// $start-shadow: rmd-elevation(2);
/// $end-shadow: rmd-elevation(4), inset 0 0 4px $rmd-blue-500;
Expand Down

0 comments on commit d8ddf51

Please sign in to comment.