Skip to content

Commit

Permalink
style: make colors smaller and remove padding
Browse files Browse the repository at this point in the history
  • Loading branch information
Renato Moor committed Aug 27, 2022
1 parent 158da10 commit d2bc9f4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/components/ColorsFoundation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ const getRootColors = () => {

<style>
.colors-padding {
max-width: 850px;
margin-left: auto;
margin-right: auto;
}
Expand Down
14 changes: 8 additions & 6 deletions src/components/ColorsGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ function hexToRgb(hex) {
h2 {
font-size: 1.5rem;
font-weight: bold;
font-family: sans-serif;
margin-bottom: 2rem;
text-transform: capitalize;
color: #52525b;
Expand All @@ -67,11 +66,11 @@ h2 {
}
.color-section {
padding: 2.5rem;
padding: 1rem;
border-radius: .75rem;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='%23f1f5f9'%3e%3cpath d='M0 .5H31.5V32'/%3e%3c/svg%3e");
box-sizing: border-box;
margin-bottom: 1rem;
margin-bottom: 2rem;
}
.colors-container {
Expand All @@ -80,13 +79,14 @@ h2 {
margin-left: auto;
margin-right: auto;
justify-content: center;
gap: 2rem;
gap: 1.5rem;
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.color-description {
display: flex;
margin-top: 1rem;
gap: 1rem;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
Expand All @@ -95,7 +95,9 @@ h2 {
}
.color {
padding: 4rem;
border-radius: 10px;
width: 100%;
border: rgba(190, 190, 190, 0.3) solid 0.1rem;
border-radius: .25rem;
height: 2.5rem;
}
</style>
Binary file removed storybook-tailwind-foundations-0.0.0.tgz
Binary file not shown.

0 comments on commit d2bc9f4

Please sign in to comment.