Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colored <p>, <span>, etc. #2654

Closed
rjmoggach opened this issue Jul 16, 2015 · 5 comments
Closed

Colored <p>, <span>, etc. #2654

rjmoggach opened this issue Jul 16, 2015 · 5 comments

Comments

@rjmoggach
Copy link

Please expose the color palette for individual text tags like <p> or <span> or better yet, make them globally accessible with class="ui red" to define color: @redTextColor.

I understand this may break some of the deep references so leave it to you as to best way to approach. For now I am creating a site override for each as .ui.red: { color: @redTextColor; } etc.

I don't believe this goes against the idea of not creating css that is 1-2 lines as there are 14 colors?

Is there a thread somewhere discussing this already?

@jlukic
Copy link
Member

jlukic commented Jul 17, 2015

See #1885, generally there are no free floating class names in Semantic UI, but only class names that have meaning in context of the component they modify. The ui class name is the distinction for a component.

@yaboi
Copy link

yaboi commented Feb 10, 2016

"paragraph" could be considered a component...

<p class="ui text">This is a paragraph component.</p>
<p class="ui text blue">This is a paragraph component.</p>
<p class="ui text red">This is a paragraph component.</p>
[...]

With sixteen +1's in #1885 and some pretty compelling reasoning I would hope a dev team would reconsider a feature request.

@ozeebee
Copy link

ozeebee commented Feb 24, 2016

+1 totally agree with @yaboi arguments

@sullyme
Copy link

sullyme commented Jul 12, 2016

+1

@lubber-de

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants