diff --git a/frontend/sphinx/conf.py b/frontend/sphinx/conf.py index 8f0c4c5f1..6e4bcbdf1 100644 --- a/frontend/sphinx/conf.py +++ b/frontend/sphinx/conf.py @@ -56,7 +56,7 @@ def get_file_from_conf_ini(path_to_file): # -- Project information ----------------------------------------------------- project = u'learn.adacore.com' -copyright = u'2018 – 2025, AdaCore. All rights reserved' +copyright = u'2018 – 2026, AdaCore. All rights reserved' author = u'AdaCore' if not config.has_option('', 'author') else \ config['DEFAULT']['author'] title = u'Learn Ada (Complete)' if not config.has_option('', 'title') else \ @@ -272,6 +272,7 @@ def get_file_from_conf_ini(path_to_file): 'color-admonition-title-background': '#fadfd2', 'color-admonition-title--note': 'var(--color-admonition-title)', 'color-admonition-title-background--note': 'var(--color-admonition-title-background)', + 'color-highlight-on-target': '#faede0', }, 'dark_css_variables': { 'color-brand-primary': '#fa5000', @@ -282,6 +283,7 @@ def get_file_from_conf_ini(path_to_file): 'color-admonition-title-background': '#502000', 'color-admonition-title--note': 'var(--color-admonition-title)', 'color-admonition-title-background--note': 'var(--color-admonition-title-background)', + 'color-highlight-on-target': '#402525', }, 'sidebar_hide_name': True, 'navigation_with_keys': True, diff --git a/frontend/src/styles/_variables.scss b/frontend/src/styles/_variables.scss index 35a8966fc..95656377a 100644 --- a/frontend/src/styles/_variables.scss +++ b/frontend/src/styles/_variables.scss @@ -1,6 +1,10 @@ // colors @use 'sass:color'; +// +// NOTE: some colors for the furo-theme are overridden in the conf.py file +// + $color-theme-bg-dark: #fa5000; $color-theme-bg-light: rgb(252, 252, 252);