Skip to content

Commit

Permalink
add theme var: @toast-fill for gitlab issue
Browse files Browse the repository at this point in the history
  • Loading branch information
silentcloud committed May 25, 2017
1 parent 4ec6782 commit acaeff0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/activity-indicator/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
border-radius: @radius-lg;
background-clip: padding-box;
color: @color-text-base-inverse;
background-color: @fill-overlay-inverse;
background-color: @toast-fill;
font-size: @font-size-subhead;
line-height: 40px;
}
Expand Down
1 change: 1 addition & 0 deletions components/style/themes/default.less
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
@fill-mask: rgba(0, 0, 0, 0.4); // 遮罩背景
@fill-overlay-inverse: rgba(58, 58, 58, 0.9);// 浮层背景 - 反色,用于 toast
@color-icon-base: #ccc; // 许多小图标的背景,比如一些小圆点,加减号
@toast-fill: @fill-overlay-inverse;

// 透明度
@opacity-disabled: 0.3; // switch checkbox radio 等组件禁用的透明度
Expand Down
2 changes: 1 addition & 1 deletion components/toast/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
min-width: 1.2rem;
border-radius: @radius-sm;
color: @color-text-base-inverse;
background-color: @fill-overlay-inverse;
background-color: @toast-fill;
line-height: @line-height-paragraph;
padding: @v-spacing-md @h-spacing-lg;

Expand Down

0 comments on commit acaeff0

Please sign in to comment.