Skip to content

Commit

Permalink
chore(website): updated docs for new rmd-theme-dark-elevation defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaursen committed Aug 13, 2021
1 parent 6081e14 commit b2269ff
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 43 deletions.
1 change: 0 additions & 1 deletion packages/documentation/src/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

$rmd-theme-primary: $rmd-teal-500;
$rmd-theme-secondary: $rmd-pink-a-200;
$rmd-theme-dark-elevation: true;
$rmd-utils-auto-dense: true;

$solarized-base-03: #002b36;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
$rmd-theme-dark-elevation: true;

@import 'react-md/dist/everything';

.container {
Expand Down
2 changes: 0 additions & 2 deletions packages/documentation/src/components/Demos/Demo.module.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// sass-lint:disable class-name-format
$rmd-theme-dark-elevation: true;

@import 'react-md/dist/everything';

.preview {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
$rmd-theme-dark-elevation: true;

@import 'react-md/dist/everything';

.container {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,3 @@ how the elevation looks depending on background color.

> This package is used internally for many of the other packages that create
> "temporary" material such as menus and sheets.
> Note: If the dark theme is enabled for the documentation site, this demo is a
> great example of the "raising dark mode elevation" feature that can be enabled
> by setting `$rmd-theme-dark-elevation: true;`.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
$rmd-theme-dark-elevation: true;

@import 'react-md/dist/everything';

.container {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
$rmd-theme-dark-elevation: true;

@import 'react-md/dist/everything';

.container {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
$rmd-theme-dark-elevation: true;

@import 'react-md/dist/everything';

.container {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@import 'react-md/dist/everything';

$rmd-theme-dark-elevation: true;

.button {
@include rmd-progress-theme-update-var(
circular-size,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
$rmd-theme-dark-elevation: true;

@import 'react-md/dist/everything';

.container {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// sass-lint:disable class-name-format
$rmd-theme-dark-elevation: true;

@import 'react-md/dist/everything';

.grid {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
$rmd-theme-dark-elevation: true;

@import 'react-md/dist/everything';

.container {
Expand Down
2 changes: 0 additions & 2 deletions packages/documentation/src/components/Phone/Phone.module.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// sass-lint:disable class-name-format
$rmd-theme-dark-elevation: true;

@import 'react-md/dist/everything';

$phone-height: 35.5rem;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
$rmd-theme-dark-elevation: true;

@import 'react-md/dist/everything';

$page-margin: 1rem;
Expand Down
14 changes: 0 additions & 14 deletions packages/theme/src/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@
/// instead of using this mixin.
///
/// @example scss - Simple Example
/// $rmd-theme-dark-elevation: true;
/// // OVERRIDE_VARIABLES
///
/// .container {
/// @include rmd-theme-dark-elevation-styles {
/// background-color: red;
Expand All @@ -92,7 +89,6 @@
/// }
///
/// @example scss - Simple Prefers Color Scheme
/// $rmd-theme-dark-elevation: true;
/// $rmd-theme-dark-class: 'prefers-color-scheme';
/// // OVERRIDE_VARIABLES
///
Expand All @@ -115,9 +111,6 @@
/// }
///
/// @example scss - CSS Module Example
/// $rmd-theme-dark-elevation: true;
/// // OVERRIDE_VARIABLES
///
/// .container {
/// @include rmd-theme-dark-elevation-styles(true) {
/// background-color: red;
Expand All @@ -137,7 +130,6 @@
/// }
///
/// @example scss - CSS Module Prefers Color Scheme Example
/// $rmd-theme-dark-elevation: true;
/// $rmd-theme-dark-class: 'prefers-color-scheme';
/// // OVERRIDE_VARIABLES
///
Expand Down Expand Up @@ -201,19 +193,13 @@
/// instead of using this mixin.
///
/// @example scss - All z-values
/// $rmd-theme-dark-elevation: true;
/// // OVERRIDE_VARIABLES
///
/// .container {
/// @for $i from 0 to 24 {
/// @include rmd-theme-dark-elevation($i);
/// }
/// }
///
/// @example scss - All z-values with CSS Modules
/// $rmd-theme-dark-elevation: true;
/// // OVERRIDE_VARIABLES
///
/// .container {
/// @for $i from 0 to 24 {
/// @include rmd-theme-dark-elevation($i, true);
Expand Down

0 comments on commit b2269ff

Please sign in to comment.