Skip to content

Commit

Permalink
Default light theme now comes with an empty light colors file (elasti…
Browse files Browse the repository at this point in the history
…c#1479)

* Create empty theme light colors file for swappability
  • Loading branch information
snide authored Jan 25, 2019
1 parent 17fdc20 commit 7d6f06c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## [`master`](https://github.com/elastic/eui/tree/master)

- Default light theme now comes with an empty light variables file to make theme switching easier ([#1479](https://github.com/elastic/eui/pull/1479))

**Bug fixes**

- `EuiSuperDatePicker` always trigger `onTimeChange` when time changes and prop `showUpdateButton` is false ([#1477](https://github.com/elastic/eui/pull/1477))
Expand Down
3 changes: 2 additions & 1 deletion src/theme_light.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// This is the default theme, it does not contain any variable overwrites.
// This is the default theme.
@import 'themes/eui/eui_colors_light';

// Global styling
@import 'global_styling/index';
Expand Down
2 changes: 2 additions & 0 deletions src/themes/eui/eui_colors_light.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// This file contains no overwrites because EUI by default is light.
// The file exists in case you ever need to write logic to flip imports in a build process.

0 comments on commit 7d6f06c

Please sign in to comment.