Add library to bring in Javascript; declare octavia a dependency
This commit is contained in:
parent
bcd624c9a8
commit
9438f9ac52
2 changed files with 19 additions and 4 deletions
|
@ -26,10 +26,7 @@ regions:
|
|||
footer: 'Footer'
|
||||
|
||||
libraries:
|
||||
- octavia/global
|
||||
# If we had to override an override from Octavia (something not defined in its
|
||||
# Bulma build), we would define our own library and uncomment this:
|
||||
# - agarica/global
|
||||
- agarica/global
|
||||
|
||||
# This section is used by the contrib module, Component Libraries. It allows you
|
||||
# to reference .twig files in your sass/ directory by using the Twig namespace:
|
||||
|
|
18
web/themes/custom/agarica/agarica.libraries.yml
Normal file
18
web/themes/custom/agarica/agarica.libraries.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
global:
|
||||
# Note that in the case of CSS, we are replacing the version of Bulma used by
|
||||
# Octavia with our own re-mixed version (and Octavia's was a replacement for
|
||||
# Bulma theme's own inclusion of the Bulma CSS framework. If we had to override
|
||||
# an override from Octavia or Bulma (something defined in their overrides or
|
||||
# global, outside of the Bulma build), we would make our stylesheet and
|
||||
# uncomment this:
|
||||
# css:
|
||||
# theme:
|
||||
# patternlibrary/agaric/css/overrides.css: {}
|
||||
# TODO: Replace JS with a JavaScript compiled from sources.
|
||||
js:
|
||||
patternlibrary/agaric/js/ScrollMagic.min.js: {}
|
||||
patternlibrary/agaric/js/slick.min.js: {}
|
||||
patternlibrary/agaric/js/bulma-carousel.min.js: {}
|
||||
patternlibrary/agaric/js/script.js: {}
|
||||
dependencies:
|
||||
- octavia/global
|
Loading…
Reference in a new issue