Skip to content

Commit f9f1080

Browse files
authored
Merge pull request #101 from buggregator/improve/light-theme-colors
bugfixes for ligth theme
2 parents 08c06a3 + 059048c commit f9f1080

File tree

9 files changed

+20
-9
lines changed

9 files changed

+20
-9
lines changed

assets/mixins.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,7 @@
9595
transform: translate(24px, 0);
9696
}
9797
}
98+
99+
@mixin code-example {
100+
@apply text-white border bg-gray-800 p-2 border-gray-300 dark:border-gray-600;
101+
}

src/entities/ray/ui/ray-application-log/ray-application-log.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ defineProps<Props>();
1313
</template>
1414

1515
<style lang="scss" scoped>
16+
@import "assets/mixins";
17+
1618
.ray-application-log {
17-
@apply p-3 border border-gray-300 dark:border-gray-600 bg-gray-800 flex w-full overflow-auto;
19+
@include code-example();
20+
@apply flex w-full overflow-auto;
1821
}
1922
</style>

src/entities/sentry/ui/preview-card/preview-card.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ const exception: Ref<Exception> = computed(() =>
7777
}
7878
7979
.preview-card__text {
80-
@include text-muted;
81-
@apply text-sm break-all mb-3 p-3 dark:bg-gray-800 overflow-auto;
80+
@include code-example();
81+
@apply text-sm break-all mb-3 overflow-auto text-opacity-60;
8282
}
8383
8484
.preview-card__frames {

src/entities/sentry/ui/sentry-exception/sentry-exception-frame.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ const toggleOpen = () => {
132132
}
133133
134134
.sentry-exception-frame__body {
135-
@apply bg-gray-900 p-2 overflow-x-scroll;
135+
@include code-example();
136+
@apply overflow-x-scroll;
136137
}
137138
138139
.sentry-exception-frame__body-line {

src/screens/sentry/ui/sentry-page-app/sentry-page-app.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts" setup>
2-
import { SentryContextApp } from "~/src/entities/sentry/types";
2+
import type { SentryContextApp } from "~/src/entities/sentry/types";
33
import { TableBaseRow, TableBase, CodeSnippet } from "~/src/shared/ui";
44
55
type Props = {

src/screens/sentry/ui/sentry-page-breadcrumbs/sentry-page-breadcrumbs.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts" setup>
22
import moment from "moment";
3-
import { SentryBreadcrumb } from "~/src/entities/sentry/types";
3+
import type { SentryBreadcrumb } from "~/src/entities/sentry/types";
44
import { CodeSnippet } from "~/src/shared/ui";
55
66
type Props = {

src/screens/sentry/ui/sentry-page-device/sentry-page-device.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts" setup>
22
import moment from "moment";
3-
import { SentryDevice } from "~/src/entities/sentry/types";
3+
import type { SentryDevice } from "~/src/entities/sentry/types";
44
import { useFormats } from "~/src/shared/lib/formats";
55
import { TableBase, TableBaseRow, CodeSnippet } from "~/src/shared/ui";
66

src/screens/sentry/ui/sentry-page-request/sentry-page-request.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts" setup>
2-
import { SentryRequest } from "~/src/entities/sentry/types";
2+
import type { SentryRequest } from "~/src/entities/sentry/types";
33
import { TableBase, TableBaseRow } from "~/src/shared/ui";
44
55
type Props = {

src/shared/ui/value-dump/value-dump.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,14 @@ onMounted(() => {
5555
</template>
5656

5757
<style lang="scss" scoped>
58+
@import "assets/mixins";
59+
5860
.value-dump {
5961
display: block;
6062
}
6163
6264
.value-dump__html {
63-
@apply border-gray-300 dark:border-gray-600 divide-gray-300 dark:divide-gray-600 font-mono py-2 px-2 md:px-3 lg:px-4 border bg-gray-900 text-white break-all text-2xs sm:text-xs md:text-sm lg:text-base;
65+
@include code-example();
66+
@apply divide-gray-300 dark:divide-gray-600 font-mono md:px-3 lg:px-4 break-all text-2xs sm:text-xs md:text-sm lg:text-base;
6467
}
6568
</style>

0 commit comments

Comments
 (0)