Yonaka

the best framework in the world

Lorem ipsum dolor sit amet consectetur adipisicing elit. Excepturi atque, totam aliquam, quasi molestias ex dolores magnam neque id voluptas doloremque omnis repellat quae velit aut magni laborum ducimus. Officiis?

Welcome to Yonaka


What is it?

It's a mix of several other ideas combined in one, trying to retain the best of each one

The usage of the framework consists of 3 keys points: Sematinc HTML, ARIA Usage and CSS variables.

Displays

There's a bunch of displays to use going to the most simple and dynamic to real occasional use cases.


Fixed Grid

It's a grid display but with fixed columns.

item 1
item 2
item 3
item 4
item 5
item 6
item 7
item 8
item 9
item 10

Grid Dynamic

It's a grid with undefined columns, that can be any value(It depends in the child size).

item 1
item 2
item 3
item 4
item 5
item 6

Grid Reel

Works as content "carousel". Hiding some content to be scrolled.

item 1
item 2
item 3
item 4
item 5
item 6

Flex Row

A ordinary flex row with no styling by default.(There's a gap just for demonstrative purposes).

item 1
item 2
item 3
item 4
item 5
item 6

Flex Col

A ordinary flex column with no styling by default.(There's a gap just for demonstrative purposes).

item 1
item 2
item 3
item 4
item 5
item 6

Flex Cluster

A flex container that wraps it's children as it fits on the row.

The Children don't grow. It keeps the same size not matter what.

Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Lorem.
Lorem ipsum dolor sit amet consectetur.
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Cumque, distinctio?
Lorem ipsum dolor sit amet consectetur adipisicing elit.

Flex Col

Same as the .flex-cluster but with flex: 1 on its children(They're able to take all available space).

Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet.
Lorem.
Lorem ipsum dolor sit amet consectetur.
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Cumque, distinctio?
Lorem ipsum dolor sit amet consectetur adipisicing elit.

Components

I've built some components, the structure must follow as you can see below. They use semantic tags, ARIA and some classes to stylinhg

Accordion

Accordion Text

Dropdown

Typography

Text Hierarquy and Text Variations for all sorts of usages

Strong Bold Italic Emphasized Small Subscript Superscript Deleted Inserted Keyboard Input

Forms

In the forms section, the form has 2 states: valid or invalid. With that in mind, I developed a "return to user" with the colors, being the destructive a signal of something is wrong.

To achieve this, you only need to create a input inside the form tag and put some required or any demand on it.

As you can see below, everything that is not ok will be red bordered and the submit button is gonna look like is disabled.



File

Color

Date

Radio

Checkbox

Switches

69%

Buttons

Cards

With the palette provided, I've created these colors to complement the basic needs in a website.

It's just the "beta" for now, but you can achieve a pretty standard result.

Obs: It might not look so good in Light Themes... working on it.

a japanese landscape

image card

Lorem ipsum dolor sit amet consectetur adipisicing elit. Iusto quas blanditiis.

Hero Card

Lorem ipsum dolor sit amet consectetur adipisicing elit. Sint, enim?

Colors

primary
secondary
accent
text
background
destructive
foreground primary
foreground secondary
foreground accent
foreground text
foreground background
foreground destructive
muted primary
muted secondary
muted accent
muted text
muted background
muted destructive
content text
content text

Family Hierarquy

Its a abstract way to think about CSS inheritance. You have several types of relations that you're problably used to, like first child, last child and etc...

However, I think this way is easier to understand and apply, you just need to apply the .parent class in the tag that is really the parent.

After this, you just need to pass the Heritage that the children will inherit in fact. Like: colors, spacing and font related stuff.

If you don't want a specific tag to inherit from the parent, just do like in Game of Thrones, call it a .bastard and the job is done.

Parent

First Son

Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo quaerat, blanditiis quis officiis rem maiores itaque temporibus totam quisquam veritatis distinctio alias quod, laborum numquam deserunt harum eum tenetur hic!

Lorem ipsum dolor sit amet consectetur adipisicing elit. Accusantium architecto dolorum dolores animi amet quae adipisci perferendis exercitationem quia, vel quam, iure expedita libero velit esse nam laudantium, minus repudiandae!

Lorem ipsum dolor sit amet consectetur adipisicing elit. Accusantium architecto dolorum dolores animi amet quae adipisci perferendis exercitationem quia, vel quam, iure expedita libero velit esse nam laudantium, minus repudiandae!

Grand Son

Lorem ipsum dolor sit amet consectetur adipisicing elit. Tenetur eos, quam sapiente temporibus excepturi nemo architecto! Repellat vitae deserunt consectetur quisquam ea voluptate beatae doloribus amet sit recusandae, debitis voluptates!

Grand Grand Son
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Veniam repudiandae ut magnam officiis eum dolore quo dolor tenetur eos praesentium omnis, assumenda hic debitis modi quas. Aperiam voluptatibus voluptates tempora.

Modals

Modal Header

The modal uses header and footer to create a hierarquy of content

You can use almost any tag between them.

Modal Footer
TESTE
Text top
TESTE2
footer
TESTE3

Bentos

A new trend at the time LOL

Normal Bento(6)

1
2
3
4

Normal Bento(6)

1
2
3
4
5
6

Big Bento(10)

1
2
3
4
5
6
7
8
9
10
I'm a chip Lorem ipsum dolor sit.