forked from UN-OCHA/common_design
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcommon_design.info.yml
60 lines (53 loc) · 1.45 KB
/
common_design.info.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: OCHA Common Design
type: theme
description: OCHA Common Design drupal theme. Use as a base theme, and extend.
core_version_requirement: ^9.5 || ^10
dependencies:
- drupal:stable
base theme: stable
logo: 'img/logos/ocha-lockup-blue.svg'
# Defines libraries group in which we can add css/js.
libraries:
- core/drupal
- core/normalize
- common_design/global-styling
- common_design/cd-button
- common_design/cd-dropdown
- common_design/cd-flow
- common_design/cd-nodes
- common_design/cd-utilities
# Regions
regions:
header_top: Header top
header_search: Header search
header_logo: Header logo
header_navigation: Header navigation
highlighted: Highlighted
page_title: Page title
content: Content
sidebar_first: First sidebar
sidebar_second: Second sidebar
facets: Facets
footer_soft: Soft footer
footer_navigation: Footer navigation
libraries-extend:
core/drupal.dropbutton:
- common_design/cd-dropbutton
libraries-override:
core/modernizr:
js:
assets/vendor/modernizr/modernizr.min.js: js/vendor/cd-modernizr.min.js
# select_a11y module for Facets dropdowns.
select_a11y/select_a11y_facets.widget:
css:
theme:
css/style.css: components/cd-select-a11y/cd-select-a11y.css
select_a11y/select_a11y.widget:
css:
theme:
css/style.css: components/cd-select-a11y/cd-select-a11y.css
# CD components
# Requires Components module
components:
namespaces:
cd-components: components