Skip to content

Proposal for First Class Mixins: Draft 1#3626

Merged
nex3 merged 19 commits intosass:mainfrom
connorskees:first-class-mixins
Jul 28, 2023
Merged

Proposal for First Class Mixins: Draft 1#3626
nex3 merged 19 commits intosass:mainfrom
connorskees:first-class-mixins

Conversation

@connorskees
Copy link
Contributor

@connorskees connorskees commented Jul 2, 2023

Builds on top of #3442 by addressing PR review and adding the function meta.accepts-content.

Inspired in part by sass/dart-sass#1958
Closes #3442
See #626

@connorskees connorskees changed the title First class mixins Proposal for First Class Mixins: Draft 1 Jul 2, 2023
@nex3 nex3 self-requested a review July 5, 2023 20:21
Copy link
Contributor

@nex3 nex3 left a comment

Choose a reason for hiding this comment

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

Thanks for taking a stab at this! This would be a very nice bread-and-butter feature to land.

@connorskees connorskees requested a review from nex3 July 7, 2023 15:38
Copy link
Contributor

@nex3 nex3 left a comment

Choose a reason for hiding this comment

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

This still needs updates for the embedded protocol.

@connorskees connorskees requested a review from nex3 July 21, 2023 02:47
@connorskees connorskees requested a review from nex3 July 26, 2023 01:38
@connorskees
Copy link
Contributor Author

I will add that I am comfortable volunteering to drive implementation should this proposal be accepted.

Copy link
Contributor

@nex3 nex3 left a comment

Choose a reason for hiding this comment

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

Some minor change requests, but this is generally looking really good!

@connorskees connorskees requested a review from nex3 July 28, 2023 00:35
@nex3 nex3 merged commit dbc41b6 into sass:main Jul 28, 2023
@nex3 nex3 mentioned this pull request Jul 28, 2023
7 tasks
jgerigmeyer added a commit to oddbird/sass that referenced this pull request Aug 7, 2023
* main:
  Bump tj-actions/changed-files from 37.4.0 to 37.5.1 (sass#3643)
  [First-Class Mixins] Create a proposal (sass#3626)
  [Calc Functions] Fix the definition of rem() (sass#3641)
  Bump tj-actions/changed-files from 37.1.2 to 37.4.0 (sass#3640)
  [Color 4] Clarify in Known Color Spaces that lightness is clamped (sass#3639)
  Add JS type definitions for calculations (sass#3622)
  Bump tj-actions/changed-files from 37.1.0 to 37.1.2 (sass#3635)
  [Calculation API] Fix some issues brought up during implementation (sass#3631)
  Bump tj-actions/changed-files from 37.0.5 to 37.1.0 (sass#3632)
  [Calc Functions] Match the spec's behavior better for percentages (sass#3630)
  Bump tj-actions/changed-files from 37.0.2 to 37.0.5 (sass#3627)
  Fix a reference to a dead link (sass#3625)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants