@@ -3,6 +3,7 @@ import { createTheme } from '@fluentui/react';
33import { IExtendedEffects } from './types' ;
44
55import { fluent2ComponentStyles } from './fluent2ComponentStyles' ;
6+ import { fluent2SharedColors } from './fluent2SharedColors' ;
67
78const fluent2ForV8DLightEffects : IExtendedEffects = {
89 elevation4 : '0px 2px 4px rgba(0, 0, 0, 0.14), 0px 0px 2px rgba(0, 0, 0, 0.12)' ,
@@ -22,38 +23,38 @@ const grey26 = '#424242';
2223const grey74 = '#BDBDBD' ;
2324
2425const fluent2LightPalette : Partial < IPalette > = {
25- accent : '#0f6cbd' ,
26+ // properties are ordered here as in IPalette.ts
27+
28+ themeDarker : '#0c3b5e' ,
29+ themeDark : '#0f548c' ,
30+ themeDarkAlt : '#115ea3' ,
2631 themePrimary : '#0f6cbd' ,
27- themeLighterAlt : '#ebf3fc' ,
28- themeLighter : '#cfe4fa' ,
29- themeLight : '#b4d6fa' ,
30- themeTertiary : '#77b7f7' ,
3132 themeSecondary : '#2886de' , // Required by Fabric palette, only used in ShimmerWave
32- themeDarkAlt : '#115ea3' ,
33- themeDark : '#0f548c' ,
34- themeDarker : '#0c3b5e' ,
35- neutralLighterAlt : '#fafafa' ,
36- neutralLighter : '#f5f5f5' ,
37- neutralLight : '#ebebeb' ,
38- neutralQuaternaryAlt : '#e0e0e0' ,
39- neutralQuaternary : '#d1d1d1' ,
40- neutralTertiaryAlt : '#c7c7c7' ,
41- neutralTertiary : '#9e9e9e' ,
42- neutralSecondary : '#5c5c5c' ,
43- neutralPrimaryAlt : '#383838' ,
44- neutralPrimary : '#242424' ,
45- neutralDark : '#141414' ,
33+ themeTertiary : '#77b7f7' ,
34+ themeLight : '#b4d6fa' ,
35+ themeLighter : '#cfe4fa' ,
36+ themeLighterAlt : '#ebf3fc' ,
37+
4638 black : '#000000' ,
39+ blackTranslucent40 : 'rgba(0, 0, 0, 0.4)' ,
40+ neutralDark : '#141414' ,
41+ neutralPrimary : '#242424' ,
42+ neutralPrimaryAlt : '#383838' ,
43+ neutralSecondary : '#5c5c5c' ,
44+ neutralSecondaryAlt : '#8a8886' ,
45+ neutralTertiary : '#9e9e9e' ,
46+ neutralTertiaryAlt : '#c7c7c7' ,
47+ neutralQuaternary : '#d1d1d1' ,
48+ neutralQuaternaryAlt : '#e0e0e0' ,
49+ neutralLight : '#ebebeb' ,
50+ neutralLighter : '#f5f5f5' ,
51+ neutralLighterAlt : '#fafafa' ,
52+
53+ accent : '#0f6cbd' ,
4754 white : '#FFFFFF' ,
55+ whiteTranslucent40 : 'rgba(255 ,255 ,255 ,0.4)' ,
4856
49- yellowDark : '#835C00' ,
50- yellow : '#F2E384' ,
51- yellowLight : '#FBF6D9' ,
52- orange : '#A33D2A' ,
53- orangeLight : '#CC4A31' ,
54- orangeLighter : '#EDC2A7' ,
55- redDark : '#8E192E' ,
56- red : '#C4314B' ,
57+ ...fluent2SharedColors ,
5758} ;
5859
5960const p = fluent2LightPalette ;
0 commit comments