Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit b94aa79

Browse files
authored
refactor: remove shadows from buttons (#636)
1 parent f7bedb4 commit b94aa79

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

resources/assets/css/_buttons.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
}
88

99
.button-primary:hover {
10-
@apply bg-theme-primary-700 shadow-button-primary;
10+
@apply bg-theme-primary-700;
1111
}
1212

1313
.button-tag {
@@ -103,12 +103,12 @@ a.disabled {
103103
.button-secondary:hover,
104104
.button-icon-rounded:hover,
105105
.button-tag:hover {
106-
@apply text-white bg-theme-primary-700 shadow-button-secondary;
106+
@apply text-white bg-theme-primary-700;
107107
}
108108

109109
.button-outline:hover,
110110
.button-tag-outline:hover {
111-
@apply text-white border-transparent bg-theme-primary-700 shadow-button-secondary;
111+
@apply text-white border-transparent bg-theme-primary-700;
112112
}
113113

114114
.dark .button-icon:hover,
@@ -124,7 +124,7 @@ a.disabled {
124124
}
125125

126126
.button-icon-primary:hover {
127-
@apply bg-theme-primary-700 shadow-button-primary;
127+
@apply bg-theme-primary-700;
128128
}
129129

130130
.button-cancel:hover,

resources/assets/css/markdown-editor.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
.tui-popup-body
6565
.te-button-section
6666
button.te-close-button:hover {
67-
@apply text-white bg-theme-primary-700 shadow-button-primary;
67+
@apply text-white bg-theme-primary-700;
6868
}
6969

7070
.ark-markdown-editor .tui-toolbar-divider {

resources/tailwind.config.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ module.exports = {
1414
20: "20px",
1515
},
1616
boxShadow: {
17-
"button-primary":
18-
"2px 3px 10px 2px rgba(var(--theme-color-primary-rgb), 0.34)",
19-
"button-secondary":
20-
"2px 3px 10px 2px rgba(var(--theme-color-primary-rgb), 0.34)",
2117
"lg-smooth":
2218
"0 10px 15px -3px rgba(0, 0, 0, 0.025), 0 4px 6px -2px rgba(0, 0, 0, 0.025)",
2319
"header-smooth": " 0px 2px 10px 0px rgba(192, 200, 207, 0.22)",

0 commit comments

Comments
 (0)