Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ee154b6

Browse files
committedMar 5, 2025·
web: Fix issues surrounding markdown rendering.
- Fix issue where Mermaid diagrams do not render. - Fix link colors in dark mode. - Fix anchored links triggering router. - Fix issue where links occasionally link to missing page.
1 parent 7f474cd commit ee154b6

26 files changed

+7269
-2451
lines changed
 

‎package-lock.json

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎web/.storybook/main.ts

+5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const importInlinePatterns = [
1313
'import AKGlobal from "@goauthentik/common/styles/authentik\\.css',
1414
'import PF.+ from "@patternfly/patternfly/\\S+\\.css',
1515
'import ThemeDark from "@goauthentik/common/styles/theme-dark\\.css',
16+
'import OneDark from "@goauthentik/common/styles/one-dark\\.css',
1617
'import styles from "\\./LibraryPageImpl\\.css',
1718
];
1819

@@ -39,6 +40,10 @@ const config: StorybookConfig = {
3940
from: "../src/common/styles/theme-dark.css",
4041
to: "@goauthentik/common/styles/theme-dark.css",
4142
},
43+
{
44+
from: "../src/common/styles/one-dark.css",
45+
to: "@goauthentik/common/styles/one-dark.css",
46+
},
4247
],
4348
framework: {
4449
name: "@storybook/web-components-vite",

‎web/eslint.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default [
7171
...globals.node,
7272
},
7373
},
74-
files: ["scripts/*.mjs", "*.ts", "*.mjs"],
74+
files: ["scripts/**/*.mjs", "*.ts", "*.mjs"],
7575
rules: {
7676
"no-unused-vars": "off",
7777
// We WANT our scripts to output to the console!

0 commit comments

Comments
 (0)
Please sign in to comment.