Skip to content

Conversation

@drinchev
Copy link
Contributor

No description provided.

@frabbit
Copy link
Contributor

frabbit commented Aug 27, 2019

is this customization stuff part of the new styleguidist or was that already possible before?

@drinchev
Copy link
Contributor Author

Was already possible before I guess, but I didn't want to do it before I upgrade the styleguidist as well.

<li key={href}>
<a
className={classnames(
'olt-Link',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's use variables here: oltStyles.Link

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const PreRenderer = ({ className, children }) => {
const isHighlighted = className && className.indexOf('lang-') !== -1;
return (
<div className="olt-Card pre--wrapper">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's use variables here: oltStyles.Card

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or the Card component directly

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I replaced it with Card component.

const isHighlighted = className && className.indexOf('lang-') !== -1;
return (
<div className="olt-Card pre--wrapper">
<div className="olt-Card-content">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's use variables here: oltStyles.CardContent

@frabbit
Copy link
Contributor

frabbit commented Aug 27, 2019

It looks great in general, just a few tiny notes.

@frabbit frabbit requested review from frabbit and removed request for frabbit August 28, 2019 08:25
@frabbit frabbit merged commit a6303d0 into master Aug 28, 2019
@drinchev drinchev deleted the feat_docs branch August 30, 2019 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants