New buttons with project colors + small bugfix #80

Merged
bvisness merged 5 commits from giggs/hmn:buttons into master 2022-08-13 02:13:14 +00:00
Contributor

Following the discussion on #74, here are changes to the submit buttons so that they match theme/project color.

Border colors are set to match the button background.

I've also included a "bugfix" where the editor-toolbar-button-background parameter in the dark theme.css and variables.scss were missing the # sign.

I wasn't sure whether to remove the form button values from theme.css and variables.scss and left them, as I'm not sure they're used anywhere now

Following the discussion on [#74](https://git.handmade.network/hmn/hmn/issues/74), here are changes to the submit buttons so that they match theme/project color. Border colors are set to match the button background. I've also included a "bugfix" where the `editor-toolbar-button-background` parameter in the dark theme.css and variables.scss were missing the # sign. I wasn't sure whether to remove the `form button` values from theme.css and variables.scss and left them, as I'm not sure they're used anywhere now
giggs added 1 commit 2022-08-02 04:38:13 +00:00
Author
Contributor

Unfortunately there are issues with the buttons in the Add project pages, trying to fix it

I think they're all fixed now

~~Unfortunately there are issues with the buttons in the Add project pages, trying to fix it~~ I think they're all fixed now
giggs added 1 commit 2022-08-02 05:07:45 +00:00
giggs added 1 commit 2022-08-02 05:18:50 +00:00
Owner

Thanks, I really like how these changes are looking! Unfortunately I've noticed a problem, which is that while your CSS changes are good, you're directly editing the CSS files, which are generated by running go run . buildscss and not supposed to be edited directly. So, the next time someone runs that, they'll be overridden.

Any changes you've made to style.css should be ported to the relevant .scss files, and then run go run . buildscss to ensure that everything is set up correctly.

Thanks, I really like how these changes are looking! Unfortunately I've noticed a problem, which is that while your CSS changes are good, you're directly editing the CSS files, which are generated by running `go run . buildscss` and not supposed to be edited directly. So, the next time someone runs that, they'll be overridden. Any changes you've made to `style.css` should be ported to the relevant `.scss` files, and then run `go run . buildscss` to ensure that everything is set up correctly.
giggs added 1 commit 2022-08-10 14:42:39 +00:00
Author
Contributor

Thanks, I really like how these changes are looking! Unfortunately I've noticed a problem, which is that while your CSS changes are good, you're directly editing the CSS files, which are generated by running go run . buildscss and not supposed to be edited directly. So, the next time someone runs that, they'll be overridden.

Any changes you've made to style.css should be ported to the relevant .scss files, and then run go run . buildscss to ensure that everything is set up correctly.

I modified _forms.scss and after running go run . buildscss it's all good locally. Unfortunately it seems like rebuilding the scss made git think there are hundreds of non-existant changes to style.css, which I have no idea how to fix. Hopefully it doesn't matter.

project.css was unaffected by the rebuild and indeed, it doesn't appear in buildscss.go so I left that unchaged.

It also occurred to me that the fix I'd done for the squeeshed avatars was also improperly implemented by editing style.css so I fixed that, too.

I do appreciate your patience as I stumble through this learning process, thank you.

> Thanks, I really like how these changes are looking! Unfortunately I've noticed a problem, which is that while your CSS changes are good, you're directly editing the CSS files, which are generated by running `go run . buildscss` and not supposed to be edited directly. So, the next time someone runs that, they'll be overridden. > > Any changes you've made to `style.css` should be ported to the relevant `.scss` files, and then run `go run . buildscss` to ensure that everything is set up correctly. I modified `_forms.scss` and after running `go run . buildscss` it's all good locally. Unfortunately it seems like rebuilding the scss made git think there are hundreds of non-existant changes to `style.css`, which I have no idea how to fix. Hopefully it doesn't matter. `project.css` was unaffected by the rebuild and indeed, it doesn't appear in `buildscss.go` so I left that unchaged. It also occurred to me that the fix I'd done for the squeeshed avatars was also improperly implemented by editing `style.css` so I fixed that, too. I do appreciate your patience as I stumble through this learning process, thank you.
giggs added 1 commit 2022-08-10 15:07:23 +00:00
Owner

Looks great to me now! No worries about the style.css changes; it's probably line ending stuff and I really don't care. Thanks for making these changes!

Looks great to me now! No worries about the style.css changes; it's probably line ending stuff and I really don't care. Thanks for making these changes!
bvisness merged commit 9e786e132d into master 2022-08-13 02:13:14 +00:00
Sign in to join this conversation.
No description provided.