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

Fix/theme settings marketplace additions #461

Merged
merged 9 commits into from
Feb 8, 2023

Conversation

jazzyclimber
Copy link
Contributor

Types of change

  • [ x ] Bug fix (change which fixes an issue)
  • Enhancement (change which improves upon an existing feature)
  • [ x ] New feature (change which adds new functionality)

Description

Add additional theme settings to bring theme up to date with new marketplace requirements. #455

There was also an issue related to running the bend command.

  • Added a .node-version file
  • changed version of eslint
  • modified node-version running on git to match version in .node-version (allows successful linting in git`).

Relevant links

#455

Checklist

People to notify
@jasonnrosa

"step": 1,
"suffix": "px",
"default": 0
},
Copy link
Member

Choose a reason for hiding this comment

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

To keep things on the simple side do you think it could make sense to keep these condensed to one corner radius or do you think there is value in keeping these separated out? If we keep things separated out do you think it would sense to offer up bottom-corner radius options for the title if it will always sit on top of the form?

Copy link
Contributor Author

@jazzyclimber jazzyclimber Feb 7, 2023

Choose a reason for hiding this comment

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

I 100% Think there is value in this. I can see instances where folks might want to either style:

  • title only
  • form only
  • title and form w/ various combos of border && background color.

ref image 1
ref image 2

There really are a lot of different options to account for and designers get pretty crazy. I def think it's best to give those options to the user. We could slim it down visually into a single number field, add a boolean for editing all corners individually and then displaying the rest. But, at that rate, we might as well see if the fields team can create a field for corner radius similar to border fields.

If we keep things separated out do you think it would sense to offer up bottom-corner radius options for the title if it will always sit on top of the form?

I actually added this to the title section already :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If we keep things separated out do you think it would sense to offer up bottom-corner radius options for the title if it will always sit on top of the form?

I misread this.

I do think it makes sense to keep the bottom margins because of the use cases in the reference images. I can foresee times when a designer might only style either the title section or the form. In those instances we would want them to be able to style them fully and independently. While it adds some extra options -- I think it ultimately gives the users much more freedom in design.

ref image 1
ref image 2

Copy link
Member

Choose a reason for hiding this comment

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

Cool, that makes sense! I think as a follow-up issue/PR it could be worth checking around to see if there are other places corner-radius is used to make sure we have a similar set of options in each spot vs. the singular one 👍🏼

If we keep things separated out do you think it would sense to offer up bottom-corner radius options for the title if it will always sit on top of the form?

For this I more meant do you think a user would ever want the form title to have bottom border-radius options if it will always sit on top of a form (example of where I was thinking that could get funky below):

Screen Shot 2023-02-07 at 5 27 30 PM

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jasonnrosa I agree that it could get pretty funky. However, they would be responsible for handling that instance imo. And I think that is fair.

In my opinion the purpose of theme-settings is essentially to allow the user to effect change on global stylesheets without needing to know how to code. I def see that a user could potentially design themselves into a gross design. But I do feel like giving them open options makes the boilerplate a more flexible starting point.

So:

For this I more meant do you think a user would ever want the form title to have bottom border-radius options if it will always sit on top of a form (example of where I was thinking that could get funky below):

Not exactly -- but with the way this is handled on the growth theme we could not create a design like ref image 1. The closest you can get would be something like this

It doesnt work super well when both the title and form have Background colors but it does work well when one does and the other doesnt. ref image 2

Is that making sense?

Copy link
Member

Choose a reason for hiding this comment

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

Yup - definitely understand now, thank you for the additional examples! This makes sense to me 👍🏼 I think my only follow-up ask is to just check through boilerplate for other instances of us using corner radius to see if it could get a similar update so we don't have more limited options in one spot but not another.

@jasonnrosa
Copy link
Member

This is looking great - awesome work here 💪🏼 just added a few comments/questions above but everything else looked to work great during my tests!

BJ Szyjakowski added 4 commits February 7, 2023 14:07
fixed incorrect json path for the inherited_value key. Should be working correctly now.
Update new useage of color fields to use the css color() macro. Some other small nit picky style guide tweaks.
hs-json-cleaner was run locally. No packages were added to the boilerplate.
Copy link
Member

@jasonnrosa jasonnrosa left a comment

Choose a reason for hiding this comment

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

Just had one open question on corner radius bottom on the form title in one of the threads but I think this is good to go pending what you think there 👍🏼

@jazzyclimber jazzyclimber merged commit 9c15dda into main Feb 8, 2023
@jazzyclimber jazzyclimber deleted the fix/theme-settings-marketplace-additions branch February 8, 2023 16:12
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.

2 participants