-
Notifications
You must be signed in to change notification settings - Fork 0
/
common_design_subtheme.info.yml
116 lines (97 loc) · 3.16 KB
/
common_design_subtheme.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
name: OCHA Common Design sub theme
description: OCHA Common Design sub theme
core_version_requirement: ^9 || ^10
type: theme
base theme: common_design
logo: 'img/logos/rw-logo-desktop.svg'
# 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_navigation: Footer navigation
###
# Define the default library for the subtheme. If you want to include other
# libraries by default, add them as dependencies to global-styling.
#
# @see common_design_subtheme.libraries.yml
#
libraries:
- common_design_subtheme/global-styling
###
# Extend libraries to add site-specific styles to the base-theme components.
# Now, wherever the CD Teaser is used, both the base-theme component and your
# modifications will automatically apply. NOTE: the Drupal library must be
# defined in the libraries.yml file to be used here.
#
# @see common_design_subtheme.libraries.yml
#
libraries-extend:
common_design/cd-block-title:
- common_design_subtheme/cd-block-title
common_design/cd-button:
- common_design_subtheme/cd-button
common_design/cd-footer:
- common_design_subtheme/cd-footer
common_design/cd-form:
- common_design_subtheme/cd-form
common_design/cd-header:
- common_design_subtheme/cd-header
common_design/cd-form--preview:
- common_design_subtheme/rw-preview
reliefweb_fields/reliefweb-links:
- common_design_subtheme/rw-links
reliefweb_fields/reliefweb-section-links:
- common_design_subtheme/rw-section-links
reliefweb_fields/reliefweb-user-posting-rights:
- common_design_subtheme/rw-user-posting-rights
# Autocomplete form widget.
reliefweb_form/widget.autocomplete:
- common_design_subtheme/rw-autocomplete
# Datepicker form widget.
reliefweb_form/widget.datepicker:
- common_design_subtheme/rw-datepicker
# Guidelines.
guidelines/guidelines-json:
- common_design_subtheme/rw-guidelines
reliefweb-guidelines/reliefweb-guidelines:
- common_design_subtheme/rw-guidelines
# Core ajax.
core/drupal.ajax:
- common_design_subtheme/cd-ajax-disable-submit-buttons
###
# Override libraries to replace specific base-theme components. Now, when the
# base-theme component would have been used, instead ONLY yours will apply.
#
libraries-override:
common_design/array-from-polyfill:
js:
js/vendor/array-from-polyfill.js: false
guidelines/guidelines-json:
js:
components/guidelines-json/guidelines-json.js: false
css:
component:
components/guidelines-json/guidelines-json.css: false
guidelines/guideline.preview:
css:
component:
components/preview/guidelines.preview.css: components/rw-guidelines/rw-guidelines--preview.css
###
# Custom namespace - requires Components module
#
# @see https://www.drupal.org/project/components
# @see https://www.drupal.org/docs/contributed-modules/components/understanding-twig-namespaces
#
# components:
# namespaces:
# CKEditor additional styling.
ckeditor5-stylesheets:
- css/ckeditor.css