mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
885 B
37 lines
885 B
// @flow
|
|
|
|
import variable from '../variables/Platform';
|
|
|
|
export default (variables /* : * */ = variable) => {
|
|
const cardTheme = {
|
|
'.transparent': {
|
|
shadowColor: null,
|
|
shadowOffset: null,
|
|
shadowOpacity: null,
|
|
shadowRadius: null,
|
|
elevation: null,
|
|
backgroundColor: 'transparent',
|
|
borderWidth: 0,
|
|
},
|
|
'.noShadow': {
|
|
shadowColor: null,
|
|
shadowOffset: null,
|
|
shadowOpacity: null,
|
|
elevation: null,
|
|
},
|
|
marginVertical: 5,
|
|
marginHorizontal: 2,
|
|
borderWidth: variables.borderWidth,
|
|
borderRadius: variables.cardBorderRadius,
|
|
borderColor: variables.cardBorderColor,
|
|
flexWrap: 'nowrap',
|
|
backgroundColor: variables.cardDefaultBg,
|
|
shadowColor: '#000',
|
|
shadowOffset: { width: 0, height: 2 },
|
|
shadowOpacity: 0.1,
|
|
shadowRadius: 1.5,
|
|
elevation: 3,
|
|
};
|
|
|
|
return cardTheme;
|
|
};
|
|
|