open-source-ideas / ideas

💡 Looking for inspiration for your next open source project? Or perhaps you've got a brilliant idea you can't wait to share with others? Open Source Ideas is a community built specifically for this! 👋
6.52k stars 222 forks source link

OS-dependent CSS/JavaScript framework #75

Open ryanneary opened 6 years ago

ryanneary commented 6 years ago

Project description

A CSS/JavaScript library that styles web pages depending on the device's operating system, creating a simplistic and familiar user experience.

To save on resources, the project should load only the required files (e.g. do not load Android styles/scripts for an iOS user).

Suggested names for the project:

Relevant Technology

The project would be written in CSS and JavaScript, via Sass and jQuery. It could take inspiration from (or perhaps even import) the likes of Materialize, as well as of course mimicking the relevant OS designs (Android, iOS, Windows, Linux).

Who is this for

Experienced CSS/JS developers would need to shape the project, then novices/beginners could be involved in the wider project.

FredrikAugust commented 6 years ago

Don't want to be that guy, but what is the point of using jQuery today, with new JavaScript features encompassing a huge portion of the feature set (most notably document.querySelector which a lot of the functionality of jQuery's $('...')).

jnv commented 5 years ago

How does this idea compare to e.g. http://nativecss.com/ or https://framework7.io/ ? You just need to switch style based on user agent.

Don't want to be that guy, but what is the point of using jQuery today, with new JavaScript features encompassing a huge portion of the feature set (most notably document.querySelector which a lot of the functionality of jQuery's $('...')).

IMO backward compatibility and terser API.

FredrikAugust commented 5 years ago

Fair point @jnv, thanks for the feedback :)

daniel-lacour commented 5 years ago

Would you just want a certain stylesheet with undefined styles to be loaded? Or a whole framework like bootstrap?

daniel-lacour commented 5 years ago

Making it btw. It'll probably be done tonight.

daniel-lacour commented 5 years ago

https://github.com/daniel-lacour/OS-Dependent-Design/

It's 99% finished, but I still need to combine some OS's that look similar. (Like iOS 11 and 10) That's already been done with Windows though.

daniel-lacour commented 5 years ago

Anybody have an idea on some premade frameworks for the OS's?