How to use the strapi-helper-plugin.colors.grey function in strapi-helper-plugin

To help you get started, we’ve selected a few strapi-helper-plugin examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github strapi / strapi / packages / strapi-plugin-content-type-builder / admin / src / components / ListRowCollapse / StyledListRowCollapse.js View on Github external
:before {
              background-color: transparent;
            }
          }
          &:before {
            width: calc(100% - 30px);
          }
        }
      }
    }
  }
  &.clickable {
    &:not(.is-open):hover {
      > td > div:first-of-type {
        cursor: pointer;
        background-color: ${colors.grey};
      }
      & + tr {
        div:not(.collapse-body) table tr:before {
          background-color: transparent;
        }
      }
    }
  }
  &.is-open {
    > td {
      div:not(.collapse-body) {
        table tr:hover {
          cursor: pointer;
          background-color: ${colors.grey};
        }
      }
github strapi / strapi / packages / strapi-plugin-content-type-builder / admin / src / components / ListRow / StyledListRow.js View on Github external
}
  }
  td:last-child {
    text-align: right;
  }
  &.relation-row {
    background: linear-gradient(
      135deg,
      rgba(28, 93, 231, 0.05),
      rgba(239, 243, 253, 0)
    );
  }
  &.clickable {
    &:hover {
      cursor: pointer;
      background-color: ${colors.grey};
      & + tr {
        &::before {
          background-color: transparent;
        }
      }
    }
  }
`;

export default StyledListRow;