-
-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Text] Implement color text element #289
Comments
It's hard to tell what's important if everything could has a color, it's one of the reason why it didn't be introduced in Semantic UI. Also, once you compromised with the I'm NOT trying to stop this feature to be added, but instead of something like: <span class="ui violet text">I am violet</span>
<span class="ui green text">I am green</span>
<span class="ui yellow text">I am yellow</span> Perhaps we should have a color system which is based on <span class="ui negative text">Stopped</span>
<span class="ui positive text">Running</span>
<span class="ui warning text">Disk Full</span> Which makes the text meaningful and semantic, also prevents the user is trying to random colorize the texts, but this might be another topic though. |
@YamiOdymel As mentioned in my description , if you take a sneak peak at #261 your suggestion will be entirely implemented soon by defining your own color naming logic. 🙂 |
We might want to talk about this because I agree with @YamiOdymel about using As @lubber-de has already said the new color system implemented in #261 will allow you to define your own colors so it shouldn't be a problem because it will make the defined colors universal. |
I only had a very simple implementation in mind. I would also agree to the "span only" policy: span.ui.red.text {
color: #ff0000;
}
span.ui.disabled.text {
opacity: .45;
} |
Feature Request
Description
Implement an element
ui {color} text
to style simple text with colors similar toheader
but without all the extra variations (exception perhaps:disabled
). This is a high demanded feature since ages and should be simple to implement.Example
If the FUI Admins agree,, i am going to implement this while doing the central color definition PR. #261
Relates to
Semantic-Org/Semantic-UI#1885
Semantic-Org/Semantic-UI#2654
Semantic-Org/Semantic-UI#5564
The text was updated successfully, but these errors were encountered: