-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have somewhere where we can add a definition of what is the difference between Theme
and Pillar
?
Not sure if we have any documentation around this @JamieB-gu ? The types repo defines it here: We have the problem where the special report colours need to override pillar colours on special report articles. It might be confusing to call them a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Herculean refactor here, 💪
publicationDate: Option<Date>; | ||
className: SerializedStyles; | ||
item: Item; | ||
} | ||
|
||
const Byline: FC<Props> = ({ pillar, publicationDate, className, item }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting that this didn't previously throw an unused argument warning 🤔
It's a good point. We should probably put some markdown docs into the |
Why are you doing this?
@guardian/types
to0.5.2
theme
featureHeadline
andsoft
colours that aren't being used