question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Export styles from page or node

See original GitHub issue

Hello. First i wanna thank you for great figma export module, it`s really cool!

I need to export styles from specific page of figma to keep the best structure of our design system in figma. Figma-js accepts ids params to get only certain nodes, it seems that’s what I need. image

But @figma-export/output-styles-as-sass doesn`t accept ids. it would be nice to be able to load only certain nodes.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
marcomontalbanocommented, May 7, 2022

Hi @Nemhis, exporting styles using ids is something that I didn’t know. That’s interesting. At this point I think that I could add the same onlyFromPages also for styles to keep consistency between the two export. What do you think about? This should solve you issue.

Thanks for the suggestion 😄

0reactions
marcomontalbanocommented, May 27, 2022

Yes it should! Let me know for any issue with that!

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to export and import style in npm package? - Stack Overflow
1 Answer 1 · 3. For webpack, do npm install --save-dev css-loader . Then in your webpack.config.js, add this line to the use...
Read more >
Styling html pages in Node.js - Tutorialspoint
Styling html pages in Node.js - In html files we can simply add style in head section −
Read more >
style-sheet - npm
StyleSheet is a library to author styles in JavaScript. It is fast and generates optimized, tiny bundles by compiling rules to atomic CSS...
Read more >
A few Node module export styles. 1 seems to ... - gists · GitHub
A few Node module export styles. 1 seems to be the most used and I prefer it - node-exports-styles.js.
Read more >
export - JavaScript - MDN Web Docs
Every module can have two different types of export, named export and default export. You can have multiple named exports per module but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found