mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 17:06:01 +00:00
JSON UI
This commit is contained in:
19
packages/web/src/jsonui/JsonUiHighlight.svelte
Normal file
19
packages/web/src/jsonui/JsonUiHighlight.svelte
Normal file
@@ -0,0 +1,19 @@
|
||||
<script lang="ts">
|
||||
export let text: string;
|
||||
export let colorClass: string = 'premium-gradient';
|
||||
</script>
|
||||
|
||||
<div class="highlight {colorClass}">
|
||||
{text}
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.highlight {
|
||||
text-align: center;
|
||||
margin: 10px;
|
||||
font-size: large;
|
||||
font-weight: bold;
|
||||
border: 1px solid;
|
||||
padding: 5px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user