Skip to content
Open
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
80 changes: 0 additions & 80 deletions tutorindigo/components/IndigoFooter.jsx

This file was deleted.

1 change: 0 additions & 1 deletion tutorindigo/patches/mfe-env-config-runtime-definitions
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- patch("IndigoFooter.jsx") }}
{{- patch("MobileViewHeader.jsx") }}
{{- patch("ThemedLogo.jsx") }}
{{- patch("ToggleThemeButton.jsx") }}
30 changes: 12 additions & 18 deletions tutorindigo/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"defaults": {
"VERSION": __version__,
"WELCOME_MESSAGE": "The place for all your online learning",
"PRIMARY_COLOR": "#15376D", # Indigo
"PRIMARY_COLOR": "#003366", # Indigo
"ENABLE_DARK_TOGGLE": True,
# Footer links are dictionaries with a "title" and "url"
# To remove all links, run:
Expand Down Expand Up @@ -164,13 +164,20 @@ def _override_openedx_docker_image(

MFE_CONFIG['INDIGO_ENABLE_DARK_TOGGLE'] = {{ INDIGO_ENABLE_DARK_TOGGLE }}
MFE_CONFIG['INDIGO_FOOTER_NAV_LINKS'] = {{ INDIGO_FOOTER_NAV_LINKS }}

# Ensure Mako templates from the theme are found by the comprehensive theming system.
# The env var COMPREHENSIVE_THEME_DIRS=/openedx/themes is set in the Dockerfile but
# may not be picked up by the dev settings chain; set it explicitly here.
COMPREHENSIVE_THEME_DIRS = ['/openedx/themes']
""",
),
(
"openedx-lms-production-settings",
"""
MFE_CONFIG['INDIGO_ENABLE_DARK_TOGGLE'] = {{ INDIGO_ENABLE_DARK_TOGGLE }}
MFE_CONFIG['INDIGO_FOOTER_NAV_LINKS'] = {{ INDIGO_FOOTER_NAV_LINKS }}

COMPREHENSIVE_THEME_DIRS = ['/openedx/themes']
""",
),
]
Expand All @@ -194,19 +201,6 @@ def _override_openedx_docker_image(
mfe,
"org.openedx.frontend.layout.footer.v1",
"""
{
op: PLUGIN_OPERATIONS.Hide,
widgetId: 'default_contents',
},
{
op: PLUGIN_OPERATIONS.Insert,
widget: {
id: 'indigo_footer',
type: DIRECT_PLUGIN,
priority: 1,
RenderWidget: IndigoFooter,
},
},
{
op: PLUGIN_OPERATIONS.Insert,
widget: {
Expand Down Expand Up @@ -300,14 +294,14 @@ def _override_openedx_docker_image(
"variants": {
"light": {
"urls": {
"default": "https://raw.githubusercontent.com/edly-io/brand-openedx/refs/heads/ulmo/indigo/dist/light.min.css",
"brandOverride": "https://raw.githubusercontent.com/edly-io/brand-openedx/refs/heads/ulmo/indigo/dist/light.min.css",
"default": "https://{{ LMS_HOST }}/static/indigo/css/light.min.css",
"brandOverride": "https://{{ LMS_HOST }}/static/indigo/css/light.min.css",
},
},
"dark": {
"urls": {
"default": "https://raw.githubusercontent.com/edly-io/brand-openedx/refs/heads/ulmo/indigo/dist/dark.min.css",
"brandOverride": "https://raw.githubusercontent.com/edly-io/brand-openedx/refs/heads/ulmo/indigo/dist/dark.min.css",
"default": "https://{{ LMS_HOST }}/static/indigo/css/dark.min.css",
"brandOverride": "https://{{ LMS_HOST }}/static/indigo/css/dark.min.css",
}
},
}
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified tutorindigo/templates/indigo/cms/static/images/favicon.ico
Binary file not shown.
Binary file modified tutorindigo/templates/indigo/cms/static/images/studio-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1 +1,130 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
///////// Sans (Rockford Sans)
@font-face {
font-family: 'Rockford Sans';
src:
url('#{$static-path}/fonts/RockfordSans-Extralight.otf') format('opentype');
font-weight: 200;
font-style: normal;
}

@font-face {
font-family: 'Rockford Sans';
src:
url('#{$static-path}/fonts/RockfordSans-ExtralightItalic.otf') format('opentype');
font-weight: 200;
font-style: italic;
}

@font-face {
font-family: 'Rockford Sans';
src:
url('#{$static-path}/fonts/RockfordSans-Light.otf') format('opentype');
font-weight: 300;
font-style: normal;
}

@font-face {
font-family: 'Rockford Sans';
src:
url('#{$static-path}/fonts/RockfordSans-LightItalic.otf') format('opentype');
font-weight: 300;
font-style: italic;
}

@font-face {
font-family: 'Rockford Sans';
src:
url('#{$static-path}/fonts/RockfordSans-Regular.otf') format('opentype');
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: 'Rockford Sans';
src:
url('#{$static-path}/fonts/RockfordSans-RegularItalic.otf') format('opentype');
font-weight: 400;
font-style: italic;
}

@font-face {
font-family: 'Rockford Sans';
src:
url('#{$static-path}/fonts/RockfordSans-Medium.otf') format('opentype');
font-weight: 500;
font-style: normal;
}

@font-face {
font-family: 'Rockford Sans';
src:
url('#{$static-path}/fonts/RockfordSans-MediumItalic.otf') format('opentype');
font-weight: 500;
font-style: italic;
}

// Alias 600 to Medium (no dedicated SemiBold cut) so `font-weight: 600;`
// rules get an exact match instead of rounding up to Bold.
@font-face {
font-family: 'Rockford Sans';
src:
url('#{$static-path}/fonts/RockfordSans-Medium.otf') format('opentype');
font-weight: 600;
font-style: normal;
}

@font-face {
font-family: 'Rockford Sans';
src:
url('#{$static-path}/fonts/RockfordSans-MediumItalic.otf') format('opentype');
font-weight: 600;
font-style: italic;
}

@font-face {
font-family: 'Rockford Sans';
src:
url('#{$static-path}/fonts/RockfordSans-Bold.otf') format('opentype');
font-weight: 700;
font-style: normal;
}

@font-face {
font-family: 'Rockford Sans';
src:
url('#{$static-path}/fonts/RockfordSans-BoldItalic.otf') format('opentype');
font-weight: 700;
font-style: italic;
}

@font-face {
font-family: 'Rockford Sans';
src:
url('#{$static-path}/fonts/RockfordSans-Extrabold.otf') format('opentype');
font-weight: 800;
font-style: normal;
}

@font-face {
font-family: 'Rockford Sans';
src:
url('#{$static-path}/fonts/RockfordSans-ExtraboldItalic.otf') format('opentype');
font-weight: 800;
font-style: italic;
}

@font-face {
font-family: 'Rockford Sans';
src:
url('#{$static-path}/fonts/RockfordSans-Heavy.otf') format('opentype');
font-weight: 900;
font-style: normal;
}

@font-face {
font-family: 'Rockford Sans';
src:
url('#{$static-path}/fonts/RockfordSans-HeavyItalic.otf') format('opentype');
font-weight: 900;
font-style: italic;
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $fg-min-width: 900px;

// +Fonts
// ====================
$f-sans-serif: 'Inter', 'Open Sans','Helvetica Neue', Helvetica, Arial, sans-serif;
$f-sans-serif: 'Rockford Sans', 'Open Sans','Helvetica Neue', Helvetica, Arial, sans-serif;
$f-monospace: 'Bitstream Vera Sans Mono', Consolas, Courier, monospace;

// +Colors - Utility
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ $m-blue-d6: mix(rgb(42, 134, 226), $primary, 40%) !default;

$uxpl-blue-hover-active: lighten($primary, 7%) !default;

$serif: 'Inter';
$f-sans-serif: 'Inter', 'Open Sans','Helvetica Neue', Helvetica, Arial, sans-serif;
$font-family-title: 'Inter';
$font-family-sans-serif: 'Inter', 'Open Sans','Helvetica Neue', Helvetica, Arial, sans-serif;
$serif: 'Rockford Sans';
$f-sans-serif: 'Rockford Sans', 'Open Sans','Helvetica Neue', Helvetica, Arial, sans-serif;
$font-family-title: 'Rockford Sans';
$font-family-sans-serif: 'Rockford Sans', 'Open Sans','Helvetica Neue', Helvetica, Arial, sans-serif;
$font-weight-base: 200;
$headings-font-weight: 400;

// Initialize the Open edX Bootstrap theme
@import 'edx-bootstrap/sass/open-edx/theme';
Loading