Buttons are dim and boring #74

Closed
opened 2022-07-25 20:19:30 +00:00 by bvisness · 6 comments
Owner

Take a look at this comment: #73 (comment)

@giggs implemented some different button styles that definitely look better, and I feel like our current button styles are generally just pretty dim. We should tweak our button styles globally to make them pop a little more. (Maybe not quite as much as the custom buttons from that comment? Not sure.)

One thing to be aware of is that the overall site color scheme changes depending on what project you're viewing. This is controlled by project.css, which you can find in our templates. It's likely that our button styles are split between global styles and project.css.

Take a look at this comment: https://git.handmade.network/hmn/hmn/pulls/73#issuecomment-1177 @giggs implemented some different button styles that definitely look better, and I feel like our current button styles are generally just pretty dim. We should tweak our button styles globally to make them pop a little more. (Maybe not quite as much as the custom buttons from that comment? Not sure.) One thing to be aware of is that the overall site color scheme changes depending on what project you're viewing. This is controlled by `project.css`, which you can find in our templates. It's likely that our button styles are split between global styles and `project.css`.
bvisness added the
good first issue
label 2022-07-25 20:25:50 +00:00
Author
Owner

Actually, our link text on the dark theme is actually just really dim. That's probably the bigger issue.

Actually, our link text on the dark theme is actually just really dim. That's probably the bigger issue.
Contributor

Actually, our link text on the dark theme is actually just really dim. That's probably the bigger issue.

For what it's worth I came to the same conclusion while trying different background colours for the button.

Unfortunately, I wasn't able to find where you guys define the link text on either theme.
I found --link-color but it's just a shade of grey and tweaking it doesn't seem to do much.

If you could let me know I'll try different colors and post screenshots

> Actually, our link text on the dark theme is actually just really dim. That's probably the bigger issue. For what it's worth I came to the same conclusion while trying different background colours for the button. Unfortunately, I wasn't able to find where you guys define the link text on either theme. I found --link-color but it's just a shade of grey and tweaking it doesn't seem to do much. If you could let me know I'll try different colors and post screenshots
Author
Owner

The link color and various background colors are determined by the project color, and set and manipulated in the template for project.css: https://git.handmade.network/hmn/hmn/src/branch/master/src/templates/src/project.css

Other colors are set in SCSS via the following two files (for light and dark themes respectively):
https://git.handmade.network/hmn/hmn/src/branch/master/src/rawdata/scss/themes/light/_variables.scss
https://git.handmade.network/hmn/hmn/src/branch/master/src/rawdata/scss/themes/dark/_variables.scss

The link color and various background colors are determined by the project color, and set and manipulated in the template for project.css: https://git.handmade.network/hmn/hmn/src/branch/master/src/templates/src/project.css Other colors are set in SCSS via the following two files (for light and dark themes respectively): https://git.handmade.network/hmn/hmn/src/branch/master/src/rawdata/scss/themes/light/_variables.scss https://git.handmade.network/hmn/hmn/src/branch/master/src/rawdata/scss/themes/dark/_variables.scss
Contributor

Actually, our link text on the dark theme is actually just really dim. That's probably the bigger issue.

I found that what bothered me the most was that the button background was too light. I linked a screenshot of a simple change only to the dark theme that I think looks better.

Otherwise, regarding:

We should tweak our button styles globally to make them pop a little more. (Maybe not quite as much as the custom buttons from that comment? Not sure.)

I've made a style.css modification to have the theme color as the background for all buttons. I also linked a screenshot showing buttons for light, dark and project buttons.

Thoughts? Is there one worth shipping?

> Actually, our link text on the dark theme is actually just really dim. That's probably the bigger issue. I found that what bothered me the most was that the button background was too light. I linked a screenshot of a simple change only to the dark theme that I think looks better. Otherwise, regarding: > We should tweak our button styles globally to make them pop a little more. (Maybe not quite as much as the custom buttons from that comment? Not sure.) I've made a style.css modification to have the theme color as the background for all buttons. I also linked a screenshot showing buttons for light, dark and project buttons. Thoughts? Is there one worth shipping?
Author
Owner

So much better. I love having the project color on buttons, it livens them up so much. I think we'll want to ensure that buttons no longer have a border, and have some decent border radius, but then I say ship it.

Is there a light-theme equivalent we could do? Perhaps with a darker version of the project color?

If you want to put together a PR for the latter example, I'd be happy to look it over and get that merged.

So much better. I love having the project color on buttons, it livens them up so much. I think we'll want to ensure that buttons no longer have a border, and have some decent border radius, but then I say ship it. Is there a light-theme equivalent we could do? Perhaps with a darker version of the project color? If you want to put together a PR for the latter example, I'd be happy to look it over and get that merged.
Author
Owner

Hey I think this is done! (#80)

Hey I think this is done! (#80)
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hmn/hmn#74
No description provided.