Skip to content

Commit d8ddf51

Browse files
committed
chore(sassdoc): updated examples to work with sass instead of node-sass
1 parent f2eb07a commit d8ddf51

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

packages/icon/src/_material-icons.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
////
44

55
@import '~@react-md/typography/dist/variables';
6-
@import 'mixins';
6+
@import './mixins';
77

88
/// Creates the font face for material icons. This takes either a font url
99
/// prefix string or a map of urls for each required font file. If you are using

packages/icon/src/_mixins.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@
3737
///
3838
///
3939
/// @example scss - Updating the base icon size with a media query
40-
/// @media (min-width: 75rem) {
41-
/// @include rmd-icon-theme-update-var(size, rmd-icon-theme(dense-size));
40+
/// :root {
41+
/// @media (min-width: 75rem) {
42+
/// @include rmd-icon-theme-update-var(size, rmd-icon-theme(dense-size));
43+
/// }
4244
/// }
4345
///
4446
/// @param {String} theme-style - The icon theme style type to update. This

packages/transition/src/_mixins.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@
5656
/// A mixin that allows you to animate box shadow performantly.
5757
///
5858
/// @example scss - Simple Usage
59-
/// @import '~@react-md/theme/dist/color-palette';
60-
///
6159
/// .my-class {
6260
/// $start-shadow: inset 0 0 1px $rmd-blue-500;
6361
/// $end-shadow: inset 0 0 4px $rmd-blue-500;
@@ -66,9 +64,6 @@
6664
/// }
6765
///
6866
/// @example scss - Merging with elevation
69-
/// @import '~@react-md/elevation/dist/functions';
70-
/// @import '~@react-md/theme/dist/color-palette';
71-
///
7267
/// .my-class {
7368
/// $start-shadow: rmd-elevation(2);
7469
/// $end-shadow: rmd-elevation(4), inset 0 0 4px $rmd-blue-500;

0 commit comments

Comments
 (0)