Khangpv202
07/01/2025, 6:53 AMChrimaeon
07/01/2025, 7:07 AMKhangpv202
07/01/2025, 7:13 AMBogdan Vladoiu Lbs
07/01/2025, 12:21 PM// Example of a menu label with emphasized attribute
Div(attrs = { attr("emphasized", "") }) {
Span(attrs = { classes(Typography.MENU_LABEL) }) {
Text("Emphasized Menu Item")
}
}
its a bigger can of worms but it gives you access to dinamic fonts with axis including the GRAD or FILL axis that can be used for really nice emphasis and deemphasis animations. I.e. material-symbols can be leveraged directly as dynamic font characters directly from the font service + css typefaces and you never have to worry about some font/character not being present/installed on the user device. All this is available in the web/kotlinjs target where your problem seems to be!Bogdan Vladoiu Lbs
07/01/2025, 12:33 PMKhangpv202
07/01/2025, 2:34 PMChrimaeon
07/01/2025, 2:58 PMChrimaeon
07/01/2025, 2:59 PMBogdan Vladoiu Lbs
07/01/2025, 2:59 PMChrimaeon
07/01/2025, 2:59 PMBogdan Vladoiu Lbs
07/01/2025, 3:00 PMBogdan Vladoiu Lbs
07/01/2025, 3:00 PMBogdan Vladoiu Lbs
07/01/2025, 3:00 PMBogdan Vladoiu Lbs
07/01/2025, 3:01 PMChrimaeon
07/01/2025, 3:02 PMChrimaeon
07/01/2025, 3:03 PMBogdan Vladoiu Lbs
07/01/2025, 3:03 PMBogdan Vladoiu Lbs
07/01/2025, 3:11 PM