Skip to content

Commit

Permalink
fix: coloring
Browse files Browse the repository at this point in the history
  • Loading branch information
Huy-DNA committed Sep 7, 2024
1 parent 91b9da1 commit a13bbfa
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/dbml-playground/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Header from './components/Header/Header.vue'

<template>
<Header />
<main class='w-full h-full'>
<main class='w-full h-full bg-[#eeeeee]'>
<RouterView class='w-full h-full'/>
</main>
</template>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<pane max-size='30' min-size='30' size='30'>
<slot>
<section class='h-full overflow-auto border rounded border-gray-300 flex flex-col p-2'>
<section class='h-full bg-white overflow-auto border rounded border-gray-300 flex flex-col p-2'>
</section>
</slot>
</pane>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<template>
<pane min-size='30' max-size='30' size='30'>
<slot>
<section class='h-full overflow-auto border rounded border-gray-300 flex flex-col p-4 text-sm'>
<section class='h-full bg-white overflow-auto border rounded border-gray-300 flex flex-col p-4 text-sm'>
<ul v-if='errors.length' class='list-none'>
<li v-for='error in errors' :key='error'>
<p class='font-light flex gap-2 items-center'>
<p class='flex gap-2 items-center'>
<FontAwesomeIcon :icon='faExclamationCircle' class='text-red-500' />
{{ error }}
</p>
</li>
</ul>

<p v-else class='font-light flex gap-2 items-center'>
<p v-else class='flex gap-2 items-center'>
<FontAwesomeIcon :icon='faCheckCircle' class='text-green-400' />
<span>No errors.</span>
</p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<pane min-size='25' max-size='25' size='25'>
<slot>
<section class='h-full overflow-auto border rounded border-gray-300 flex flex-col p-2'>
<section class='h-full bg-white overflow-auto border rounded border-gray-300 flex flex-col p-2'>
</section>
</slot>
</pane>
Expand Down
1 change: 1 addition & 0 deletions packages/dbml-playground/src/pages/PlaygroundPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

<style>
div.splitpanes__splitter {
background-color: #eeeeee !important;
&::before {
background-color: #1e1e1e !important;
}
Expand Down

0 comments on commit a13bbfa

Please sign in to comment.