Hey guys I think I don’t understand something about the classes in WF.
How do I make use of existing classes in new classes I create?
With SCSS/SASS you would use @extend
Example:
I want to create a new class for “chat-bubbles”
-- These chat bubbles should have a shadow.
--- So I want to inherit/cross-reference the shadow from the existing class “shadow-small”.
✅ I only want to apply one single class to each chat bubble element: chat-bubbles
❌ I don’t want to apply two classes to each element: chat-bubbles, shadow-small
How do you do that in WF? Or am I missing something in the logic?
Forget about SASS / LESS approach and watch the Finsweet Client-First videos to understand their naming system and how you approach what you’re after using combo classes.
buddy, what i described above can't be solved by combo classes, that's why I asked in the first place.