Skip to content

Commit

Permalink
Revert "feat(InlineMessage): add new type TASK-987 (#5305)"
Browse files Browse the repository at this point in the history
This reverts commit 4f5af46.
  • Loading branch information
RuthShryock committed Nov 27, 2024
1 parent 6c3e3af commit dd5650d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions jsapp/js/components/common/inlineMessage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@
.k-icon {color: colors.$kobo-amber;}
}

.k-inline-message--type-info {
background-color: colors.$kobo-bg-blue;
.k-icon {color: colors.$kobo-blue;}
}

// We need a bit stronger specificity here
.k-inline-message p.k-inline-message__message {
margin: 0;
Expand Down
2 changes: 1 addition & 1 deletion jsapp/js/components/common/inlineMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Icon from 'js/components/common/icon';
import './inlineMessage.scss';

/** Influences the background color and the icon color */
export type InlineMessageType = 'default' | 'error' | 'success' | 'warning' | 'info';
export type InlineMessageType = 'default' | 'error' | 'success' | 'warning';

interface InlineMessageProps {
type: InlineMessageType;
Expand Down

0 comments on commit dd5650d

Please sign in to comment.