Skip to content

Commit

Permalink
SUP-192: added custom colors
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbreese committed Apr 17, 2024
1 parent 4fa336f commit a680f58
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/elements/wysiwyg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const options: HTMLReactParserOptions = {
return cleanMediaMarkup(domNode);

case "p":
nodeProps.className = twMerge(nodeProps.className, "max-w-[100ch] leading-[1.7] text-21");
nodeProps.className = twMerge(nodeProps.className, "max-w-[100ch] leading-[1.7] type-1");
return <NodeName {...nodeProps}>{domToReact(children, options)}</NodeName>

case "script":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const MediaCaptionParagraph = ({paragraph, ...props}: Props) => {
}
{videoUrl && <Oembed url={videoUrl}/>}

<figcaption className="text-m0">
<figcaption className="text-archway-dark">
{paragraph.suMediaCaptionLink?.url &&
<Link href={paragraph.suMediaCaptionLink.url} className="link--action">
{paragraph.suMediaCaptionLink.title}
Expand Down
4 changes: 4 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ module.exports = {
'-100': '-1'
}
},
colors: {
'press-indigo': '#003D69',
'press-grass': '#00593E'
},
},
plugins: [
...decanter.plugins,
Expand Down

0 comments on commit a680f58

Please sign in to comment.