Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeniyKiyashko committed Jan 10, 2025
1 parent 72abaf0 commit 992c2c4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ $button-success-text-bg-selected: null !default;
$button-normal-contained-bg-focused: lighten($button-normal-bg, 8%) !default;
$button-normal-contained-bg-active: lighten($button-normal-bg, 24%) !default;
$button-normal-contained-bg-selected: lighten($button-normal-bg, 17%) !default;
$button-normal-outlined-bg:color.change($button-normal-bg-inverted, $alpha: 0) !default;
$button-normal-outlined-bg: color.change($button-normal-bg-inverted, $alpha: 0) !default;
$button-normal-outlined-bg-hover: color.change($button-normal-outlined-bg, $alpha: 0.04) !default;
$button-normal-outlined-bg-focused: color.change($button-normal-outlined-bg, $alpha: 0.08) !default;
$button-normal-outlined-bg-active: color.change($button-normal-outlined-bg, $alpha: 0.24) !default;
Expand Down
22 changes: 10 additions & 12 deletions packages/devextreme-scss/scss/widgets/material/button/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,6 @@ $button-normal-selected-color: $base-text-color !default;
*/
$button-normal-bg: $base-element-bg !default;

/**
* $name 16. Background color (outlined)
* $type color
*/
$button-normal-outlined-bg: null !default;

/**
* $name 17. Background color (text)
* $type color
*/
$button-normal-text-bg: null !default;

/**
* $name 30. Hover state background color
* $type color
Expand Down Expand Up @@ -304,11 +292,21 @@ $button-disabled-text-color: $button-disabled-background !default;
$button-hover-shadow-color: $button-shadow-color !default;
$button-focused-shadow-color: color.adjust($button-shadow-color, $alpha: 0.08) !default;
$button-active-shadow-color: color.adjust($button-shadow-color, $alpha: 0.08) !default;

/**
* $name 16. Background color (outlined)
* $type color
*/
$button-normal-outlined-bg: color.change($button-normal-bg-inverted, $alpha: 0) !default;
$button-normal-outlined-hover-bg: color.change($button-normal-outlined-bg, $alpha: 0.08) !default;
$button-normal-outlined-focused-bg: color.change($button-normal-outlined-bg, $alpha: 0.08) !default;
$button-normal-outlined-active-bg: color.change($button-normal-outlined-bg, $alpha: 0.3) !default;
$button-normal-outlined-selected-bg: color.change($button-normal-outlined-bg, $alpha: 0.18) !default;

/**
* $name 17. Background color (text)
* $type color
*/
$button-normal-text-bg: color.change($button-normal-bg-inverted, $alpha: 0) !default;
$button-normal-text-hover-bg: color.change($button-normal-text-bg, $alpha: 0.08) !default;
$button-normal-text-focused-bg: color.change($button-normal-text-bg, $alpha: 0.08) !default;
Expand Down

0 comments on commit 992c2c4

Please sign in to comment.