Skip to content

Commit

Permalink
Merge pull request #2971 from digitalfabrik/2577-add-warning-color
Browse files Browse the repository at this point in the history
2577: Add warning color
  • Loading branch information
simomps authored Nov 11, 2024
2 parents fd18304 + 50a9194 commit c4538c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build-configs/common/theme/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export type ColorsType = {
positiveHighlight: string
negativeHighlight: string
invalidInput: string
warningColor: string
linkColor: string
themeContrast: string
}
Expand All @@ -31,5 +32,6 @@ export const commonLightColors = {
positiveHighlight: '#188038',
negativeHighlight: '#8b0000',
invalidInput: '#B3261E',
warningColor: '#FFA726',
linkColor: '#0b57d0',
}
2 changes: 1 addition & 1 deletion native/src/components/Note.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { NoteIcon } from '../assets'
import Icon from './base/Icon'

const NoteBox = styled.View`
background-color: ${props => props.theme.colors.themeColor};
background-color: ${props => props.theme.colors.warningColor};
margin-top: 12px;
padding: 12px;
flex-direction: row;
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/Note.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Icon from './base/Icon'

const NoteContainer = styled.div`
display: flex;
background-color: ${props => props.theme.colors.themeColor};
background-color: ${props => props.theme.colors.warningColor};
padding: 12px;
gap: 12px;
align-items: center;
Expand Down

0 comments on commit c4538c1

Please sign in to comment.