Skip to content

Commit

Permalink
[fix](docs): fix wrong background color in MinorHeading
Browse files Browse the repository at this point in the history
  • Loading branch information
BeeMargarida committed Jun 1, 2023
1 parent 14f1438 commit 7a72e07
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions apps/docs/src/lib/components/MinorHeading.svelte
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
<script lang="ts">
export let title = 'Title';
export let date: String;
// @ts-ignore
// import { current_page } from '@svelte-docs/get/routes';
import { Stack, Text, Group, Center } from '@svelteuidev/core';
import { colorScheme, Stack, Text, Group, Center } from '@svelteuidev/core';
import { Calendar } from 'radix-icons-svelte';
</script>

<Stack
override={{
// bc: 'rgba(115, 176, 230, 0.2)',
bc: 'rgba(24, 100, 171, 0.45)',
backgroundColor: $colorScheme === 'light' ? "$blue100" : "$dark800",
padding: '$8',
borderRadius: "0.5rem"
borderRadius: "0.5rem"
}}
>
<Stack override={{ h1: { mb: 0 } }} spacing="xs">
Expand Down

0 comments on commit 7a72e07

Please sign in to comment.