chore: fix colors
This commit is contained in:
parent
b2fef8b0cb
commit
df85cfd38a
|
@ -36,7 +36,7 @@ export const VideoConferenceBaseContainer = ({ variant, children }: VideoConfMes
|
||||||
},
|
},
|
||||||
issue: {
|
issue: {
|
||||||
icon: 'phone-issue',
|
icon: 'phone-issue',
|
||||||
color: colors.statusFontOnWarning,
|
color: colors.statusFontWarning,
|
||||||
backgroundColor: colors.statusBackgroundWarning,
|
backgroundColor: colors.statusBackgroundWarning,
|
||||||
label: i18n.t('Call_issue')
|
label: i18n.t('Call_issue')
|
||||||
}
|
}
|
||||||
|
|
|
@ -287,23 +287,6 @@ export const colors = {
|
||||||
gray100: '#CBCED1',
|
gray100: '#CBCED1',
|
||||||
n900: '#1F2329',
|
n900: '#1F2329',
|
||||||
statusBackgroundWarning: '#FFECAD',
|
statusBackgroundWarning: '#FFECAD',
|
||||||
statusFontOnWarning: '#B88D00',
|
|
||||||
fontAnnotation: '#9EA2A8',
|
|
||||||
userPresenceBusy: '#D40C26',
|
|
||||||
userPresenceOnline: '#148660',
|
|
||||||
badgeBackgroundLevel3: '#F38C39',
|
|
||||||
statusFontOnDanger: '#9B1325',
|
|
||||||
statusFontOnSuccess: '#148660',
|
|
||||||
fontDanger: '#D40C26',
|
|
||||||
buttonBackgroundPrimaryDefault: '#156FF5',
|
|
||||||
buttonBackgroundSecondaryDefault: '#E4E7EA',
|
|
||||||
buttonFontPrimary: '#FFFFFF',
|
|
||||||
buttonFontSecondary: '#1F2329',
|
|
||||||
fontDefault: '#2F343D',
|
|
||||||
strokeExtraLight: '#EBECEF',
|
|
||||||
strokeLight: '#CBCED1',
|
|
||||||
surfaceTint: '#F7F8FA',
|
|
||||||
fontDisabled: '#CBCED1',
|
|
||||||
overlayColor: '#1F2329CC',
|
overlayColor: '#1F2329CC',
|
||||||
taskBoxColor: '#9297a2',
|
taskBoxColor: '#9297a2',
|
||||||
...mentions,
|
...mentions,
|
||||||
|
@ -385,23 +368,6 @@ export const colors = {
|
||||||
gray100: '#CBCED1',
|
gray100: '#CBCED1',
|
||||||
n900: '#FFFFFF',
|
n900: '#FFFFFF',
|
||||||
statusBackgroundWarning: '#FFECAD',
|
statusBackgroundWarning: '#FFECAD',
|
||||||
statusFontOnWarning: '#B88D00',
|
|
||||||
fontAnnotation: '#9EA2A8',
|
|
||||||
userPresenceBusy: '#D40C26',
|
|
||||||
userPresenceOnline: '#148660',
|
|
||||||
badgeBackgroundLevel3: '#F38C39',
|
|
||||||
statusFontOnDanger: '#9B1325',
|
|
||||||
statusFontOnSuccess: '#148660',
|
|
||||||
fontDanger: '#D40C26',
|
|
||||||
buttonBackgroundPrimaryDefault: '#3976D1',
|
|
||||||
buttonBackgroundSecondaryDefault: '#2F343D',
|
|
||||||
buttonFontPrimary: '#FFFFFF',
|
|
||||||
buttonFontSecondary: '#E4E7EA',
|
|
||||||
fontDefault: '#E4E7EA',
|
|
||||||
strokeExtraLight: '#2F343D',
|
|
||||||
strokeLight: '#333842',
|
|
||||||
surfaceTint: '#1F2329',
|
|
||||||
fontDisabled: '#60646C',
|
|
||||||
overlayColor: '#1F2329CC',
|
overlayColor: '#1F2329CC',
|
||||||
taskBoxColor: '#9297a2',
|
taskBoxColor: '#9297a2',
|
||||||
...mentions,
|
...mentions,
|
||||||
|
@ -483,23 +449,6 @@ export const colors = {
|
||||||
gray100: '#CBCED1',
|
gray100: '#CBCED1',
|
||||||
n900: '#FFFFFF',
|
n900: '#FFFFFF',
|
||||||
statusBackgroundWarning: '#FFECAD',
|
statusBackgroundWarning: '#FFECAD',
|
||||||
statusFontOnWarning: '#B88D00',
|
|
||||||
fontAnnotation: '#9EA2A8',
|
|
||||||
userPresenceBusy: '#D40C26',
|
|
||||||
userPresenceOnline: '#148660',
|
|
||||||
badgeBackgroundLevel3: '#F38C39',
|
|
||||||
statusFontOnDanger: '#9B1325',
|
|
||||||
statusFontOnSuccess: '#148660',
|
|
||||||
fontDanger: '#D40C26',
|
|
||||||
buttonBackgroundPrimaryDefault: '#3976D1',
|
|
||||||
buttonBackgroundSecondaryDefault: '#2F343D',
|
|
||||||
buttonFontPrimary: '#FFFFFF',
|
|
||||||
buttonFontSecondary: '#E4E7EA',
|
|
||||||
fontDefault: '#E4E7EA',
|
|
||||||
strokeExtraLight: '#2F343D',
|
|
||||||
strokeLight: '#333842',
|
|
||||||
surfaceTint: '#1F2329',
|
|
||||||
fontDisabled: '#60646C',
|
|
||||||
overlayColor: '#1F2329CC',
|
overlayColor: '#1F2329CC',
|
||||||
taskBoxColor: '#9297a2',
|
taskBoxColor: '#9297a2',
|
||||||
...mentions,
|
...mentions,
|
||||||
|
|
|
@ -21,12 +21,12 @@ export default function CommunityEditionPushQuota(): React.ReactElement | null {
|
||||||
|
|
||||||
const percentage = `${Math.floor(consumptionPercentage)}%`;
|
const percentage = `${Math.floor(consumptionPercentage)}%`;
|
||||||
|
|
||||||
let percentageColor = colors.statusFontOnSuccess;
|
let percentageColor = colors.statusFontSuccess;
|
||||||
if (consumptionPercentage > WARNING_MINIMUM_VALUE && consumptionPercentage < WARNING_MAXIMUM_VALUE) {
|
if (consumptionPercentage > WARNING_MINIMUM_VALUE && consumptionPercentage < WARNING_MAXIMUM_VALUE) {
|
||||||
percentageColor = colors.statusFontOnWarning;
|
percentageColor = colors.statusFontWarning;
|
||||||
}
|
}
|
||||||
if (consumptionPercentage >= WARNING_MAXIMUM_VALUE) {
|
if (consumptionPercentage >= WARNING_MAXIMUM_VALUE) {
|
||||||
percentageColor = colors.statusFontOnDanger;
|
percentageColor = colors.statusFontDanger;
|
||||||
}
|
}
|
||||||
|
|
||||||
const alertWorkspaceConsumption = () => {
|
const alertWorkspaceConsumption = () => {
|
||||||
|
|
Loading…
Reference in New Issue