File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ export default () => {
1818 css = { {
1919 background : euiTheme . colors . lightShade ,
2020 padding : `calc(${ euiTheme . size . base } * 2)` ,
21+ color : euiTheme . colors . text ,
2122 } }
2223 >
2324 The padding of this box is created using < EuiCode > calc()</ EuiCode > { ' ' }
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ class Block extends React.Component<WithEuiThemeProps> {
1313 background : ${ theme . euiTheme . colors . lightShade } ;
1414 padding : ${ theme . euiTheme . size . xl } ;
1515 border-radius : ${ theme . euiTheme . border . radius . medium } ;
16+ color : ${ theme . euiTheme . colors . text } ;
1617 ` ;
1718
1819 return (
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ const Box: FunctionComponent<{ children: ReactNode }> = ({ children }) => {
1111 css = { {
1212 background : euiTheme . colors . lightShade ,
1313 padding : euiTheme . size . xl ,
14+ color : euiTheme . colors . text ,
1415 } }
1516 >
1617 < p > { children } </ p >
Original file line number Diff line number Diff line change 44// Global styling
55@import ' global_styling/index' ;
66
7+ // The reset file makes use of variables and mixins
8+ @import ' global_styling/reset/index' ;
9+
710// Components
811@import ' components/index' ;
912
You can’t perform that action at this time.
0 commit comments