Comments (11)
I guess the person I'd love to hear from most as far as motivation is concerned is @geelen :)
from styled-components-website.
We definitely need a big section about why you would do any of this!
from styled-components-website.
@mxstbr Maybe we can rewrite your talk here into a short raison d'être? The transcript is already there :P https://pusher.com/sessions/meetup/reactivate-london/from-css-preprocessors-to-styled-components
from styled-components-website.
A first pass:
Styled Components takes the big idea of CSS Modules - automated isolation - and extends it, making React the glue layer between mark-up and presentation. Extracting structural nodes from "smart" views leads to cleaner architecture as a natural by-product.
You get to write modern, expressive, idiomatic CSS because, uniquely among CSS-in-JS solutions, Styled Components recognises the power of the language instead of trying to reinvent it.
from styled-components-website.
@mxstbr @oliverturner I wrote an initial "Motivation" section, based on the talk at Reactivate. Maybe you guys want to iterate on this? https://github.com/styled-components/styled-components-website/blob/master/components/basics/motivation.js
from styled-components-website.
Yeah I should definitely write up a few things, but there's not much chance I'll get to that in the next two weeks, sorry.
As for the homepage, I don't mind the split view with live coding possibilities, but visually it's a bit heavy at the moment. I'd leave the original code snippet photo there for the moment, or pick a demo that's a bit less prominent (maybe a couple of buttons, no white background, etc.)
Love that fkn gradient though! Makes me want a mimosa so bad.
from styled-components-website.
@geelen I think you're right about the homepage liveedit example. What if we use the current styled-component website's code in a simple CodeBlock?
from styled-components-website.
Yeah that works well
from styled-components-website.
I feel like the code block should be tighter there, in the sense that there's a lot of wasted black space?
from styled-components-website.
@mxstbr True that, I'll change the width of the container on the homepage
from styled-components-website.
Let's close this for now in favour of more potential issues in the future :)
from styled-components-website.
Related Issues (20)
- Help wanted, conversion to TS HOT 6
- Serve images with next-gen formats HOT 2
- Increase Accessibility HOT 2
- No Documentation for displayName With SWC HOT 1
- Refactor Question: Should we bust out the Styles and Import them?
- Implement bright library for syntax highlighting
- Spectrum chat link is not found HOT 1
- spe
- Add [project] by [company] to showcase
- Add FAQ on NextJS 13 usage HOT 2
- Add [project] by [company] to showcase HOT 1
- Need a FAQ page added for this HOT 3
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
- Wrong Link in the docs for v6 migration
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
- Add [project] by [company] to showcase
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from styled-components-website.