Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug/update theme for fresh profile install #213

Merged
merged 2 commits into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/install/block.block.seven_breadcrumbs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ dependencies:
module:
- system
theme:
- seven
- claro
id: seven_breadcrumbs
theme: seven
theme: claro
region: breadcrumb
weight: 0
provider: null
Expand Down
4 changes: 2 additions & 2 deletions config/install/block.block.seven_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ dependencies:
module:
- system
theme:
- seven
- claro
id: seven_content
theme: seven
theme: claro
region: content
weight: 0
provider: null
Expand Down
4 changes: 2 additions & 2 deletions config/install/block.block.seven_local_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ langcode: en
status: true
dependencies:
theme:
- seven
- claro
id: seven_local_actions
theme: seven
theme: claro
region: content
weight: -10
provider: null
Expand Down
4 changes: 2 additions & 2 deletions config/install/block.block.seven_login.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ dependencies:
module:
- user
theme:
- seven
- claro
id: seven_login
theme: seven
theme: claro
region: content
weight: 10
provider: null
Expand Down
4 changes: 2 additions & 2 deletions config/install/block.block.seven_messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ dependencies:
module:
- system
theme:
- seven
- claro
id: seven_messages
theme: seven
theme: claro
region: highlighted
weight: 0
provider: null
Expand Down
4 changes: 2 additions & 2 deletions config/install/block.block.seven_page_title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ langcode: en
status: true
dependencies:
theme:
- seven
- claro
id: seven_page_title
theme: seven
theme: claro
region: header
weight: -30
provider: null
Expand Down
4 changes: 2 additions & 2 deletions config/install/block.block.seven_primary_local_tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ langcode: en
status: true
dependencies:
theme:
- seven
- claro
id: seven_primary_local_tasks
theme: seven
theme: claro
region: header
weight: 0
provider: null
Expand Down
4 changes: 2 additions & 2 deletions config/install/block.block.seven_secondary_local_tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ langcode: en
status: true
dependencies:
theme:
- seven
- claro
id: seven_secondary_local_tasks
theme: seven
theme: claro
region: pre_content
weight: 0
provider: null
Expand Down
19 changes: 0 additions & 19 deletions config/install/block.block.seven_tide_cms_help.yml

This file was deleted.

2 changes: 1 addition & 1 deletion tide.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ dependencies:
- dpc-sdp:tide_search
- dpc-sdp:tide_site
themes:
- seven
- claro
8 changes: 4 additions & 4 deletions tide.install
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ function tide_install() {
return;
}

// Set the default and admin theme to Seven. It is important to set themes
// only to enabled ones (and we are enabling Seven in profile dependencies).
// Set the default and admin theme to Claro. It is important to set themes
// only to enabled ones (and we are enabling Claro in profile dependencies).
\Drupal::configFactory()
->getEditable('system.theme')
->set('default', 'seven')
->set('admin', 'seven')
->set('default', 'claro')
->set('admin', 'claro')
->save(TRUE);

// Set the path to the logo and favicon files based on install directory.
Expand Down
Loading