diff --git a/.github/workflows/az-icons-release.yml b/.github/workflows/az-icons-release.yml
new file mode 100644
index 0000000000..a9cdf484be
--- /dev/null
+++ b/.github/workflows/az-icons-release.yml
@@ -0,0 +1,31 @@
+name: Create PR for new Arizona Icons release
+run-name: Create PR to update Arizona Icons to ${{ github.event.client_payload.version }}.
+on:
+ repository_dispatch:
+ types: az_icons_release
+
+jobs:
+ release:
+ name: Create PR
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+ # with:
+ # ssh-key: ${{ secrets.SELF_DEPLOY_KEY }}
+
+ - name: Create new branch and PR
+ run: |
+ git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
+ git config --global user.name "${GITHUB_ACTOR}"
+ git checkout -b 'az-icons-${{ github.event.client_payload.version }}'
+ jq --indent 4 '.require."az-digital/az-icons" |= "${{ github.event.client_payload.version }}"' composer.json > composer.json.new
+ mv composer.json.new composer.json
+ cat themes/custom/az_barrio/includes/common.inc | sed "s/^define('AZ_ICONS_STABLE_VERSION'.*/define('AZ_ICONS_STABLE_VERSION', '${{ github.event.client_payload.version }}');/g" > common.inc.new
+ mv common.inc.new themes/custom/az_barrio/includes/common.inc
+ git add composer.json themes/custom/az_barrio/includes/common.inc
+ git commit -m 'Update Arizona Icons to ${{ github.event.client_payload.version }}'
+ git push --set-upstream origin 'az-icons-${{ github.event.client_payload.version }}'
+ echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
+ gh pr create --title 'Update Arizona Icons to ${{ github.event.client_payload.version }}' --body ''
diff --git a/composer.json b/composer.json
index 547f14230a..f8b966c22b 100644
--- a/composer.json
+++ b/composer.json
@@ -31,6 +31,7 @@
"require": {
"php": ">=8.1",
"az-digital/arizona-bootstrap": "2.0.25",
+ "az-digital/az-icons": "1.0.1",
"az-digital/smart_title": "dev-az-digital",
"citation-style-language/locales": "0.0.11",
"citation-style-language/styles": "0.0.343",
diff --git a/themes/custom/az_barrio/az_barrio.libraries.yml b/themes/custom/az_barrio/az_barrio.libraries.yml
index e2b928bd47..2a02d613e4 100644
--- a/themes/custom/az_barrio/az_barrio.libraries.yml
+++ b/themes/custom/az_barrio/az_barrio.libraries.yml
@@ -25,7 +25,7 @@ az-proxima-nova:
az-icons:
css:
theme:
- https://cdn.digital.arizona.edu/lib/az-icons/main/az-icons-styles.css: {}
+ /libraries/az-icons/az-icons-styles.min.css: {}
arizona-bootstrap:
css:
theme:
diff --git a/themes/custom/az_barrio/az_barrio.theme b/themes/custom/az_barrio/az_barrio.theme
index 02ad43d9f8..3b6678828b 100644
--- a/themes/custom/az_barrio/az_barrio.theme
+++ b/themes/custom/az_barrio/az_barrio.theme
@@ -384,14 +384,25 @@ function az_barrio_az_bootstrap_assets_path($type) {
*/
function az_barrio_az_icons_assets_path($type) {
$az_icons_path = '';
+ $az_icons_cdn_version = theme_get_setting('az_icons_cdn_version');
+ if ($az_icons_cdn_version === 'stable') {
+ $az_icons_cdn_version = AZ_ICONS_STABLE_VERSION;
+ }
// AZ Icons source.
if (theme_get_setting('az_barrio_az_icons_source') === 'cdn') {
- $az_icons_path = 'https://cdn.digital.arizona.edu/lib/az-icons/' . AZ_ICONS_STABLE_VERSION . '/az-icons-styles.css';
+ $az_icons_path = 'https://cdn.digital.arizona.edu/lib/az-icons/' . $az_icons_cdn_version;
}
else {
- $az_icons_path = 'libraries/az-icons/az-icons-styles.css';
+ $az_icons_path = base_path() . 'libraries/az-icons';
+ }
+ $az_icons_path .= '/az-icons-styles';
+
+ // AZ Icons minified.
+ if (theme_get_setting('az_icons_minified')) {
+ $az_icons_path .= '.min';
}
+ $az_icons_path .= '.css';
return $az_icons_path;
}
diff --git a/themes/custom/az_barrio/config/install/az_barrio.settings.yml b/themes/custom/az_barrio/config/install/az_barrio.settings.yml
index ed661b5f5d..fe40a7941f 100644
--- a/themes/custom/az_barrio/config/install/az_barrio.settings.yml
+++ b/themes/custom/az_barrio/config/install/az_barrio.settings.yml
@@ -86,6 +86,8 @@ az_bootstrap_cdn_version: stable
az_bootstrap_minified: true
az_barrio_az_icons: true
az_barrio_az_icons_source: cdn
+az_icons_minified: true
+az_icons_cdn_version: stable
external_links: true
sticky_footer: true
az_barrio_material_design_sharp_icons: true
diff --git a/themes/custom/az_barrio/config/schema/az_barrio.schema.yml b/themes/custom/az_barrio/config/schema/az_barrio.schema.yml
index 40ba1f5294..880af418cf 100644
--- a/themes/custom/az_barrio/config/schema/az_barrio.schema.yml
+++ b/themes/custom/az_barrio/config/schema/az_barrio.schema.yml
@@ -327,10 +327,16 @@ az_barrio.settings:
label: 'Use Material Design Sharp Icons'
az_barrio_az_icons:
type: boolean
- label: 'Use AZ Icons'
+ label: 'Use Arizona Icons'
az_barrio_az_icons_source:
type: string
- label: 'AZ Icons source'
+ label: 'Arizona Icons source'
+ az_icons_minified:
+ type: boolean
+ label: 'Use minified version of Arizona Icons'
+ az_icons_cdn_version:
+ type: string
+ label: 'Arizona Icons CDN version'
sticky_footer:
type: boolean
label: 'Enable AZ Bootstrap sticky footer template'
diff --git a/themes/custom/az_barrio/includes/common.inc b/themes/custom/az_barrio/includes/common.inc
index 13452a37a0..1ba6515905 100644
--- a/themes/custom/az_barrio/includes/common.inc
+++ b/themes/custom/az_barrio/includes/common.inc
@@ -8,7 +8,7 @@
*/
define('AZ_BOOTSTRAP_STABLE_VERSION', '2.0.25');
-define('AZ_ICONS_STABLE_VERSION', 'main');
+define('AZ_ICONS_STABLE_VERSION', '1.0.1');
/**
* Persistent variable name for exporting the AZ Bootstrap CSS location.
diff --git a/themes/custom/az_barrio/libraries/az-icons/az-icons-styles.css b/themes/custom/az_barrio/libraries/az-icons/az-icons-styles.css
deleted file mode 100644
index de409825f4..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/az-icons-styles.css
+++ /dev/null
@@ -1,87 +0,0 @@
-@font-face {
- font-family: 'az-icons';
- src: url('fonts/az-icons.eot?d54800');
- src: url('fonts/az-icons.eot?d54800#iefix') format('embedded-opentype'),
- url('fonts/az-icons.ttf?d54800') format('truetype'),
- url('fonts/az-icons.woff?d54800') format('woff'),
- url('fonts/az-icons.svg?d54800#az-icons') format('svg');
- font-weight: normal;
- font-style: normal;
- font-display: block;
-}
-
-[class^="az-icon-"]::before, [class*=" az-icon-"]::before {
- /* use !important to prevent issues with browser extensions that change fonts */
- font-family: 'az-icons' !important;
- speak: never;
- font-style: normal;
- font-weight: normal;
- font-variant: normal;
- text-transform: none;
- line-height: 1;
-
- /* Better Font Rendering =========== */
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-
-.az-icon-arizona:before {
- content: "\e900";
-}
-.az-icon-award:before {
- content: "\e901";
-}
-.az-icon-cost:before {
- content: "\e902";
-}
-.az-icon-facebook:before {
- content: "\e903";
-}
-.az-icon-financial-aid:before {
- content: "\e904";
-}
-.az-icon-grad-cap:before {
- content: "\e905";
-}
-.az-icon-instagram:before {
- content: "\e906";
-}
-.az-icon-linkedin:before {
- content: "\e907";
-}
-.az-icon-majors-and-degrees:before {
- content: "\e908";
-}
-.az-icon-map-marker:before {
- content: "\e909";
-}
-.az-icon-pinterest:before {
- content: "\e90a";
-}
-.az-icon-scholarship:before {
- content: "\e90b";
-}
-.az-icon-sign-post:before {
- content: "\e90c";
-}
-.az-icon-spotify:before {
- content: "\e90d";
-}
-.az-icon-spring-fling:before {
- content: "\e90e";
-}
-.az-icon-tiktok:before {
- content: "\e90f";
-}
-.az-icon-twitter:before {
- content: "\e910";
-}
-.az-icon-wildcat:before {
- content: "\e911";
-}
-.az-icon-youtube:before {
- content: "\e912";
-}
-.az-icon-vimeo:before {
- content: "\e913";
-}
diff --git a/themes/custom/az_barrio/libraries/az-icons/fonts/az-icons.eot b/themes/custom/az_barrio/libraries/az-icons/fonts/az-icons.eot
deleted file mode 100644
index 77974e5624..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/fonts/az-icons.eot and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/fonts/az-icons.svg b/themes/custom/az_barrio/libraries/az-icons/fonts/az-icons.svg
deleted file mode 100644
index 7d032ebfd0..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/fonts/az-icons.svg
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/themes/custom/az_barrio/libraries/az-icons/fonts/az-icons.ttf b/themes/custom/az_barrio/libraries/az-icons/fonts/az-icons.ttf
deleted file mode 100644
index 1774a04916..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/fonts/az-icons.ttf and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/fonts/az-icons.woff b/themes/custom/az_barrio/libraries/az-icons/fonts/az-icons.woff
deleted file mode 100644
index 4fb70120ad..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/fonts/az-icons.woff and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/arizona.png b/themes/custom/az_barrio/libraries/az-icons/png/arizona.png
deleted file mode 100644
index 75ebb78006..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/arizona.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/award.png b/themes/custom/az_barrio/libraries/az-icons/png/award.png
deleted file mode 100644
index 2dbec17a4e..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/award.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/cost.png b/themes/custom/az_barrio/libraries/az-icons/png/cost.png
deleted file mode 100644
index a371fafa64..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/cost.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/facebook.png b/themes/custom/az_barrio/libraries/az-icons/png/facebook.png
deleted file mode 100644
index c77d530f49..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/facebook.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/financial-aid.png b/themes/custom/az_barrio/libraries/az-icons/png/financial-aid.png
deleted file mode 100644
index 6765321cfd..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/financial-aid.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/grad-cap.png b/themes/custom/az_barrio/libraries/az-icons/png/grad-cap.png
deleted file mode 100644
index 8388e8914e..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/grad-cap.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/instagram.png b/themes/custom/az_barrio/libraries/az-icons/png/instagram.png
deleted file mode 100644
index 95dbc348f1..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/instagram.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/linkedin.png b/themes/custom/az_barrio/libraries/az-icons/png/linkedin.png
deleted file mode 100644
index a6d72abc4e..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/linkedin.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/majors-and-degrees.png b/themes/custom/az_barrio/libraries/az-icons/png/majors-and-degrees.png
deleted file mode 100644
index 9da5ace75b..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/majors-and-degrees.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/map-marker.png b/themes/custom/az_barrio/libraries/az-icons/png/map-marker.png
deleted file mode 100644
index 58e089ad08..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/map-marker.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/pinterest.png b/themes/custom/az_barrio/libraries/az-icons/png/pinterest.png
deleted file mode 100644
index f074968b4d..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/pinterest.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/scholarship.png b/themes/custom/az_barrio/libraries/az-icons/png/scholarship.png
deleted file mode 100644
index 8d04854d9f..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/scholarship.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/sign-post.png b/themes/custom/az_barrio/libraries/az-icons/png/sign-post.png
deleted file mode 100644
index 8a9d704531..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/sign-post.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/spotify.png b/themes/custom/az_barrio/libraries/az-icons/png/spotify.png
deleted file mode 100644
index 2fe0c24704..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/spotify.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/spring-fling.png b/themes/custom/az_barrio/libraries/az-icons/png/spring-fling.png
deleted file mode 100644
index cdf1d4f11c..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/spring-fling.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/tiktok.png b/themes/custom/az_barrio/libraries/az-icons/png/tiktok.png
deleted file mode 100644
index fbe5fa5577..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/tiktok.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/twitter.png b/themes/custom/az_barrio/libraries/az-icons/png/twitter.png
deleted file mode 100644
index 03a4c9df06..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/twitter.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/vimeo.png b/themes/custom/az_barrio/libraries/az-icons/png/vimeo.png
deleted file mode 100644
index 111ff9af5e..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/vimeo.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/wildcat.png b/themes/custom/az_barrio/libraries/az-icons/png/wildcat.png
deleted file mode 100644
index 068e09b23e..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/wildcat.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/png/youtube.png b/themes/custom/az_barrio/libraries/az-icons/png/youtube.png
deleted file mode 100644
index 42fa2af24c..0000000000
Binary files a/themes/custom/az_barrio/libraries/az-icons/png/youtube.png and /dev/null differ
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/arizona.svg b/themes/custom/az_barrio/libraries/az-icons/svg/arizona.svg
deleted file mode 100644
index 940c7663de..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/arizona.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/award.svg b/themes/custom/az_barrio/libraries/az-icons/svg/award.svg
deleted file mode 100644
index 4930a7a20b..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/award.svg
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/cost.svg b/themes/custom/az_barrio/libraries/az-icons/svg/cost.svg
deleted file mode 100755
index c475236a61..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/cost.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/facebook.svg b/themes/custom/az_barrio/libraries/az-icons/svg/facebook.svg
deleted file mode 100755
index cb01b72651..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/facebook.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/financial-aid.svg b/themes/custom/az_barrio/libraries/az-icons/svg/financial-aid.svg
deleted file mode 100644
index 8310c649e0..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/financial-aid.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/grad-cap.svg b/themes/custom/az_barrio/libraries/az-icons/svg/grad-cap.svg
deleted file mode 100644
index 55ffe39d7d..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/grad-cap.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/instagram.svg b/themes/custom/az_barrio/libraries/az-icons/svg/instagram.svg
deleted file mode 100755
index 66a3e1bb0c..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/instagram.svg
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/linkedin.svg b/themes/custom/az_barrio/libraries/az-icons/svg/linkedin.svg
deleted file mode 100755
index e9c0965c17..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/linkedin.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/majors-and-degrees.svg b/themes/custom/az_barrio/libraries/az-icons/svg/majors-and-degrees.svg
deleted file mode 100755
index defe2defb2..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/majors-and-degrees.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/map-marker.svg b/themes/custom/az_barrio/libraries/az-icons/svg/map-marker.svg
deleted file mode 100755
index 6bdae893e2..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/map-marker.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/pinterest.svg b/themes/custom/az_barrio/libraries/az-icons/svg/pinterest.svg
deleted file mode 100755
index 7a2fd76586..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/pinterest.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/schoalrship.svg b/themes/custom/az_barrio/libraries/az-icons/svg/schoalrship.svg
deleted file mode 100644
index b35e53a8b8..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/schoalrship.svg
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/sign-post.svg b/themes/custom/az_barrio/libraries/az-icons/svg/sign-post.svg
deleted file mode 100755
index 6afa885159..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/sign-post.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/spotify.svg b/themes/custom/az_barrio/libraries/az-icons/svg/spotify.svg
deleted file mode 100644
index c2776b7e16..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/spotify.svg
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/spring-fling.svg b/themes/custom/az_barrio/libraries/az-icons/svg/spring-fling.svg
deleted file mode 100755
index f923b0410d..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/spring-fling.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/tiktok.svg b/themes/custom/az_barrio/libraries/az-icons/svg/tiktok.svg
deleted file mode 100644
index 156063a265..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/tiktok.svg
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/twitter.svg b/themes/custom/az_barrio/libraries/az-icons/svg/twitter.svg
deleted file mode 100755
index 7b1b9c0401..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/twitter.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/vimeo.svg b/themes/custom/az_barrio/libraries/az-icons/svg/vimeo.svg
deleted file mode 100644
index 6cee1df430..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/vimeo.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/wildcat.svg b/themes/custom/az_barrio/libraries/az-icons/svg/wildcat.svg
deleted file mode 100644
index 9f4072c681..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/wildcat.svg
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
diff --git a/themes/custom/az_barrio/libraries/az-icons/svg/youtube.svg b/themes/custom/az_barrio/libraries/az-icons/svg/youtube.svg
deleted file mode 100755
index cf01a67a39..0000000000
--- a/themes/custom/az_barrio/libraries/az-icons/svg/youtube.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
diff --git a/themes/custom/az_barrio/theme-settings.php b/themes/custom/az_barrio/theme-settings.php
index 94b2017854..1674b6310e 100644
--- a/themes/custom/az_barrio/theme-settings.php
+++ b/themes/custom/az_barrio/theme-settings.php
@@ -194,7 +194,30 @@ function az_barrio_form_system_theme_settings_alter(&$form, FormStateInterface $
],
'#default_value' => theme_get_setting('az_barrio_az_icons_source'),
];
-
+ $form['fonts']['icons']['az_barrio_icons']['az_icons']['az_icons_cdn'] = [
+ '#type' => 'fieldset',
+ '#title' => t('Arizona Icons CDN Settings'),
+ '#states' => [
+ 'visible' => [
+ ':input[name="az_barrio_az_icons_source"]' => ['value' => 'cdn'],
+ ],
+ ],
+ ];
+ $form['fonts']['icons']['az_barrio_icons']['az_icons']['az_icons_cdn']['az_icons_cdn_version'] = [
+ '#type' => 'radios',
+ '#title' => t('Arizona Icons CDN version'),
+ '#options' => [
+ 'stable' => t('Stable version: This option has undergone the most testing within the az_barrio theme. Currently: %stableversion (Recommended).', ['%stableversion' => AZ_ICONS_STABLE_VERSION]),
+ 'latest' => t('Latest tagged version. The most recently tagged stable release of Arizona Icons. While this has not been explicitly tested on this version of az_barrio, it’s probably OK to use on production sites. Please report bugs to the AZ Digital team.'),
+ 'main' => t('Latest dev version. This is the tip of the main branch of Arizona Icons. Please do not use on production unless you are following the Arizona Icons project closely. Please report bugs to the AZ Digital team.'),
+ ],
+ '#default_value' => theme_get_setting('az_icons_cdn_version'),
+ ];
+ $form['fonts']['icons']['az_barrio_icons']['az_icons']['az_icons_minified'] = [
+ '#type' => 'checkbox',
+ '#title' => t('Use minified version of AZ Icons.'),
+ '#default_value' => theme_get_setting('az_icons_minified'),
+ ];
// AZ Bootstrap settings.
$form['azbs_settings'] = [
'#type' => 'details',