import { defineVueWebComponent, useTheme } from "@omnia/fx/ux";
import { ButtonModes, FontAwesomeIcon } from "@omnia/fx-models";
export default defineVueWebComponent({
setup(props) {
const { theming } = useTheme();
return () => (
<div>
<omfx-button
dark={theming.body.bg.dark}
class={"mt-7 mr-2"}
mode={ButtonModes.flat}
text="Flat">
</omfx-button>
<omfx-button
dark={theming.body.bg.dark}
text="Raised"
mode={ButtonModes.raised}
class={"mt-7 mr-2"}>
</omfx-button>
<omfx-button
dark={theming.body.bg.dark}
text="Depressed"
mode={ButtonModes.depressed}
class={"mt-7 mr-2"}>
</omfx-button>
<omfx-button
dark={theming.body.bg.dark}
class={"mt-7 mr-2"}
mode={ButtonModes.icon}
icon={{
iconType: new FontAwesomeIcon("delete")
}}>
</omfx-button>
</div>
);
}
});
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39