From 5f6d9c1a41c30b58f26bb9c41969f4c32295dd84 Mon Sep 17 00:00:00 2001 From: Wesley B <62723358+wesleyboar@users.noreply.github.com> Date: Sun, 24 Sep 2023 12:35:49 -0500 Subject: [PATCH] chore(apcd): use c-message css from cdn (#217) --- ...up-175-css-alerts-messages-ui-pattern.html | 67 +++++-------------- 1 file changed, 15 insertions(+), 52 deletions(-) diff --git a/apcd-cms/src/taccsite_custom/apcd-cms/templates/snippets/tup-175-css-alerts-messages-ui-pattern.html b/apcd-cms/src/taccsite_custom/apcd-cms/templates/snippets/tup-175-css-alerts-messages-ui-pattern.html index aeead209..259ae053 100644 --- a/apcd-cms/src/taccsite_custom/apcd-cms/templates/snippets/tup-175-css-alerts-messages-ui-pattern.html +++ b/apcd-cms/src/taccsite_custom/apcd-cms/templates/snippets/tup-175-css-alerts-messages-ui-pattern.html @@ -1,56 +1,19 @@ - +{% comment %} +To get newer c-message styles (e.g. `c-message--type-…`, `c-message--type-info`) +EITHER load CMS setting `TACC_CORE_STYLES_VERSION = 2` OR load relevant styles +from @tacc/core-styles@2.N.N: components/c-message.css, +components/c-message--expanded.css, settings/color.css +{% endcomment %} + {# The {{ html }} allows DjangoCMS Snippet to pass in more markup #} {{ html }}