Support CSS Layers
126
Views
3
Comments
New
Frontend (App Interfaces)

Currently, the Service Studio CSS editor does not recognize "@layer" directives (notice the warning and the missing syntax highlighting on my ".test" class.

Layers are a part of CSS and already mostly supported in all browsers. 

Althought this does not impact atual usage, it would be nice for it to be supported in the code editor.

This could be as easy to implement as updating the underlying editor (I think it's Monaco Editor)




Changed the category to
Frontend (App Interfaces)

If the CSS editor in Service Studio is based on Monaco Editor (as you suspect), updating it to a version that fully supports modern CSS features like @layer should indeed be feasible. It could involve updating the underlying version of Monaco Editor or ensuring the configuration includes support for the latest CSS specifications.

I recommend submitting this suggestion as an improvement idea through OutSystems' official forums or support channels. You can also include a reference to the MDN documentation for @layer to emphasize its importance.

@Deepak Raj M Yes, it should be an easy process. 

I don't get your second paragraph as submitting the suggestion is exactly what I'm doing (and through the proper channels). I also already included a reference to MDN and CanIUse.