Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maltebaer/cv

My personal CV and playground to try something new.
https://github.com/maltebaer/cv

11ty alpinejs cube-css

Last synced: about 2 months ago
JSON representation

My personal CV and playground to try something new.

Awesome Lists containing this project

README

        

# cv/portfolio site

## technology

- 11ty
- native html
- css with tailwind
- js with alpine

## methodology

### cube css

1. design tokens
2. css reset
3. global styles
-> style as much as possible at a high level
-> progressive enhancement in action
4. composition
-> provide high-level, flexible layouts
-> determine how elements interact with each other
-> create consistent flow and rhythm
5. utility
-> extend design tokens to maintain a single source of truth
-> abstract repeatability away from css and apply it in the html
6. block
-> extend the work already done by the global css, composition and utility layers
-> apply a collection of design tokens within a concise group
-> create a namespace or specificity boost to control a specific context
7. exception
-> provide a concise varation to a block
-> use data attributes
8. grouping
1. the elements's primary block class
2. any subsequent block classes
3. standard utility classes
4. design token utility classes

## notes

### utopia size scales

```css
--space-{xs - 3xl}
--space-{xs-s - 2xl-3xl}
--size-step-{0 - 6}
```

### open props sizes

```css
--size-{000 - 15}
--size-fluid-{1 - 10}
--size-content-{1 - 3}
--size-header-{1 - 3}
--size-relative-{000 - 15}
```