Skip to content

Commit f146249

Browse files
committed
style(docs): simplify AsideMenu styles by removing dark mode support and redundant styles
1 parent 7760835 commit f146249

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

docs/app/components/AsideMenu.vue

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const toggleAllSections = () => {
127127
}
128128
129129
.aside-menu-content {
130-
@apply relative h-full bg-white dark:bg-primary-light-800 rounded-2xl border-2 border-primary-light-500 shadow-lg;
130+
@apply relative h-full bg-white rounded-2xl border-2 border-primary-light-500 shadow-lg;
131131
background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
132132
box-shadow:
133133
0 8px 32px rgba(0, 0, 0, 0.1),
@@ -152,7 +152,7 @@ const toggleAllSections = () => {
152152
}
153153
154154
.menu-title {
155-
@apply text-2xl font-bold text-primary-light-600 dark:text-primary-dark-400;
155+
@apply text-2xl font-bold text-primary-light-600;
156156
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
157157
transform: rotate(-1deg);
158158
}
@@ -173,17 +173,5 @@ const toggleAllSections = () => {
173173
transform: scale(1.1) rotate(5deg);
174174
}
175175
176-
@media (prefers-color-scheme: dark) {
177-
.aside-menu-content {
178-
background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
179-
box-shadow:
180-
0 8px 32px rgba(0, 0, 0, 0.3),
181-
0 4px 16px rgba(0, 0, 0, 0.2),
182-
inset 0 1px 0 rgba(255, 255, 255, 0.1);
183-
}
184176
185-
.menu-title {
186-
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
187-
}
188-
}
189177
</style>

0 commit comments

Comments
 (0)