-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sass variable overrides to theme
Necessary to style components that are not yet converted to Emotion (elastic/eui#5685)
- Loading branch information
1 parent
5325bc3
commit 31c7962
Showing
7 changed files
with
407 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/* NB: Anything overridden in here must also be reflected in ts/constants/euiTheme.ts */ | ||
$euiBorderRadius: 0; | ||
$euiBorderRadiusSmall: 0; | ||
$euiFontFamily: 'Guardian Agate Sans', BlinkMacSystemFont, Helvetica, Arial, sans-serif; | ||
|
||
@import "../../node_modules/@elastic/eui/src/themes/amsterdam/theme_light.scss"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
/* NB: Anything overridden in here must also be reflected in styles/theme.scss */ | ||
export const euiThemeOverrides = { | ||
"font": { | ||
"family": "'Guardian Agate Sans', BlinkMacSystemFont, Helvetica, Arial, sans-serif" | ||
}, | ||
"border": { | ||
"radius": { | ||
"small": "0", | ||
"medium": "0" | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.