Last active
September 22, 2020 09:56
Revisions
-
lucadegasperi revised this gist
Sep 22, 2020 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,5 +7,6 @@ ## Spacing - Spacing between components should be given by a parent component. - A component should not have any knowledge about its sorroundings. - A Text node should never be left alone with other non text nodes (it should always be wrapped in a <span>) - Useful elements to achieve this might be layout components (grid) or other types of components (HSpacing / VSpacing) - If in doubt ask mark dalgleish -
lucadegasperi created this gist
Jan 30, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ # My Design Thoughts as of 30/01/2020 ## Tooltips Modals and Alerts - tooltips should exist outside the context of the element they are attached to. This is to prevent style leaks or hidden overflows on the element they are attached to - Same principle applies to modals / alerts and so forth they should live inside a portal ## Spacing - Spacing between components should be given by a parent component. - A component should not have any knowledge about its sorroundings. - Useful elements to achieve this might be layout components (grid) or other types of components (HSpacing / VSpacing) - If in doubt ask mark dalgleish