menu
Channels
Team
Posts
Members
Info

Fela adds inline styles, with no way to set nonce?

It looks like Fela adds inline styles to the document, that look like this: https://github.com/robinweser/fela/blob/master/packages/fela-dom/src/server/createStyleTagMarkup.js But it doesn't look like there is a way to set a nonce for these style tags? Is anyone implementing a…

thumbsup
0
message-simple
0

yarn setup not working

Trying to get fela setup to lend a hand (https://github.com/weserio/fela/issues/719). It looks like the bootstrap process mentioned in CONTRIBUTING.md is possibly out of date? yarn setup is no longer working. Perhaps yarn bootstrap?

thumbsup
0
message-simple
1

enzyme fela mount

Hey all, just trying to bump to v10.5, seems createTheme is no longer in fela-bindings, which breaks my enzyme mount tests. Is there an updated way to do this? the recipe was not updated on master, it still shows the same approach.

thumbsup
1
message-simple
3

multiple renderers

Does fela support multiple renderers? We have a react-based project with react-fela bindings (works ok) and in that project we're using custom native js library which needs to generate css from js (the library doesn't/can't depend on react). I created renderer with…

thumbsup
0
message-simple
8

Same styling for multiple pseudo classes w/o duplicating it

Hi there 👋 Is there a way to avoid duplicating common styling for multiple pseudo classes? I want to achieve something in line with &:focus, &:hover { color: 'yellow' }, where both focus and hover has the same styling, but avoid duplication.

thumbsup
0
message-simple
2

Dynamic mediaQueryOrder based on theme?

I would like to vary my media queries based on theme. I would also like to keep a mediaQueryOrder for these media queries. mediaQueryOrder is an option on the createRenderer config, but I may update my theme (and therefore media queries) after the renderer has already been…

thumbsup
0
message-simple
10

Invalid attempt to destructure non-iterable instance when using Fela css-in-js…

I'm sure I'll figure this out but anyone help me with this error? https://stackoverflow.com/questions/55193107/invalid-attempt-to-destructure-non-iterable-instance-when-using-fela-css-in-js-w

thumbsup
0
message-simple
0

A new fela binding

Hi, guys! Fela is great, but it lacked the close to the framework usage guide and easy boostraping with Vue.js. After using them both for a while, I've ended with own solution. Hope, it's elegant enough to be added to documentation: https://github.com/houd1ni/fela-vue

thumbsup
2
message-simple
1

Outline validation

Hey there, I want to delete default browser outline on focus for button with this style: But I'm getting this error even tho the outline is modified in :focus. …

thumbsup
0
message-simple
1

Dynamically update renderer plugins based on state

Yo! I'm currently working in a project where I need to support RTL languages and at the same time also theming. Came across Fela and I thought I'd give it a go. In the application I have a Localization Context that is wrapping the RendererProvider. …

thumbsup
0
message-simple
7