Skip to content

Commit 691d499

Browse files
authored
Add Fluent 9 theme (#1282)
1 parent e28de3b commit 691d499

File tree

4 files changed

+969
-1
lines changed

4 files changed

+969
-1
lines changed

src/power-bi/FinOpsToolkitLight.json

+64-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,64 @@
1-
{"name":"Microsoft FinOps light theme","dataColors":["#6F4BB2","#0078D4","#EF6950","#3449AA","#00A2AD","#733569","#E3008C","#335C50","#3599B8","#DFBFBF","#4AC5BB","#5F6B6D","#FB8281","#F4D25A","#7F898A","#A4DDEE","#FDAB89","#B687AC","#28738A","#A78F8F","#168980","#293537","#BB4A4A","#B59525","#475052","#6A9FB0","#BD7150","#7B4F71","#1B4D5C","#706060","#0F5C55","#1C2325"],"visualStyles":{"*":{"*":{"visualTooltip":[{"titleFontColor":{"solid":{"color":"#FFFFFF"}},"valueFontColor":{"solid":{"color":"#FFFFFF"}}}],"outspacePane":[{"checkboxAndApplyColor":{"solid":{"color":"#6F4BB2"}}}]}}},"bad":"#E00B1C","neutral":"#DB7500","good":"#57A300","minimum":"#EFEDF8","center":"#FFCA8A","maximum":"#8970C3","textClasses":{"callout":{"fontFace":"'Segoe UI', wf_segoe-ui_normal, helvetica, arial, sans-serif"},"title":{"fontFace":"'Segoe UI Semibold', wf_segoe-ui_semibold, helvetica, arial, sans-serif"}}}
1+
{
2+
"name": "Microsoft FinOps light theme",
3+
"dataColors": [
4+
"#6f4bb2",
5+
"#0078d4",
6+
"#ef6950",
7+
"#3449aa",
8+
"#00a2ad",
9+
"#733569",
10+
"#e3008c",
11+
"#335c50",
12+
"#3599b8",
13+
"#dfbfbf",
14+
"#4ac5bb",
15+
"#5f6b6d",
16+
"#fb8281",
17+
"#f4d25a",
18+
"#7f898a",
19+
"#a4ddee",
20+
"#fdab89",
21+
"#b687ac",
22+
"#28738a",
23+
"#a78f8f",
24+
"#168980",
25+
"#293537",
26+
"#bb4a4a",
27+
"#b59525",
28+
"#475052",
29+
"#6a9fb0",
30+
"#bd7150",
31+
"#7b4f71",
32+
"#1b4d5c",
33+
"#706060",
34+
"#0f5c55",
35+
"#1c2325"
36+
],
37+
"visualStyles": {
38+
"*": {
39+
"*": {
40+
"visualTooltip": [
41+
{
42+
"titleFontColor": { "solid": { "color": "#ffffff" } },
43+
"valueFontColor": { "solid": { "color": "#ffffff" } }
44+
}
45+
],
46+
"outspacePane": [
47+
{
48+
"checkboxAndApplyColor": { "solid": { "color": "#6f4bb2" } }
49+
}
50+
]
51+
}
52+
}
53+
},
54+
"bad": "#e00b1c",
55+
"neutral": "#db7500",
56+
"good": "#57a300",
57+
"minimum": "#efedf8",
58+
"center": "#ffca8a",
59+
"maximum": "#8970c3",
60+
"textClasses": {
61+
"callout": { "fontFace": "'Segoe UI', wf_segoe-ui_normal, helvetica, arial, sans-serif" },
62+
"title": { "fontFace": "'Segoe UI Semibold', wf_segoe-ui_semibold, helvetica, arial, sans-serif" }
63+
}
64+
}

src/web/FinOpsToolkitTheme.ts

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
const ftk: BrandVariants = {
2+
10: '#030205',
3+
20: '#1A1423',
4+
30: '#2A1E3E',
5+
40: '#382755',
6+
50: '#46316D',
7+
60: '#553A86',
8+
70: '#6444A0',
9+
80: '#734FB4',
10+
90: '#815FBC',
11+
100: '#8F6FC3',
12+
110: '#9C7ECA',
13+
120: '#A98FD1',
14+
130: '#B69FD8',
15+
140: '#C3AFDF',
16+
150: '#D0C0E6',
17+
160: '#DDD1ED',
18+
};
19+
20+
const lightTheme: Theme = {
21+
...createLightTheme(ftk),
22+
};
23+
24+
const darkTheme: Theme = {
25+
...createDarkTheme(ftk),
26+
};
27+
28+
darkTheme.colorBrandForeground1 = ftk[110];
29+
darkTheme.colorBrandForeground2 = ftk[120];

0 commit comments

Comments
 (0)