mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
variant: DRY Relearn variants #239
This commit is contained in:
parent
1900ddb589
commit
a9e665bf30
4 changed files with 97 additions and 114 deletions
|
@ -6,69 +6,63 @@
|
|||
@import "chroma-neon.css";
|
||||
|
||||
:root {
|
||||
--MAIN-TEXT-color: #e0e0e0; /* Color of text by default */
|
||||
--MAIN-TITLES-TEXT-color: #f300b2; /* Color of titles h2-h3-h4-h5-h6 */
|
||||
--PRIMARY-color: #04d1b5; /* brand primary color */
|
||||
--SECONDARY-color: #1c90f3; /* brand secondary color */
|
||||
|
||||
--MAIN-TEXT-color: #e0e0e0; /* text color of content and h1 titles */
|
||||
--MAIN-LINK-HOVER-color: #4cabff; /* hoverd link color of content */
|
||||
--MAIN-BG-color: #202020; /* background color of content */
|
||||
|
||||
/* optional overwrites for specific headers */
|
||||
--MAIN-TITLES-H3-color: #00f3d3; /* Color of h3 headlines */
|
||||
--MAIN-TITLES-H4-color: #ffff00; /* Color of h4 headlines */
|
||||
|
||||
--MAIN-LINK-color: #1c90f3; /* Color of links */
|
||||
--MAIN-LINK-HOVER-color: #4cabff; /* Color of hovered links */
|
||||
--MAIN-ANCHOR-color: #1c90f3; /* color of anchors on titles */
|
||||
--MAIN-BG-color: #202020; /* color for code background */
|
||||
--MAIN-TITLES-TEXT-color: #f300b2; /* text color of h2-h6 titles and transparent box titles */
|
||||
--MAIN-TITLES-H3-color: #00f3d3; /* text color of h3-h6 titles */
|
||||
--MAIN-TITLES-H4-color: #ffff00; /* text color of h4-h6 titles */
|
||||
|
||||
/* adjusted to neon chroma style */
|
||||
--CODE-BLOCK-color: #f8f8f2; /* fallback color for block code text */
|
||||
--CODE-BLOCK-BG-color: #000000; /* fallback color for block code background */
|
||||
--CODE-BLOCK-BORDER-color: #000000; /* color of block code border */
|
||||
--CODE-BLOCK-color: #f8f8f2; /* fallback text color of block code; should be adjusted to your selected chroma style */
|
||||
--CODE-BLOCK-BG-color: #000000; /* fallback background color of block code; should be adjusted to your selected chroma style */
|
||||
|
||||
--CODE-INLINE-color: #82e550; /* color for inline code text */
|
||||
--CODE-INLINE-BG-color: #282a36; /* color for inline code background */
|
||||
--CODE-INLINE-BORDER-color: #464646; /* color of inline code border */
|
||||
--CODE-INLINE-color: #82e550; /* text color of inline code */
|
||||
--CODE-INLINE-BG-color: #282a36; /* background color of inline code */
|
||||
--CODE-INLINE-BORDER-color: #464646; /* border color of inline code */
|
||||
|
||||
--MERMAID-theme: dark; /* name of the default Mermaid theme for this variant, can be overridden in config.toml */
|
||||
--SWAGGER-theme: dark; /* name of the default Swagger theme for this variant, can be overridden in config.toml */
|
||||
|
||||
--TAG-BG-color: #04d1b5; /* Background color of menu header */
|
||||
--MENU-HEADER-BG-color: rgba( 0, 0, 0, 0 ); /* background color of menu header */
|
||||
|
||||
--MENU-HOME-LINK-color: #323232; /* Color of the home button text */
|
||||
--MENU-HOME-LINK-HOVER-color: #5e5e5e; /* Color of the hovered home button text */
|
||||
--MENU-HOME-LINK-color: #323232; /* home button color if configured */
|
||||
--MENU-HOME-LINK-HOVER-color: #5e5e5e; /* hoverd home button color if configured */
|
||||
|
||||
--MENU-HEADER-BG-color: rgba( 0, 0, 0, 0 ); /* Background color of menu header */
|
||||
--MENU-HEADER-BORDER-color: rgba( 0, 0, 0, 0 ); /*Color of menu header border */
|
||||
--MENU-SEARCH-color: #e0e0e0; /* text and icon color of search box */
|
||||
--MENU-SEARCH-BG-color: #323232; /* background color of search box */
|
||||
--MENU-SEARCH-BORDER-color: #e0e0e0; /* border color of search box */
|
||||
|
||||
--MENU-SEARCH-color: #e0e0e0; /* Color of search field text */
|
||||
--MENU-SEARCH-BG-color: #323232; /* Search field background color (by default borders + icons) */
|
||||
--MENU-SEARCH-BORDER-color: #e0e0e0; /* Override search field border color */
|
||||
--MENU-SECTIONS-BG-color: linear-gradient( 165deg, #f300b2d3 0%, #1c90f3b3 65%, #00e3d3b3 100% ); /* background of the menu; this is NOT just a color value but can be a complete CSS background definition including gradients, etc. */
|
||||
--MENU-SECTIONS-ACTIVE-BG-color: rgba( 0, 0, 0, .166 ); /* background color of the active menu section */
|
||||
--MENU-SECTIONS-LINK-color: #ffffff; /* link color of menu topics */
|
||||
--MENU-SECTIONS-LINK-HOVER-color: #d0d0d0; /* hoverd link color of menu topics */
|
||||
--MENU-SECTION-ACTIVE-CATEGORY-color: #56ffe8; /* text color of the displayed menu topic */
|
||||
--MENU-SECTION-HR-color: #bababa; /* separator color of menu footer */
|
||||
|
||||
--MENU-SECTIONS-ACTIVE-BG-color: rgba( 0, 0, 0, .166 ); /* Background color of the active section and its children */
|
||||
--MENU-SECTIONS-BG-color: linear-gradient( 165deg, #f300b2d3 0%, #1c90f3b3 65%, #00e3d3b3 100% ); /* Background color of side bar */
|
||||
--MENU-SECTIONS-LINK-color: #ffffff; /* Color of links in menu */
|
||||
--MENU-SECTIONS-LINK-HOVER-color: #d0d0d0; /* Color of links in menu, when hovered */
|
||||
--MENU-SECTION-ACTIVE-CATEGORY-color: #56ffe8; /* Color of active category text */
|
||||
--MENU-SECTION-ACTIVE-CATEGORY-BG-color: #202020; /* Color of background for the active category (only) */
|
||||
|
||||
--MENU-VISITED-color: #33a1ff; /* Color of 'page visited' icons in menu */
|
||||
--MENU-SECTION-HR-color: #bababa; /* Color of <hr> separator in menu */
|
||||
--MENU-VISITED-color: #33a1ff; /* icon color of visited menu topics if configured */
|
||||
|
||||
/* base styling for boxes */
|
||||
--BOX-CAPTION-color: rgba( 240, 240, 240, 1 ); /* color of the title text */
|
||||
--BOX-BG-color: rgba( 20, 20, 20, 1 ); /* color of the content background */
|
||||
--BOX-TEXT-color: initial; /* automatic color of the content text */
|
||||
--BOX-CAPTION-color: rgba( 240, 240, 240, 1 ); /* text color of colored box titles */
|
||||
--BOX-BG-color: rgba( 20, 20, 20, 1 ); /* background color of colored boxes */
|
||||
--BOX-TEXT-color: initial; /* text color of colored box content */
|
||||
|
||||
/* optional base colors for colored boxes as in attachments and notice shortcode */
|
||||
--BOX-BLUE-color: rgba( 48, 117, 229, 1 );
|
||||
--BOX-GREEN-color: rgba( 42, 178, 24, 1 );
|
||||
--BOX-GREY-color: rgba( 128, 128, 128, 1 );
|
||||
--BOX-ORANGE-color: rgba( 237, 153, 9, 1 );
|
||||
--BOX-RED-color: rgba( 224, 62, 62, 1 );
|
||||
|
||||
--BOX-BLUE-TEXT-color: var(--BOX-BLUE-color);
|
||||
--BOX-GREEN-TEXT-color: var(--BOX-GREEN-color);
|
||||
--BOX-GREY-TEXT-color: var(--BOX-GREY-color);
|
||||
--BOX-ORANGE-TEXT-color: var(--BOX-ORANGE-color);
|
||||
--BOX-RED-TEXT-color: var(--BOX-RED-color);
|
||||
--BOX-BLUE-color: rgba( 48, 117, 229, 1 ); /* background color of blue boxes */
|
||||
--BOX-BLUE-TEXT-color: var( --BOX-BLUE-color ); /* text color of blue boxes */
|
||||
--BOX-GREEN-color: rgba( 42, 178, 24, 1 ); /* background color of green boxes */
|
||||
--BOX-GREEN-TEXT-color: var( --BOX-GREEN-color ); /* text color of green boxes */
|
||||
--BOX-GREY-color: rgba( 128, 128, 128, 1 ); /* background color of grey boxes */
|
||||
--BOX-GREY-TEXT-color: var( --BOX-GREY-color ); /* text color of grey boxes */
|
||||
--BOX-ORANGE-color: rgba( 237, 153, 9, 1 ); /* background color of orange boxes */
|
||||
--BOX-ORANGE-TEXT-color: var( --BOX-ORANGE-color ); /* text color of orange boxes */
|
||||
--BOX-RED-color: rgba( 224, 62, 62, 1 ); /* background color of red boxes */
|
||||
--BOX-RED-TEXT-color: var( --BOX-RED-color ); /* text color of red boxes */
|
||||
}
|
||||
|
||||
body a#logo,
|
||||
|
|
|
@ -6,47 +6,42 @@
|
|||
@import "chroma-relearn-dark.css";
|
||||
|
||||
:root {
|
||||
--MAIN-TEXT-color: #e0e0e0; /* Color of text by default */
|
||||
--MAIN-TITLES-TEXT-color: #ffffff; /* Color of titles h2-h3-h4-h5-h6 */
|
||||
--MAIN-LINK-color: #6c8ce3; /* Color of links */
|
||||
--MAIN-LINK-HOVER-color: #93b0ff; /* Color of hovered links */
|
||||
--MAIN-ANCHOR-color: #6c8ce3; /* color of anchors on titles */
|
||||
--MAIN-BG-color: #202020; /* color for code background */
|
||||
--PRIMARY-color: #7dc903; /* brand primary color */
|
||||
--SECONDARY-color: #6c8ce3; /* brand secondary color */
|
||||
|
||||
--MAIN-TEXT-color: #e0e0e0; /* text color of content and h1 titles */
|
||||
--MAIN-LINK-HOVER-color: #93b0ff; /* hoverd link color of content */
|
||||
--MAIN-BG-color: #202020; /* background color of content */
|
||||
--MAIN-TITLES-TEXT-color: #ffffff; /* text color of h2-h6 titles and transparent box titles */
|
||||
|
||||
/* adjusted to relearn-dark chroma style */
|
||||
--CODE-BLOCK-color: #f8f8f8; /* fallback color for block code text */
|
||||
--CODE-BLOCK-BG-color: #2b2b2b; /* fallback color for block code background */
|
||||
--CODE-BLOCK-BORDER-color: #2b2b2b; /* color of block code border */
|
||||
--CODE-BLOCK-color: #f8f8f8; /* fallback text color of block code; should be adjusted to your selected chroma style */
|
||||
--CODE-BLOCK-BG-color: #2b2b2b; /* fallback background color of block code; should be adjusted to your selected chroma style */
|
||||
|
||||
--CODE-INLINE-color: #82e550; /* color for inline code text */
|
||||
--CODE-INLINE-BG-color: #2d2d2d; /* color for inline code background */
|
||||
--CODE-INLINE-BORDER-color: #464646; /* color of inline code border */
|
||||
--CODE-INLINE-color: #82e550; /* text color of inline code */
|
||||
--CODE-INLINE-BG-color: #2d2d2d; /* background color of inline code */
|
||||
--CODE-INLINE-BORDER-color: #464646; /* border color of inline code */
|
||||
|
||||
--MERMAID-theme: dark; /* name of the default Mermaid theme for this variant, can be overridden in config.toml */
|
||||
--SWAGGER-theme: dark; /* name of the default Swagger theme for this variant, can be overridden in config.toml */
|
||||
|
||||
--MENU-HOME-LINK-color: #323232; /* Color of the home button text */
|
||||
--MENU-HOME-LINK-HOVER-color: #5e5e5e; /* Color of the hovered home button text */
|
||||
--MENU-HOME-LINK-color: #323232; /* home button color if configured */
|
||||
--MENU-HOME-LINK-HOVER-color: #5e5e5e; /* hoverd home button color if configured */
|
||||
|
||||
--MENU-HEADER-BG-color: #7dc903; /* Background color of menu header */
|
||||
--MENU-HEADER-BORDER-color: #7dc903; /*Color of menu header border */
|
||||
--MENU-SEARCH-color: #e0e0e0; /* text and icon color of search box */
|
||||
--MENU-SEARCH-BG-color: #323232; /* background color of search box */
|
||||
--MENU-SEARCH-BORDER-color: #e0e0e0; /* border color of search box */
|
||||
|
||||
--MENU-SEARCH-color: #e0e0e0; /* Color of search field text */
|
||||
--MENU-SEARCH-BG-color: #323232; /* Search field background color (by default borders + icons) */
|
||||
--MENU-SEARCH-BORDER-color: #e0e0e0; /* Override search field border color */
|
||||
--MENU-SECTIONS-BG-color: #2b2b2b; /* background of the menu; this is NOT just a color value but can be a complete CSS background definition including gradients, etc. */
|
||||
--MENU-SECTIONS-LINK-color: #bababa; /* link color of menu topics */
|
||||
--MENU-SECTIONS-LINK-HOVER-color: #ffffff; /* hoverd link color of menu topics */
|
||||
--MENU-SECTIONS-ACTIVE-BG-color: #323232; /* background color of the active menu section */
|
||||
--MENU-SECTION-ACTIVE-CATEGORY-color: #82e550; /* text color of the displayed menu topic */
|
||||
--MENU-SECTION-HR-color: #606060; /* separator color of menu footer */
|
||||
|
||||
--MENU-SECTIONS-ACTIVE-BG-color: #323232; /* Background color of the active section and its children */
|
||||
--MENU-SECTIONS-BG-color: #2b2b2b; /* Background color of other sections */
|
||||
--MENU-SECTIONS-LINK-color: #bababa; /* Color of links in menu */
|
||||
--MENU-SECTIONS-LINK-HOVER-color: #ffffff; /* Color of links in menu, when hovered */
|
||||
--MENU-SECTION-ACTIVE-CATEGORY-color: #82e550; /* Color of active category text */
|
||||
--MENU-SECTION-ACTIVE-CATEGORY-BG-color: #202020; /* Color of background for the active category (only) */
|
||||
--MENU-VISITED-color: #486ac9; /* icon color of visited menu topics if configured */
|
||||
|
||||
--MENU-VISITED-color: #486ac9; /* Color of 'page visited' icons in menu */
|
||||
--MENU-SECTION-HR-color: #606060; /* Color of <hr> separator in menu */
|
||||
|
||||
/* base styling for boxes */
|
||||
--BOX-CAPTION-color: rgba( 240, 240, 240, 1 ); /* color of the title text */
|
||||
--BOX-BG-color: rgba( 20, 20, 20, 1 ); /* color of the content background */
|
||||
--BOX-TEXT-color: #e0e0e0; /* automatic color of the content text */
|
||||
--BOX-CAPTION-color: rgba( 240, 240, 240, 1 ); /* text color of colored box titles */
|
||||
--BOX-BG-color: rgba( 20, 20, 20, 1 ); /* background color of colored boxes */
|
||||
--BOX-TEXT-color: #e0e0e0; /* text color of colored box content */
|
||||
}
|
||||
|
|
|
@ -6,44 +6,38 @@
|
|||
@import "chroma-relearn-light.css";
|
||||
|
||||
:root {
|
||||
--MAIN-TEXT-color: #101010; /* Color of text by default */
|
||||
--MAIN-TITLES-TEXT-color: #4a4a4a; /* Color of titles h2-h3-h4-h5-h6 */
|
||||
--MAIN-LINK-color: #486ac9; /* Color of links */
|
||||
--MAIN-LINK-HOVER-color: #202891; /* Color of hovered links */
|
||||
--MAIN-ANCHOR-color: #486ac9; /* color of anchors on titles */
|
||||
--MAIN-BG-color: #ffffff; /* color of text by default */
|
||||
--PRIMARY-color: #7dc903; /* brand primary color */
|
||||
--SECONDARY-color: #486ac9; /* brand secondary color */
|
||||
|
||||
--MAIN-TEXT-color: #101010; /* text color of content and h1 titles */
|
||||
--MAIN-LINK-HOVER-color: #202891; /* hoverd link color of content */
|
||||
--MAIN-BG-color: #ffffff; /* background color of content */
|
||||
--MAIN-TITLES-TEXT-color: #4a4a4a; /* text color of h2-h6 titles and transparent box titles */
|
||||
|
||||
/* adjusted to relearn-light chroma style */
|
||||
--CODE-BLOCK-color: #000000; /* fallback color for block code text */
|
||||
--CODE-BLOCK-BG-color: #f8f8f8; /* fallback color for block code background */
|
||||
--CODE-BLOCK-BORDER-color: #d8d8d8; /* color of block code border */
|
||||
--CODE-BLOCK-color: #000000; /* fallback text color of block code; should be adjusted to your selected chroma style */
|
||||
--CODE-BLOCK-BG-color: #f8f8f8; /* fallback background color of block code; should be adjusted to your selected chroma style */
|
||||
--CODE-BLOCK-BORDER-color: #d8d8d8; /* border color of block code */
|
||||
|
||||
--CODE-INLINE-color: #5e5e5e; /* color for inline code text */
|
||||
--CODE-INLINE-BG-color: #fffae9; /* color for inline code background */
|
||||
--CODE-INLINE-BORDER-color: #f8e8c8; /* color of inline code border */
|
||||
--CODE-INLINE-color: #5e5e5e; /* text color of inline code */
|
||||
--CODE-INLINE-BG-color: #fffae9; /* background color of inline code */
|
||||
--CODE-INLINE-BORDER-color: #f8e8c8; /* border color of inline code */
|
||||
|
||||
--MENU-HOME-LINK-color: #323232; /* Color of the home button text */
|
||||
--MENU-HOME-LINK-HOVER-color: #808080; /* Color of the hovered home button text */
|
||||
--MENU-HOME-LINK-color: #323232; /* home button color if configured */
|
||||
--MENU-HOME-LINK-HOVER-color: #808080; /* hoverd home button color if configured */
|
||||
|
||||
--MENU-HEADER-BG-color: #7dc903; /* Background color of menu header */
|
||||
--MENU-HEADER-BORDER-color: #7dc903; /*Color of menu header border */
|
||||
--MENU-SEARCH-color: #e0e0e0; /* text and icon color of search box */
|
||||
--MENU-SEARCH-BG-color: #323232; /* background color of search box */
|
||||
--MENU-SEARCH-BORDER-color: #e0e0e0; /* border color of search box */
|
||||
|
||||
--MENU-SEARCH-color: #e0e0e0; /* Color of search field text */
|
||||
--MENU-SEARCH-BG-color: #323232; /* Search field background color (by default borders + icons) */
|
||||
--MENU-SEARCH-BORDER-color: #e0e0e0; /* Override search field border color */
|
||||
--MENU-SECTIONS-BG-color: #282828; /* background of the menu; this is NOT just a color value but can be a complete CSS background definition including gradients, etc. */
|
||||
--MENU-SECTIONS-ACTIVE-BG-color: rgba( 0, 0, 0, .166 ); /* background color of the active menu section */
|
||||
--MENU-SECTIONS-LINK-color: #bababa; /* link color of menu topics */
|
||||
--MENU-SECTIONS-LINK-HOVER-color: #ffffff; /* hoverd link color of menu topics */
|
||||
--MENU-SECTION-ACTIVE-CATEGORY-color: #444444; /* text color of the displayed menu topic */
|
||||
--MENU-SECTION-HR-color: #606060; /* separator color of menu footer */
|
||||
|
||||
--MENU-SECTIONS-ACTIVE-BG-color: rgba( 0, 0, 0, .166 ); /* Background color of the active section and its children */
|
||||
--MENU-SECTIONS-BG-color: #282828; /* Background color of other sections */
|
||||
--MENU-SECTIONS-LINK-color: #bababa; /* Color of links in menu */
|
||||
--MENU-SECTIONS-LINK-HOVER-color: #ffffff; /* Color of links in menu, when hovered */
|
||||
--MENU-SECTION-ACTIVE-CATEGORY-color: #444444; /* Color of active category text */
|
||||
--MENU-SECTION-ACTIVE-CATEGORY-BG-color: #ffffff; /* Color of background for the active category (only) */
|
||||
|
||||
--MENU-VISITED-color: #486ac9; /* Color of 'page visited' icons in menu */
|
||||
--MENU-SECTION-HR-color: #606060; /* Color of <hr> separator in menu */
|
||||
|
||||
/* base styling for boxes */
|
||||
--BOX-CAPTION-color: rgba( 255, 255, 255, 1 ); /* color of the title text */
|
||||
--BOX-BG-color: rgba( 255, 255, 255, .833 ); /* color of the content background */
|
||||
--BOX-TEXT-color: rgba( 16, 16, 16, 1 ); /* fixed color of the content text */
|
||||
--BOX-CAPTION-color: rgba( 255, 255, 255, 1 ); /* text color of colored box titles */
|
||||
--BOX-BG-color: rgba( 255, 255, 255, .833 ); /* background color of colored boxes */
|
||||
--BOX-TEXT-color: rgba( 16, 16, 16, 1 ); /* text color of colored box content */
|
||||
}
|
||||
|
|
|
@ -568,12 +568,12 @@ var variants = {
|
|||
|
||||
{ name: 'MENU-SECTIONS-BG-color', group: 'sections', default: '#282828', tooltip: 'background of the menu; this is NOT just a color value but can be a complete CSS background definition including gradients, etc.', },
|
||||
{ name: 'MENU-SECTIONS-ACTIVE-BG-color', group: 'sections', default: 'rgba( 0, 0, 0, .166 )', tooltip: 'background color of the active menu section', },
|
||||
{ name: 'MENU-SECTION-ACTIVE-CATEGORY-color', group: 'sections', default: '#444444', tooltip: 'text color of the displayed menu topic', },
|
||||
{ name: 'MENU-SECTION-ACTIVE-CATEGORY-BG-color', group: 'sections', fallback: 'MAIN-BG-color', tooltip: 'background color of the displayed menu topic', },
|
||||
{ name: 'MENU-SECTIONS-LINK-color', group: 'sections', default: '#bababa', tooltip: 'link color of menu topics', },
|
||||
{ name: 'MENU-SECTIONS-LINK-HOVER-color', group: 'sections', fallback: 'MENU-SECTIONS-LINK-color', tooltip: 'hoverd link color of menu topics', },
|
||||
{ name: 'MENU-VISITED-color', group: 'sections', fallback: 'SECONDARY-color', tooltip: 'icon color of visited menu topics if configured', },
|
||||
{ name: 'MENU-SECTION-ACTIVE-CATEGORY-color', group: 'sections', default: '#444444', tooltip: 'text color of the displayed menu topic', },
|
||||
{ name: 'MENU-SECTION-ACTIVE-CATEGORY-BG-color', group: 'sections', fallback: 'MAIN-BG-color', tooltip: 'background color of the displayed menu topic', },
|
||||
{ name: 'MENU-SECTION-HR-color', group: 'sections', default: '#606060', tooltip: 'separator color of menu footer', },
|
||||
{ name: 'MENU-VISITED-color', group: 'sections', fallback: 'SECONDARY-color', tooltip: 'icon color of visited menu topics if configured', },
|
||||
|
||||
{ name: 'BOX-CAPTION-color', group: 'colored boxes', default: 'rgba( 255, 255, 255, 1 )', tooltip: 'text color of colored box titles', },
|
||||
{ name: 'BOX-BG-color', group: 'colored boxes', default: 'rgba( 255, 255, 255, .833 )', tooltip: 'background color of colored boxes', },
|
||||
|
|
Loading…
Reference in a new issue