Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/maltebaer/cv
- Owner: maltebaer
- Created: 2023-01-30T20:56:16.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-29T07:16:09.000Z (4 months ago)
- Last Synced: 2024-08-29T10:12:00.844Z (4 months ago)
- Topics: 11ty, alpinejs, cube-css
- Language: Nunjucks
- Homepage: https://cv.maltebaer.vercel.app/
- Size: 6.73 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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}
```