diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 83738fbc2b..9752d725dc 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -5,7 +5,7 @@ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender -identity and expression, level of experience, education, socio-economic status, +identity and expression, level of experience, education, socioeconomic status, nationality, personal appearance, race, religion, or sexual identity and orientation. diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index 06b2905c8f..16d8f6bec9 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -103,8 +103,7 @@ const createConfig = (): Config => { docs: { id: "docs", sidebarPath: "./sidebars.js", - showLastUpdateTime: - process.env.GIT_UNAVAILABLE != "true", + showLastUpdateTime: false, editUrl: "https://github.com/goauthentik/authentik/edit/main/website/", docItemComponent: "@theme/ApiItem", diff --git a/website/src/theme/EditMetaRow/styles.module.css b/website/src/theme/EditMetaRow/styles.module.css index e9321d7b00..d83c7a4b06 100644 --- a/website/src/theme/EditMetaRow/styles.module.css +++ b/website/src/theme/EditMetaRow/styles.module.css @@ -24,9 +24,17 @@ padding-bottom: 8px; } +html { + --edit-this-page-background: var(--ifm-color-secondary-lighter); +} + +html[data-theme="dark"] { + --edit-this-page-background: var(--ifm-color-secondary-contrast-background); +} + .admonitionContrib { --ifm-h5-font-size: 1rem; - --ifm-alert-background-color: var(--ifm-color-secondary-lighter); + --ifm-alert-background-color: var(--edit-this-page-background); display: block; border-left-style: none;