Skip to content

CommonJS module #8

Discussion options

You must be logged in to vote

Hello again!

I asked for help on a place for support/discussion on PostCSS and this is the conversation.

Because he said he wouldn't recommend it I assumed I can do it anyways. I looked the source code for PostCSS and I figured out how I can create the plugin using ES6 modules.

The plugin is open source. It's still in development but I think it's working good for now. I'm trying to use this library right so I don't generate wrong results.

Looking forward to make the plugin easy to use so people can easily write CSS where you just give the background color and it automatically chooses a good contrast color for the text depending on the text size, weight and usage (fluent, sub-fluent, ...)…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@torres-developer
Comment options

Answer selected by Myndex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants