UNPKG

communication-react-19

Version:

React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)

100 lines 3.12 kB
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { createTheme } from '@fluentui/react'; /** * Preset light theme for components exported from this library. * * @public */ export const lightTheme = { palette: { themePrimary: '#0078d4', themeLighterAlt: '#eff6fc', themeLighter: '#deecf9', themeLight: '#c7e0f4', themeTertiary: '#71afe5', themeSecondary: '#2b88d8', themeDarkAlt: '#106ebe', themeDark: '#59b0f7', themeDarker: '#004578', neutralLighterAlt: '#faf9f8', neutralLighter: '#f3f2f1', neutralLight: '#edebe9', neutralQuaternaryAlt: '#e1dfdd', neutralQuaternary: '#d0d0d0', neutralTertiaryAlt: '#c8c6c4', neutralTertiary: '#a19f9d', neutralSecondary: '#605e5c', neutralPrimaryAlt: '#3b3a39', neutralPrimary: '#323130', neutralDark: '#201f1e', black: '#000000', white: '#ffffff', whiteTranslucent40: 'rgba(255, 255, 255, 0.4)' }, callingPalette: { callRed: '#a42e43', callRedDark: '#8b2c3d', callRedDarker: '#772a38', iconWhite: '#ffffff', raiseHandGold: '#eaa300', videoTileLabelBackgroundLight: 'rgba(255,255,255,0.8)' }, semanticColors: { errorText: '#a80000' } }; const partialDarkTheme = { palette: { themePrimary: '#2899f5', themeLighterAlt: '#02060a', themeLighter: '#061827', themeLight: '#0c2e49', themeTertiary: '#185b93', themeSecondary: '#2286d7', themeDarkAlt: '#3ca2f6', themeDark: '#59b0f7', themeDarker: '#84c5f9', neutralLighterAlt: '#302e2d', neutralLighter: '#383735', neutralLight: '#464443', neutralQuaternaryAlt: '#4e4d4b', neutralQuaternary: '#4d4b49', neutralTertiaryAlt: '#72706e', neutralTertiary: '#c8c8c8', neutralSecondary: '#d0d0d0', neutralPrimaryAlt: '#dadada', neutralPrimary: '#ffffff', neutralDark: '#f4f4f4', black: '#f8f8f8', white: '#252423', whiteTranslucent40: 'rgba(0, 0, 0, 0.4)' }, semanticColors: { errorText: '#f1707b' } }; /** * Preset dark theme for components exported from this library. * * @public */ export const darkTheme = Object.assign(Object.assign({}, createTheme(Object.assign(Object.assign({}, partialDarkTheme), { isInverted: true }))), { callingPalette: { callRed: '#c4314b', callRedDark: '#a42e43', callRedDarker: '#8b2c3d', iconWhite: '#ffffff', raiseHandGold: '#eaa300', videoTileLabelBackgroundLight: 'rgba(37,36,35,0.8)' } }); /* @conditional-compile-remove(image-overlay-theme) */ /** * Preset dark theme for the ImageOverlay component. * * @public */ export const imageOverlayTheme = { palette: darkTheme.palette, semanticColors: Object.assign(Object.assign({}, darkTheme.semanticColors), { bodyBackground: 'rgba(0, 0, 0, 0.85)' }) }; //# sourceMappingURL=themes.js.map