microsoft / microsoft/AdaptiveCards

[JS] Use `sass` to generate our css outputs

Open
#6,710 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Task
Dominant language
C#
Stars
2k
Forks
595
Avg merge
1d 19h
Merged PRs (30d)
1

Description

We currently have a .scss file checked in for the adaptivecards package (source/nodejs/adaptivecards/scss), but it doesn't appear that we consume it. It's also pretty out of date relative to the vanilla CSS file we ship (source/nodejs/adaptivecards/src/adaptivecards.css). We should:

  • Update the .scss file
  • Import swiper's scss
    - [ ] Update webpack.config.js to use sass-loader to consume the .scss
  • Clean up existing scss files

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the SCSS files under source/nodejs/adaptivecards/scss with source/nodejs/adaptivecards/src/adaptivecards.css, then inspect webpack.config.js and the sass-loader note. Review which existing SCSS files still need cleanup; done means the SCSS sources are current, include the referenced Swiper SCSS, and no obsolete files remain.

Written by the indexing model from the issue text.

Assessment

Tech stack
sass, webpack
Domain
build-system, frontend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.