Skip to content

Commit

Permalink
feat(ui): use neobrutalist shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
lemredd committed Jan 21, 2023
1 parent 8b11813 commit e9b3ed0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/CalculatorContainer/HistoryContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function revertToChosenHistory(historyItem: HistoryItem) {
max-height: 100vh;
.history-list-wrapper {
@apply border border-black rounded-md;
@apply border-2 border-black;
@apply p-4;
@apply bg-white;
height: 100%;
Expand Down
17 changes: 11 additions & 6 deletions src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,28 @@ body {
display: block;
min-width: 300px;
}

}
}

.rim, .history-list-wrapper {
@apply shadow-neobrut rounded-md;
}

.rim {
@apply bg-white;
@apply rounded-md;
height: 100%;

&> .calculator-container {
@apply border border-black rounded-md;
@apply border-2 border-black rounded-md;
@apply p-4;
}
}

button:not(.no-border) {
@apply m-[1px] px-2 py-1;
@apply border border-neutral-800 rounded-md;
@apply text-xl text-neutral-800;
@apply border border-black rounded-md;
@apply text-xl text-black;

&:hover {
@apply bg-calculator-candy;
}
}

0 comments on commit e9b3ed0

Please sign in to comment.