From dd3404a4576b4283f141fe027ece2a85ec5698da Mon Sep 17 00:00:00 2001 From: David Valdez Date: Tue, 15 Jan 2019 10:19:19 -0600 Subject: [PATCH] Add the prism library in the theme --- web/themes/custom/agarica/agarica.info.yml | 1 + web/themes/custom/agarica/agarica.libraries.yml | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/web/themes/custom/agarica/agarica.info.yml b/web/themes/custom/agarica/agarica.info.yml index 8fb747f..29615f6 100644 --- a/web/themes/custom/agarica/agarica.info.yml +++ b/web/themes/custom/agarica/agarica.info.yml @@ -27,6 +27,7 @@ regions: libraries: - agarica/global + - agarica/prism # 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: diff --git a/web/themes/custom/agarica/agarica.libraries.yml b/web/themes/custom/agarica/agarica.libraries.yml index aee17d8..8591296 100644 --- a/web/themes/custom/agarica/agarica.libraries.yml +++ b/web/themes/custom/agarica/agarica.libraries.yml @@ -17,3 +17,11 @@ global: https://unpkg.com/ionicons@4.5.0/dist/ionicons.js: {} dependencies: - octavia/global + +prism: + version: 1.15.0 + css: + theme: + patternlibrary/agaric/css/prism.css: {} + js: + patternlibrary/agaric/js/prism.js: {}