Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

EPIC: Standardized styling approach #2

Open
1 task
dblodorn opened this issue Sep 14, 2022 · 1 comment
Open
1 task

EPIC: Standardized styling approach #2

dblodorn opened this issue Sep 14, 2022 · 1 comment

Comments

@dblodorn
Copy link
Contributor

dblodorn commented Sep 14, 2022

BRIEF:

We need to spec a generalized token set to allow for theming the template app along with UI packages that the template consumes.

IE:
theme -> create-net-label -> zora-audio-edition-player(UI Package which consumes editions-hooks)

Tailwind CSS will be the utility library for basic css rules.

We could look into implementing a theming stylesheet with css vars that sits on top of tailwind with an easy to grok stylesheet.
This stylesheet could modify:

  • Fonts (how many fonts do we want to support out of the box)
  • Color Tokens (how deep do we want to go with this)
  • Spacing Ratio's / Base Units (will this conflict with tailwind - perhaps we handle spacing outside of tailwind)
  • Font Sizing (how many levels of font sizes do we need)

Inspiration / References:

https://github.com/hihayk/shaper

@dblodorn
Copy link
Contributor Author

Tasks:

  • Spec selector syntax pattern

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Status: Backlog
Development

No branches or pull requests

1 participant