Jump to content

Invision Community 5: The All New Theme Editor


Recommended Posts

Wow!  This is honestly, in a word...incredible!  Exceptionally well done @Ehren, feature rich and superb UX!

One of the biggest enhancements I can see being added is some level of quick linking or hover effect to expose the available CSS properties for a given component (button, header, etc) within the theme editor.  In your example, maybe when you hover the button you converted to upper case, fill the CSS editor box with the available properties or maybe a modal showing the documentation of available properties.   That is one of the biggest hurdles I have with theme editing, in that I often have to find examples of what I want to do in the suite or come up with my own CSS properties to achieve the effect (potentially adding unnecessary code vs reusing what may be available but is unknown).

Overall this has truly elevated the ability for site owners to control their themes in a magnificent way, seriously raising the bar of what this suite offers to a new level!  Very well done! 👍

Link to comment
Share on other sites

It's truly amazing to see how easy the theme editor is. The amount of possibilities are really endless. And that will definitely be fun to see various communities making their own version. Having a 3rd party theme designer create something like this custom for you is worth alone thousands of dollars. This version takes your community to a whole new level. I don't think people can really comprehend how much work goes into this.

Brilliant work team, well done. Couldn't be more excited to see more!

Link to comment
Share on other sites

  • Management
2 minutes ago, Cedric V said:

It's truly amazing to see how easy the theme editor is. The amount of possibilities are really endless. And that will definitely be fun to see various communities making their own version. Having a 3rd party theme designer create something like this custom for you is worth alone thousands of dollars. This version takes your community to a whole new level. I don't think people can really comprehend how much work goes into this.

Brilliant work team, well done. Couldn't be more excited to see more!

When Ehren talks about the new CSS structure, you'll see how it all goes together. The new CSS framework is remarkable.

Link to comment
Share on other sites

5 minutes ago, Matt said:

Not just the selector or element class being targeted, but what are applicable CSS properties IPS may already have defined that can be used in those areas.  An IPS CSS Guide so to speak. 

There are a lot of IPS defined CSS classes to control formatting, so I was just thinking along the lines of bubbling that up into the editor in some way (i.e. things like ipsType_normal, ipsType_bold, etc) versus a site owner creating new (and potentially duplicate/excessive CSS).  So it's both about exposing available CSS to use in target areas and then also applying them to the desired target elements for that theme (in the use case presented in the video, the option to use IPS CSS property XYZ and the ability to apply that all buttons or just to that singular target button). 

The overarching goal is higher reuse of existing code and global/uniform application of that customization across the suite so look and feel remain consistent.  Not every IPS natively defined CSS property will be available as a UI feature, so having some editor level exposure and reuse of those natively available CSS properties is highly beneficial (at least in my eyes).  

 

Link to comment
Share on other sites

1 minute ago, Matt said:

Ehren will go into more details but things like ipsType_ no longer exists, it's much more structural now.

As I was just reading your blog on Theme Tools and the part where you said "the short version is that the CSS framework has been completely rewritten from scratch with a new approach to how CSS classes interact with page elements.", I was wondering this exact thing.  I'll have to wait to see the deeper level details of the CSS framework to better understand once they become available!  Thanks Matt!

Link to comment
Share on other sites

10 minutes ago, Clover13 said:

Not just the selector or element class being targeted, but what are applicable CSS properties IPS may already have defined that can be used in those areas.  An IPS CSS Guide so to speak. 

There are a lot of IPS defined CSS classes to control formatting, so I was just thinking along the lines of bubbling that up into the editor in some way (i.e. things like ipsType_normal, ipsType_bold, etc) versus a site owner creating new (and potentially duplicate/excessive CSS).  So it's both about exposing available CSS to use in target areas and then also applying them to the desired target elements for that theme (in the use case presented in the video, the option to use IPS CSS property XYZ and the ability to apply that all buttons or just to that singular target button). 

The overarching goal is higher reuse of existing code and global/uniform application of that customization across the suite so look and feel remain consistent.  Not every IPS natively defined CSS property will be available as a UI feature, so having some editor level exposure and reuse of those natively available CSS properties is highly beneficial (at least in my eyes).  

 

A list of CSS properties in a guide is a great idea!

Link to comment
Share on other sites

🤯 🤯 🤯

I thought this was going to be something along the lines of Wordpress' theme editor (which is okay, but... I really did have to hack a lot of CSS in there when I was using it), something nice for newbies to play around with... but after watching that video I think it honestly touches 99% of all the colour scheme-related theme tweaks I've ever needed to work with! What an amazing feature! Fantastic work Ehren and team!

I've made some 17 colour variants of the same core custom theme on my community (+ dynamic dark modes for each), and although I took advantage of loads of CSS tricks (variables out the wazoo) it was a significant amount of effort - I can imagine that time being cut down so dramatically with this Theme Editor. Even the content box colours, wtf. 😄 The swatches are a really really nice touch as well, thank you for that thoughtful inclusion!

The only thing I didn't see that was teased in the intro was the use of background image in the header... I wonder how that works (will there be opacity options so that any image you add doesn't complicate the nav links etc)..? 

Also, is there scope in a future release/update to support gradients for some of the colour options? I tend to use gradients for the content box headers rather than block colours, but if not it's definitely something I can just work in using the Custom CSS as I have been doing before.

I love it, I love this. Great stuff! 👏

PS. I had a feeling this was going to be a good update when it didn't arrive on Wednesday like the last two blogs! 😆

EDIT: 

Quote

A list of CSS properties in a guide is a great idea!

I second this! One of the biggest issues in custom theming V4 is the lack of documentation/guides on what existing structural properties exist in the codebase... meaning that I ended up adding custom CSS to achieve things (like grids etc) that most likely already exist out of the box. I just know that, for as much as I've tried my best, there are elements of my custom code which is just wasteful because of it.

Edited by Dreadknux
Link to comment
Share on other sites

  • Management
49 minutes ago, Dreadknux said:

🤯 🤯 🤯

I thought this was going to be something along the lines of Wordpress' theme editor (which is okay, but... I really did have to hack a lot of CSS in there when I was using it), something nice for newbies to play around with... but after watching that video I think it honestly touches 99% of all the colour scheme-related theme tweaks I've ever needed to work with! What an amazing feature! Fantastic work Ehren and team!

I've made some 17 colour variants of the same core custom theme on my community (+ dynamic dark modes for each), and although I took advantage of loads of CSS tricks (variables out the wazoo) it was a significant amount of effort - I can imagine that time being cut down so dramatically with this Theme Editor. Even the content box colours, wtf. 😄 The swatches are a really really nice touch as well, thank you for that thoughtful inclusion!

The only thing I didn't see that was teased in the intro was the use of background image in the header... I wonder how that works (will there be opacity options so that any image you add doesn't complicate the nav links etc)..? 

Also, is there scope in a future release/update to support gradients for some of the colour options? I tend to use gradients for the content box headers rather than block colours, but if not it's definitely something I can just work in using the Custom CSS as I have been doing before.

I love it, I love this. Great stuff! 👏

PS. I had a feeling this was going to be a good update when it didn't arrive on Wednesday like the last two blogs! 😆

EDIT: 

I second this! One of the biggest issues in custom theming V4 is the lack of documentation/guides on what existing structural properties exist in the codebase... meaning that I ended up adding custom CSS to achieve things (like grids etc) that most likely already exist out of the box. I just know that, for as much as I've tried my best, there are elements of my custom code which is just wasteful because of it.

We have an internal wiki that is quite basic, but we'll eventually get an improved version out to the public (this is a little out of date but you get the idea).

Could contain: Page, Text, Letter

Link to comment
Share on other sites

This is remarkable. 

Will there be a way to adjust the length of the snippets? I like the idea, but I wouldn't want them to be too long. Trying to strike a balance between enough content visible to get people interested in the conversation, but not too much so that they still have to open the topic to read more. 

I was going to watch a Netflix movie but I think I'll watch that video 6 times in a row instead. 😍

@Ehren for the win!! 

Link to comment
Share on other sites

Thanks for the feedback everyone!

8 hours ago, Cedric V said:

It's truly amazing to see how easy the theme editor is. The amount of possibilities are really endless. And that will definitely be fun to see various communities making their own version. Having a 3rd party theme designer create something like this custom for you is worth alone thousands of dollars. This version takes your community to a whole new level. I don't think people can really comprehend how much work goes into this.

Brilliant work team, well done. Couldn't be more excited to see more!

Thanks mate! Third party designers will be able to release themes which take advantage of all of these features, which almost makes "premade themes" much closer to "custom themes". If you find a theme for sale, but the header positions aren't quite right for example, you'll be able to customize it without asking the designer for custom changes. Win win for both the designer and the customer!

 

8 hours ago, Clover13 said:

One of the biggest enhancements I can see being added is some level of quick linking or hover effect to expose the available CSS properties for a given component (button, header, etc) within the theme editor. 

The web developer tools built into your browser are likely the best solution here. I'll write up documentation for all of the new components (grid, buttons, etc), but as for the custom CSS editor, there are no plans at this stage to expand it beyond a regular code editor.

 

7 hours ago, Dreadknux said:

Even the content box colours, wtf. 😄 The swatches are a really really nice touch as well, thank you for that thoughtful inclusion!

The only thing I didn't see that was teased in the intro was the use of background image in the header... I wonder how that works (will there be opacity options so that any image you add doesn't complicate the nav links etc)..? 

Also, is there scope in a future release/update to support gradients for some of the colour options? I tend to use gradients for the content box headers rather than block colours, but if not it's definitely something I can just work in using the Custom CSS as I have been doing before.

Yeah, the swatches will come in really handy. It's a much easier system instead of manually trying to allocate light/dark shades manually.

The header background in the intro was added via Custom CSS. I've been thinking of the best way to add an image feature for the header, but making a simple UI for something like that is ironically a very complex task since you also need to cater for the multiple header/nav bars as you mentioned. It's very simple to add using CSS, so at least there's a simple fallback if nothing else comes to mind before the release date 🙂

There are no plans for gradients, but since you seem pretty confident with CSS, you'll have no problems adding them using the code editor 🙂

 

3 hours ago, David N. said:

This is remarkable. 

Will there be a way to adjust the length of the snippets? I like the idea, but I wouldn't want them to be too long. Trying to strike a balance between enough content visible to get people interested in the conversation, but not too much so that they still have to open the topic to read more. 

I was going to watch a Netflix movie but I think I'll watch that video 6 times in a row instead. 😍

@Ehren for the win!! 

Thanks David!

There certainly is. Snippets are truncated to a maximum of 680 characters for memory - but you can trim that down using CSS line-clamp. One line of CSS can do that for you. 👍

Link to comment
Share on other sites

Nbc Magic GIF by America's Got Talent

Every IPS client at launch of v5 immediately changing all of their color schemes just to play with the theme editor.  

Nice job with the theme editor controls.  There are so many options to customize the theme.  

I'm personally most excited about mobile views and header controls to control the placement of logos, menus, and breadcrumbs.  Menus and above the fold placement is especially important for a mobile world, and we need to be judicious with how space is allocated.  

Edited by Joel R
Link to comment
Share on other sites

14 hours ago, Ehren said:

The header background in the intro was added via Custom CSS. I've been thinking of the best way to add an image feature for the header, but making a simple UI for something like that is ironically a very complex task since you also need to cater for the multiple header/nav bars as you mentioned. It's very simple to add using CSS, so at least there's a simple fallback if nothing else comes to mind before the release date 🙂

There are no plans for gradients, but since you seem pretty confident with CSS, you'll have no problems adding them using the code editor 🙂

Great work!

There's always more one could add, but this is ideal for the average site owner.

I've found a similar device layout switch so useful in my WP builder, it's so convenient to instantly toggle between desktop, tablet and mobile when you're working.

For more advanced themes, I am concerned because Matt hinted that the AdminCP theme editing is gone completely so I'm still worried sick about how I will be able to add custom theme settings in IC5. Have they gone completely or is there still an interface where we can add select lists and image uploads fields?

Example:

Halloween_Macabre_Settings_Scroll_Up-4.6

 

Down the road it would be nice to see support for:

  • color opacity (HSLA),
  • gradients,
  • spacing (margin and padding),
  • borders,
  • background header images and positioning, cover, contain etc,
  • background video upload fields (mp4 and webm)
  • overlays
  • CSS blend filters but there is always the custom CSS sheet and I think again with the exception of background header images, they are for the more advanced users. Still, we could perhaps see those added later and this is a great start!

I think it's also natural to one day even see some of this eventually make its way into the CMS page-builder!

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
×
×
  • Create New...