mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
Move markdown css import so it doesn't affect Storybook (#1465)
This commit is contained in:
parent
f7875bc4f0
commit
9ab7b25aa1
@ -32,7 +32,6 @@ const config: StorybookConfig = {
|
|||||||
const { tsImport } = await import("tsx/esm/api");
|
const { tsImport } = await import("tsx/esm/api");
|
||||||
const electronViteConfig = (await tsImport("../electron.vite.config.ts", import.meta.url))
|
const electronViteConfig = (await tsImport("../electron.vite.config.ts", import.meta.url))
|
||||||
.default as ElectronViteConfig;
|
.default as ElectronViteConfig;
|
||||||
config.base = "/storybook/";
|
|
||||||
const mergedConfig = mergeConfig(config, electronViteConfig.renderer as UserConfig);
|
const mergedConfig = mergeConfig(config, electronViteConfig.renderer as UserConfig);
|
||||||
mergedConfig.build.outDir = "storybook-static";
|
mergedConfig.build.outDir = "storybook-static";
|
||||||
return mergedConfig;
|
return mergedConfig;
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
// Copyright 2024, Command Line Inc.
|
// Copyright 2024, Command Line Inc.
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
@import url("../../../node_modules/highlight.js/styles/github-dark-dimmed.min.css");
|
||||||
|
|
||||||
.markdown {
|
.markdown {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
// Used for syntax highlighting in markdown
|
// Used for syntax highlighting in markdown
|
||||||
@import url("../../node_modules/highlight.js/styles/github-dark-dimmed.min.css");
|
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--main-text-color: #f7f7f7;
|
--main-text-color: #f7f7f7;
|
||||||
|
Loading…
Reference in New Issue
Block a user