Issue #2329501 by alexpott, mdrummond, davidhernandez | Cottser: Add classy.info.yml to core, set Classy as base theme for Bartik and Seven.
parent
dbea83253c
commit
41fce63b99
|
@ -72,6 +72,8 @@ class ConfigImportUITest extends WebTestBase {
|
|||
$core_extension['module']['action'] = 0;
|
||||
$core_extension['module']['ban'] = 0;
|
||||
$core_extension['module'] = module_config_sort($core_extension['module']);
|
||||
// Bartik is a subtheme of classy so classy must be enabled.
|
||||
$core_extension['theme']['classy'] = 0;
|
||||
$core_extension['theme']['bartik'] = 0;
|
||||
$staging->write('core.extension', $core_extension);
|
||||
|
||||
|
|
|
@ -251,7 +251,8 @@ class ThemeTest extends WebTestBase {
|
|||
$this->assertText('Bartik(' . t('active tab') . ')', 'Default local task on blocks admin page is the default theme.');
|
||||
// Switch back to Stark and test again to test that the menu cache is cleared.
|
||||
$this->drupalGet('admin/appearance');
|
||||
$this->clickLink(t('Set as default'), 0);
|
||||
// Stark is the second 'Set as default' link.
|
||||
$this->clickLink(t('Set as default'), 1);
|
||||
$this->drupalGet('admin/structure/block');
|
||||
$this->assertText('Stark(' . t('active tab') . ')', 'Default local task on blocks admin page has changed.');
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
name: Bartik
|
||||
type: theme
|
||||
base theme: classy
|
||||
description: 'A flexible, recolorable theme with many regions and a responsive, mobile-first layout.'
|
||||
package: Core
|
||||
version: VERSION
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
name: Classy
|
||||
type: theme
|
||||
description: 'A base theme with sensible default CSS classes added. Learn how to use Classy as a base theme in the <a href="https://www.drupal.org/theme-guide/8">Drupal 8 Theming Guide</a>.'
|
||||
package: Core
|
||||
version: VERSION
|
||||
core: 8.x
|
|
@ -1,5 +1,6 @@
|
|||
name: Seven
|
||||
type: theme
|
||||
base theme: classy
|
||||
description: 'The default administration theme for Drupal 8 was designed with clean lines, simple blocks, and sans-serif font to emphasize the tools and tasks at hand.'
|
||||
alt text: 'Default administration theme for Drupal 8 with simple blocks and clean lines.'
|
||||
tags: 'multi-column, fluid, responsive, sans-serif, accessible'
|
||||
|
|
Loading…
Reference in New Issue