Skip to content

Shadows? #29306

Closed Answered by khmakoto
thoffmann-fms asked this question in Q&A
Shadows? #29306
Sep 26, 2023 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

They are applied as part of our token system, so you can use them by importing tokens from @fluentui/react-components:

import { makeStyles, tokens } from '@fluentui/react-components';

...

// In your styles declaration
const useStyles = makeStyles({
  root: {
    boxShadow: tokens.shadow8
  }
});

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by khmakoto
Comment options

You must be logged in to vote
1 reply
@khmakoto
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants