Better HN
topnewbestaskshowjobs
Log inSign up

Call_in

74 karma · joined Jan 7, 2020 (6y ago) · 17 submissions

Submissions

1.

Show HN: EZMM – An easy ES Module Manager to use modern JavaScript(github.com ↗)

2 points · by Call_in · 6y ago · discuss

2.

Show HN: Lyt – A flexible and highly configurable CSS layout library(github.com ↗)

2 points · by Call_in · 6y ago · discuss

comment 6y ago · link · parent

Oh! Thanks for that, I'll fix the typo when I've got time

comment 6y ago · link · parent

You'll have a callback on the next version. I plan a lot of tweaks and features that can hardly be done only in CSS, moreover the plan is to give devs an easy way to do dark-modes. I understand the divergences and critics but want to try things as a student. I thanks you a lot for your review.

comment 6y ago · link · parent

There already is a github page demo, look at the description of the github project or at the "Demo available" badge. I'll probably change the demo in the next update, it is too simple and ugly. Thanks for the feedback.

comment 6y ago · link · parent

I understand the concept of what you are doing, but I think those two methods have different use cases, yours may be more performant but mine, I feel, is more simple for everyday usage. I'll definitly look your work more in depth. Thanks for the feedback!

comment 6y ago · link · parent

This API do not invert colors, it uses CSS variables and classes for more customization. No mix-blend-mode or anything. The demo has been done quickly this afternoon, I'll probably change it for the next version.

comment 6y ago · link · parent

You have a badge "Demo Available" too, I'll maybe do a more clear link.

comment 6y ago · link · parent

I'll do that for the next version, it is already planned, thanks for the feedback!

comment 6y ago · link · parent

Darkmode.js uses `mix-blend-mode` to invert the colors on the pages and offer a class based custom style system.

Here you also have the class based custom styles but also have a CSS variables based styling system. You can chose what value will take a variable depending on the current state of the darkmode.

See the readme of the github page for more informations, ask again if you need additional informations.

comment 6y ago · link · parent

It makes the creation and management of dark modes simpler, by giving you a simple API to work with.

It does not use `prefer-color-scheme` for now but I'm planning to add the option later.

comment 6y ago · link · parent

Thanks, feel free to give feedback, submit issues and contribute if you want!

comment 6y ago · link · parent

The use case is different, the standard CSS `prefers-color-scheme` media feature changes the styles according to your system preferences. Here, the goal is to offer to the developer a simple API to create a customizable darkmode feature. I've just started writing this API but I intend to make it more customizable by including `prefers-color-scheme` option and timestamps based darkmode.

I hope it make the thing more clear.

14.

Show HN: Darken – Darkmode Made Easy(github.com ↗)

133 points · by Call_in · 6y ago · 60 comments

15.

Show HN: Ward – A client-side framework to build static websites(github.com ↗)

3 points · by Call_in · 6y ago · discuss