-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathffw_theme.libraries.yml
More file actions
executable file
·225 lines (193 loc) · 5.08 KB
/
ffw_theme.libraries.yml
File metadata and controls
executable file
·225 lines (193 loc) · 5.08 KB
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
# These lines define the ffw_theme/global library.
global:
css:
# The SMACSS category, "base", is loaded before other categories. Drupal 8
# loads stylesheets based on the SMACSS ordering of:
# base, layout, component, state, theme
base:
# fonts/fonts.css: {}
https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Sarabun:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap: { type: external }
dist/theme/global/global.css: {}
dist/icons/icons_classes.css: {}
dist/theme/forms/forms.css: {}
dist/theme/layout/layout.css: {}
dist/theme/layout/footer/footer.css: {}
dist/theme/layout/header/header.css: {}
# js:
# Example external library.
# webfonts:
# version: 1.x
# js:
# https://fast.fonts.net/example.js: { type: external, attributes: { async: true }}
# Attach each library by using attach_library() within the components twig template.
# More info: https://www.drupal.org/node/2456753
# Example component library.
# site-logo:
# css:
# component:
# templates/site-logo/site-logo.css: {}
# # If this library had JavaScript you could specify it like this:
# js:
# templates/site-logo/site-logo.js: {}
# # If this library had dependencies on other libraries, you could specify it like this:
# dependencies:
# - ffw_theme/clearfix
# - ffw_theme/visually-hidden
# @todo: Update libraries CSS weight - base, layout (grid), component (components), state, theme (visual styles)
# layout:
# css:
# layout:
# dist/theme/layout/layout.css: {}
# Navigation
navigation:
css:
component:
dist/theme/navigation/navigation.css: {}
main-navigation:
css:
component:
dist/theme/navigation/main-navigation/menu--main.css: {}
js:
dist/theme/navigation/main-navigation/menu--main.js: {}
page-navigation:
css:
component:
dist/theme/navigation/page-navigation/region--page-navigation.css: {}
dist/components/page-navigation/page-navigation.css: {}
js:
dist/components/page-navigation/jquery.nav.js: {}
dist/components/page-navigation/page-navigation.js: {}
dependencies:
- core/jquery
- core/jquery.once
- core/drupal.debounce
#header:
pager:
css:
component:
dist/theme/navigation/pager/pager.css: {}
# Pages
maintenance-page:
css:
component:
dist/theme/pages/maintenance-page/maintenance-page.css: {}
page-400:
css:
component:
dist/theme/pages/page-400/page-400.css: {}
page-search:
css:
component:
dist/theme/pages/page-search/page-search.css: {}
# js:
# dist/theme/content/page-search/page-search.js: {}
# =======
# Content
# =======
node--article:
css:
component:
dist/theme/content/article/node--article.css: {}
node--article--full:
css:
component:
dist/theme/content/article/node--article--full.css: {}
node--article--teaser:
css:
component:
dist/theme/content/article/node--article--teaser.css: {}
# Basic page
node-page:
css:
component:
dist/theme/content/page/node-page.css: {}
# =======
# Blocks
# =======
system-branding:
css:
component:
dist/theme/block/system-branding/block--system-branding-block.css: {}
language:
css:
theme:
dist/components/dropdown-menu/dropdown-menu.css: {}
dist/theme/block/language/language.css: {}
# Admin links - node edit, delete, etc.
local-tasks:
css:
component:
dist/theme/block/local-tasks/block-local-tasks-block.css: {}
facet-blocks:
css:
component:
dist/theme/block/facet-blocks/facet-blocks.css: {}
# =======
# Paragraphs
# =======
cards:
css:
component:
dist/theme/paragraph/cards/paragraph--cards.css: {}
paragraph--example:
css:
component:
dist/theme/paragraph/example/paragraph--example.css: {}
user-form:
css:
component:
dist/theme/user/form--user-form.css: {}
# =======
# External libraries
# =======
# Popup
fresco:
version: VERSION
css:
component:
/libraries/fresco/dist/css/fresco.css: { weight: -50 }
js:
/libraries/fresco/dist/js/fresco.min.js: { scope: footer }
dependencies:
- core/jquery
# Slider Library
splide:
version: VERSION
css:
component:
/libraries/splide/dist/css/splide-core.min.css: { weight: -50 }
js:
/libraries/splide/dist/js/splide.min.js: { scope: footer }
# =======
# Components
# =======
component_block:
css:
component:
dist/components/block/block.css: {}
card:
css:
component:
dist/components/card/card.css: {}
cards-container:
css:
component:
dist/components/cards-container/cards-container.css: {}
dropdown-menu:
css:
component:
dist/components/dropdown-menu/dropdown-menu.css: {}
js:
dist/components/dropdown-menu/dropdown-menu.js: {}
dependencies:
- core/jquery
- core/jquery.once
- core/drupal
splide-arrows:
css:
component:
dist/components/splide-arrows/splide-arrows.css: {}
splide-pagination:
css:
component:
dist/components/splide-pagination/splide-pagination.css: {}