Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if condition not working #63

Open
MeenuKumari28 opened this issue Mar 28, 2024 · 0 comments
Open

if condition not working #63

MeenuKumari28 opened this issue Mar 28, 2024 · 0 comments

Comments

@MeenuKumari28
Copy link
Contributor

MeenuKumari28 commented Mar 28, 2024

-- ds.row:
inset: $ds.spaces.inset-square.medium
spacing if { !storybook.sidebar }: $ds.spaces.horizontal-gap.space-between
border: $ds.borders.bottom.small
border-color: $ds.colors.border-strong
radius: $ds.radius.zero

-- ftd.image: 
if: { !storybook.sidebar }
src: $assets.files.assets.storybook.logo.svg

-- ftd.image:
src: $assets.files.assets.storybook.close.svg
src if { storybook.sidebar }: $assets.files.assets.storybook.open.svg
$on-click$: $ftd.toggle($a = $storybook.sidebar)
height.fixed.px: 34

-- end: ds.row

Capture
@harshdoesdev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant