Skip to content

Commit

Permalink
feat(style): add display utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
kiaking committed Dec 28, 2023
1 parent 83cf9f4 commit 2902d44
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/styles/utilities.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
.s-bg-elv-3 { background-color: var(--c-bg-elv-3); }
.s-bg-elv-4 { background-color: var(--c-bg-elv-4); }

.s-block { display: block; }

.s-flex { display: flex; }

.s-font-12 { font-size: 12px; }
Expand All @@ -27,9 +29,18 @@
.s-gap-12 { gap: 12px; }
.s-gap-16 { gap: 16px; }

.s-grid { display: grid; }

.s-grow { flex-grow: 1; }
.s-grow-0 { flex-grow: 0; }

.s-hidden { display: none; }

.s-inline { display: inline; }
.s-inline-block { display: inline-block; }
.s-inline-flex { display: inline-flex; }
.s-inline-grid { display: inline-grid; }

.s-nowrap { white-space: nowrap; }

.s-overflow-hidden { overflow: hidden; }
Expand Down

0 comments on commit 2902d44

Please sign in to comment.