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

feat(google-classroom): init #755

Open
wants to merge 33 commits into
base: main
Choose a base branch
from

Conversation

BomberFish
Copy link

🎉 Theme for Google Classroom 🎉

Preview

💬 Additional Comments 💬

N/A

🗒 Checklist 🗒

  • I have read and followed Catppuccin's submission guidelines.
  • I have made a new directory underneath /styles/<name-of-website> containing the contents of the /template directory.
    • I have ensured that the new directory is in lower-kebab-case.
    • I have followed the template and kept the preprocessor as LESS.
  • I have made sure to update the
    userstyles.yml
    file with information about the new userstyle.
  • I have included the following files:
    • catppuccin.user.css - all the CSS for the userstyle, based on the
      template.
    • preview.webp - composite image of all four individual flavor screenshots stitched together,
      generated via Catwalk.

Copy link
Member

@isabelroses isabelroses 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 the PR looks like it was a lot of work.

I've left a few comments but in addition to that theres a lot of places where my comments apply you should ideally abstract them out to the rest of the css.

We also have a deno task that can fix some of the errors the linter is throwing you can run this by using deno task lint:fix. You can also run our linter locally with deno task lint before pushing to check the status.

scripts/userstyles.yml Outdated Show resolved Hide resolved
styles/google-classroom/catppuccin.user.css Outdated Show resolved Hide resolved
styles/google-classroom/catppuccin.user.css Outdated Show resolved Hide resolved
styles/google-classroom/catppuccin.user.css Outdated Show resolved Hide resolved
styles/google-classroom/catppuccin.user.css Outdated Show resolved Hide resolved
styles/google-classroom/catppuccin.user.css Outdated Show resolved Hide resolved
styles/google-classroom/catppuccin.user.css Outdated Show resolved Hide resolved
styles/google-classroom/catppuccin.user.css Outdated Show resolved Hide resolved
styles/google-classroom/catppuccin.user.css Outdated Show resolved Hide resolved
styles/google-classroom/catppuccin.user.css Outdated Show resolved Hide resolved
@BomberFish
Copy link
Author

All the issues should be resolved by now. Also completely removed the force accent color option, it didn't look that great anyways.

@isabelroses
Copy link
Member

All the issues should be resolved by now. Also completely removed the force accent color option, it didn't look that great anyways.

Hum, the linter still seems to be throwing serval errors.

@BomberFish
Copy link
Author

Weird... I'll try and fix it sometime today.

@uncenter
Copy link
Member

uncenter commented Apr 3, 2024

image

You can view the "lint annotations" by scroll down to the diff under the "Files changed" tab.

@BomberFish
Copy link
Author

Should be good to merge now, lint succeeds on my machine.

styles/google-classroom/catppuccin.user.css Outdated Show resolved Hide resolved
styles/google-classroom/catppuccin.user.css Outdated Show resolved Hide resolved
styles/google-classroom/catppuccin.user.css Outdated Show resolved Hide resolved
styles/google-classroom/catppuccin.user.css Outdated Show resolved Hide resolved
styles/google-classroom/catppuccin.user.css Outdated Show resolved Hide resolved
styles/google-classroom/catppuccin.user.css Outdated Show resolved Hide resolved
styles/google-classroom/catppuccin.user.css Outdated Show resolved Hide resolved
BomberFish and others added 2 commits April 3, 2024 22:41
Co-authored-by: uncenter <47499684+uncenter@users.noreply.github.com>
@catppuccin catppuccin deleted a comment from isabelroses Apr 4, 2024
@BomberFish
Copy link
Author

Should be good now.

@BomberFish
Copy link
Author

this is ready again btw

@uncenter
Copy link
Member

A few observations from the preview image:

Screenshot 2024-04-12 at 19 22 13 (CleanShot)

@ThatOneUnoriginal
Copy link

ThatOneUnoriginal commented Apr 12, 2024

A few observations from the preview image:

Screenshot 2024-04-12 at 19 22 13 (CleanShot)

From my observations those aren't affected from the @accent-color choice, staying blue the entire time (as shown bellow)
image

The only UI I see getting modified by the @accent-color is the selection color for which part of the website you're in (except for the classrooms themselves, they keep their original colours) and the create classroom button (which would be useless for most people anyway, but I digress)
image

@ThatOneUnoriginal
Copy link

ThatOneUnoriginal commented Apr 12, 2024

image
In the Calendar section the dropdown menu to select a specific class is not themed correctly (edit: same applies to the drop down in the "To-do" section. Additionally the dropdown in the "Open your work for [xyz]" is hit with the same problem.)

image
The lines that show up for archived classes in the Archived Classes sections looks weird

image
The grade for assignments is not themed.

image
The :focus element state for these buttons are not themed.

image
In the "Open your work for [xyz]" section the dropdown to view the attached work and view details of the assignment are not themed.

@uncenter
Copy link
Member

Thanks for reviewing @ThatOneUnoriginal!

@BomberFish
Copy link
Author

Sorry I haven't been able to do much with this lately, been a bit busy lately.

I was able to fix the issues with the "view your work" tab and the calendar. The archived classes issue seems to be a issue with Classroom itself, don't know how to fix that. I'll look into the accent color option later.

@BomberFish
Copy link
Author

Hey all, I've been able to find some extra time to work on the style. I've been able to fix the issue with the tab focus state and fix the Google Apps button, which seemed to be broken recently.

@uncenter
Copy link
Member

Hey all, I've been able to find some extra time to work on the style. I've been able to fix the issue with the tab focus state and fix the Google Apps button, which seemed to be broken recently.

Sweet! Is it ready for review again? I think that was everything so this should be close to merging.

@BomberFish
Copy link
Author

Sweet! Is it ready for review again? I think that was everything so this should be close to merging.

Pretty much, although I'm not entirely sure how to handle the user's accent preference since stock Classroom changes its accent depending on the selected class

@isabelroses
Copy link
Member

Sweet! Is it ready for review again? I think that was everything so this should be close to merging.

Pretty much, although I'm not entirely sure how to handle the user's accent preference since stock Classroom changes its accent depending on the selected class

That's pretty quirky. If theres a few vars e.g. --accent-red, --accent-green then I think its good to just theme those and ignore the user preference and just theme those.

@BomberFish
Copy link
Author

I believe that's what it does already, so should be good for review.

Copy link
Member

@uncenter uncenter left a comment

Choose a reason for hiding this comment

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

Screenshot 2024-05-21 at 09 30 31 (Arc)

Probably hard to recreate this popup but is unthemed.

Screenshot 2024-05-21 at 09 31 25 (Arc)

This is unthemed for me? Looks like a new issue.

Screenshot 2024-05-21 at 09 32 01 (Arc)

"Join class" button is unthemed.

Screenshot 2024-05-21 at 09 32 28 (Arc)

This logo can be themed, see https://github.com/catppuccin/userstyles/blob/main/docs/tips-and-tricks.md#how-do-i-theme-images-and-svgs if needed.

Screenshot 2024-05-21 at 09 33 07 (Arc)

Settings page, divider is unthemed and the toggles should match the unthemed ones better:
Screenshot 2024-05-21 at 09 33 43 (Arc)

The whole change profile picture workflow is unthemed as well.

Copy link
Member

@isabelroses isabelroses left a comment

Choose a reason for hiding this comment

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

The css seems reasonable but I have no way to see the website.

@BomberFish
Copy link
Author

Are you sure the tabs are broken? Works fine on my machine

image

@uncenter
Copy link
Member

Are you sure the tabs are broken? Works fine on my machine

image

Yep pretty sure!

@uncenter
Copy link
Member

Feel free to re-request a review from me once the changes pointed out are fixed :)

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.

None yet

4 participants