Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EUI: Reset CSS #15486

Closed
wants to merge 35 commits into from
Closed

EUI: Reset CSS #15486

wants to merge 35 commits into from

Conversation

cjcenizal
Copy link
Contributor

@cjcenizal cjcenizal commented Dec 8, 2017

Replaces #15134.

This PR:

  • Adds EUI as a dependency, making the React components, JS services, and test helpers available
  • Adds the EUI CSS, including reset styles and component CSS
  • Removes the Bootstrap, UI Framework, and custom reset CSS
  • Adds supports for theming with EUI dark theme CSS using innerHTML

To-do:

@cjcenizal cjcenizal added Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc release_note:enhancement v6.2.0 v7.0.0 labels Dec 8, 2017
@cjcenizal cjcenizal changed the title Eui/reset css EUI: Reset CSS Dec 8, 2017
@cjcenizal cjcenizal mentioned this pull request Dec 8, 2017
9 tasks
Copy link
Contributor

@stacey-gammon stacey-gammon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dark theme looks good to me, except for modals, but I'm pretty sure that's an existing problem.

@@ -329,11 +330,13 @@ app.directive('dashboardApp', function ($injector) {
function setDarkTheme() {
chrome.removeApplicationClass(['theme-light']);
chrome.addApplicationClass('theme-dark');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing this is still needed because dashboard is a combination of non-eui elements and eui elements, so for the time being we keep both dark theme applications around?

Copy link
Contributor Author

@cjcenizal cjcenizal Dec 14, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct. KUI and EUI will live side-by-side as we gradually convert our UI to depend upon EUI.

@cjcenizal
Copy link
Contributor Author

Closing in favor of #15657

@cjcenizal cjcenizal closed this Dec 19, 2017
@cjcenizal cjcenizal deleted the eui/reset-css branch December 19, 2017 00:15
@cjcenizal cjcenizal mentioned this pull request Dec 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:enhancement Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. v6.2.0 v7.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants