Skip to content

Commit

Permalink
Retire a few unused variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Dec 14, 2020
1 parent a2d4baf commit feaea3f
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions packages/base-styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ $helptext-font-size: 12px;
$radio-input-size: 20px;
$radio-input-size-sm: 24px; // Width & height for small viewports.


/**
* Grid System.
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
Expand All @@ -36,6 +37,7 @@ $grid-unit-40: 4 * $grid-unit; // 32px
$grid-unit-50: 5 * $grid-unit; // 40px
$grid-unit-60: 6 * $grid-unit; // 48px


/**
* Dimensions.
*/
Expand All @@ -59,13 +61,15 @@ $mobile-floating-toolbar-height: 44px;
$mobile-floating-toolbar-margin: 8px;
$mobile-color-swatch: 48px;


/**
* Shadows.
*/

$shadow-popover: 0 2px 6px rgba($black, 0.05);
$shadow-modal: 0 3px 30px rgba($black, 0.2);


/**
* Editor widths.
*/
Expand All @@ -75,15 +79,13 @@ $content-width: 840px;
$wide-content-width: 1100px;
$widget-area-width: 700px;


/**
* Block UI.
*/

$block-toolbar-height: $grid-unit-60;
$mobile-block-toolbar-height: 44px;
$block-padding: 14px; // Space between block footprint and focus boundaries. These are drawn outside the block footprint, and do not affect the size.
$block-side-ui-width: $button-size; // Width of the movers/drag handle UI.
$block-side-ui-clearance: 2px; // Space between movers/drag handle UI, and block.
$dimmed-opacity: 1;

$block-edge-to-content: 16px;
Expand All @@ -95,13 +97,18 @@ $block-selected-padding: 0;
$block-selected-child-margin: 5px;
$block-selected-to-content: $block-edge-to-content - $block-selected-margin - $block-selected-border-width;

// Deprecated, please avoid using these.
$block-padding: 14px; // Used to define space between block footprint and surrouding borders.


/**
* Border radii.
*/

$radius-round: 50%;
$radius-block-ui: 2px;


/**
* Block paddings.
*/
Expand Down

0 comments on commit feaea3f

Please sign in to comment.