You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, that doesn't only a usage, not a declaration - and the docs neither tell something about where those variables are defined.
I'd like to have a page where all variables, together with their default values, are listed.
Additionally, I'm looking for an explanation why there's a --appbar-item-height, but presumably no --appbar-height - which is what I'm looking for in the first place.
That's because I want to do something like this in my component:
<FluentStackStyle="margin-top: calc(50vb - var(--appbar-height) * 1.4); transform: translateY(-50%);">
@* // … left out for brevity… *@
</FluentStack>
If there's some C# DesignTokens.AppBar(.)Height global/static property I can use instead, please let me know as that would be my preferred way!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've cloned & searched the whole repo, but the only occurrence of the aforementioned variable is this line:
fluentui-blazor/src/Core/Components/AppBar/FluentAppBar.razor.css
Line 4 in a396f75
However, that doesn't only a usage, not a declaration - and the docs neither tell something about where those variables are defined.
I'd like to have a page where all variables, together with their default values, are listed.
Additionally, I'm looking for an explanation why there's a
--appbar-item-height
, but presumably no--appbar-height
- which is what I'm looking for in the first place.That's because I want to do something like this in my component:
If there's some C#
DesignTokens.AppBar(.)Height
global/static property I can use instead, please let me know as that would be my preferred way!Can someone help me out?
Beta Was this translation helpful? Give feedback.
All reactions