menu
Channels
Team
Posts
Members
Info
down-caret

media query weirdness

I am having something weird happen. I have two components as below, as it is, it works fine, if I remove the media queries for Nav, Logo never reaches the desktopAndUp media query. I use namedKeys for naming the media queries, but I have tried raw and the issue remain. …

thumbsup
0
message-simple
0

How prepend custom class name to generated class name?

I'm using fela with react to build css and inject the className in element for an animation, and works very well, but I need "control" when animationName property is added to elements, without some hard work on javascript (due many elements). I choosed to use an parent element…

thumbsup
1
message-simple
0

Browser specific css rules (-webkit*, -ms*, -moz*) removed

I'm using some browser specific css rules, some of them are working, like WebkitAppearance, but some of them are not working, like WebkitOverflowScrolling. There are no errors thrown in the console. I dont use the validator plugin. Where can be a problem?

thumbsup
0
message-simple
0

[Framer X] Failed to pass renderer into UMD bundled React component. useFela()…

I'm trying to integrate a Design-System based of React components build with Fela into the mighty Framer X (design and prototyping tool). Components without Fela work just fine. If a component is using e.g. useFela it fails. Error is 'The "useFela" hook can only be used inside a…

thumbsup
0
message-simple
0

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