How to use the netlify-cms-ui-default.buttons.lightRed function in netlify-cms-ui-default

To help you get started, we’ve selected a few netlify-cms-ui-default 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 netlify / netlify-cms / packages / netlify-cms-core / src / components / Editor / EditorToolbar.js View on Github external
}
`;

const BackStatusChanged = styled(BackStatus)`
  ${components.textBadgeDanger};
`;

const ToolbarButton = styled.button`
  ${buttons.button};
  ${buttons.default};
  ${styles.buttonMargin};
  display: block;
`;

const DeleteButton = styled(ToolbarButton)`
  ${buttons.lightRed};
`;

const SaveButton = styled(ToolbarButton)`
  ${buttons.lightBlue};
`;

const PublishedButton = styled(StyledDropdownButton)`
  background-color: ${colorsRaw.tealLight};
  color: ${colorsRaw.teal};
`;

const PublishButton = styled(StyledDropdownButton)`
  background-color: ${colorsRaw.teal};
`;

const StatusButton = styled(StyledDropdownButton)`
github netlify / netlify-cms / packages / netlify-cms-core / src / components / MediaLibrary / MediaLibraryActions.js View on Github external
input {
    height: 0.1px;
    width: 0.1px;
    margin: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: 0;
    outline: none;
  }
`;

const DeleteButton = styled.button`
  ${styles.button};
  ${buttons.lightRed};
`;

const InsertButton = styled.button`
  ${styles.button};
  ${buttons.green};
`;

const LowerActionsContainer = styled.div`
  margin-top: 30px;
`;

const MediaLibraryActions = ({
  uploadButtonLabel,
  deleteButtonLabel,
  insertButtonLabel,
  uploadEnabled,