Conversation
There was a problem hiding this comment.
Please don't use capitalize here, because that changes how every single word looks on the admin tabs. Especially plugin maintainers and users of foreign languages may not want to have every single word capitalized. This should be handled inside the locale files.
There was a problem hiding this comment.
As you can see perfectly on "Go Back To Store" ;)
There was a problem hiding this comment.
Ha! Good point. I think I wanted uppercase gone, and saw capitalize as the next step down. Let's be rid of it entirely!
9daee35 to
242128a
Compare
|
@Sinetheta this looks really nifty. And pretty. Etc. Can you please do a write-up either in the wiki or somewhere on how one would go about customizing the colors themselves? I imagine a few stores will either want to immediate take use of the better organization to color to their own branding, or maybe even go back to what it was to avoid scaring people. |
|
The new styleguide would be a great place to add the customization guide, isn't it? As the colors now differ from the main content, I guess you will address this as next? Otherwise the admin UI will look a little weird. Although I spoke against the dark/blue theme, I have to admit that it looks nice and far more mature then the current theme and I can't wait to see the whole backend to look like this! As always great work @Sinetheta 👑 |
71f1c8f to
8224395
Compare
|
@cbrunsdon I've moved things around so that the "theme" of the sidebar is controlled by the final commit, a change of variables only, then added a note to the changelog. I don't think any additional explanation is required for customizing the nav, as that file would be the point of entry for any solidus admin custom colors. @tvdeyen I very much agree about noting these colors in the styleguide. I will update whichever PR makes it in later #602 (comment) |
8224395 to
47d6440
Compare
|
Okay, as per discussion in the #gui room in slack (which we made to talk about the gui) and #630, we're leaning towards pulling out the last commit here (that actually changes the colors) for a future PR when more colors are ready to change. Final decisions still pending though. |
|
👍 |
48ff9a8 to
4542081
Compare
|
Hey guys, sorry I was away for so long. Although I personally love incremental changes in UIs, even if it results in half-man half-monster in-between phases, I can completely understand @tvdeyen's concerns. As such I have ammended the final commit to be opt-in instead of opt-out for users. + * Added optional "Solidus next" styles to the admin area, as per [admin rebrand](https://github.com/solidusio/solidus/issues/520).
+ To use the new colors, add `@import 'spree/backend/next/globals/variables_override';`
+ to your `spree/backend/globals/variables_override`.Does that seem like a reasonable approach to everyone? The |
|
I like this as a way to get this in sooner, rather than make Kevin rebase weekly (which this PR needs again 😉) We had a quick discussion IRL, and I would prefer we made a "theme" folder for this and give it a name. This would allow us to make a |
|
I like the idea of a theme folder, but it's not necessary right now IMO. Although I would call the intermediate folder |
4542081 to
d8d44d6
Compare
|
That's wise @jhawthorn because every time I have to rebase a branch my file names become more ridiculous. |
|
With the theme change I am now 👍 (other than one comment) since this doesn't change the default styles |
d8d44d6 to
5fae541
Compare
|
Thanks for spotting that one @jhawthorn. I think we're good now. |
|
this is good by me now 👍. For the record though, we don't need to call the variable settings in every theme variable_overrides, as those in fact are the variables for that theme. |
5fae541 to
17763ef
Compare
The new dark theme is not going to have aborder at all, so a color variable isn't sufficient, we need to be able ot remove the border entirely from variables.scss
We want to be able to control this area from variables.scss as well.
There were still some inconsistencies in the navbar variables. Now we can swap color schemes as a single commit.
For increased contrast between nav and content. We're also going to try to get away from the "numbered colors" with our sass variables.
17763ef to
ea22dff
Compare
|
Okay! bit of an odyssey to get this in, thanks for the patience @Sinetheta, great step forward |
|
@tvdeyen @Sinetheta I found the same issue with using the blue theme similar to @adaddeo. I found that manually overriding the spree_admin.scss file allowed me to import the blue theme however if I do not have that file it will not work. Any ideas why? |
This is the first step towards Solidus admin branding