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

Next 9.3 Sass Modules #94

Merged
merged 11 commits into from
Mar 21, 2020
Merged

Next 9.3 Sass Modules #94

merged 11 commits into from
Mar 21, 2020

Conversation

Drapegnik
Copy link
Member

@Drapegnik Drapegnik commented Mar 10, 2020

refactor components to sass modules:

  • sidebar
  • footer
  • about
  • article
  • blocks
  • cards
  • tag
  • topic
  • login
  • admin
  • diary

pages/_app.js Outdated Show resolved Hide resolved
@Drapegnik
Copy link
Member Author

@wirbot wirbot temporarily deployed to dev March 20, 2020 10:44 Inactive
@wirbot wirbot temporarily deployed to dev March 20, 2020 11:10 Inactive
@@ -18,7 +20,7 @@ const Motto = () => {

return (
<>
<span className="navbar__title--screen-wide">
<span className={styles['navbar__title--screen--wide']}>
Copy link
Member Author

Choose a reason for hiding this comment

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

b

Copy link
Member

Choose a reason for hiding this comment

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

can't do it here without refactoring navbar stlyles


$block-spacing: 60px;

.article-ordered {
Copy link
Member Author

@Drapegnik Drapegnik Mar 21, 2020

Choose a reason for hiding this comment

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

what are you think about: each class in this file - own module?

Copy link
Member

@UladBohdan UladBohdan Mar 21, 2020

Choose a reason for hiding this comment

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

it's either separate files or we can't use bem lib and stick to styles dict

@wirbot wirbot temporarily deployed to dev March 21, 2020 16:29 Inactive
@Drapegnik Drapegnik merged commit 01b0c12 into develop Mar 21, 2020
Drapegnik added a commit that referenced this pull request Mar 21, 2020
Drapegnik added a commit that referenced this pull request Mar 21, 2020
@Drapegnik Drapegnik deleted the next-9.3-sass-modules branch March 21, 2020 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants