Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Infima variables #3955

Closed
wibed opened this issue Dec 27, 2020 · 17 comments
Closed

Document Infima variables #3955

wibed opened this issue Dec 27, 2020 · 17 comments
Labels
closed: wontfix A fix will bring significant overhead, or is out of scope (for feature requests) documentation The issue is related to the documentation of Docusaurus

Comments

@wibed
Copy link

wibed commented Dec 27, 2020

📚 Documentation

there are infima variables, which are neither documented, nor in the global css file
Does the project follow theming guidelines? If so which are these?

example:
--ifm-font-color-base
defines the font color in relation to the theme, not to be found in the documentation nor in the global css file
yet used in default components.

EDIT:
after sorting few of these css variables, it quickly shows that there is not a clear guideline on how
these configurations relate to each other or the project in general.

  • naming and with it hierarchy
    which entry has the most prevalence?
    is it footer | background | color?
--ifm-color-primary
--ifm-background-color
--ifm-footer-background-color -> --ifm-background-color-footer

related issues:
#3522
#2961

Have you read the Contributing Guidelines on issues?

yes

@wibed wibed added documentation The issue is related to the documentation of Docusaurus status: needs triage This issue has not been triaged by maintainers labels Dec 27, 2020
@wibed

This comment has been minimized.

@wibed

This comment has been minimized.

@wibed
Copy link
Author

wibed commented Dec 27, 2020

updating the command to include numbers

find ./docusaurus -type f -exec grep -o '\-\-ifm\(\-[a-z0-9]*\)*' {} \; | sort -u

--ifm- //probably junk

I came up with this "order"

container/content

--ifm-container-width
--ifm-global-border-width
--ifm-global-radius
--ifm-global-spacing
--ifm-leading
--ifm-leading-desktop
--ifm-pre-line-height
--ifm-pre-padding
--ifm-spacing-horizontal
--ifm-transition-fast
--ifm-transition-timing-default
--ifm-z-index-fixed

color

base colors
--ifm-color-black
--ifm-color-white
primary
--ifm-color-primary
--ifm-color-primary-dark
--ifm-color-primary-darker
--ifm-color-primary-darkest
--ifm-color-primary-light
--ifm-color-primary-lighter
--ifm-color-primary-lightest
secondary
--ifm-color-secondary
--ifm-color-secondary-darkest
--ifm-color-secondary-lighter
background
--ifm-background-color
--ifm-background-surface-color
--ifm-button-background-color
--ifm-footer-background-color
content colors
--ifm-color-content
--ifm-color-content-inverse
--ifm-color-content-secondary
emphasis
--ifm-color-emphasis-100
--ifm-color-emphasis-200
--ifm-color-emphasis-400
--ifm-color-emphasis-600
--ifm-color-emphasis-900
tabs
--ifm-tabs-color-active
toc
--ifm-toc-border-color
--ifm-toc-link-color

font

color
--ifm-font-color-base
--ifm-font-color-base-inverse
--ifm-font-color-secondary
family
--ifm-font-family-base
--ifm-font-family-monospace
size
--ifm-font-size-base
--ifm-font-weight-bold
--ifm-h2-font-size
--ifm-h3-font-size
--ifm-code-font-size

navbar

--ifm-navbar-height
--ifm-navbar-padding-horizontal

RAW CONTENT

--ifm-background-color
--ifm-background-surface-color
--ifm-button-background-color
--ifm-code-font-size
--ifm-color-black
--ifm-color-content
--ifm-color-content-inverse
--ifm-color-content-secondary
--ifm-color-emphasis-100
--ifm-color-emphasis-200
--ifm-color-emphasis-400
--ifm-color-emphasis-600
--ifm-color-emphasis-900
--ifm-color-feedback-background
--ifm-color-primary
--ifm-color-primary-dark
--ifm-color-primary-darker
--ifm-color-primary-darkest
--ifm-color-primary-light
--ifm-color-primary-lighter
--ifm-color-primary-lightest
--ifm-color-secondary
--ifm-color-secondary-darkest
--ifm-color-secondary-lighter
--ifm-color-white
--ifm-container-width
--ifm-font-base-color
--ifm-font-base-color-inverse
--ifm-font-color-base
--ifm-font-color-base-inverse
--ifm-font-color-secondary
--ifm-font-family-base
--ifm-font-family-monospace
--ifm-font-size-base
--ifm-font-weight-bold
--ifm-footer-background-color
--ifm-global-border-width
--ifm-global-radius
--ifm-global-spacing
--ifm-h2-font-size
--ifm-h3-font-size
--ifm-leading
--ifm-leading-desktop
--ifm-navbar-height
--ifm-navbar-padding-horizontal
--ifm-pre-line-height
--ifm-pre-padding
--ifm-spacing-horizontal
--ifm-tabs-color-active
--ifm-toc-border-color
--ifm-toc-link-color
--ifm-transition-fast
--ifm-transition-timing-default
--ifm-z-index-fixed

@wibed wibed changed the title is there a collection of infima css variables used throughout the project? a common theming approach Dec 27, 2020
@wibed wibed changed the title a common theming approach theme guidelines Dec 27, 2020
@wibed wibed changed the title theme guidelines style guidelines Dec 30, 2020
@slorber
Copy link
Collaborator

slorber commented Dec 30, 2020

Hi @wibed

We should definitively improve our Infima docs.
Unfortunately, I'm not really able to answer all these questions right now, but maybe another contributor would.

Can you please open an issue on Infima repo, as it's now open-sourced?

https://github.com/facebookincubator/infima

@slorber slorber closed this as completed Dec 30, 2020
@wibed
Copy link
Author

wibed commented Jan 1, 2021

aware about the close relationships between infima and Docusaurus, I deem the poor documentation on infimas side a
whole different story.

this issue was meant to gather knowledge about all the variables used not the ones available.

@slorber slorber changed the title style guidelines Document Infima variables Jan 4, 2021
@PaulRBerg
Copy link
Contributor

I don't think the list of colors in @wibed's message from above is up-to-date anymore. There are other variables now, such as ifm-link-color, which are not there.

Beside looking at the source code, is there another way to find out all the overridable colors in Infima?

@Josh-Cena
Copy link
Collaborator

@PaulRBerg for now you can only look at source code or through browser DevTools. In fact I don't even think a lot of the non-global colors are stable.

@Josh-Cena Josh-Cena added closed: wontfix A fix will bring significant overhead, or is out of scope (for feature requests) and removed status: needs triage This issue has not been triaged by maintainers labels Mar 10, 2022
@dsousa12
Copy link

Any way to change this variables using sass?

@CMCDragonkai
Copy link

It is intended for the user to override these colours by creating a custom CSS file with something like:

:root {
  --ifm-color-primary: #02243e;
  --ifm-color-primary-light: #78effb;
  --ifm-code-font-size: 95%;
  --ifm-navbar-background-color: #02243e;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);

  --ifm-navbar-link-color: #fff;
  --ifm-navbar-link-hover-color: #fff;

  --ifm-footer-link-hover-color: #fff;
  --ifm-link-hover-decoration: none;

  --ifm-font-family-base: 'Open Sans', sans-serif;
}

If so, how does one know which variables to change and which are stable?

@slorber
Copy link
Collaborator

slorber commented Jan 4, 2023

It's hard for us to document and guarantee all these variables will remain stable, as well as it's hard to guarantee your custom CSS selectors will keep working forever. We need to be able to do changes.

Whatever is not documented can change someday, and whatever is documented can change in major releases.
If things change sometimes, it doesn't mean you can't use them.

@0ptim
Copy link

0ptim commented Jan 16, 2023

Chiming in here. In my opinion, this topic needs more clarity and I think it would be very beneficial to have a better plan on how to further customize Docusaurus websites. For now, it feels like I have to do quite a bit of reverse engineering whenever I want to adjust styling. Or maybe I'm just missing something?

@slorber
Copy link
Collaborator

slorber commented Jan 18, 2023

To be clear, we know it's a problem for users and acknowledge it. It doesn't mean we can do something in the short term, we are not a huge team and there are other priorities to work on.

In the meantime, please consider that all undocumented Infima CSS vars are implementation details. You can retro-engineer those to apply customizations, but it's your responsibility to do so. We can't document every single impl detail and make it a public API, otherwise we can't move fast anymore. S

imilarly, we don't publicly document all the DOM structures we use and all the classNames, and your custom CSS selectors can break unless we document them as stable.

@0ptim
Copy link

0ptim commented Jan 18, 2023

Thank you so much for the work you're doing. Am really loving Docusaurus and have used it already for 3 projects. 🚀

@RudraSen2
Copy link
Contributor

We should add the infima variables we know so far to https://docusaurus.community

@slorber
Copy link
Collaborator

slorber commented Jan 25, 2023

Not all env variables have to be documented. Some are internal implementation details. If your document them the doc might become stale over time and it's also confusing for users. Internal implementation details are hard to customize on purpose.

@TomPeirs
Copy link

TomPeirs commented Apr 25, 2023

I quickly fetched all infima declared variables from the Infima folder and same for Docusaurus Theme Classic. Here is the list (there are some duplicates I noticed)
Note that this is the default declaration, so you can override any of these variables in your css file as you like.

Infima

  • --ifm-color-scheme
  • --ifm-darker-value
  • --ifm-darkest-value
  • --ifm-light-value
  • --ifm-lighter-value
  • --ifm-lightest-value
  • --ifm-contrast-foreground-value
  • --ifm-contrast-foreground-dark-value
  • --ifm-color-primary
  • --ifm-color-secondary
  • --ifm-color-success
  • --ifm-color-info
  • --ifm-color-warning
  • --ifm-color-danger
  • --ifm-color-primary-dark
  • --ifm-color-primary-darker
  • --ifm-color-primary-darkest
  • --ifm-color-primary-light
  • --ifm-color-primary-lighter
  • --ifm-color-primary-lightest
  • --ifm-color-primary-contrast-background
  • --ifm-color-primary-contrast-foreground
  • --ifm-color-secondary-dark
  • --ifm-color-secondary-darker
  • --ifm-color-secondary-darkest
  • --ifm-color-secondary-light
  • --ifm-color-secondary-lighter
  • --ifm-color-secondary-lightest
  • --ifm-color-secondary-contrast-background
  • --ifm-color-secondary-contrast-foreground
  • --ifm-color-success-dark
  • --ifm-color-success-darker
  • --ifm-color-success-darkest
  • --ifm-color-success-light
  • --ifm-color-success-lighter
  • --ifm-color-success-lightest
  • --ifm-color-success-contrast-background
  • --ifm-color-success-contrast-foreground
  • --ifm-color-info-dark
  • --ifm-color-info-darker
  • --ifm-color-info-darkest
  • --ifm-color-info-light
  • --ifm-color-info-lighter
  • --ifm-color-info-lightest
  • --ifm-color-info-contrast-background
  • --ifm-color-info-contrast-foreground
  • --ifm-color-warning-dark
  • --ifm-color-warning-darker
  • --ifm-color-warning-darkest
  • --ifm-color-warning-light
  • --ifm-color-warning-lighter
  • --ifm-color-warning-lightest
  • --ifm-color-warning-contrast-background
  • --ifm-color-warning-contrast-foreground
  • --ifm-color-danger-dark
  • --ifm-color-danger-darker
  • --ifm-color-danger-darkest
  • --ifm-color-danger-light
  • --ifm-color-danger-lighter
  • --ifm-color-danger-lightest
  • --ifm-color-danger-contrast-background
  • --ifm-color-danger-contrast-foreground
  • --ifm-color-white
  • --ifm-color-black
  • --ifm-color-gray-0
  • --ifm-color-gray-100
  • --ifm-color-gray-200
  • --ifm-color-gray-300
  • --ifm-color-gray-400
  • --ifm-color-gray-500
  • --ifm-color-gray-600
  • --ifm-color-gray-700
  • --ifm-color-gray-800
  • --ifm-color-gray-900
  • --ifm-color-gray-1000
  • --ifm-color-emphasis-0
  • --ifm-color-emphasis-100
  • --ifm-color-emphasis-200
  • --ifm-color-emphasis-300
  • --ifm-color-emphasis-400
  • --ifm-color-emphasis-500
  • --ifm-color-emphasis-600
  • --ifm-color-emphasis-700
  • --ifm-color-emphasis-800
  • --ifm-color-emphasis-900
  • --ifm-color-emphasis-1000
  • --ifm-color-content-inverse
  • --ifm-color-content-secondary
  • --ifm-background-color
  • --ifm-global-border-width
  • --ifm-global-radius
  • --ifm-hover-overlay
  • --ifm-font-color-base-inverse
  • --ifm-font-color-secondary
  • --ifm-font-family-base
  • --ifm-font-family-monospace
  • --ifm-font-size-base
  • --ifm-font-weight-light
  • --ifm-font-weight-normal
  • --ifm-font-weight-semibold
  • --ifm-font-weight-bold
  • --ifm-font-weight-base
  • --ifm-line-height-base
  • --ifm-spacing-vertical
  • --ifm-spacing-horizontal
  • --ifm-transition-slow
  • --ifm-transition-timing-default
  • --ifm-global-shadow-md
  • --ifm-global-shadow-tl
  • --ifm-z-index-fixed
  • --ifm-z-index-overlay
  • --ifm-container-width
  • --ifm-container-width-xl
  • --ifm-code-background
  • --ifm-code-border-radius
  • --ifm-code-font-size
  • --ifm-code-padding-horizontal
  • --ifm-code-padding-vertical
  • --ifm-pre-background
  • --ifm-pre-border-radius
  • --ifm-pre-color
  • --ifm-pre-line-height
  • --ifm-pre-padding
  • --ifm-heading-color
  • --ifm-heading-margin-top
  • --ifm-heading-margin-bottom
  • --ifm-heading-font-family
  • --ifm-heading-font-weight
  • --ifm-heading-line-height
  • --ifm-h1-font-size
  • --ifm-h2-font-size
  • --ifm-h3-font-size
  • --ifm-h4-font-size
  • --ifm-h5-font-size
  • --ifm-h6-font-size
  • --ifm-image-alignment-padding
  • --ifm-leading
  • --ifm-list-left-padding
  • --ifm-list-margin
  • --ifm-list-item-margin
  • --ifm-list-paragraph-margin
  • --ifm-table-cell-padding
  • --ifm-table-background
  • --ifm-table-stripe-background
  • --ifm-table-border-width
  • --ifm-table-border-color
  • --ifm-table-head-background
  • --ifm-table-head-color
  • --ifm-table-head-font-weight
  • --ifm-table-cell-color
  • --ifm-link-decoration
  • --ifm-link-hover-color
  • --ifm-link-hover-decoration
  • --ifm-blockquote-border-left-width
  • --ifm-blockquote-padding-horizontal
  • --ifm-blockquote-padding-vertical
  • --ifm-blockquote-shadow
  • --ifm-blockquote-color
  • --ifm-blockquote-border-color
  • --ifm-hr-height
  • --ifm-hr-margin-vertical
  • --ifm-scrollbar-size
  • --ifm-scrollbar-track-background-color
  • --ifm-scrollbar-thumb-background-color
  • --ifm-scrollbar-thumb-hover-background-color
  • --ifm-alert-background-color
  • --ifm-alert-border-width
  • --ifm-alert-color
  • --ifm-alert-padding-horizontal
  • --ifm-alert-padding-vertical
  • --ifm-alert-shadow
  • --ifm-avatar-intro-margin
  • --ifm-avatar-intro-alignment
  • --ifm-avatar-photo-size
  • --ifm-badge-background-color
  • --ifm-badge-border-width
  • --ifm-badge-color
  • --ifm-badge-padding-horizontal
  • --ifm-badge-padding-vertical
  • --ifm-breadcrumb-border-radius
  • --ifm-breadcrumb-spacing
  • --ifm-breadcrumb-color-active
  • --ifm-breadcrumb-item-background-active
  • --ifm-breadcrumb-padding-horizontal
  • --ifm-breadcrumb-padding-vertical
  • --ifm-breadcrumb-size-multiplier
  • --ifm-breadcrumb-separator
  • --ifm-breadcrumb-separator-filter
  • --ifm-breadcrumb-separator-size
  • --ifm-breadcrumb-separator-size-multiplier
  • --ifm-button-background-color
  • --ifm-button-border-color
  • --ifm-button-border-width
  • --ifm-button-color
  • --ifm-button-font-weight
  • --ifm-button-padding-horizontal
  • --ifm-button-padding-vertical
  • --ifm-button-size-multiplier
  • --ifm-button-transition-duration
  • --ifm-button-border-radius
  • --ifm-button-group-spacing
  • --ifm-card-background-color
  • --ifm-card-border-radius
  • --ifm-card-horizontal-spacing
  • --ifm-card-vertical-spacing
  • --ifm-toc-border-color
  • --ifm-toc-link-color
  • --ifm-toc-padding-vertical
  • --ifm-toc-padding-horizontal
  • --ifm-dropdown-background-color
  • --ifm-dropdown-font-weight
  • --ifm-dropdown-link-color
  • --ifm-dropdown-hover-background-color
  • --ifm-footer-background-color
  • --ifm-footer-color
  • --ifm-footer-link-color
  • --ifm-footer-link-hover-color
  • --ifm-footer-link-horizontal-spacing
  • --ifm-footer-padding-horizontal
  • --ifm-footer-padding-vertical
  • --ifm-footer-title-color
  • --ifm-footer-logo-max-width
  • --ifm-hero-background-color
  • --ifm-hero-text-color
  • --ifm-menu-color
  • --ifm-menu-color-active
  • --ifm-menu-color-background-active
  • --ifm-menu-color-background-hover
  • --ifm-menu-link-padding-horizontal
  • --ifm-menu-link-padding-vertical
  • --ifm-menu-link-sublist-icon
  • --ifm-menu-link-sublist-icon-filter
  • --ifm-navbar-background-color
  • --ifm-navbar-height
  • --ifm-navbar-item-padding-horizontal
  • --ifm-navbar-item-padding-vertical
  • --ifm-navbar-link-color
  • --ifm-navbar-link-hover-color
  • --ifm-navbar-link-active-color
  • --ifm-navbar-padding-horizontal
  • --ifm-navbar-padding-vertical
  • --ifm-navbar-shadow
  • --ifm-navbar-search-input-background-color
  • --ifm-navbar-search-input-color
  • --ifm-navbar-search-input-placeholder-color
  • --ifm-navbar-search-input-icon
  • --ifm-navbar-sidebar-width
  • --ifm-pagination-border-radius
  • --ifm-pagination-color-active
  • --ifm-pagination-font-size
  • --ifm-pagination-item-active-background
  • --ifm-pagination-page-spacing
  • --ifm-pagination-padding-horizontal
  • --ifm-pagination-padding-vertical
  • --ifm-pagination-nav-border-radius
  • --ifm-pagination-nav-color-hover
  • --ifm-pills-color-active
  • --ifm-pills-color-background-active
  • --ifm-pills-spacing
  • --ifm-tabs-color
  • --ifm-tabs-color-active
  • --ifm-tabs-color-active-border
  • --ifm-tabs-padding-horizontal
  • --ifm-tabs-padding-vertical
  • --ifm-color-scheme
  • --ifm-dark-value
  • --ifm-darker-value
  • --ifm-darkest-value
  • --ifm-light-value
  • --ifm-lighter-value
  • --ifm-lightest-value
  • --ifm-contrast-background-value
  • --ifm-contrast-foreground-value
  • --ifm-contrast-background-dark-value
  • --ifm-contrast-foreground-dark-value
  • --ifm-color-primary
  • --ifm-color-secondary
  • --ifm-color-success
  • --ifm-color-info
  • --ifm-color-warning
  • --ifm-color-danger
  • --ifm-color-primary-dark
  • --ifm-color-primary-darker
  • --ifm-color-primary-darkest
  • --ifm-color-primary-light
  • --ifm-color-primary-lighter
  • --ifm-color-primary-lightest
  • --ifm-color-primary-contrast-background
  • --ifm-color-primary-contrast-foreground
  • --ifm-color-secondary-dark
  • --ifm-color-secondary-darker
  • --ifm-color-secondary-darkest
  • --ifm-color-secondary-light
  • --ifm-color-secondary-lighter
  • --ifm-color-secondary-lightest
  • --ifm-color-secondary-contrast-background
  • --ifm-color-secondary-contrast-foreground
  • --ifm-color-success-dark
  • --ifm-color-success-darker
  • --ifm-color-success-darkest
  • --ifm-color-success-light
  • --ifm-color-success-lighter
  • --ifm-color-success-lightest
  • --ifm-color-success-contrast-background
  • --ifm-color-success-contrast-foreground
  • --ifm-color-info-dark
  • --ifm-color-info-darker
  • --ifm-color-info-darkest
  • --ifm-color-info-light
  • --ifm-color-info-lighter
  • --ifm-color-info-lightest
  • --ifm-color-info-contrast-background
  • --ifm-color-info-contrast-foreground
  • --ifm-color-warning-dark
  • --ifm-color-warning-darker
  • --ifm-color-warning-darkest
  • --ifm-color-warning-light
  • --ifm-color-warning-lighter
  • --ifm-color-warning-lightest
  • --ifm-color-warning-contrast-background
  • --ifm-color-warning-contrast-foreground
  • --ifm-color-danger-dark
  • --ifm-color-danger-darker
  • --ifm-color-danger-darkest
  • --ifm-color-danger-light
  • --ifm-color-danger-lighter
  • --ifm-color-danger-lightest
  • --ifm-color-danger-contrast-background
  • --ifm-color-danger-contrast-foreground
  • --ifm-color-white
  • --ifm-color-black
  • --ifm-color-gray-0
  • --ifm-color-gray-100
  • --ifm-color-gray-200
  • --ifm-color-gray-300
  • --ifm-color-gray-400
  • --ifm-color-gray-500
  • --ifm-color-gray-600
  • --ifm-color-gray-700
  • --ifm-color-gray-800
  • --ifm-color-gray-900
  • --ifm-color-gray-1000
  • --ifm-color-emphasis-0
  • --ifm-color-emphasis-100
  • --ifm-color-emphasis-200
  • --ifm-color-emphasis-300
  • --ifm-color-emphasis-400
  • --ifm-color-emphasis-500
  • --ifm-color-emphasis-600
  • --ifm-color-emphasis-700
  • --ifm-color-emphasis-800
  • --ifm-color-emphasis-900
  • --ifm-color-emphasis-1000
  • --ifm-color-content
  • --ifm-color-content-inverse
  • --ifm-color-content-secondary
  • --ifm-background-color
  • --ifm-background-surface-color
  • --ifm-global-border-width
  • --ifm-global-radius
  • --ifm-hover-overlay
  • --ifm-font-color-base
  • --ifm-font-color-base-inverse
  • --ifm-font-color-secondary
  • --ifm-font-family-base
  • --ifm-font-family-monospace
  • --ifm-font-size-base
  • --ifm-font-weight-light
  • --ifm-font-weight-normal
  • --ifm-font-weight-semibold
  • --ifm-font-weight-bold
  • --ifm-font-weight-base
  • --ifm-line-height-base
  • --ifm-global-spacing
  • --ifm-spacing-vertical
  • --ifm-spacing-horizontal
  • --ifm-transition-fast
  • --ifm-transition-slow
  • --ifm-transition-timing-default
  • --ifm-global-shadow-lw
  • --ifm-global-shadow-md
  • --ifm-global-shadow-tl
  • --ifm-z-index-dropdown
  • --ifm-z-index-fixed
  • --ifm-z-index-overlay
  • --ifm-container-width
  • --ifm-container-width-xl
  • --ifm-code-background
  • --ifm-code-border-radius
  • --ifm-code-font-size
  • --ifm-code-padding-horizontal
  • --ifm-code-padding-vertical
  • --ifm-pre-background
  • --ifm-pre-border-radius
  • --ifm-pre-color
  • --ifm-pre-line-height
  • --ifm-pre-padding
  • --ifm-heading-color
  • --ifm-heading-margin-top
  • --ifm-heading-margin-bottom
  • --ifm-heading-font-family
  • --ifm-heading-font-weight
  • --ifm-heading-line-height
  • --ifm-h1-font-size
  • --ifm-h2-font-size
  • --ifm-h3-font-size
  • --ifm-h4-font-size
  • --ifm-h5-font-size
  • --ifm-h6-font-size
  • --ifm-image-alignment-padding
  • --ifm-leading-desktop
  • --ifm-leading
  • --ifm-list-left-padding
  • --ifm-list-margin
  • --ifm-list-item-margin
  • --ifm-list-paragraph-margin
  • --ifm-table-cell-padding
  • --ifm-table-background
  • --ifm-table-stripe-background
  • --ifm-table-border-width
  • --ifm-table-border-color
  • --ifm-table-head-background
  • --ifm-table-head-color
  • --ifm-table-head-font-weight
  • --ifm-table-cell-color
  • --ifm-link-color
  • --ifm-link-decoration
  • --ifm-link-hover-color
  • --ifm-link-hover-decoration
  • --ifm-paragraph-margin-bottom
  • --ifm-blockquote-font-size
  • --ifm-blockquote-border-left-width
  • --ifm-blockquote-padding-horizontal
  • --ifm-blockquote-padding-vertical
  • --ifm-blockquote-shadow
  • --ifm-blockquote-color
  • --ifm-blockquote-border-color
  • --ifm-hr-background-color
  • --ifm-hr-height
  • --ifm-hr-margin-vertical
  • --ifm-scrollbar-size
  • --ifm-scrollbar-track-background-color
  • --ifm-scrollbar-thumb-background-color
  • --ifm-scrollbar-thumb-hover-background-color
  • --ifm-alert-background-color
  • --ifm-alert-border-color
  • --ifm-alert-border-radius
  • --ifm-alert-border-width
  • --ifm-alert-border-left-width
  • --ifm-alert-color
  • --ifm-alert-padding-horizontal
  • --ifm-alert-padding-vertical
  • --ifm-alert-shadow
  • --ifm-avatar-intro-margin
  • --ifm-avatar-intro-alignment
  • --ifm-avatar-photo-size
  • --ifm-badge-background-color
  • --ifm-badge-border-color
  • --ifm-badge-border-radius
  • --ifm-badge-border-width
  • --ifm-badge-color
  • --ifm-badge-padding-horizontal
  • --ifm-badge-padding-vertical
  • --ifm-breadcrumb-border-radius
  • --ifm-breadcrumb-spacing
  • --ifm-breadcrumb-color-active
  • --ifm-breadcrumb-item-background-active
  • --ifm-breadcrumb-padding-horizontal
  • --ifm-breadcrumb-padding-vertical
  • --ifm-breadcrumb-size-multiplier
  • --ifm-breadcrumb-separator
  • --ifm-breadcrumb-separator-filter
  • --ifm-breadcrumb-separator-size
  • --ifm-breadcrumb-separator-size-multiplier
  • --ifm-button-background-color
  • --ifm-button-border-color
  • --ifm-button-border-width
  • --ifm-button-color
  • --ifm-button-font-weight
  • --ifm-button-padding-horizontal
  • --ifm-button-padding-vertical
  • --ifm-button-size-multiplier
  • --ifm-button-transition-duration
  • --ifm-button-border-radius
  • --ifm-button-group-spacing
  • --ifm-card-background-color
  • --ifm-card-border-radius
  • --ifm-card-horizontal-spacing
  • --ifm-card-vertical-spacing
  • --ifm-toc-border-color
  • --ifm-toc-link-color
  • --ifm-toc-padding-vertical
  • --ifm-toc-padding-horizontal
  • --ifm-dropdown-background-color
  • --ifm-dropdown-font-weight
  • --ifm-dropdown-link-color
  • --ifm-dropdown-hover-background-color
  • --ifm-footer-background-color
  • --ifm-footer-color
  • --ifm-footer-link-color
  • --ifm-footer-link-hover-color
  • --ifm-footer-link-horizontal-spacing
  • --ifm-footer-padding-horizontal
  • --ifm-footer-padding-vertical
  • --ifm-footer-title-color
  • --ifm-footer-logo-max-width
  • --ifm-hero-background-color
  • --ifm-hero-text-color
  • --ifm-menu-color
  • --ifm-menu-color-active
  • --ifm-menu-color-background-active
  • --ifm-menu-color-background-hover
  • --ifm-menu-link-padding-horizontal
  • --ifm-menu-link-padding-vertical
  • --ifm-menu-link-sublist-icon
  • --ifm-menu-link-sublist-icon-filter
  • --ifm-navbar-background-color
  • --ifm-navbar-height
  • --ifm-navbar-item-padding-horizontal
  • --ifm-navbar-item-padding-vertical
  • --ifm-navbar-link-color
  • --ifm-navbar-link-hover-color
  • --ifm-navbar-link-active-color
  • --ifm-navbar-padding-horizontal
  • --ifm-navbar-padding-vertical
  • --ifm-navbar-shadow
  • --ifm-navbar-search-input-background-color
  • --ifm-navbar-search-input-color
  • --ifm-navbar-search-input-placeholder-color
  • --ifm-navbar-search-input-icon
  • --ifm-navbar-sidebar-width
  • --ifm-pagination-border-radius
  • --ifm-pagination-color-active
  • --ifm-pagination-font-size
  • --ifm-pagination-item-active-background
  • --ifm-pagination-page-spacing
  • --ifm-pagination-padding-horizontal
  • --ifm-pagination-padding-vertical
  • --ifm-pagination-nav-border-radius
  • --ifm-pagination-nav-color-hover
  • --ifm-pills-color-active
  • --ifm-pills-color-background-active
  • --ifm-pills-spacing
  • --ifm-tabs-color
  • --ifm-tabs-color-active
  • --ifm-tabs-color-active-border
  • --ifm-tabs-padding-horizontal
  • --ifm-tabs-padding-vertical
  • --ifm-h2-vertical-rhythm-top
  • --ifm-h3-vertical-rhythm-top
  • --ifm-heading-vertical-rhythm-top
  • --ifm-h1-vertical-rhythm-bottom
  • --ifm-heading-vertical-rhythm-bottom
  • --ifm-alert-background-color-highlight
  • --ifm-alert-foreground-color
  • --ifm-alert-border-color
  • --ifm-alert-background-color-highlight
  • --ifm-alert-foreground-color
  • --ifm-alert-border-color
  • --ifm-alert-background-color-highlight
  • --ifm-alert-foreground-color
  • --ifm-alert-border-color
  • --ifm-alert-background-color-highlight
  • --ifm-alert-foreground-color
  • --ifm-alert-border-color
  • --ifm-alert-background-color-highlight
  • --ifm-alert-foreground-color
  • --ifm-alert-border-color
  • --ifm-alert-background-color-highlight
  • --ifm-alert-foreground-color
  • --ifm-alert-border-color
  • --ifm-link-color
  • --ifm-link-hover-color
  • --ifm-link-decoration
  • --ifm-tabs-color
  • --ifm-tabs-color-active
  • --ifm-tabs-color-active-border
  • --ifm-avatar-intro-margin
  • --ifm-badge-border-color
  • --ifm-badge-border-color
  • --ifm-badge-border-color
  • --ifm-badge-border-color
  • --ifm-badge-border-color
  • --ifm-badge-border-color
  • --ifm-button-color
  • --ifm-button-border-color
  • --ifm-button-border-color
  • --ifm-button-border-color
  • --ifm-button-border-color
  • --ifm-button-border-color
  • --ifm-button-border-color
  • --ifm-button-border-color
  • --ifm-button-border-color
  • --ifm-button-border-color
  • --ifm-button-border-color
  • --ifm-button-border-color
  • --ifm-button-border-color
  • --ifm-button-border-color
  • --ifm-button-border-color
  • --ifm-button-border-color
  • --ifm-button-border-color
  • --ifm-button-border-color
  • --ifm-button-border-color
  • --ifm-button-border-color
  • --ifm-footer-color
  • --ifm-footer-link-color
  • --ifm-footer-title-color
  • --ifm-hero-text-color
  • --ifm-hero-text-color
  • --ifm-navbar-link-color
  • --ifm-navbar-search-input-background-color
  • --ifm-navbar-search-input-placeholder-color
  • --ifm-menu-color-background-active
  • --ifm-navbar-search-input-color
  • --ifm-navbar-link-hover-color
  • --ifm-menu-color-active
  • --ifm-navbar-search-input-color
  • --ifm-pagination-padding-horizontal
  • --ifm-pagination-padding-vertical
  • --ifm-pagination-padding-horizontal
  • --ifm-pagination-padding-vertical
  • --ifm-color-emphasis-0
  • --ifm-color-emphasis-100
  • --ifm-color-emphasis-200
  • --ifm-color-emphasis-300
  • --ifm-color-emphasis-400
  • --ifm-color-emphasis-600
  • --ifm-color-emphasis-700
  • --ifm-color-emphasis-800
  • --ifm-color-emphasis-900
  • --ifm-color-emphasis-1000
  • --ifm-background-color
  • --ifm-background-surface-color
  • --ifm-hover-overlay
  • --ifm-color-content
  • --ifm-color-content-secondary
  • --ifm-breadcrumb-separator-filter
  • --ifm-code-background
  • --ifm-scrollbar-track-background-color
  • --ifm-scrollbar-thumb-background-color
  • --ifm-scrollbar-thumb-hover-background-color
  • --ifm-table-stripe-background
  • --ifm-toc-border-color
  • --ifm-color-primary-contrast-background
  • --ifm-color-primary-contrast-foreground
  • --ifm-color-secondary-contrast-background
  • --ifm-color-secondary-contrast-foreground
  • --ifm-color-success-contrast-background
  • --ifm-color-success-contrast-foreground
  • --ifm-color-info-contrast-background
  • --ifm-color-info-contrast-foreground
  • --ifm-color-warning-contrast-background
  • --ifm-color-warning-contrast-foreground
  • --ifm-color-danger-contrast-background
  • --ifm-color-danger-contrast-foreground
  • --ifm-transition-slow

Docusaurus

  • --docusaurus-announcement-bar-height
  • --docusaurus-details-decoration-color
  • --docusaurus-details-transition
  • --docusaurus-tag-list-border
  • --docusaurus-tag-list-border

@wibed
Copy link
Author

wibed commented Apr 25, 2023

Not all env variables have to be documented. Some are internal implementation details. If your document them the doc might become stale over time and it's also confusing for users. Internal implementation details are hard to customize on purpose.

it might not be practical to document static values.
but maybe a command to fetch them easily could be useful.

LayZeeDK added a commit to ngworker/ngworker that referenced this issue Jul 16, 2023
LayZeeDK added a commit to ngworker/ngworker that referenced this issue Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: wontfix A fix will bring significant overhead, or is out of scope (for feature requests) documentation The issue is related to the documentation of Docusaurus
Projects
None yet
Development

No branches or pull requests

9 participants