Better HN
topnewbestaskshowjobs
Log inSign up

oatw

20 karma · joined May 6, 2019 (7y ago) · 23 submissions

Submissions

comment 6y ago · link · parent

哈哈!hackernews是一个不需要css的站点的,内容为王呀!

comment 6y ago · link · parent

A memory card game built with Luda for you to play.

https://codepen.io/oatw/pen/gObrvLJ

3.

Show HN: Luda(0.3.2)- A library helps to build cross-framework UI components(github.com ↗)

2 points · by oatw · 6y ago · 4 comments

4.

Luda v0.2.0 released – A lightweight and responsive UI framework(oatw.github.io ↗)

3 points · by oatw · 7y ago · discuss

comment 7y ago · link · parent

https://dev.to/oatw/why-and-how-i-built-my-own-ui-framework-...

6.

Why and how I built my own UI framework inspite of so many great ones(dev.to ↗)

5 points · by oatw · 7y ago · discuss

7.

Show HN: Luda – Yet another front-end UI framework(github.com ↗)

6 points · by oatw · 7y ago · discuss

comment 7y ago · link · parent

It's still a young project.

Examples will be added, but I'm not sure about the time.

Thanks very much!

comment 7y ago · link · parent

Very professional advice!

I cannot promise to follow all the directions, but I'll do some modifications in Luda according to your advice.

Thanks!

comment 7y ago · link · parent

Yes, indeed. Maybe that's one of the reasons why Bootstrap is the most popular UI framework in the world.

But not all the UI frameworks target nomatter new devices or old devices. It depends on the authors' choices.

Enhancing the typo accesibility and contrast are already proposed in others' comments, I think it's a problem to solve.

Thanks for your comment!

comment 7y ago · link · parent

Thanks!

I'm glad you like the feeling of the font.

But everybody has his own tastes. I need make the decision after some consideration.

comment 7y ago · link · parent

Hello memco!

Thanks for the good questions!

1. The `data-readonly` attribute behaves different from the native readonly attribute, developers may use the native readonly attribute in their own customized components. I don't want developers to get stuck in such situations. That's why the native readonly attribute is not overridden in Luda.

About native HTML validation: Native validation popovers can not be easily customized in all browsers. Maybe some developers still want to validate forms in JS instead of the native HTML validation. It's a choice to developers how to validate forms, Luda does't limit the ways.

2. CSS grid is an awosome feature, I'm sure it will be implemented in future versions. But before version 1.0.0, making Luda stable is the main target.

3. Luda aims to be a modern framework, so any new features will be considered seriously, including CSS scrollbars in Firefox.

At last, the styles of the form components may be changed due to some problems, not only the contrast accessibility.

I'm very happy you look into Luda for details, please keep an eye on future versions if you're interested. Your suggestions are import to me. Thanks!

comment 7y ago · link · parent

Thanks for the checking!

To avoid misunderstanding, I want to clarify that negative feedback and positive feedback are both important to open source projects. I like guys like you who has a forthright attitude.

Then, let me explain my decisions when I built Luda.

1. The `<label>` tag and the `for` attribute are essential in forms, and WAI support is important if we want to make an application with good accessibility. The reason why I don't include these things in the documentation is that I want to make the sample code snippets as short as possible. So developers will focus on how to use the framework without having to figure out too many topics. Luda doesn't limit developers to use WAI attributes nor write a good form. (I know Bootstrap includes these topics in their documentation, but that's not my choice, please correct me if I'm wrong.)

2. About the `required` attribute and native HTML validation: Native validation popovers can not be easily customized in all browsers. Maybe some developers still want to validate forms in JS instead of the native HTML validation. It's a choice to developers how to validate forms, Luda does't limit the ways.

3. The form-dropdown component is an alternative to the native `<select>`, it supports customization more flexable. It's OK if someone wants to stick to the native `<select>` tag. It's just another choice to developers, use the native `<select>` tag to follow the best practice or use a simulated one with a better style customization support.

4. I admit I made bad examples for the placeholder attribute and grouped checkboxes/radios, I'll correct those code snippets.

Thanks again!

comment 7y ago · link · parent

Hello ndury!

I'm writting an atricle on this topic, I'll paste the link here after finished.

comment 7y ago · link · parent

Got it! I'll handle this later.

I'm going to sleep now.

Good night!

comment 7y ago · link · parent

I think I made a mistake - taking personal feelings over user experiences.

I'll consider using the Open Sans font for body texts.

comment 7y ago · link · parent

Luda uses native font stacks by default, and the default font size of body texts is 14px(can be changed easily by setting a sass variable).

For the official site, I used the Raleway font. I know Raleway is a font designed mainly for leading texts, but I really like its feeling.

comment 7y ago · link · parent

Sounds great! Thanks for the suggestion! I'll solve this later.

comment 7y ago · link · parent

Hello coffeefox!

Luda has just been released for 2 days. Before this release, I used it in some internal projects of the company I'm working for. I'm sorry for unable to share these projects currently.

Personally, I'm using it to build my blog with Rails, the blog will come out soon!

For Luda, there's still a long way to go.

Thanks for your comment! Have a good day!

comment 7y ago · link · parent

Yes, you're right. Thanks.

comment 7y ago · link · parent

Thanks for your kindly suggestion! I've changed the background.

comment 7y ago · link · parent

Well~ Sorry for that. Maybe the background will be removed in the future. But personally, I like to keep it for a while.

23.

Luda: A lightweight and responsive UI framework for modern web development(oatw.github.io ↗)

23 points · by oatw · 7y ago · 31 comments