Comments (6)
Work outline:
- put props into a js file in the /src folder as
props.social.js
, like this - add a build step to package.json, like this
- run the build step to generate a CSS file in the src directory
- add an entry to the package.json exports for the file, like this
- update the tests to the new props total, like this
- make a PR
Additional pre/post work items:
- need to make sure the file offers the most common networks, but not too many
- need to document the new props on the docsite somewhere and somehow
- should have a neat codepen demo or something that uses the import and colorizes a bunch of icons
- maybe we should split out each social network into its own file but also offer a single import for all of them? that would let one file grow large, for use with like jit-props, but also offer individual imports of just the networks you need (so no need for build tools to produce small output)
I may have forgotten something in there, but I'll help you through it if you like. The docsite work is nice to have at the same time as the new props, but some may consider it to be too much work.
from open-props.
Perfect! Thanks a lot. Working on it :)
from open-props.
Can you please specify a bit more, how and what to do this? Thank you :)
from open-props.
Just found this website: https://brandcolors.net/
Might be useful for this feature!
from open-props.
Related Issues (20)
- `clip-path` border shapes
- Need rotate and scale animation additions
- Add constructible stylesheet as an output format HOT 3
- [enhancement] Click color swatch to copy hex code to clipboard? HOT 11
- Animations Shake-Y on Safari not stacking with other animations HOT 1
- Add dialog animation styles to normalize
- Consider offering a few turbulence props to the svg pack
- Add SDR/HDR neon color props HOT 1
- Add scalable font size import HOT 2
- Sizes Counters Wrong HOT 8
- normalize table hover colors HOT 7
- Add Spacing Props HOT 2
- width: fit-content for tables is hard to override or customize HOT 3
- Media query conflict at "only" breakpoints HOT 1
- beta grays in v1.* aren't on :host in the shadow export
- `<a>` negative margin in normalize HOT 1
- Ensure Shadows Do Not Switch to Dark When Normalize Is Not Used
- Request: Dark mode as opt-in HOT 2
- Normalize toggle white/dark mode HOT 1
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 open-props.