Skip to content

Commit

Permalink
chore(uux): 913 notification status colors change
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-mmaul committed Jun 26, 2024
1 parent d776afb commit c6b0f2a
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
}

.message--text__left {
@apply bg-receivedLight text-receivedDark;
@apply bg-closedLight text-closedDark;
float: left;
}

Expand All @@ -133,7 +133,7 @@
left: -7px;
height: 25px;
border-left: 20px solid;
@apply border-receivedLight;
@apply border-closedLight;
border-bottom-right-radius: 16px 14px;
transform: translate(0, -2px);
}
Expand Down Expand Up @@ -180,11 +180,11 @@
}

&--CANCELED {
@apply bg-closedDark text-closedLight before:bg-closedLight;
@apply bg-declinedLight text-declinedDark before:bg-declinedDark;
}

&--CLOSED {
@apply bg-closedDark text-closedLight before:bg-closedLight;
@apply bg-closedLight text-closedDark before:bg-closedDark;
}

&--CREATED {
Expand All @@ -196,15 +196,15 @@
}

&--ACCEPTED {
@apply bg-declinedLight text-declinedDark before:bg-declinedDark;
@apply bg-confirmedLight text-confirmedDark before:bg-confirmedDark;
}

&--ACKNOWLEDGED {
@apply bg-pendingLight text-pendingDark before:bg-pendingDark;
@apply bg-receivedLight text-receivedDark before:bg-receivedDark;
}

&--DECLINED {
@apply bg-confirmedLight text-confirmedDark before:bg-confirmedDark;
@apply bg-declinedLight text-declinedDark before:bg-declinedDark;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
}

&--CANCELED {
@apply bg-closedDark text-closedLight before:bg-closedLight;
@apply bg-declinedLight text-declinedDark before:bg-declinedDark;
}

&--CLOSED {
@apply bg-closedDark text-closedLight before:bg-closedLight;
@apply bg-closedLight text-closedDark before:bg-closedDark;
}

&--CREATED {
Expand All @@ -55,14 +55,14 @@
}

&--ACCEPTED {
@apply bg-declinedLight text-declinedDark before:bg-declinedDark;
@apply bg-confirmedLight text-confirmedDark before:bg-confirmedDark;
}

&--ACKNOWLEDGED {
@apply bg-pendingLight text-pendingDark before:bg-pendingDark;
@apply bg-receivedLight text-receivedDark before:bg-receivedDark;
}

&--DECLINED {
@apply bg-confirmedLight text-confirmedDark before:bg-confirmedDark;
@apply bg-declinedLight text-declinedDark before:bg-declinedDark;
}
}
48 changes: 24 additions & 24 deletions frontend/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@

/* eslint-disable no-undef */
module.exports = {
content: ['./src/**/*.html', './src/**/*.scss'],
content: [ './src/**/*.html', './src/**/*.scss' ],
theme: {
extend: {
fontFamily: {
bold: ['Catena-X Bold', 'sans-serif'],
boldItalic: ['Catena-X BoldItalic', 'sans-serif'],
bold: [ 'Catena-X Bold', 'sans-serif' ],
boldItalic: [ 'Catena-X BoldItalic', 'sans-serif' ],

italic: ['Catena-X Italic', 'sans-serif'],
regular: ['Catena-X Regular', 'sans-serif'],
italic: [ 'Catena-X Italic', 'sans-serif' ],
regular: [ 'Catena-X Regular', 'sans-serif' ],

light: ['Catena-X Light', 'sans-serif'],
lightItalic: ['Catena-X LightItalic', 'sans-serif'],
light: [ 'Catena-X Light', 'sans-serif' ],
lightItalic: [ 'Catena-X LightItalic', 'sans-serif' ],

medium: ['Catena-X Medium', 'sans-serif'],
mediumItalic: ['Catena-X MediumItalic', 'sans-serif'],
medium: [ 'Catena-X Medium', 'sans-serif' ],
mediumItalic: [ 'Catena-X MediumItalic', 'sans-serif' ],

semiBold: ['Catena-X SemiBold', 'sans-serif'],
semiBoldItalic: ['Catena-X SemiBoldItalic', 'sans-serif'],
semiBold: [ 'Catena-X SemiBold', 'sans-serif' ],
semiBoldItalic: [ 'Catena-X SemiBoldItalic', 'sans-serif' ],
},
minHeight: {
0: '0',
Expand Down Expand Up @@ -131,23 +131,23 @@ module.exports = {

// Status colors for notification badges

createdLight: '#f2f3fb',
createdDark: '#111111',
createdLight: '#d4eaff',
createdDark: '#0a2e4f',

receivedLight: '#e1f1fe',
receivedDark: '#2b4078',
receivedLight: '#fff5d6',
receivedDark: '#8b5e00',

pendingLight: '#FFECBD',
pendingDark: '#975b26',
pendingLight: '#ffe4b2',
pendingDark: '#cc5200',

confirmedLight: '#e2f6c7',
confirmedDark: '#5c8d46',
confirmedLight: '#d9f2d9',
confirmedDark: '#0b5e0b',

declinedLight: '#fee7e2',
declinedDark: '#ff5330',
declinedLight: '#ffd9d9',
declinedDark: '#b30000',

closedLight: '#ffffff',
closedDark: '#5d3416',
closedLight: '#f0f0f0',
closedDark: '#4a4a4a',

qualityTypeOk: '#3db014',
qualityTypeMinor: '#ffd74a',
Expand All @@ -161,7 +161,7 @@ module.exports = {
severityLifeThreatening: '#E5231D',

semanticDataModelSerialPart: '#3db014',
semanticDataModelBatch: '#ffd21d'
semanticDataModelBatch: '#ffd21d',
},
screens: {
sm: '640px',
Expand Down

0 comments on commit c6b0f2a

Please sign in to comment.