TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Puppertino: A CSS framework based on Human Guidelines from Apple

150 pointsby memorablealmost 3 years ago

18 comments

bastawhizalmost 3 years ago
It looks like this project has been abandoned for over a year. There&#x27;s quite a few rough edges that stand out pretty distinctly: some buttons have a pressed state, others don&#x27;t. Some controls have transitions or animations, while others which I&#x27;d expect to have transitions do not. Spacing and margins seem off (even the tiles on the Examples page). Some of the styles on the Layout documentation are broken due to specificity issues. Sizing is mixed: select boxes are very small compared to text inputs, while the switch control is absolutely massive. Most of the text is very large, but the mobile tabs&#x27; text is almost unreadably small. But this is a small personal project, it seems, and nobody is expecting high-end results.<p>But here&#x27;s the thing: the project is sponsored. Moreover, the website of the company that sponsors the project is down. Which, for a mostly-abandoned project, isn&#x27;t surprising. But if you look up Fractal Technologies online, the two employees other than the CEO have been working there for under two years. Moreover, Fractal has been a sponsor since March 2021 [0]: there have been only a handful of commits since the sponsorship began. It&#x27;s curious that an &quot;IT Services and IT Consulting&quot; company specializing in blockchain, AI, and IoT which doesn&#x27;t seem to have a website would sponsor a project which is mostly unmaintained. The more I read about the business and the employees, the more questions I have.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;codedgar&#x2F;Puppertino&#x2F;commit&#x2F;e8426d11646c4b11f2371a542ce3e7df3185ee91" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;codedgar&#x2F;Puppertino&#x2F;commit&#x2F;e8426d11646c4b...</a>
评论 #32476875 未加载
评论 #32464807 未加载
评论 #32466204 未加载
评论 #32463580 未加载
jiggywiggyalmost 3 years ago
It&#x27;s a bit messy and all over the place, it&#x27;s mixing old ios and new ios. Apple in most of their own apps use filled icons in tabs and such, not the outline style. Also less of the blue gradients and more on the new trend of modern &quot;sunset&quot; type of gradients and focus on translucent backgrounds, like the dialog you added.
评论 #32462535 未加载
评论 #32476907 未加载
评论 #32463833 未加载
lelandfealmost 3 years ago
What are some examples of guidelines that this follows? What has this done differently than other CSS frameworks?<p>I&#x27;m not seeing anything obvious, and there are some clear deviations – like Puppertino&#x27;s advice to &quot;always include a placeholder&quot; when validating fields, whereas the HIG has no guidance on the subject.<p>Edit: maybe this is just reusing some components from the HIG? <a href="https:&#x2F;&#x2F;developer.apple.com&#x2F;design&#x2F;human-interface-guidelines&#x2F;components&#x2F;all-components" rel="nofollow">https:&#x2F;&#x2F;developer.apple.com&#x2F;design&#x2F;human-interface-guideline...</a>
samwillisalmost 3 years ago
Also worth taking a look at Ionic (<a href="https:&#x2F;&#x2F;ionicframework.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ionicframework.com&#x2F;</a>), it’s significantly heavier than this, but is incredibly compleat and has iOS and Material styles. Also can be used with plain “vanilla” js.<p>People often only associate Ionic with old PhoneGap&#x2F;Cordova apps, but as a toolkit for just standard web apps it’s awesome.<p>I do wish Ionic invested a little more in “desktop” versions of the widgets however, they work well but tend to need a little more css to reduce font sizes and a few other tweaks.
评论 #32463615 未加载
IMcD23almost 3 years ago
What are the &quot;Human guidelines&quot; from Apple? Do you mean the Human Interface Guidelines (aka HIG)? From what I could see in the examples, this doesn&#x27;t look very Apple-like.
评论 #32464850 未加载
PeterWhittakeralmost 3 years ago
Interesting idea, but: is Puppertino as pro-mouse and anti-keyboard-navigation as Mac OS seems to be?<p>I love my Mac, I really do, but I do find the mouse focus frustrating. For example, there is not, AFAIK, a simple way to navigate menus, e.g., Windows, without the mouse. There may be, and I may simply be ignorant, but I haven’t found it yet.<p>There are keyboard shortcuts, but they can be frustrating. E.g., I don’t know what changed recently, but I have used gmail with Safari for years, and just recently, Safari started swallowing all of the Gmail formatting shortcuts.<p>It’s not a constant battle, keeping keyboard navigation working, but it is a tiring and repetitive one.<p>How does Puppertino make accessibility easier?
评论 #32462258 未加载
评论 #32463466 未加载
评论 #32462234 未加载
评论 #32462587 未加载
lostgamealmost 3 years ago
No screenshots in the readme of a project like this immediately makes me forget it and completely lose interest.<p>I surely can’t be the only one. It’s a no brainer - especially for a CSS framework - to include visual examples.
radoalmost 3 years ago
Modals don&#x27;t trap focus, can&#x27;t be closed by keyboard.
layer8almost 3 years ago
<p><pre><code> Cool looking This is the most important part of Puppertino! […] In any case, coolness, it&#x27;s my main focus with Puppertino. </code></pre> So, looking cool is more important than adhering to the Human Guidelines? That seems kinda antithetical. In particular since the desire to “look cool” is a major reason why usability is often being neglected in practice.
评论 #32476947 未加载
nextaccounticalmost 3 years ago
<a href="https:&#x2F;&#x2F;codedgar.github.io&#x2F;Puppertino&#x2F;examples&#x2F;segmented_controls.html" rel="nofollow">https:&#x2F;&#x2F;codedgar.github.io&#x2F;Puppertino&#x2F;examples&#x2F;segmented_con...</a><p>shouldn&#x27;t the markup be a radio box (&lt;input type=&quot;radio&quot;&gt;) instead of &lt;div&gt; and &lt;a&gt;? I mean it is replicating the radio functionality
ryanmarshalmost 3 years ago
Browsing HN on mobile. New CSS framework appears. I click the link, aaaaand it looks janky on mobile.<p>Every. Single. Time.
codedgaralmost 3 years ago
Hey guys! Codedgar here! I&#x27;m the creator of Puppertino! I&#x27;ll be answering all your questions about Puppertino and the way the things are right now, feel free to ask me too :)
desaiguddualmost 3 years ago
Multiple negative comments on company &amp; motive.<p>IMO - Encourage anyone who is building original OSS.<p>If you see any improvements, Fork It or Create a PR.<p>P.s, not associated with this repo, company or anything.
axelthegermanalmost 3 years ago
The modal looked like an iOS modal and to me very out of place on any in other device - non starter for me
podviaznikovalmost 3 years ago
Love this. Would be cool to see more examples.<p>Like Apple Notes&#x2F;Apple Mail layout done with this library&#x2F;framework.
akerralmost 3 years ago
The logo looks like a dog wearing a plastic cone.
9devalmost 3 years ago
This feels like it had fallen out of time, maybe a couple years too late. No proper build chain with tree shaking? Installation by downloading a CSS file and dropping it somewhere in my CSS folder? Non-namespaced classes, mixing colors and layout, custom helpers for paddings and margins all over again?<p>Besides, the framework needs some serious overhaul work to actually look (and feel!) like Apple UI - there are some clear deviations, starting from the breadcrumbs (the active item is misaligned, and has a gray background with a slightly more gray border - one of the seven deadly sins of web design), continuing with the main navigation items (the gray border is out of place, and the radius is off), all to the buttons (which simply don’t mimic the real thing properly). There are also lots of bugs and subtle behaviour differences with modals and actions, and that’s just what a cursory inspection found.<p>Can’t we build stuff like that on Tailwind and stop making the same mistakes all over again?
rglullisalmost 3 years ago
Two simple things I wish from anyone attempting to create a &quot;CSS framework&quot;:<p>- Don&#x27;t use class-based styling<p>- Don&#x27;t use CSS.<p>All I&#x27;d want from a &quot;framework&quot; is to give a consistent set of <i>SASS mixins</i>, and I want to have one single sass file that generates all the CSS I need in one single place. It&#x27;s not just for the purism of &quot;separation of design and content&quot;, but also to make changes easier across a whole site.<p>I started doing something like that with <a href="https:&#x2F;&#x2F;gitlab.com&#x2F;mushroomlabs&#x2F;zenstyles" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;mushroomlabs&#x2F;zenstyles</a>, but only out of necessity for my work on Hub20, I still think that if more designers started taking this approach, there could be a substantial increase in the quality of the &quot;theme templates&quot; offerings. Pair it with something like <a href="https:&#x2F;&#x2F;headlessui.dev" rel="nofollow">https:&#x2F;&#x2F;headlessui.dev</a> and application developers could take a basic spreadsheet to focus on functionality at first, and then you easily switch between whatever &quot;sass theme&quot; you wanted without having to touch any of the code.