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

chore: Theme sass cleanup #1343

Merged
merged 9 commits into from
Jun 17, 2023
Merged

Conversation

jsit
Copy link
Contributor

@jsit jsit commented Jun 17, 2023

  1. Remove a lot of redundancies in sass var definitions
  2. Re-build theme stylesheets

Before

Screenshot 2023-06-17 at 1 26 39 AM Screenshot 2023-06-17 at 1 26 29 AM

After (should look identical)

Screenshot 2023-06-17 at 10 59 11 AM Screenshot 2023-06-17 at 10 59 18 AM

Copy link
Contributor

@fheft fheft left a comment

Choose a reason for hiding this comment

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

Thanks, a clean-up is very much needed, as I omitted that in my last branch and even made the redundant variable situation worse (to get it working in the first place...).

Some buttons turned from "pill" to "chiclet" style, I think because the themes hadn't been rebuilt in a bit (yarn themes:build).

There should actually be no changes though (i.e. identical CSS files), because the themes were build very recently (#1246). Maybe it has something to do with the (not working) overrides?

src/assets/css/themes/_variables.darkly.scss Show resolved Hide resolved
Copy link
Member

@SleeplessOne1917 SleeplessOne1917 left a comment

Choose a reason for hiding this comment

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

LGTM

@SleeplessOne1917 SleeplessOne1917 merged commit d8fadc8 into LemmyNet:main Jun 17, 2023
@jsit
Copy link
Contributor Author

jsit commented Jun 17, 2023

@fheft

There should actually be no changes though (i.e. identical CSS files), because the themes were build very recently (#1246). Maybe it has something to do with the (not working) overrides?

You're right -- this should be fixed in the latest commit.

@jsit jsit mentioned this pull request Jun 17, 2023
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