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

Add: Gruvbox color schemes & accent colors #5887

Merged
merged 20 commits into from
Nov 25, 2024

Conversation

DontBlameMe99
Copy link
Contributor

@DontBlameMe99 DontBlameMe99 commented Oct 17, 2024

Gruvbox theme

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

closes #3987

Description

This pull request implements the Gruvbox Dark and Gruvbox Light color schemes.
It also adds all the accent colors (Red, Green, Yellow, Blue, Purple, Aqua and Orange), which were taken from the dark color palette.

Screenshots

Gruvbox Light
Gruvbox Dark

Testing

I checked all the theme colors in both the dark, and the light variant.

Context

This pull request was created since the original one #4805 has been closed/stalled for quite some time.
I have created this from scratch, without looking at the other pull request, I hope this is fine.

Implements/adds the Gruvbox Dark Gruvbox Light color schemes.
Also adds all the accent colors (Red, Green, Yellow, Blue, Purple, Aqua
and Orange)
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) October 17, 2024 16:59
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Oct 17, 2024
@absidue absidue added the DO NOT MERGE UNTIL AFTER RELEASE Do not merge before the next release as this is not a bug fix label Oct 17, 2024
Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>
auto-merge was automatically disabled October 17, 2024 22:29

Head branch was pushed to by a user without write access

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) October 17, 2024 22:29
Keeps the file sorted from A-Z
auto-merge was automatically disabled October 17, 2024 22:33

Head branch was pushed to by a user without write access

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) October 17, 2024 22:34
Keeps the file sorted from A-Z
auto-merge was automatically disabled October 17, 2024 22:34

Head branch was pushed to by a user without write access

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) October 17, 2024 22:35
Adds two missing commas, which because of the
sorting from A-Z
auto-merge was automatically disabled October 17, 2024 22:36

Head branch was pushed to by a user without write access

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) October 17, 2024 22:36
Keeps the A-Z sorting in the en-US.yaml file
auto-merge was automatically disabled October 17, 2024 22:37

Head branch was pushed to by a user without write access

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) October 17, 2024 22:37
auto-merge was automatically disabled October 17, 2024 22:41

Head branch was pushed to by a user without write access

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>
@DontBlameMe99
Copy link
Contributor Author

@kommunarr I tried to understand it and came up with this. Is this something like that what you were talking about?

.mainGruvboxLightOrange,
.mainGruvboxLightRed,
.mainGruvboxLightBlue,
.mainGruvboxLightPurple {
  --text-with-main-color: #fbf1c7;
}

.mainGruvboxDarkGreen,
.mainGruvboxDarkYellow,
.mainGruvboxDarkAqua,
.mainGruvboxDarkOrange {
  --text-with-main-color: #3c3836;
}

.mainGruvboxDarkBlue,
.mainGruvboxDarkPurple {
  --text-with-main-color: #1d2021;
}



.secGruvboxLightOrange,
.secGruvboxLightRed,
.secGruvboxLightBlue,
.secGruvboxLightPurple {
  --text-with-accent-color: #fbf1c7;
}

.secGruvboxDarkYellow,
.secGruvboxDarkGreen,
.secGruvboxDarkAqua,
.secGruvboxDarkOrange {
  --text-with-accent-color: #3c3836;
}

.secGruvboxDarkBlue,
.secGruvboxDarkPurple {
  --text-with-accent-color: #1d2021;
}

@DontBlameMe99
Copy link
Contributor Author

@kommunarr Pinging you again because you might have missed my last message?

@kommunarr
Copy link
Collaborator

Hi @DontBlameMe99, sorry, I have been on a minor hiatus. That looks good to me! Note that I did leave out the other CSS variables that those blocks update in other theme colors for the sake of brevity, but make sure those are included as well.

auto-merge was automatically disabled November 23, 2024 08:03

Head branch was pushed to by a user without write access

Unifies the main and the secondary color accents,
so both use/modify the same colors, instead of them
(previously) using different colors.
This makes the theme more predictable and modifyable.
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) November 23, 2024 08:04
@DontBlameMe99
Copy link
Contributor Author

@kommunarr I am glad you are back!
I have implemented the changes and it should be just as you requested.

@efb4f5ff-1298-471a-8973-3d47447115dc

Everything LGTM, will approve when @kommunarr signs off

@kommunarr
Copy link
Collaborator

I think there's a missing CSS variable for the Gruvbox Light colors(' secondary version?), as the sliders are missing their bars.

Screenshot_20241123_075622

Adds a missing color for all the gruvbox light secondary accent colors: the opacity4 accent color.
auto-merge was automatically disabled November 23, 2024 16:32

Head branch was pushed to by a user without write access

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) November 23, 2024 16:32
@DontBlameMe99
Copy link
Contributor Author

@kommunarr Really good catch! Thanks for letting me know!
Fixed in the latest commit.

Copy link
Collaborator

@kommunarr kommunarr left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Collaborator

@PikachuEXE PikachuEXE left a comment

Choose a reason for hiding this comment

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

Seems right but I will let one more person to review it

Copy link
Member

@ChunkyProgrammer ChunkyProgrammer left a comment

Choose a reason for hiding this comment

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

Lgtm as well

@FreeTubeBot FreeTubeBot merged commit b34b16e into FreeTubeApp:development Nov 25, 2024
6 checks passed
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Nov 25, 2024
Soham456 pushed a commit to Soham456/FreeTube that referenced this pull request Dec 5, 2024
* Add: Gruvbox color schemes & accent colors

Implements/adds the Gruvbox Dark Gruvbox Light color schemes.
Also adds all the accent colors (Red, Green, Yellow, Blue, Purple, Aqua
and Orange)

* Keep A-Z sorted

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>

* Keep theme-settings.js sorted

Keeps the file sorted from A-Z

* Keep colors.js sorted

Keeps the file sorted from A-Z

* Add missing commas

Adds two missing commas, which because of the
sorting from A-Z

* Keep sorting in en-US.yaml from A-Z

Keeps the A-Z sorting in the en-US.yaml file

* Delete duplicate line

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>

* Remove trailing comma

Remove a trailing comma (,)

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>

* Remove unintentional formatting

Removes the unintentional formatting, automatically done by my nvim lsp.
This adds the blank space back in.

* Fix gruvbox light video feed/status bar divider

Fixes/Improves the color clarity between the status bar and the feed
(the divider).

* Fix: Profile menu no longer blends in with Background

Fixes so that the profile menu no longer blends in with the background

* Add Gruvbox Light accent colors

- Adds the gruvbox light accent colors
- Distinguishes between gruvbox light/dark colors by specifying "Gruvbox
Dark Red" and "Gruvbox Light Red"

* Remove colors with insufficient contrast

Removes the colors which have insuficcient contrast:
- Dark Red
- Light Green
- Light Yellow
- Light Aqua

* Remove unused translations

* Remove unused css colors

Removes unused css for colors:
- Gruvbox Dark Red
- Gruvbox Light Green
- Gruvbox Light Yellow
- Gruvbox Light Aqua

* Improve text with accent readability

Improves hte text with accent color readability

* Improve accent color contrast

Improves the accent color contrast to be 4.5 or above

* Improve light color contrast & logo visibility

- Improves the contrast of the light color scheme colors
- Improves the visibility of the logo when the "match top bar with main
color" is active

* fix: unify main and sec sections

Unifies the main and the secondary color accents,
so both use/modify the same colors, instead of them
(previously) using different colors.
This makes the theme more predictable and modifyable.

* fix: add missing opacity4 color

Adds a missing color for all the gruvbox light secondary accent colors: the opacity4 accent color.

---------

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>
jlvivero pushed a commit to jlvivero/FreeTube that referenced this pull request Dec 7, 2024
* Add: Gruvbox color schemes & accent colors

Implements/adds the Gruvbox Dark Gruvbox Light color schemes.
Also adds all the accent colors (Red, Green, Yellow, Blue, Purple, Aqua
and Orange)

* Keep A-Z sorted

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>

* Keep theme-settings.js sorted

Keeps the file sorted from A-Z

* Keep colors.js sorted

Keeps the file sorted from A-Z

* Add missing commas

Adds two missing commas, which because of the
sorting from A-Z

* Keep sorting in en-US.yaml from A-Z

Keeps the A-Z sorting in the en-US.yaml file

* Delete duplicate line

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>

* Remove trailing comma

Remove a trailing comma (,)

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>

* Remove unintentional formatting

Removes the unintentional formatting, automatically done by my nvim lsp.
This adds the blank space back in.

* Fix gruvbox light video feed/status bar divider

Fixes/Improves the color clarity between the status bar and the feed
(the divider).

* Fix: Profile menu no longer blends in with Background

Fixes so that the profile menu no longer blends in with the background

* Add Gruvbox Light accent colors

- Adds the gruvbox light accent colors
- Distinguishes between gruvbox light/dark colors by specifying "Gruvbox
Dark Red" and "Gruvbox Light Red"

* Remove colors with insufficient contrast

Removes the colors which have insuficcient contrast:
- Dark Red
- Light Green
- Light Yellow
- Light Aqua

* Remove unused translations

* Remove unused css colors

Removes unused css for colors:
- Gruvbox Dark Red
- Gruvbox Light Green
- Gruvbox Light Yellow
- Gruvbox Light Aqua

* Improve text with accent readability

Improves hte text with accent color readability

* Improve accent color contrast

Improves the accent color contrast to be 4.5 or above

* Improve light color contrast & logo visibility

- Improves the contrast of the light color scheme colors
- Improves the visibility of the logo when the "match top bar with main
color" is active

* fix: unify main and sec sections

Unifies the main and the secondary color accents,
so both use/modify the same colors, instead of them
(previously) using different colors.
This makes the theme more predictable and modifyable.

* fix: add missing opacity4 color

Adds a missing color for all the gruvbox light secondary accent colors: the opacity4 accent color.

---------

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>
@kenthinson
Copy link

kenthinson commented Dec 23, 2024

@DontBlameMe99 Hello! Loving the theme you made thanks a bunch! I did have one comment that I think might improve how it looks next to other public themes. I opened a discussion about it because I did not know about this merge request. If you have time would you take a look at my screen shots and see if you think the changes mentioned are warranted to your theme? If you don't agree it's okay I'll keep my own fork going.

#6427

@DontBlameMe99
Copy link
Contributor Author

@DontBlameMe99 Hello! Loving the theme you made thanks a bunch! I did have one comment that I think might improve how it looks next to other public themes. I opened a discussion about it because I did not know about this merge request. If you have time would you take a look at my screen shots and see if you think the changes mentioned are warranted to your theme? If you don't agree it's okay I'll keep my own fork going.

#6427

Hey @kenthinson,
I’m happy to hear you’re enjoying the theme!
As @efb4f5ff-1298-471a-8973-3d47447115dc mentioned in their reply (#6427 (comment)), the project aims to maintain readability for everyone, which means we’re unable to make changes to the color scheme. While I understand your preference for a cleaner look, we must prioritize maintaining good contrast for accessibility. If you find a way to achieve your preferred look while ensuring the contrast stays intact, that could work, but otherwise, it’s not something that can be adjusted.

For example, your new background color (#3C3836) has very poor contrast with the red color (#F44336). You can see this here: contrast checker.

Thanks for your understanding!

SuperAKWA pushed a commit to SuperAKWA/FreeTube that referenced this pull request Jan 24, 2025
* Add: Gruvbox color schemes & accent colors

Implements/adds the Gruvbox Dark Gruvbox Light color schemes.
Also adds all the accent colors (Red, Green, Yellow, Blue, Purple, Aqua
and Orange)

* Keep A-Z sorted

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>

* Keep theme-settings.js sorted

Keeps the file sorted from A-Z

* Keep colors.js sorted

Keeps the file sorted from A-Z

* Add missing commas

Adds two missing commas, which because of the
sorting from A-Z

* Keep sorting in en-US.yaml from A-Z

Keeps the A-Z sorting in the en-US.yaml file

* Delete duplicate line

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>

* Remove trailing comma

Remove a trailing comma (,)

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>

* Remove unintentional formatting

Removes the unintentional formatting, automatically done by my nvim lsp.
This adds the blank space back in.

* Fix gruvbox light video feed/status bar divider

Fixes/Improves the color clarity between the status bar and the feed
(the divider).

* Fix: Profile menu no longer blends in with Background

Fixes so that the profile menu no longer blends in with the background

* Add Gruvbox Light accent colors

- Adds the gruvbox light accent colors
- Distinguishes between gruvbox light/dark colors by specifying "Gruvbox
Dark Red" and "Gruvbox Light Red"

* Remove colors with insufficient contrast

Removes the colors which have insuficcient contrast:
- Dark Red
- Light Green
- Light Yellow
- Light Aqua

* Remove unused translations

* Remove unused css colors

Removes unused css for colors:
- Gruvbox Dark Red
- Gruvbox Light Green
- Gruvbox Light Yellow
- Gruvbox Light Aqua

* Improve text with accent readability

Improves hte text with accent color readability

* Improve accent color contrast

Improves the accent color contrast to be 4.5 or above

* Improve light color contrast & logo visibility

- Improves the contrast of the light color scheme colors
- Improves the visibility of the logo when the "match top bar with main
color" is active

* fix: unify main and sec sections

Unifies the main and the secondary color accents,
so both use/modify the same colors, instead of them
(previously) using different colors.
This makes the theme more predictable and modifyable.

* fix: add missing opacity4 color

Adds a missing color for all the gruvbox light secondary accent colors: the opacity4 accent color.

---------

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>
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.

[Feature Request]: Add Gruvbox themes.
8 participants