@kestra-io/ui-libs 0.0.66 → 0.0.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kestra-io/ui-libs",
3
- "version": "0.0.66",
3
+ "version": "0.0.68",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src",
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="container table-responsive">
3
- <table class="table table-dark">
3
+ <table class="table">
4
4
  <slot />
5
5
  </table>
6
6
  </div>
@@ -25,9 +25,9 @@
25
25
  line-height: 1.25rem;
26
26
  padding: calc($spacer * 0.5) $spacer $spacer;
27
27
  background-color: transparent;
28
- border-bottom: 4px solid #8B8B8D !important;
28
+ border-bottom: 4px solid var(--bs-border-color) !important;
29
29
  border-top: none;
30
- color: $white;
30
+ color: var(--bs-body-color);
31
31
  }
32
32
  }
33
33
 
@@ -37,14 +37,8 @@
37
37
  font-size: $font-size-sm;
38
38
  padding: calc($spacer * 1.5) $spacer $spacer !important;
39
39
  font-weight: 400;
40
- color: $white;
40
+ color: var(--bs-body-color);
41
41
  }
42
42
  }
43
43
  }
44
-
45
- .table-dark {
46
- --bs-table-bg: $black-2 !important;
47
- color: transparent !important;
48
- outline: none !important;
49
- }
50
44
  </style>
@@ -1,4 +1,5 @@
1
1
  import {createMarkdownParser, createShikiHighlighter, rehypeHighlight,} from "@nuxtjs/mdc/runtime";
2
+ import GithubLight from "shiki/themes/github-light.mjs";
2
3
  import GithubDark from "shiki/themes/github-dark.mjs";
3
4
  import Bash from "shiki/langs/bash.mjs";
4
5
  import C from "shiki/langs/c.mjs";
@@ -82,13 +83,12 @@ export default function useMarkdownParser() {
82
83
  highlight: {
83
84
  instance: rehypeHighlight,
84
85
  options: {
85
- // Pass in your desired theme(s)
86
- theme: "github-dark",
86
+ theme: {
87
+ dark: GithubDark,
88
+ light: GithubLight
89
+ },
87
90
  // Create the Shiki highlighter
88
91
  highlighter: createShikiHighlighter({
89
- bundledThemes: {
90
- "github-dark": GithubDark,
91
- },
92
92
  // Configure the bundled languages
93
93
  bundledLangs: langsMap,
94
94
  }),