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

Add btn-extra-pixelize class #86

Closed
loo41 opened this issue Dec 6, 2018 · 15 comments · Fixed by #105
Closed

Add btn-extra-pixelize class #86

loo41 opened this issue Dec 6, 2018 · 15 comments · Fixed by #105
Labels
enhancement New feature or request released waiting - contributor Waiting for the contributor to address some situations

Comments

@loo41
Copy link
Contributor

loo41 commented Dec 6, 2018

btn-dot

65 jg 8x f 5ut2hf b

  • I added a class btn-dot to make button look better
  • I'm using box-shadow to see if it fits the project better

What do you think?
#87

@loo41 loo41 changed the title Add but-dot class Add btn-dot class Dec 6, 2018
@abdallahalsamman
Copy link
Member

abdallahalsamman commented Dec 6, 2018

@loo41 can we find a more descriptive and clear name for btn-dot?

Maybe btn-extra-pixelize or btn-pixelize?

@loo41
Copy link
Contributor Author

loo41 commented Dec 6, 2018

Okay, I'll change it to btn-extra-pixelize

@loo41 loo41 changed the title Add btn-dot class Add btn-extra-pixelize class Dec 6, 2018
@BcRikko BcRikko added the enhancement New feature or request label Dec 6, 2018
@vandie
Copy link

vandie commented Dec 7, 2018

Following convention for css classes, as it's a variation, shouldn't it be btn--extra-pixelize or btn--pixelize.

BEM should really be followed for CSS. (https://css-tricks.com/bem-101/) This ensures a consistant class naming system that would help maintance.

EDIT: Just checked the actual code. Apparently, this doesn't follow BEM at all right now. I'll create and Pull Request for that. I guess it's up to @BcRikko.

@abdallahalsamman
Copy link
Member

@BcRikko BEM concepts look good, I think we should look into them 👍

@vandie thanks for bringing this up :)

@vandie
Copy link

vandie commented Dec 7, 2018

@evexoio I've created the BEM stuff as a separate issue. Will take a look tonight to see if I can create a PR to change it.

@abdallahalsamman
Copy link
Member

abdallahalsamman commented Dec 7, 2018

@vandie wait, I don't know if we're going to take BEM seriously yet. @BcRikko is more on the css side of things so he knows best if BEM fits NES.css or not 🙏

@vandie
Copy link

vandie commented Dec 7, 2018

@evexoio of course.

@BcRikko
Copy link
Member

BcRikko commented Dec 7, 2018

BEM design is powerful 💪
but BEM is not my favorite, because class name gets longer 😅

I'm affected by bulma, so like SMACSS design is adopted in this project. 📝

@jjspace
Copy link
Contributor

jjspace commented Dec 7, 2018

@BcRikko I personally kinda like BEM since i've started using recently but it doesn't really matter in either direction. The thing that matters is that we are all consistent in our naming. It would be good to add a section to the README under development telling everyone what standard we are using so everyone knows from the start

@BcRikko
Copy link
Member

BcRikko commented Dec 7, 2018

Ok 👍

When we publish storybook, I think that the problem about the naming convention will be solved 🎉

@abdallahalsamman
Copy link
Member

This is continued at #105 (comment)

@abdallahalsamman abdallahalsamman added the waiting - contributor Waiting for the contributor to address some situations label Dec 8, 2018
@BcRikko
Copy link
Member

BcRikko commented Dec 9, 2018

I confirmed 🔍
It's ok with the following code 👍

.btn {
  ...
  border: none;
  ...
}

@abdallahalsamman
Copy link
Member

@BcRikko @jjspace can someone open a PR please?

@BcRikko
Copy link
Member

BcRikko commented Dec 9, 2018

I'll fix it 👍

@BcRikko
Copy link
Member

BcRikko commented Dec 18, 2018

🎉 This issue has been resolved in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released waiting - contributor Waiting for the contributor to address some situations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants