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

https://github.com/timetask/buenavista

Phoenix Component Design System
https://github.com/timetask/buenavista

component css elixir liveview phoenix theme

Last synced: about 1 month ago
JSON representation

Phoenix Component Design System

Awesome Lists containing this project

README

          

```

〰 〰

██████ ██ ██ ███████ ███ ██ █████ ██ ██ ██ ███████ ████████ █████
██ ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ 〰
██████ ██ ██ █████ ██ ██ ██ ███████ ██ ██ ██ ███████ ██ ███████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██████ ███████ ██ ████ ██ ██ ████ ██ ███████ ██ ██ ██

〰 - Phoenix Component Design System -

〜 〜〜 ⏅ 〜〜 〜〜 〜〜 〜〜 〜〜 〜〜 〜〜 〜〜 〜〜
〜 〜 〜 〜 〜 〜 ⏅ 〜 〜
〜 ⏅ 〜〜 ⏅ 〜 〜 ⏅ 〜〜〜 〜〜〜 〜〜〜 〜〜〜 〜〜〜 〜〜〜 〜〜〜 〜〜
〜 〜〜 〜〜〜 〜〜〜 〜〜 〜 〜〜〜 〜 〜 〜〜 〜〜〜 〜 〜 〜〜 〜〜〜 〜〜
〜 〜〜 〜〜〜〜 〜〜 〜〜 〜〜〜〜〜〜 〜〜〜 〜〜〜 〜〜〜 〜〜〜〜 〜〜 〜〜〜〜〜 〜〜〜 〜〜 〜〜〜〜〜
〜〜〜〜〜 〜〜〜〜〜〜〜 〜〜〜 〜〜〜〜〜〜〜 〜〜〜〜〜〜〜 〜〜〜 〜〜〜〜〜〜〜 〜〜〜〜〜〜 〜〜〜〜〜〜 〜〜
```

### Road to public release

## BuenaVista

### Important

- [x] Allow `$variable` format in ~CSS.
- [x] Allow `$component__other` format in ~CSS
- [x] Update style macro params
- [x] Add attributes and slots to component definition
- [ ] Add css imports
- [ ] Add global css macro
- [ ] Mix: `mix.gen.reloader`

### Not important

- [ ] Add super equivalent ($super?) call for hydrators.
- [ ] Support comma separated scope definition
- [ ] Remove break list when ~CSS element is a scope.

## Galeria

### Important

- [ ] Render Live Preview in isolation
- [ ] Editor: Listen to codearea changes
- [ ] Editor: Show/Hide save button
- [ ] Editor: Display codearea status (first & editable)
- [ ] Editor: Regenerate hydrator on save
- [ ] Editor: Handle hydrator regeneration

- [ ] Config: Add component macro
- [ ] Config: Add composition macro
- [ ] Config: Auto generate galeria config
- [ ] Config: Reload on config changes

### Not important

- [ ] Allow access to a particular variant css class.

### Inspiration

https://github.com/benvp/ex_cva
https://www.openmymind.net/Elixir-Which-Modules-Use-My-Module/
https://blixtdev.com/dont-do-this-object-oriented-inheritance-in-elixir-with-macros/