Skip to content

Commit

Permalink
Bug/update theme for fresh profile install (#213)
Browse files Browse the repository at this point in the history
* Updated theme from seven to claro for fresh install.

* Removed tide cms help block.
  • Loading branch information
MdNadimHossain authored Mar 6, 2024
1 parent de4014e commit a280d5a
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 40 deletions.
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

0 comments on commit a280d5a

Please sign in to comment.