Skip to content
#

emotion

Here are 553 public repositories matching this topic...

sassanh
sassanh commented Feb 11, 2020

Current behavior:

When I add

declare module '@emotion/react' {
  export {Theme} from 'somewhere';
}

typings for theme prop is correctly set, but whenever type of styled(Element) becomes StyledComponent<any, {}>. If I remove the above declaration, the type of styled(Element) becomes

StyledComponent<Props & etc>

which is correct.

Al

rebass
amaster507
amaster507 commented Apr 28, 2020

The docs on rebassjs.org are pretty slim when it comes to using forms and the props that are accepted and what they do.

I was able to use inputs and checkboxes without too much effort but wanted to use a Switch in an instance instead of a checkbox. A switch is a ON|OFF Component so it would make sense that in the DOM it would use a checkbox and allow handlers with OnChange but that is not wha

styled-system
The-Code-Monkey
The-Code-Monkey commented Feb 18, 2020

I am looking into variants and i feel like its a bit confusing which is the old api and which is the new one?

I feel like I should just be able to drop the variant function onto a component and give it scale="accents" and then if I pass variant="info" then it should look in the theme object for accents and pull the info key inside that yet it doesn't do that unless I write `variants: {

theme-ui
mxstbr
mxstbr commented Apr 20, 2020

In order to make the Tailwind preset more approachable for people that already know Tailwind, we should:

  • Font sizes should have the same aliases (e.g. lg = 2)
  • Colors should be aliased to the same aliases * 100, e.g. purple.5 === purple.500
  • Breaking change for a major version: Make the padding scale match Tailwind's
IrvingArmenta
IrvingArmenta commented Jul 25, 2019

I think it would be nice to add comments to the typescript definitions, using the same documentation as is in this repository. I already did it on local but I don't have the permissions for PR's of course.

This is for the usage with VScode, following the TS doc format:
<img width="1792" alt="スクリーンショット 2019-07-25 9 57 19" src="https://user-images.githubusercontent.com/20631137/61838083-b2e8c

laravel-love
sburkett
sburkett commented Nov 1, 2019

This package looks absolutely terrific, and it will no doubt solve the needs of many, including me :)

However, the lack of a basic tutorial is really hindering me (and perhaps others), and possibly preventing more adoption of the package. I couldn't find a tutorial for this package, so if one exists, please let me know!

My view is that most people are probably just looking to add basic likes

flying3615
flying3615 commented Aug 4, 2019

Hi,
I have an issue that when I was editing an article in prismic using inline code highlight, during the gatsby build it will throw an error below:

Starting to fetch data from Prismic
Fetch Prismic data: 1298.650ms

 ERROR #11321  PLUGIN

"gatsby-source-prismic" threw an error while running the sourceNodes lifecycle:

Cannot read property 'rest' of 
Vadorequest
Vadorequest commented Apr 3, 2020

Status

Community is free to contribute, we won't likely have the time to add this feature

Issue

Sentry doesn't have access to source maps, which makes debug harder.

I do not know how to fix that, I believe it had worked at some point in the past, but may have broken due to some dependency update.

![image](https://user-images.githubusercontent.com/3807458/78375873-be51d180-75cd

Improve this page

Add a description, image, and links to the emotion topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the emotion topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.