-
Notifications
You must be signed in to change notification settings - Fork 1
/
nicsdru_unity_theme.libraries.yml
149 lines (133 loc) · 3.93 KB
/
nicsdru_unity_theme.libraries.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# These libraries provide common css styling shared across all nics Drupal sites
unity-global-styling:
version: 1.x
css:
theme:
css/styles.css: { minified: true }
js:
js/unity-menu-script.js: { minified: true }
js/main-menu-toggle.js: { minified: true }
js/ext-win-script.js: { minified: true }
js/empty-tags-script.js: { minified: true }
js/unity-facets.js: { minified: true }
js/thwoop-images.js: { minified: true }
dependencies:
- core/drupal
- core/jquery
- core/once
# This library provides styling for common admin interface components - the library is only loaded for
# authenticated users and on the user login form - @see nicsdru_origins_theme.theme for processing functions
nicsdru-authenticated-styles:
version: VERSION
css:
theme:
css/drupal-admin.css: { minified: true, weight: -5 }
css/drupal-diff.css: { minified: true, weight: -6 }
# Provide a custom modernizer script
nicsdru-modernizr:
# Block the page from being loaded until Modernizr is initialized.
header: true
remote: https://github.com/Modernizr/Modernizr
license:
name: MIT
url: http://modernizr.com/license/
gpl-compatible: true
version: "v3.6.0"
js:
js/modernizr.min.js: { preprocess: 0, weight: -21, minified: true }
dependencies:
- core/modernizr
unity-fonts:
css:
theme:
'https://fonts.googleapis.com/css?family=Open+Sans&display=swap': { type: external, minified: true }
fontawesome:
remote: https://use.fontawesome.com/releases/v5.3.1/fontawesome-free-5.3.1-web.zip
license: &fontawesome_webfonts_license
name: SIL OFL 1.1
url: https://fontawesome.com/license/free
gpl-compatible: true
version: '5.3.1'
css:
theme:
https://use.fontawesome.com/releases/v5.3.1/css/all.css:
type: external
minified: true
attributes:
crossorigin: anonymous
integrity: "sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU"
# This library provides styling for an optional slider. Reference to this library should be added to the
# subtheme's .info.yml file where required.
unity-slider:
version: VERSION
css:
#The SMACSS category, "component", is loaded after "base" and "layout" styles.
component:
css/3_components/block/slider.css: { minified: true }
eu-cookie-compliance:
version: VERSION
css:
state:
css/4_state/block/eu-cookie-compliance.css: { minified: true }
autocomplete:
version: VERSION
css:
component:
css/3_components/form/search_api_autocomplete.css: { minified: true }
media_library_styles:
version: VERSION
css:
component:
css/3_components/field/file-link.css: { minified: true }
responsive_images:
version: VERSION
css:
component:
css/3_components/content/responsive-images.css: { minified: true }
css/3_components/content/responsive-images-ckeditor.css: { minified: true }
video:
version: VERSION
css:
component:
css/3_components/content/video.css: { minified: true }
accordions:
version: VERSION
css:
component:
css/3_components/content/accordions.css: { minified: true }
js:
js/accordions.js: { minified: true }
dependencies:
- core/drupal
- core/jquery
- core/once
field_label:
version: VERSION
css:
component:
css/3_components/field/field-label.css: { minified: true }
social_links:
version: VERSION
css:
component:
css/3_components/block/social-links.css: { minified: true }
sidebar_menu:
version: VERSION
css:
component:
css/3_components/navigation/sidebar-menu.css: { minified: true }
search_result:
version: VERSION
css:
component:
css/3_components/content/search-results.css: { minified: true }
board_member:
version: VERSION
css:
component:
css/3_components/view/board-member.css: { minified: true }
book:
version: VERSION
css:
component:
css/3_components/navigation/book.css: { minified: true }