message: Attempt to improve code quality in file CardItem.js
diff: @@ -2,6 +2,23 @@ import variable from './../variables/platform';
  export default (variables = variable) => {
  const platform = variables.platform;
  + const transparentBtnCommon = {
  + 'NativeBase.Text': {
  + fontSize: variables.DefaultFontSize - 4,
  + color: variables.sTabBarActiveTextColor,
  + },
  + 'NativeBase.Icon': {
  + fontSize: variables.iconFontSize - 10,
  + color: variables.sTabBarActiveTextColor,
  + marginHorizontal: null,
  + },
  + 'NativeBase.IconNB': {
  + fontSize: variables.iconFontSize - 10,
  + color: variables.sTabBarActiveTextColor,
  + },
  + paddingVertical: null,
  + paddingHorizontal: null
  + }
  const cardItemTheme = {
  'NativeBase.Left': {
  @@ -29,21 +46,7 @@ export default (variables = variable) => {
  },
  'NativeBase.Button': {
  '.transparent': {
  - 'NativeBase.Text': {
  - fontSize: variables.DefaultFontSize - 4,
  - color: variables.sTabBarActiveTextColor,
  - },
  - 'NativeBase.Icon': {
  - fontSize: variables.iconFontSize - 10,
  - color: variables.sTabBarActiveTextColor,
  - marginHorizontal: null,
  - },
  - 'NativeBase.IconNB': {
  - fontSize: variables.iconFontSize - 10,
  - color: variables.sTabBarActiveTextColor,
  - },
  - paddingVertical: null,
  - paddingHorizontal: null,
  + ...transparentBtnCommon,
  paddingRight: variables.listItemPadding + 5,
  },
  },
  @@ -74,21 +77,7 @@ export default (variables = variable) => {
  },
  'NativeBase.Button': {
  '.transparent': {
  - 'NativeBase.Text': {
  - fontSize: variables.DefaultFontSize - 4,
  - color: variables.sTabBarActiveTextColor,
  - },
  - 'NativeBase.Icon': {
  - fontSize: variables.iconFontSize - 10,
  - color: variables.sTabBarActiveTextColor,
  - marginHorizontal: null,
  - },
  - 'NativeBase.IconNB': {
  - fontSize: variables.iconFontSize - 10,
  - color: variables.sTabBarActiveTextColor,
  - },
  - paddingVertical: null,
  - paddingHorizontal: null,
  + ...transparentBtnCommon,
  paddingRight: variables.listItemPadding + 5,
  alignSelf: 'stretch',
  },
  @@ -103,21 +92,7 @@ export default (variables = variable) => {
  },
  'NativeBase.Button': {
  '.transparent': {
  - 'NativeBase.Text': {
  - fontSize: variables.DefaultFontSize - 4,
  - color: variables.sTabBarActiveTextColor,
  - },
  - 'NativeBase.Icon': {
  - fontSize: variables.iconFontSize - 10,
  - color: variables.sTabBarActiveTextColor,
  - marginHorizontal: null,
  - },
  - 'NativeBase.IconNB': {
  - fontSize: variables.iconFontSize - 10,
  - color: variables.sTabBarActiveTextColor,
  - },
  - paddingVertical: null,
  - paddingHorizontal: null,
  + ...transparentBtnCommon
  },
  alignSelf: null,
  },
  