diff --git a/web/themes/custom/opdavies/assets/tailwind.config.ts b/web/themes/custom/opdavies/assets/tailwind.config.ts index a935515..3ef9c85 100644 --- a/web/themes/custom/opdavies/assets/tailwind.config.ts +++ b/web/themes/custom/opdavies/assets/tailwind.config.ts @@ -9,21 +9,20 @@ export default { "./templates/**/*.html.twig", ], theme: { - colors: { - black: "#000", - blue: { - primary: "#24608A", - 400: "#60a5fa", - }, - current: "currentColor", - gray: colours.stone, - grey: colours.stone, - inherit: "inherit", - transparent: "transparent", - white: "#fff", - }, - extend: { + colors: { + black: "#000", + blue: { + primary: "#24608A", + 400: "#60a5fa", + }, + current: "currentColor", + gray: colours.stone, + grey: colours.stone, + inherit: "inherit", + transparent: "transparent", + white: "#fff", + }, fontFamily: { sans: [ "Roboto Condensed", diff --git a/web/themes/custom/opdavies/templates/media-library/status-messages.html.twig b/web/themes/custom/opdavies/templates/media-library/status-messages.html.twig new file mode 100644 index 0000000..76a1be3 --- /dev/null +++ b/web/themes/custom/opdavies/templates/media-library/status-messages.html.twig @@ -0,0 +1,53 @@ +{# +/** + * @file + * Theme override for status messages. + * + * Displays status, error, and warning messages, grouped by type. + * + * An invisible heading identifies the messages for assistive technology. + * Sighted users see a colored box. See http://www.w3.org/TR/WCAG-TECHS/H69.html + * for info. + * + * Add an ARIA label to the contentinfo area so that assistive technology + * user agents will better describe this landmark. + * + * Available variables: + * - message_list: List of messages to be displayed, grouped by type. + * - status_headings: List of all status types. + * - attributes: HTML attributes for the element, including: + * - class: HTML classes. + */ +#} +