diff --git a/src/Form/PanelsBlockConfigureFormBase.php b/src/Form/PanelsBlockConfigureFormBase.php
index 99b069b..e42bdca 100644
--- a/src/Form/PanelsBlockConfigureFormBase.php
+++ b/src/Form/PanelsBlockConfigureFormBase.php
@@ -50,6 +50,13 @@ abstract class PanelsBlockConfigureFormBase extends FormBase {
   protected $block;
 
   /**
+   * The style plugin being used.
+   *
+   * @var \Drupal\panels\Plugin\PanelsStyle\PanelsStyleInterface
+   */
+  protected $stylePlugin;
+
+  /**
    * Constructs a new VariantPluginConfigureBlockFormBase.
    *
    * @param \Drupal\user\SharedTempStoreFactory $tempstore
@@ -121,6 +128,8 @@ abstract class PanelsBlockConfigureFormBase extends FormBase {
     $form_state->set('machine_name', $machine_name);
     $form_state->set('block_id', $this->block->getConfiguration()['uuid']);
 
+    $this->stylePlugin = $this->getVariantPlugin()->getBlockStyle($this->block, $form_state->getValue('style'));
+
     $form['#tree'] = TRUE;
     $form['settings'] = $this->block->buildConfigurationForm([], $form_state);
     $form['settings']['id'] = [
@@ -145,9 +154,22 @@ abstract class PanelsBlockConfigureFormBase extends FormBase {
       '#title'         => $this->t('Style Plugin'),
       '#description'   => $this->t('Please select the style plugin for this region.'),
       '#options'       => $plugin_options,
-      '#default_value' => !empty($this->block->getConfiguration()['style']['plugin']) ? $this->block->getConfiguration()['style']['plugin'] : 'panels_default',
+      '#default_value' => $this->stylePlugin->getPluginId(),
+      '#ajax' => array(
+        'callback' => '::updateStyleSettings',
+        'wrapper' => 'edit-style-settings',
+        'progress' => array(
+          'type' => 'throbber',
+          'message' => $this->t('Updating style settings...'),
+        ),
+      ),
     ];
 
+    $form['style_settings'] = $this->stylePlugin->buildConfigurationForm([], (new FormState())->setValues($form_state->getValue('style_settings', [])));
+    $form['style_settings']['#prefix'] = '<div id="edit-style-settings">';
+    $form['style_settings']['#suffix'] = '</div>';
+    $form['style_settings']['#tree'] = TRUE;
+
     $form['actions']['submit'] = [
       '#type' => 'submit',
       '#value' => $this->submitText(),
@@ -157,6 +179,21 @@ abstract class PanelsBlockConfigureFormBase extends FormBase {
   }
 
   /**
+   * Handles AJAX callbacks upon changes of style setting.
+   *
+   * @param array $form
+   *   An associative array containing the structure of the plugin form.
+   * @param \Drupal\Core\Form\FormStateInterface $form_state
+   *   The current state of the form.
+   *
+   * @return array
+   *   The form structure of those parts of the form to replace style settings.
+   */
+  public function updateStyleSettings(array &$form, FormStateInterface $form_state) {
+    return $form['style_settings'];
+  }
+
+  /**
    * {@inheritdoc}
    */
   public function validateForm(array &$form, FormStateInterface $form_state) {
@@ -169,6 +206,10 @@ abstract class PanelsBlockConfigureFormBase extends FormBase {
     $this->block->validateConfigurationForm($form, $settings);
     // Update the original form values.
     $form_state->setValue('settings', $settings->getValues());
+
+    $style_settings = (new FormState())->setValues($form_state->getValue('style_settings', []));
+    $this->stylePlugin->validateConfigurationForm($form['style_settings'], $style_settings);
+    $form_state->setValue('style_settings', $style_settings->getValues());
   }
 
   /**
@@ -188,9 +229,14 @@ abstract class PanelsBlockConfigureFormBase extends FormBase {
 
     $configuration = $this->block->getConfiguration();
     $configuration['region'] = $form_state->getValue('region');
-    $configuration['style']['plugin'] = $form_state->getValue('style');
     $this->getVariantPlugin()->updateBlock($this->block->getConfiguration()['uuid'], $configuration);
 
+    $style_settings = (new FormState())->setValues($form_state->getValue('style_settings', []));
+    $this->stylePlugin->submitConfigurationForm($form['style_settings'], $style_settings);
+    $style_configuration = $this->stylePlugin->getConfiguration();
+    $this->getVariantPlugin()->setBlockStyle($this->block, $this->stylePlugin, $style_configuration);
+    $form_state->setValue('style_settings', $style_settings);
+
     $cached_values = $this->getCachedValues($this->tempstore, $this->tempstore_id, $form_state->get('machine_name'));
     $cached_values['plugin'] = $this->getVariantPlugin();
     // PageManager specific handling.
diff --git a/src/Form/PanelsBlockEditPanelsStyleForm.php b/src/Form/PanelsBlockEditPanelsStyleForm.php
deleted file mode 100644
index 1651983..0000000
--- a/src/Form/PanelsBlockEditPanelsStyleForm.php
+++ /dev/null
@@ -1,93 +0,0 @@
-<?php
-
-/**
- * @file
- * Contains \Drupal\panels\Form\PanelsBlockEditPanelsStyleForm.
- */
-
-namespace Drupal\panels\Form;
-
-use Drupal\Core\Form\FormStateInterface;
-use Drupal\page_manager\Form\DisplayVariantConfigureBlockFormBase;
-use Drupal\page_manager\PageInterface;
-
-/**
- * Provides a form for editing a region of a display variant.
- */
-class PanelsBlockEditPanelsStyleForm extends DisplayVariantConfigureBlockFormBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  public function getFormId() {
-    return 'panels_block_edit_panels_style_form';
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  protected function prepareBlock($block_id) {
-    return $this->displayVariant->getBlock($block_id);
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  protected function submitText() {
-    return $this->t('Update style');
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function buildForm(array $form, FormStateInterface $form_state, PageInterface $page = NULL, $display_variant_id = NULL, $block_id = NULL) {
-    $this->page           = $page;
-    $this->displayVariant = $page->getVariant($display_variant_id);
-    $this->block          = $this->prepareBlock($block_id);
-    $form_state->set('display_variant_id', $display_variant_id);
-    $form_state->set('block_id', $this->block->getConfiguration()['uuid']);
-
-    $form['#tree'] = TRUE;
-
-    $plugin_options = [];
-    // @todo: Replace with an injected service?
-    foreach (\Drupal::service('plugin.manager.panels.style')->getDefinitions() as $definition) {
-      $plugin_options[$definition['id']] = $definition['title'];
-    }
-
-    $form['style'] = [
-      '#type'          => 'select',
-      '#title'         => $this->t('Style Plugin'),
-      '#description'   => $this->t('Please select the style plugin for this block.'),
-      '#options'       => $plugin_options,
-      '#default_value' => $this->block->getConfiguration()['style']['plugin'] ?: 'panels_default',
-    ];
-
-    $form['actions']['submit'] = [
-      '#type'        => 'submit',
-      '#value'       => $this->submitText(),
-      '#button_type' => 'primary',
-    ];
-    return $form;
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function validateForm(array &$form, FormStateInterface $form_state) {
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function submitForm(array &$form, FormStateInterface $form_state) {
-    $this->displayVariant->updateBlock($this->block->getConfiguration()['uuid'], ['style' => ['plugin' => $form_state->getValue('style')]]);
-    $this->page->save();
-
-    $form_state->setRedirect('page_manager.display_variant_edit', [
-      'page'               => $this->page->id(),
-      'display_variant_id' => $this->displayVariant->id(),
-    ]);
-  }
-
-}
\ No newline at end of file
diff --git a/src/Form/PanelsRegionEditFormBase.php b/src/Form/PanelsRegionEditFormBase.php
index 0ce113f..192e2ef 100644
--- a/src/Form/PanelsRegionEditFormBase.php
+++ b/src/Form/PanelsRegionEditFormBase.php
@@ -55,6 +55,13 @@ abstract class PanelsRegionEditFormBase extends FormBase {
   protected $regionConfiguration;
 
   /**
+   * The style plugin being used.
+   *
+   * @var \Drupal\panels\Plugin\PanelsStyle\PanelsStyleInterface
+   */
+  protected $stylePlugin;
+
+  /**
    * Constructs a new VariantPluginConfigureBlockFormBase.
    *
    * @param \Drupal\user\SharedTempStoreFactory $tempstore
@@ -113,6 +120,8 @@ abstract class PanelsRegionEditFormBase extends FormBase {
     $display_configuration     = $this->variantPlugin->getConfiguration();
     $this->regionConfiguration = !empty($display_configuration['regions'][$region]) ? $display_configuration['regions'][$region] : [];
 
+    $this->stylePlugin = $this->getVariantPlugin()->getRegionStyle($region, $form_state->getValue('style'));
+
     $form_state->set('region', $region);
     $form_state->set('machine_name', $machine_name);
 
@@ -128,9 +137,22 @@ abstract class PanelsRegionEditFormBase extends FormBase {
       '#title'         => $this->t('Style Plugin'),
       '#description'   => $this->t('Please select the style plugin for this region.'),
       '#options'       => $plugin_options,
-      '#default_value' => $this->regionConfiguration['style']['plugin'] ?: 'panels_default',
+      '#default_value' => $this->stylePlugin->getPluginId(),
+      '#ajax' => array(
+        'callback' => '::updateStyleSettings',
+        'wrapper' => 'edit-style-settings',
+        'progress' => array(
+          'type' => 'throbber',
+          'message' => $this->t('Updating style settings...'),
+        ),
+      ),
     ];
 
+    $form['style_settings'] = $this->stylePlugin->buildConfigurationForm([], (new FormState())->setValues($form_state->getValue('style_settings', [])));
+    $form['style_settings']['#prefix'] = '<div id="edit-style-settings">';
+    $form['style_settings']['#suffix'] = '</div>';
+    $form['style_settings']['#tree'] = TRUE;
+
     $form['actions']['submit'] = [
       '#type'        => 'submit',
       '#value'       => $this->submitText(),
@@ -140,9 +162,27 @@ abstract class PanelsRegionEditFormBase extends FormBase {
   }
 
   /**
+   * Handles AJAX callbacks upon changes of style setting.
+   *
+   * @param array $form
+   *   An associative array containing the structure of the plugin form.
+   * @param \Drupal\Core\Form\FormStateInterface $form_state
+   *   The current state of the form.
+   *
+   * @return array
+   *   The form structure of those parts of the form to replace style settings.
+   */
+  public function updateStyleSettings(array &$form, FormStateInterface $form_state) {
+    return $form['style_settings'];
+  }
+
+  /**
    * {@inheritdoc}
    */
   public function validateForm(array &$form, FormStateInterface $form_state) {
+    $style_settings = (new FormState())->setValues($form_state->getValue('style_settings', []));
+    $this->stylePlugin->validateConfigurationForm($form['style_settings'], $style_settings);
+    $form_state->setValue('style_settings', $style_settings->getValues());
   }
 
   /**
@@ -151,9 +191,14 @@ abstract class PanelsRegionEditFormBase extends FormBase {
   public function submitForm(array &$form, FormStateInterface $form_state) {
     $style = $form_state->getValue('style');
     $display_configuration = $this->variantPlugin->getConfiguration();
-    $display_configuration['regions'][$form_state->get('region')]['style']['plugin'] = $style;
     $this->variantPlugin->setConfiguration($display_configuration);
 
+    $style_settings = (new FormState())->setValues($form_state->getValue('style_settings', []));
+    $this->stylePlugin->submitConfigurationForm($form['style_settings'], $style_settings);
+    $style_configuration = $this->stylePlugin->getConfiguration();
+    $this->getVariantPlugin()->setRegionStyle($form_state->get('region'), $this->stylePlugin, $style_configuration);
+    $form_state->setValue('style_settings', $style_settings);
+
     $cached_values = $this->getCachedValues($this->tempstore, $this->tempstore_id, $form_state->get('machine_name'));
     $cached_values['plugin'] = $this->getVariantPlugin();
     // PageManager specific handling.
@@ -171,4 +216,4 @@ abstract class PanelsRegionEditFormBase extends FormBase {
   protected function getVariantPlugin() {
     return $this->variantPlugin;
   }
-}
\ No newline at end of file
+}
diff --git a/src/Plugin/DisplayBuilder/StandardDisplayBuilder.php b/src/Plugin/DisplayBuilder/StandardDisplayBuilder.php
index 58626cc..e57b67a 100644
--- a/src/Plugin/DisplayBuilder/StandardDisplayBuilder.php
+++ b/src/Plugin/DisplayBuilder/StandardDisplayBuilder.php
@@ -91,7 +91,6 @@ class StandardDisplayBuilder extends DisplayBuilderBase implements PluginWizardI
   protected function buildRegions(PanelsDisplayVariant $panels_display) {
     $regions = $panels_display->getRegionAssignments();
     $contexts = $panels_display->getContexts();
-    $layout = $panels_display->getLayout();
 
     $build = [];
     foreach ($regions as $region => $blocks) {
@@ -99,10 +98,6 @@ class StandardDisplayBuilder extends DisplayBuilderBase implements PluginWizardI
         continue;
       }
 
-      $region_name = Html::getClass("block-region-$region");
-      $build[$region]['#prefix'] = '<div class="' . $region_name . '">';
-      $build[$region]['#suffix'] = '</div>';
-
       $build[$region] = [];
       /** @var $blocks \Drupal\Core\Block\BlockPluginInterface[] */
       foreach ($blocks as $block_id => $block) {
@@ -110,7 +105,7 @@ class StandardDisplayBuilder extends DisplayBuilderBase implements PluginWizardI
           $this->contextHandler->applyContextMapping($block, $contexts);
         }
         if ($block->access($this->account)) {
-          $build[$region][$block_id] = $panels_display->getBlockStyle($block_id)->buildBlock($panels_display, $block);
+          $build[$region][$block_id] = $panels_display->getBlockStyle($block)->buildBlock($panels_display, $block);
         }
       }
       // Apply the region style last so that region styles have access to some
diff --git a/src/Plugin/DisplayVariant/PanelsDisplayVariant.php b/src/Plugin/DisplayVariant/PanelsDisplayVariant.php
index 072df46..39c9895 100644
--- a/src/Plugin/DisplayVariant/PanelsDisplayVariant.php
+++ b/src/Plugin/DisplayVariant/PanelsDisplayVariant.php
@@ -5,6 +5,7 @@ namespace Drupal\panels\Plugin\DisplayVariant;
 use Drupal\Component\Render\HtmlEscapedText;
 use Drupal\Component\Uuid\UuidInterface;
 use Drupal\Core\Block\BlockManager;
+use Drupal\Core\Block\BlockPluginInterface;
 use Drupal\Core\Condition\ConditionManager;
 use Drupal\Core\Extension\ModuleHandlerInterface;
 use Drupal\Core\Form\FormStateInterface;
@@ -20,6 +21,7 @@ use Drupal\layout_plugin\Plugin\Layout\LayoutPluginManagerInterface;
 use Drupal\panels\Form\LayoutChangeRegions;
 use Drupal\panels\Form\LayoutChangeSettings;
 use Drupal\panels\Form\LayoutPluginSelector;
+use Drupal\panels\Plugin\PanelsStyle\PanelsStyleInterface;
 use Drupal\panels\Plugin\PanelsStyle\PanelsStylePluginManagerInterface;
 use Drupal\panels\Plugin\DisplayBuilder\DisplayBuilderInterface;
 use Drupal\panels\Plugin\DisplayBuilder\DisplayBuilderManagerInterface;
@@ -304,17 +306,64 @@ class PanelsDisplayVariant extends BlockDisplayVariant implements PluginWizardIn
   /**
    * Returns the panels style plugin to use for the block.
    *
-   * @param string $block_id
-   *   The id of the block.
+   * @param \Drupal\Core\Block\BlockPluginInterface $block_id
+   *   Block plugin.
+   * @param string $style_id
+   *   The plugin id of the style requested. If empty (default), the current
+   *   plugin for the block is returned. If not empty and the style id is not
+   *   equal to the style currently in use for the block, a new style plugin
+   *   with default configuration will be returned.
    *
    * @return \Drupal\panels\Plugin\PanelsStyle\PanelsStyleInterface
    *   The style plugin.
    */
-  public function getBlockStyle($block_id) {
-    $block_config = $this->configuration['blocks'][$block_id];
-    $style = !empty($block_config['style']['plugin']) ? $block_config['style']['plugin'] : 'panels_default';
-    $style_settings = !empty($block_config['style']['configuration']) ? $block_config['style']['configuration'] : [];
-    return $this->styleManager->createInstance($style, $style_settings);
+  public function getBlockStyle(BlockPluginInterface $block, $style_id = '') {
+    $block_config = $block->getConfiguration();
+
+    $plugin_id = !empty($block_config['style']['plugin']) ? $block_config['style']['plugin'] : 'panels_default';
+    $plugin_configuration = !empty($block_config['style']['configuration']) ? $block_config['style']['configuration'] : [];
+
+    if (!empty($style_id) && $style_id !== $plugin_id) {
+      $plugin_id = $style_id;
+      $plugin_configuration = [];
+    }
+
+    return $this->styleManager->createInstance($plugin_id, $plugin_configuration);
+  }
+
+  /**
+   * Assigns the style plugin to use for a block of this variant.
+   *
+   * @param \Drupal\Core\Block\BlockPluginInterface $block
+   *   Block plugin.
+   * @param string|\Drupal\panels\Plugin\PanelsStyle\PanelsStyleInterface $style
+   *   The style plugin object or plugin id.
+   * @param array $style_settings
+   *   The style configuration.
+   *
+   * @return $this
+   *
+   * @throws \Exception
+   *   If $style isn't a string or PanelsStyleInterface object.
+   */
+  public function setBlockStyle(BlockPluginInterface $block, $style, array $style_settings = []) {
+    $block_config = $block->getConfiguration();
+
+    if ($style instanceof PanelsStyleInterface) {
+      $block_config['style']['plugin'] = $style->getPluginId();
+      $block_config['style']['configuration'] = $style_settings;
+    }
+    elseif (is_string($style)) {
+      $block_config['style']['plugin'] = $layout;
+      $block_config['style']['configuration'] = $style_settings;
+    }
+    else {
+      throw new \Exception('Style must be a string or PanelsStyleInterface object');
+    }
+
+    $this->updateBlock($block_config['uuid'], $block_config);
+
+    return $this;
   }
 
   /**
@@ -322,15 +371,58 @@ class PanelsDisplayVariant extends BlockDisplayVariant implements PluginWizardIn
    *
    * @param string $region
    *   The id of the region.
+   * @param string $style_id
+   *   The plugin id of the style requested. If empty (default), the current
+   *   plugin for the region is returned. If not empty and the style id is not
+   *   equal to the style currently in use for the region, a new style plugin
+   *   with default configuration will be returned.
    *
    * @return \Drupal\panels\Plugin\PanelsStyle\PanelsStyleInterface
    *   The style plugin.
    */
-  public function getRegionStyle($region) {
+  public function getRegionStyle($region, $style_id = '') {
     $region_config = !empty($this->configuration['regions'][$region]) ? $this->configuration['regions'][$region] : [];
-    $style = !empty($region_config['style']['plugin']) ? $region_config['style']['plugin'] : 'panels_default';
-    $style_settings = !empty($region_config['style']['configuration']) ? $region_config['style']['configuration'] : [];
-    return $this->styleManager->createInstance($style, $style_settings);
+
+    $plugin_id = !empty($region_config['style']['plugin']) ? $region_config['style']['plugin'] : 'panels_default';
+    $plugin_configuration = !empty($region_config['style']['configuration']) ? $region_config['style']['configuration'] : [];
+
+    if (!empty($style_id) && $style_id !== $plugin_id) {
+      $plugin_id = $style_id;
+      $plugin_configuration = [];
+    }
+
+    return $this->styleManager->createInstance($plugin_id, $plugin_configuration);
+  }
+
+  /**
+   * Assigns the style plugin to use for a region of this variant.
+   *
+   * @param string $region
+   *   The id of the region.
+   * @param string|\Drupal\panels\Plugin\PanelsStyle\PanelsStyleInterface $style
+   *   The style plugin object or plugin id.
+   * @param array $style_settings
+   *   The style configuration.
+   *
+   * @return $this
+   *
+   * @throws \Exception
+   *   If $style isn't a string or PanelsStyleInterface object.
+   */
+  public function setRegionStyle($region, $style, array $style_settings = []) {
+    if ($style instanceof PanelsStyleInterface) {
+      $this->configuration['regions'][$region]['style']['plugin'] = $style->getPluginId();
+      $this->configuration['regions'][$region]['style']['configuration'] = $style_settings;
+    }
+    elseif (is_string($style)) {
+      $this->configuration['regions'][$region]['style']['plugin'] = $layout;
+      $this->configuration['regions'][$region]['style']['configuration'] = $style_settings;
+    }
+    else {
+      throw new \Exception('Style must be a string or PanelsStyleInterface object');
+    }
+
+    return $this;
   }
 
   /**
diff --git a/src/Plugin/PanelsStyle/PanelsStyleBase.php b/src/Plugin/PanelsStyle/PanelsStyleBase.php
index 70b21c7..dd2d655 100644
--- a/src/Plugin/PanelsStyle/PanelsStyleBase.php
+++ b/src/Plugin/PanelsStyle/PanelsStyleBase.php
@@ -11,6 +11,7 @@ use Drupal\Component\Plugin\PluginBase;
 use Drupal\Component\Utility\Html;
 use Drupal\Component\Utility\SafeMarkup;
 use Drupal\Core\Block\BlockPluginInterface;
+use Drupal\Core\Form\FormStateInterface;
 use Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant;
 use Drupal\panels\Plugin\PanelsStyle\PanelsStyleInterface;
 
@@ -20,6 +21,13 @@ use Drupal\panels\Plugin\PanelsStyle\PanelsStyleInterface;
 class PanelsStyleBase extends PluginBase implements PanelsStyleInterface {
 
   /**
+   * The style configuration.
+   *
+   * @var array
+   */
+  protected $configuration = [];
+
+  /**
    * {@inheritdoc}
    */
   public function buildRegion(PanelsDisplayVariant $display, array $build, $region, array $blocks) {
@@ -51,4 +59,52 @@ class PanelsStyleBase extends PluginBase implements PanelsStyleInterface {
     return $build;
   }
 
-}
\ No newline at end of file
+  /**
+   * {@inheritdoc}
+   */
+  public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
+    return $form;
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
+    $this->configuration = $form_state->getValues();
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function getConfiguration() {
+    return array_merge($this->defaultConfiguration(), $this->configuration);
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function setConfiguration(array $configuration) {
+    $this->configuration = $configuration;
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function defaultConfiguration() {
+    return [];
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function calculateDependencies() {
+    return isset($this->configuration['dependencies']) ? $this->configuration['dependencies'] : [];
+  }
+
+}
diff --git a/src/Plugin/PanelsStyle/PanelsStyleInterface.php b/src/Plugin/PanelsStyle/PanelsStyleInterface.php
index 0e56e0c..a4fa444 100644
--- a/src/Plugin/PanelsStyle/PanelsStyleInterface.php
+++ b/src/Plugin/PanelsStyle/PanelsStyleInterface.php
@@ -7,6 +7,7 @@
 
 namespace Drupal\panels\Plugin\PanelsStyle;
 
+use Drupal\Component\Plugin\ConfigurablePluginInterface;
 use Drupal\Component\Plugin\PluginInspectionInterface;
 use Drupal\Core\Block\BlockPluginInterface;
 use Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant;
@@ -14,7 +15,7 @@ use Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant;
 /**
  * Provides an interface for PanelsStyle plugins.
  */
-interface PanelsStyleInterface extends PluginInspectionInterface {
+interface PanelsStyleInterface extends ConfigurablePluginInterface, PluginInspectionInterface {
 
   /**
    * Renders a region.
diff --git a/tests/src/Unit/PanelsDisplayVariantTest.php b/tests/src/Unit/PanelsDisplayVariantTest.php
index d0a5f83..853dad1 100644
--- a/tests/src/Unit/PanelsDisplayVariantTest.php
+++ b/tests/src/Unit/PanelsDisplayVariantTest.php
@@ -13,6 +13,7 @@ use Drupal\Core\Condition\ConditionManager;
 use Drupal\Core\Extension\ModuleHandlerInterface;
 use Drupal\Core\Form\FormState;
 use Drupal\Core\Plugin\Context\ContextHandlerInterface;
+use Drupal\Core\Render\Markup;
 use Drupal\Core\Session\AccountInterface;
 use Drupal\Core\Utility\Token;
 use Drupal\layout_plugin\Plugin\Layout\LayoutInterface;
diff --git a/tests/src/Unit/StandardDisplayBuilderTest.php b/tests/src/Unit/StandardDisplayBuilderTest.php
index 34f79f8..0a2ee4c 100644
--- a/tests/src/Unit/StandardDisplayBuilderTest.php
+++ b/tests/src/Unit/StandardDisplayBuilderTest.php
@@ -1,17 +1,22 @@
 <?php
 
-/**
- * @file
- * Contains \Drupal\Tests\panels\Unit\StandardDisplayBuilderTest.
- */
-
 namespace Drupal\Tests\panels\Unit;
 
+use Drupal\Component\Uuid\UuidInterface;
+use Drupal\Core\Block\BlockManager;
 use Drupal\Core\Block\BlockPluginInterface;
+use Drupal\Core\Condition\ConditionManager;
+use Drupal\Core\Extension\ModuleHandlerInterface;
 use Drupal\Core\Plugin\Context\ContextHandlerInterface;
 use Drupal\Core\Session\AccountInterface;
+use Drupal\Core\Utility\Token;
+use Drupal\layout_plugin\Plugin\Layout\LayoutDefault;
+use Drupal\panels\Plugin\DisplayBuilder\DisplayBuilderManagerInterface;
 use Drupal\panels\Plugin\DisplayBuilder\StandardDisplayBuilder;
 use Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant;
+use Drupal\layout_plugin\Plugin\Layout\LayoutPluginManagerInterface;
+use Drupal\panels\Plugin\PanelsStyle\PanelsStyleDefault;
+use Drupal\panels\Plugin\PanelsStyle\PanelsStylePluginManagerInterface;
 use Drupal\Tests\UnitTestCase;
 use Prophecy\Argument;
 
@@ -22,22 +27,162 @@ use Prophecy\Argument;
 class StandardDisplayBuilderTest extends UnitTestCase {
 
   /**
+   * StandardDisplayBuilder to test.
+   *
    * @var \Drupal\panels\Plugin\DisplayBuilder\StandardDisplayBuilder
    */
   protected $builder;
 
   /**
+   * Mock Account.
+   *
+   * @var \Drupal\Core\Session\AccountInterface
+   */
+  protected $account;
+
+  /**
+   * Mock ContextHandler.
+   *
+   * @var \Drupal\Core\Plugin\Context\ContextHandlerInterface
+   */
+  protected $contextHandler;
+
+  /**
+   * Mock UuidInterface.
+   *
+   * @var \Drupal\Component\Uuid\UuidInterface
+   */
+  protected $uuidGenerator;
+
+  /**
+   * Mock Token.
+   *
+   * @var \Drupal\Core\Utility\Token
+   */
+  protected $token;
+
+  /**
+   * Mock ConditionManager.
+   *
+   * @var \Drupal\Core\Condition\ConditionManager
+   */
+  protected $conditionManager;
+
+  /**
+   * Mock BlockManager.
+   *
+   * @var \Drupal\Core\Block\BlockManager
+   */
+  protected $blockManager;
+
+  /**
+   * Mock ModuleHandler.
+   *
+   * @var \Drupal\Core\Extension\ModuleHandlerInterface
+   */
+  protected $moduleHandler;
+
+  /**
+   * Mock DisplayBuilderManager.
+   *
+   * @var \Drupal\panels\Plugin\DisplayBuilder\DisplayBuilderManagerInterface
+   */
+  protected $builderManager;
+
+  /**
+   * Mock LayoutPluginManager.
+   *
+   * @var \Drupal\layout_plugin\Plugin\Layout\LayoutPluginManagerInterface
+   */
+  protected $layoutManager;
+
+  /**
+   * Partial mock of LayoutDefault.
+   *
+   * @var \Drupal\layout_plugin\Plugin\Layout\LayoutDefault
+   */
+  protected $layout;
+
+  /**
+   * PanelsStyleDefault.
+   *
+   * @var \Drupal\panels\Plugin\PanelsStyle\PanelsStyleDefault
+   */
+  protected $style;
+
+  /**
+   * Mock PanelsStylePluginManager.
+   *
+   * @var \Drupal\panels\Plugin\PanelsStyle\PanelsStylePluginManagerInterface
+   */
+  protected $styleManager;
+
+  /**
+   * Partial mock of PanelsDisplayVariant.
+   *
+   * @var \Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant
+   */
+  protected $variant;
+
+  /**
    * {@inheritdoc}
    */
   public function setUp() {
-    $context_handler = $this->prophesize(ContextHandlerInterface::class)
-      ->reveal();
-    $account = $this->prophesize(AccountInterface::class)
-      ->reveal();
-    $this->builder = new StandardDisplayBuilder(array(), 'standard', array(), $context_handler, $account);
+    $this->contextHandler = $this->prophesize(ContextHandlerInterface::class);
+    $this->account = $this->prophesize(AccountInterface::class);
+    $this->builder = new StandardDisplayBuilder([], 'standard', [], $this->contextHandler->reveal(), $this->account->reveal());
+
+    $this->uuidGenerator = $this->prophesize(UuidInterface::class);
+    $this->token = $this->prophesize(Token::class);
+    $this->blockManager = $this->prophesize(BlockManager::class);
+    $this->conditionManager = $this->prophesize(ConditionManager::class);
+    $this->moduleHandler = $this->prophesize(ModuleHandlerInterface::class);
+    $this->builderManager = $this->prophesize(DisplayBuilderManagerInterface::class);
+
+    $this->layout = $this->getMockBuilder(LayoutDefault::class)
+      ->setConstructorArgs([[], 'layout_plugin_default', []])
+      ->setMethods(['getRegionDefinitions'])
+      ->getMock();
+
+    $this->layoutManager = $this->prophesize(LayoutPluginManagerInterface::class);
+    $this->layoutManager
+      ->createInstance(Argument::type('string'), Argument::type('array'))
+      ->willReturn($this->layout);
+
+    $this->style = new PanelsStyleDefault([], 'panels_default', []);
+
+    $this->styleManager = $this->prophesize(PanelsStylePluginManagerInterface::class);
+    $this->styleManager
+      ->createInstance(Argument::type('string'), Argument::type('array'))
+      ->willReturn($this->style);
+
+    $this->variant = $this->getMockBuilder(PanelsDisplayVariant::class)
+      ->setConstructorArgs([
+        [],
+        '',
+        [],
+        $this->contextHandler->reveal(),
+        $this->account->reveal(),
+        $this->uuidGenerator->reveal(),
+        $this->token->reveal(),
+        $this->blockManager->reveal(),
+        $this->conditionManager->reveal(),
+        $this->moduleHandler->reveal(),
+        $this->builderManager->reveal(),
+        $this->layoutManager->reveal(),
+        $this->styleManager->reveal(),
+      ])
+      ->setMethods([
+        'getBlockStyle',
+        'getRegionAssignments',
+        'getRegionNames',
+      ])
+      ->getMock();
   }
 
   /**
+   * Tests build() method.
+   *
    * @covers ::build
    */
   public function testBuild() {
@@ -70,12 +215,25 @@ class StandardDisplayBuilderTest extends UnitTestCase {
 
     $regions['footer'] = array();
 
-    $panels_display = $this->prophesize(PanelsDisplayVariant::class);
-    $panels_display->getRegionAssignments()->willReturn($regions);
-    $panels_display->getContexts()->willReturn([]);
-    $panels_display->getLayout()->willReturn(NULL);
+    $this->layout->method('getRegionDefinitions')->willReturn([
+      'content' => [],
+      'sidebar' => [],
+      'footer' => [],
+    ]);
+
+    $this->variant->method('getBlockStyle')->willReturn($this->style);
+    $this->variant->method('getRegionAssignments')->willReturn($regions);
+    $this->variant->method('getRegionNames')->willReturn([
+      'content' => 'Content',
+      'sidebar' => 'Sidebar',
+      'footer' => 'Footer',
+    ]);
+
+    $this->variant->setRegionStyle('content', $this->style);
+    $this->variant->setRegionStyle('sidebar', $this->style);
+    $this->variant->setRegionStyle('footer', $this->style);
 
-    $build = $this->builder->build($panels_display->reveal());
+    $build = $this->builder->build($this->variant);
     // Ensure that regions get the proper prefix and suffix.
     $this->assertEquals('<div class="block-region-content">', $build['content']['#prefix']);
     $this->assertEquals('</div>', $build['content']['#suffix']);
