mwkwsd / sensensomething

3 stars 0 forks source link

Style "Submit" button on "Contact Me" form #165

Open vikascripps opened 1 month ago

vikascripps commented 1 month ago

Currently the button looks like this in staging:

Screen Shot 2024-05-06 at 8 57 51 AM

It should look like this: Screen Shot 2024-05-06 at 8 58 51 AM

I mentioned the font update for button text in #164. It probably is better to update text style for all buttons at once. In addition to text style change for this button, we also need to update the styling of the box. Here is a link to this button in Figma.

Here are specs for it:

Screen Shot 2024-05-06 at 9 03 42 AM
mwilkins74 commented 1 month ago

See #156. I have been unable to get this button do any restyling other than removing the rounded border edges. I have spent at least two hours trying to "expand" the button so there is more space on either side of the Submit label to no avail.

@ChuckBTaylor any suggestions?

mwilkins74 commented 1 month ago

@vikascripps Ok, after like 3 hours of wrestling this damn button I've gotten it to look like this! phew

Screen Shot 2024-05-10 at 2 59 01 PM
vikascripps commented 1 month ago

@mwilkins74 yay, great job! Sorry it took so long! The text style on the button is wrong but I'm assuming it will be handled in a different issue.

mwilkins74 commented 1 month ago

@vikascripps It's using the Manrope font-family as you can see in this screenshot. Let me know if that needs to be changed to something else.

Screen Shot 2024-05-10 at 4 52 36 PM
vikascripps commented 1 month ago

@mwilkins74 ha, I'm not sure what is happening, but the font on your screenshot is not Manrope. I understand that that's what it says when you inspect it, but this is not what Manrope looks like.

Here is what it looks like: Screen Shot 2024-05-10 at 3 12 32 PM

Here is a link to it in Google Fonts.

mwilkins74 commented 1 month ago

@vikascripps Very weird!

Any chance the font we're seeing on render is Oswald or Roboto?

We have those declared in the application and I have a feeling Oswald may be what we're seeing even though it's telling me it's Manrope.

vikascripps commented 1 month ago

@mwilkins74 no, it's not either of those. They are both sans serif fonts and the one that's rendering is a serif.

mwilkins74 commented 1 month ago

@vikascripps so Weird!!! I'll do some more exploring.

p.s. What's a serif?

vikascripps commented 1 month ago

@mwilkins74 serif fonts have those decorative lines or tapers (also commonly referred to as “tails” or “feet”) while sans serif fonts don't—hence the “sanes” in their title.

So a serif would look like this (I circled the "tails" mentioned above): Frame 1009

And a sans serif would look like this (it's very straight and does not have "tails"): Screen Shot 2024-05-14 at 10 26 56 AM

mwilkins74 commented 1 month ago

@vikascripps I left this hanging for a couple of weeks, but I finally think I figured it out. This is the current SUBMIT button styling. When I inspect the element it still says Manrope, but now it includes a sans-serif flag as well. I think I needed to import the font into the code, which once I did this is the result.

Screen Shot 2024-05-28 at 6 06 53 PM
vikascripps commented 3 weeks ago

@mwilkins74 Nice, the font looks great! I seems that the button now moved to the right, could you right align in with the right end of the 'Message' input field please? Also, the button now has rounded corners, could you make them sharp?

mwilkins74 commented 1 week ago

@vikascripps good morning! This is current Submit button when I spin it up this morning. Let me know further thoughts.

Screen Shot 2024-06-24 at 8 49 46 AM