Skip to content

Commit

Permalink
feat(Balloon): make Tooltip's shadow configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
youluna committed Mar 22, 2019
1 parent 70c1bc4 commit 9a6a931
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/balloon/scss/variable.scss
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ $balloon-primary-color-close-hover: $color-text1-4 !default;
/// @namespace statement/normal/bounding
$balloon-tooltip-color-bg: $color-fill1-2 !default;

/// shadow
/// @namespace statement/normal/bounding
$balloon-tooltip-shadow: $shadow-zero !default;

/// border
/// @namespace statement/normal/bounding
$balloon-tooltip-color-border: $color-line1-2 !default;
Expand All @@ -160,7 +164,6 @@ $balloon-tooltip-border-style: $line-solid !default;
/// @namespace statement/normal/content
$balloon-tooltip-color: $color-text1-4 !default;

$balloon-tooltip-shadow: none;
$balloon-shadow-top: shadow-maker($shadow-sides-base, 1, rgba($shadow-color-sd1, .1), -1, -1);
$balloon-shadow-right: shadow-maker($shadow-sides-base, 1, rgba($shadow-color-sd1, .1), 1, -1);
$balloon-shadow-bottom: shadow-maker($shadow-sides-base, 1, rgba($shadow-color-sd1, .1), 1, 1);
Expand Down

0 comments on commit 9a6a931

Please sign in to comment.