You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The configuration parameter color_scheme can be set to light or dark. It can also be set to a custom scheme, which may override theme variables to change spacing (e.g., wider main content), etc. To combine dark with such a custom scheme, however, it is necessary to define that combination as a new custom scheme. With a larger collection of custom schemes, naming and defining all their possible combinations would be impractical.
Describe the solution you'd like
Introduce a new configuration parameter custom_schemes that can be set to a list of custom scheme names. The listed custom schemes are loaded after the selected color_scheme, in the listed order. The custom schemes are to be defined a new _sass/custom_schemes/folder.
Describe alternatives you've considered
The list of custom schemes could be encoded as a string, and set as a single color_scheme parameter, e.g.:
color_scheme: "dark, wider, left-align"
But that does not seem to have any significant advantages over the proposed use of a YAML list/array. Moreover, it is strange to insist on referring to all custom schemes as color schemes when they can be independent of colors.
Additional context
Proper color schemes should define a (harmonious!) selection of colours for all rendered elements. Such schemes are alternatives, so combination of different color schemes is not needed. For example, the light and dark color schemes are not intended to be combined. (The proposed light-or-dark color scheme uses media preferences to choose between the alternatives.) Currently, the dark color scheme does not redefine the colors for highlighted code; that has been raised as a separate issue.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The configuration parameter
color_scheme
can be set tolight
ordark
. It can also be set to a custom scheme, which may override theme variables to change spacing (e.g., wider main content), etc. To combinedark
with such a custom scheme, however, it is necessary to define that combination as a new custom scheme. With a larger collection of custom schemes, naming and defining all their possible combinations would be impractical.Describe the solution you'd like
Introduce a new configuration parameter
custom_schemes
that can be set to a list of custom scheme names. The listed custom schemes are loaded after the selectedcolor_scheme
, in the listed order. The custom schemes are to be defined a new_sass/custom_schemes/
folder.For example, the following configuration would combine the
dark
color scheme with custom schemes for wider main content and left-aligned pages:or equivalently:
Describe alternatives you've considered
The list of custom schemes could be encoded as a string, and set as a single
color_scheme
parameter, e.g.:But that does not seem to have any significant advantages over the proposed use of a YAML list/array. Moreover, it is strange to insist on referring to all custom schemes as color schemes when they can be independent of colors.
Additional context
Proper color schemes should define a (harmonious!) selection of colours for all rendered elements. Such schemes are alternatives, so combination of different color schemes is not needed. For example, the
light
anddark
color schemes are not intended to be combined. (The proposedlight-or-dark
color scheme uses media preferences to choose between the alternatives.) Currently, thedark
color scheme does not redefine the colors for highlighted code; that has been raised as a separate issue.The text was updated successfully, but these errors were encountered: