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

[WIP]: Css Tokens #3

Open
Tracked by #2
dblodorn opened this issue Sep 16, 2022 · 7 comments
Open
Tracked by #2

[WIP]: Css Tokens #3

dblodorn opened this issue Sep 16, 2022 · 7 comments
Assignees

Comments

@dblodorn
Copy link
Contributor

dblodorn commented Sep 16, 2022

Hey @losingmyego!
Let's use this issue to capture concept work around css tokens.

@dblodorn dblodorn changed the title Color Tokens [WIP]: Css Tokens Sep 16, 2022
@dblodorn dblodorn pinned this issue Sep 16, 2022
@losingmyego
Copy link

Currently considernig :

--Number of typography styles
--Button / Link states?
--Color assignments
-- Opacity?
--Drop shadow?
--Grid base?
--Strokes?
--Corners/Rounding?

@losingmyego
Copy link

Lingering thought — do any of these styles require set parameters to keep the design in tact or do we allow for everything to be open ended

@losingmyego
Copy link

Note to talk about nomenclature standards as well

@dblodorn
Copy link
Contributor Author

dblodorn commented Sep 16, 2022

Notes from our video chat:

  • Being able to spec font sizes is very important... But for smaller scale apps/sites we don't need a massive amount of tokens.
  • Based off of design explorations we can extract a VERY primitive theming layer... this could be as simple as a couple pairings of color tokens, along with 2 - 3 fonts, or perhaps a more conventional typographic approach of font pairings.
  • BEM syntax: https://css-tricks.com/bem-101/: inspiration for naming conventions for whatever non tailwind, custom classes we decide to layer on top.
  • We can also leverage tailwind for theming stuff - although I think it could be benificial in the longer term to explore theming options that can scale in a framework agnostic manner. https://tailwindcss.com/docs/theme
  • Lets use the neosound-sandbox app as place to do some rough implementations... we could even add a little UI to mess around with tokens - some prior work in the loom below.

https://www.loom.com/share/842d280800d14c50af52a499a211d7de

@dblodorn
Copy link
Contributor Author

@losingmyego
https://drive.google.com/file/d/1p52tkGqqUo5WqLCEJDdHGCZK0g5VDI6B/view

@losingmyego
Copy link

losingmyego commented Sep 20, 2022

@dblodorn here is progress so far on the tokens - will be working to hopefully finish these today https://www.figma.com/file/IMYiNZVVJCvO9Yjn0IBe1f/~neosound~-%5Bcommunity%5D?node-id=750%3A3734

@dblodorn
Copy link
Contributor Author

@losingmyego this is great - i think we can experiment with layering an additional stylsheet over the default tailwind stuff... typography is a nice test case.

@Javier-Szyfer @0xTranqui @salieflewis this additional stylesheet could be referenced in different UI components we write.

Typography

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants