From 96ff7a93afb46669bf57c217b35c50e5c603ea6f Mon Sep 17 00:00:00 2001 From: servostar Date: Wed, 27 Nov 2024 14:24:45 +0000 Subject: [PATCH] fix: convert CMYK branding color to RGB (#116) Fixes incompatability with PDF/A format Reviewed-on: https://git.montehaselino.de/DHBW/dhbw-abb-typst-template/pulls/116 Release-As: v0.5.5 Co-authored-by: servostar Co-committed-by: servostar --- src/branding.typ | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/branding.typ b/src/branding.typ index 079a875..8803b38 100644 --- a/src/branding.typ +++ b/src/branding.typ @@ -3,16 +3,16 @@ // https://brand.abb/portal/en/branding-principles/basic-brand-elements/color // ABB branding colors -#let ABB-RED = cmyk(0%, 100%, 95%, 0%) -#let ABB-BLACK = cmyk(0%, 0%, 0%, 100%) -#let ABB-GRAY-01 = cmyk(0%, 0%, 0%, 90%) -#let ABB-GRAY-02 = cmyk(0%, 0%, 0%, 75%) -#let ABB-GRAY-03 = cmyk(0%, 0%, 0%, 55%) -#let ABB-GRAY-04 = cmyk(0%, 0%, 0%, 35%) -#let ABB-GRAY-05 = cmyk(0%, 0%, 0%, 15%) -#let ABB-GRAY-06 = cmyk(0%, 0%, 0%, 5%) -#let ABB-WHITE = cmyk(0%, 0%, 0%, 0%) +#let ABB-RED = rgb(255, 0, 13) +#let ABB-BLACK = rgb(0, 0, 0) +#let ABB-GRAY-01 = rgb(25, 25, 25) +#let ABB-GRAY-02 = rgb(64, 64, 64) +#let ABB-GRAY-03 = rgb(115, 115, 115) +#let ABB-GRAY-04 = rgb(166, 166, 166) +#let ABB-GRAY-05 = rgb(217, 217, 217) +#let ABB-GRAY-06 = rgb(242, 242, 242) +#let ABB-WHITE = rgb(255, 255, 255) // ABB branding functinal colors -#let ABB-BLUE = cmyk(100%, 53%, 2%, 16%) -#let ABB-GREEN = cmyk(91%, 4%, 100%, 25%) -#let ABB-YELLOW = cmyk(0%, 9%, 100%, 0%) +#let ABB-BLUE = rgb(0, 101, 210) +#let ABB-GREEN = rgb(17, 184, 0) +#let ABB-YELLOW = rgb(255, 232, 0)