Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

cf-component-text to fela migration#98

Merged
sejoker merged 6 commits intocloudflare:masterfrom
sejoker:text-to-fela-migration
Mar 17, 2017
Merged

cf-component-text to fela migration#98
sejoker merged 6 commits intocloudflare:masterfrom
sejoker:text-to-fela-migration

Conversation

@sejoker
Copy link
Contributor

@sejoker sejoker commented Mar 16, 2017

No description provided.

'color--warning': '#fca520',
'color--error': '#ff3100',
'color--muted': '#gray'
});
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

TextTheme styles are specific to our examples styles. Do we want them to be part of the cf-style-const?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes please. Also, I would rename them to colorWarning, colorError ... etc. So it's JS compatible.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can rename to colorwarning, colorerror easily, but camelCase format will require more work, is it worth the effort?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yea, we should stay consistent and use camelCase everywhere. It's easy to do it now than later.

@jwineman jwineman mentioned this pull request Mar 16, 2017
33 tasks
'textTransformCapitalize:first-word': 'capitalize',
textTransformLowercase: 'lowercase',
textTransformUppercase: 'uppercase',
colorInfo: '#00a9eb',
Copy link
Contributor

Choose a reason for hiding this comment

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

const?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jwineman my bad, updated PR

@sejoker sejoker merged commit 2b076d6 into cloudflare:master Mar 17, 2017
@sejoker sejoker deleted the text-to-fela-migration branch March 22, 2017 21:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants