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

Minor fixes #21

Merged
merged 3 commits into from
Nov 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 22 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import {themes as prismThemes} from 'prism-react-renderer';

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Dial',
favicon: 'img/favicon.ico',
title: 'DIAL',
favicon: 'img/favicon.svg',

// Set the production url of your site here
url: 'https://docs.epam-rail.com',
Expand Down Expand Up @@ -55,14 +55,32 @@ const config = {
],
],

scripts: [
{
src: 'https://cookie-cdn.cookiepro.com/consent/3a34bbfa-93e4-4ba6-9383-7da88d67ed18/OtAutoBlock.js',
type: "text/javascript"
},
{
src: 'https://cookie-cdn.cookiepro.com/scripttemplates/otSDKStub.js',
type: "text/javascript",
charset: "UTF-8",
'data-domain-script': "3a34bbfa-93e4-4ba6-9383-7da88d67ed18"
},
{
src: 'src/scripts/optanonWrapper.js',
type: "text/javascript"
},
],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
navbar: {
title: '', // 'EPAM DIAL',
logo: {
alt: 'EPAM DIAL',
src: 'img/logo.svg',
src: 'img/logo_light.svg',
srcDark: 'img/logo_dark.svg'
},
items: [
// {
Expand Down Expand Up @@ -117,4 +135,5 @@ const config = {
}),
};


export default config;
30 changes: 16 additions & 14 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,27 @@

/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #2e8555;
--ifm-color-primary-dark: #29784c;
--ifm-color-primary-darker: #277148;
--ifm-color-primary-darkest: #205d3b;
--ifm-color-primary-light: #33925d;
--ifm-color-primary-lighter: #359962;
--ifm-color-primary-lightest: #3cad6e;
--ifm-color-primary: #5A8CE9;
--ifm-color-primary-dark: #5A8CE9;
--ifm-color-primary-darker: #5A8CE98;
--ifm-color-primary-darkest: #5A8CE9;
--ifm-color-primary-light: #5A8CE9;
--ifm-color-primary-lighter: #5A8CE9;
--ifm-color-primary-lightest: #5A8CE9;
--ifm-link-color: #5A8CE9;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
--ifm-color-primary: #25c2a0;
--ifm-color-primary-dark: #21af90;
--ifm-color-primary-darker: #1fa588;
--ifm-color-primary-darkest: #1a8870;
--ifm-color-primary-light: #29d5b0;
--ifm-color-primary-lighter: #32d8b4;
--ifm-color-primary-lightest: #4fddbf;
--ifm-color-primary: #5A8CE9;
--ifm-color-primary-dark: #5A8CE9;
--ifm-color-primary-darker: #5A8CE9;
--ifm-color-primary-darkest: #5A8CE9;
--ifm-color-primary-light: #5A8CE9;
--ifm-color-primary-lighter: #5A8CE9;
--ifm-color-primary-lightest: #5A8CE9;
--ifm-link-color: #5A8CE9;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}
1 change: 1 addition & 0 deletions src/scripts/optanonWrapper.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
function OptanonWrapper() { }
15 changes: 15 additions & 0 deletions static/img/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions static/img/logo_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions static/img/logo_light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.