Skip to content

Commit 9f32934

Browse files
fix(dialog): backdrop & overlay (#506)
Co-authored-by: Simeon Simeonoff <[email protected]>
1 parent 01b9ec7 commit 9f32934

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

sass/themes/schemas/components/dark/_overlay.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ $dark-material-overlay: extend(
2222

2323
/// Generates a dark fluent overlay schema.
2424
/// @type {Map}
25-
/// @property {Color} background-color [rgba(0, 0, 0, .4)] - The background color used for modal overlays.
2625
/// @requires $fluent-overlay
2726
$dark-fluent-overlay: extend(
2827
$fluent-overlay,
2928
(
30-
background-color: rgb(0 0 0 / 0.4),
3129
_meta: (
3230
theme: 'fluent',
3331
variant: 'dark',

sass/themes/schemas/components/light/_dialog.scss

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/// @prop {Map} title-color [color: ('gray', 900)] - The dialog title text color.
1515
/// @prop {Map} message-color [color: ('gray', 600)] - The dialog message text color.
1616
/// @prop {Color} border-color [transparent] - The border color for dialog component.
17-
/// @prop {Map} backdrop [color: ('gray', 50, .54)] - The dialog backdrop color.
17+
/// @prop {Map} backdrop [color: ('gray', 500, .54)] - The dialog backdrop color.
1818
/// @prop {Number} elevation [24] - The elevation level, between 0-24, to be used for the dialog.
1919
/// @prop {List} border-radius [(rem(4px), rem(0), rem(36px))] - The border radius used for dialog.
2020
/// @prop {Number} default-size [2] - The default size used for the dialog component.
@@ -102,7 +102,6 @@ $material-dialog: extend(
102102

103103
/// Generates a fluent dialog schema.
104104
/// @type {Map}
105-
/// @prop {Map} backdrop [color: ('gray', 900, .4)] - The dialog backdrop color.
106105
/// @prop {List} border-radius [(rem(2px), rem(0), rem(36px))] - The border radius used for dialog.
107106
/// @prop {Map} message-color [color: ('gray', 700)] - The dialog message text color.
108107
/// @prop {Map} typography [
@@ -113,14 +112,6 @@ $material-dialog: extend(
113112
$fluent-dialog: extend(
114113
$light-dialog,
115114
(
116-
backdrop: (
117-
color: (
118-
'gray',
119-
900,
120-
0.4,
121-
),
122-
),
123-
124115
border-radius: (
125116
border-radius: (
126117
rem(2px),

sass/themes/schemas/components/light/_overlay.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,10 @@ $material-overlay: extend(
3535

3636
/// Generates a fluent overlay schema.
3737
/// @type {Map}
38-
/// @prop {Color} background-color [rgba(255, 255, 255, .4)] - The background color used for modal overlays.
3938
/// @requires {Map} $light-overlay
4039
$fluent-overlay: extend(
4140
$light-overlay,
4241
(
43-
background-color: rgb(255 255 255 / 0.4),
4442
_meta: (
4543
theme: 'fluent',
4644
variant: 'light',

0 commit comments

Comments
 (0)