Skip to content

Commit

Permalink
extract opacity for dimmed block to _.variables.scss and change its v…
Browse files Browse the repository at this point in the history
…alue from 0.2 to 1 (#21042)
  • Loading branch information
jbinda authored Mar 23, 2020
1 parent 5f3d16f commit 9f0471e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/base-styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ $block-side-ui-clearance: 2px; // Space between movers/drag handle UI, and block
$block-container-side-padding: $block-side-ui-width + $block-padding + 2 * $block-side-ui-clearance; // Total space left and right of the block footprint.
$block-bg-padding--v: $block-padding + $block-spacing + $block-side-ui-clearance; // padding for Blocks with a background color (eg: paragraph or group)
$block-bg-padding--h: $block-side-ui-width + $block-side-ui-clearance; // padding for Blocks with a background color (eg: paragraph or group)
$dimmed-opacity: 1;

$block-edge-to-content: 16px;
$block-selected-margin: 3px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}

.dimmed {
opacity: 0.2;
opacity: $dimmed-opacity;
}

.horizontalSpaceNone {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
}

.dimmed {
opacity: 0.2;
opacity: $dimmed-opacity;
}

0 comments on commit 9f0471e

Please sign in to comment.