Kibana: Migrate ui/styles to New Platform

Created on 24 Feb 2020  路  6Comments  路  Source: elastic/kibana

Before we remove ui/public we need to find a new home for the less and scss files in ui/styles and update all imports.

The easy option: src/core/public/styles?

cc @elastic/kibana-design

Legacy Removal New Platform Core

Most helpful comment

All 6 comments

Pinging @elastic/kibana-platform (Team:Platform)

@joshdover So long as they still get imported the same way as before, I don't think we have much opinion on where they "live". The folder you specified seems fine to me.

@joshdover Is this currently planned for 7.8? I had a problem referencing this from within a new platform stylesheet, not sure whether it's a blocker or possible to work around.

It is not currently prioritized, since the new webpack build for KP plugins automatically imports styling_constants. Do you need access to the other sheets (eg. bootstrap.less or font_awesome.less)?

It's about the mixins, so it should work just fine. I will check and report back with a specific error if something breaks.

Was this page helpful?
0 / 5 - 0 ratings