Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Replace Sass variables with CSS custom properties - _spacing.pcss #10552

Closed
luixxiul wants to merge 13 commits intomatrix-org:developfrom
luixxiul:css-variables-spacing
Closed

Replace Sass variables with CSS custom properties - _spacing.pcss #10552
luixxiul wants to merge 13 commits intomatrix-org:developfrom
luixxiul:css-variables-spacing

Conversation

@luixxiul
Copy link
Contributor

@luixxiul luixxiul commented Apr 8, 2023

For element-hq/element-web#21656

This PR intends to replace spacing Sass variables with CSS custom properties. Please note it does not change the hard-coded values as there does not seem to be a mutual agreement yet about how to deal with them (see the discussion here: #9936).

This is a low hanging fruit and should be fine for a start.

Updating this line on the style guide is going to be required.

type: task

Signed-off-by: Suguru Hirahara luixxiul@users.noreply.github.com

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

This change is marked as an internal change (Task), so will not be included in the changelog.

luixxiul added 13 commits April 9, 2023 04:53
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
@github-actions github-actions bot added the Z-Community-PR Issue is solved by a community member's PR label Apr 8, 2023
@github-actions github-actions bot added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Apr 8, 2023
@luixxiul
Copy link
Contributor Author

luixxiul commented Apr 8, 2023

I re-checked by myself, and all of the spacing variables should be replaced as expected.

@luixxiul
Copy link
Contributor Author

luixxiul commented Apr 21, 2023

Closing the PR in favor of #10686

Apparently this was one of the biggest wastes of time this year :-p

@luixxiul luixxiul closed this Apr 21, 2023
@luixxiul luixxiul deleted the css-variables-spacing branch April 21, 2023 13:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

T-Task Refactoring, enabling or disabling functionality, other engineering tasks Z-Community-PR Issue is solved by a community member's PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant