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

Add basic USWDS theme #38

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"drupal/tagify": "^1.2",
"drupal/title_length": "^2.1",
"drupal/type_tray": "^1.3",
"drupal/uswds_base": "^3.9",
"drupal/workflow": "^1.8"
},
"conflict": {
Expand Down
46 changes: 45 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions config/block.block.uswds_base_account_menu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
uuid: 3877e83a-b2db-489d-baed-90effd8acfdb
langcode: en
status: false
dependencies:
config:
- system.menu.account
module:
- system
theme:
- uswds_base
_core:
default_config_hash: _rBQ8au3qhyTzqPcc2a2sAfJPQHaxzJEmMYOLvy35vY
id: uswds_base_account_menu
theme: uswds_base
region: header_top
weight: 0
provider: null
plugin: 'system_menu_block:account'
settings:
id: 'system_menu_block:account'
label: 'User account menu'
label_display: '0'
provider: system
level: 1
depth: 1
expand_all_items: false
visibility: { }
25 changes: 25 additions & 0 deletions config/block.block.uswds_base_branding.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
uuid: 6827deac-8cb3-40f9-b435-fff14ccf9f98
langcode: en
status: false
dependencies:
module:
- system
theme:
- uswds_base
_core:
default_config_hash: IJF_eLwbn6KTglHTcea1DdcER6eH90I1gf5UUWNtERE
id: uswds_base_branding
theme: uswds_base
region: header_top
weight: 0
provider: null
plugin: system_branding_block
settings:
id: system_branding_block
label: 'Site branding'
label_display: '0'
provider: system
use_site_logo: true
use_site_name: true
use_site_slogan: false
visibility: { }
22 changes: 22 additions & 0 deletions config/block.block.uswds_base_breadcrumbs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 084ee7d7-9865-424c-8a2e-70148b5ceeef
langcode: en
status: false
dependencies:
module:
- system
theme:
- uswds_base
_core:
default_config_hash: vk6Vdm_OwlRR94AcQvjxPVahMS_nQLYmg0K_slaZKZ8
id: uswds_base_breadcrumbs
theme: uswds_base
region: header_top
weight: -100
provider: null
plugin: system_breadcrumb_block
settings:
id: system_breadcrumb_block
label: Breadcrumbs
label_display: '0'
provider: system
visibility: { }
22 changes: 22 additions & 0 deletions config/block.block.uswds_base_content.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 8b59e107-8650-4b09-8d90-7eed19de1ba1
langcode: en
status: false
dependencies:
module:
- system
theme:
- uswds_base
_core:
default_config_hash: sQ6LUKDmeUsq8YBZljoOOjQIyEK_GdAE9w3URLL_Iwc
id: uswds_base_content
theme: uswds_base
region: header_top
weight: 30
provider: null
plugin: system_main_block
settings:
id: system_main_block
label: 'Main page content'
label_display: '0'
provider: system
visibility: { }
27 changes: 27 additions & 0 deletions config/block.block.uswds_base_footer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
uuid: e7385fce-a343-4945-b703-539613aed87a
langcode: en
status: false
dependencies:
config:
- system.menu.footer
module:
- system
theme:
- uswds_base
_core:
default_config_hash: fe18X2hTQjshk7BVrSy8SiJPuRZKzP3KTKc5puymUOc
id: uswds_base_footer
theme: uswds_base
region: header_top
weight: 0
provider: null
plugin: 'system_menu_block:footer'
settings:
id: 'system_menu_block:footer'
label: 'Footer menu'
label_display: '0'
provider: system
level: 1
depth: 0
expand_all_items: false
visibility: { }
22 changes: 22 additions & 0 deletions config/block.block.uswds_base_help.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: c0788b9b-6a86-4100-a562-f0606d2905f7
langcode: en
status: false
dependencies:
module:
- help
theme:
- uswds_base
_core:
default_config_hash: kZYm0IFDqdGZFVnT4IcGM4VknJc3u4SBbsI71Gz8qFM
id: uswds_base_help
theme: uswds_base
region: header_top
weight: -30
provider: null
plugin: help_block
settings:
id: help_block
label: Help
label_display: '0'
provider: help
visibility: { }
20 changes: 20 additions & 0 deletions config/block.block.uswds_base_local_actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: 4c5ab145-29e9-4fb8-bda5-bc77bdec74d6
langcode: en
status: false
dependencies:
theme:
- uswds_base
_core:
default_config_hash: WvhJomAnIQT0keg1Yz2xbxmqzqT4vGCfSbSK2M6XQLs
id: uswds_base_local_actions
theme: uswds_base
region: header_top
weight: 10
provider: null
plugin: local_actions_block
settings:
id: local_actions_block
label: 'Primary admin actions'
label_display: '0'
provider: core
visibility: { }
22 changes: 22 additions & 0 deletions config/block.block.uswds_base_local_tasks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: f7455f07-636b-4058-bfb0-2020b27f0024
langcode: en
status: false
dependencies:
theme:
- uswds_base
_core:
default_config_hash: EMaHqTPYMYBCgJxDNacklCOc4izcUYu8hOdorw0vzzU
id: uswds_base_local_tasks
theme: uswds_base
region: header_top
weight: 20
provider: null
plugin: local_tasks_block
settings:
id: local_tasks_block
label: Tabs
label_display: '0'
provider: core
primary: true
secondary: true
visibility: { }
27 changes: 27 additions & 0 deletions config/block.block.uswds_base_main_menu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
uuid: 569c627e-bea4-46b1-997c-329fb18c13e1
langcode: en
status: false
dependencies:
config:
- system.menu.main
module:
- system
theme:
- uswds_base
_core:
default_config_hash: YGYt3U4uee_Ug-Ezrpkz1mNl1uog6EpC8OvnEIa4vV4
id: uswds_base_main_menu
theme: uswds_base
region: header_top
weight: 10
provider: null
plugin: 'system_menu_block:main'
settings:
id: 'system_menu_block:main'
label: 'Main navigation'
label_display: '0'
provider: system
level: 1
depth: 2
expand_all_items: false
visibility: { }
22 changes: 22 additions & 0 deletions config/block.block.uswds_base_messages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: c8b11d92-705d-497b-bf7d-1ac8d08f8d4c
langcode: en
status: false
dependencies:
module:
- system
theme:
- uswds_base
_core:
default_config_hash: EgPwIEEdIJhZwAZt2-9cW10iiKNhAhalL9kLLtKX8AA
id: uswds_base_messages
theme: uswds_base
region: header_top
weight: -50
provider: null
plugin: system_messages_block
settings:
id: system_messages_block
label: 'Status messages'
label_display: '0'
provider: system
visibility: { }
20 changes: 20 additions & 0 deletions config/block.block.uswds_base_page_title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: b4f8aa74-08c3-4f42-b320-bfdc75f82837
langcode: en
status: false
dependencies:
theme:
- uswds_base
_core:
default_config_hash: nCwPdh9v96oDlivWz71bLHUdUjXmXNGzCtZZg3hxmco
id: uswds_base_page_title
theme: uswds_base
region: header_top
weight: 0
provider: null
plugin: page_title_block
settings:
id: page_title_block
label: 'Page title'
label_display: '0'
provider: core
visibility: { }
23 changes: 23 additions & 0 deletions config/block.block.uswds_base_search.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
uuid: 31103bc8-25b4-4dff-b0f4-9ce13af8dd93
langcode: en
status: false
dependencies:
module:
- search
theme:
- uswds_base
_core:
default_config_hash: vTmNF6e_XzlKIeu4-KYMAFiaY5F4hPhNRtodyBYeZBw
id: uswds_base_search
theme: uswds_base
region: header_top
weight: 10
provider: null
plugin: search_form_block
settings:
id: search_form_block
label: Search
label_display: visible
provider: search
page_id: ''
visibility: { }
22 changes: 22 additions & 0 deletions config/block.block.uswds_pgov_breadcrumbs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: e00cb739-7594-4d5d-8c88-04351a9c67f8
langcode: en
status: true
dependencies:
module:
- system
theme:
- uswds_pgov
_core:
default_config_hash: VhBzWb7lMRtIOg9G7VSw_0uopi-7zXeHq4vXqqV1HFE
id: uswds_pgov_breadcrumbs
theme: uswds_pgov
region: breadcrumb
weight: 0
provider: null
plugin: system_breadcrumb_block
settings:
id: system_breadcrumb_block
label: Breadcrumbs
label_display: '0'
provider: system
visibility: { }
Loading