DRY & KISS Principles

How can the DRY principle be effectively applied to CSS-in-JS styling in React components?
const Button = styled.button`
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 16px;
  background-color: blue;
  color: white;
`

const SubmitButton = styled.button`
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 16px;
  background-color: green;
  color: white;
`

const CancelButton = styled.button`
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 16px;
  background-color: red;
  color: white;
`
Next Question (5/20)