Skip to content
Draft
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
8 changes: 4 additions & 4 deletions _extensions/onyxia-dark/_extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ contributes:
formats:
revealjs:
filters: [bg.lua]
theme: [default, onyxia-dark.scss]
theme:
- default
- onyxia-dark.scss
css: [logo.css]
title-slide-attributes:
data-background-image: background-dark.svg
data-background-size: contain
header-includes: |
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/svg" href="logo.svg">
email-obfuscation: javascript
format-resources:
- logo.svg
- background-dark.svg
- favicon-32x32.png

1 change: 0 additions & 1 deletion _extensions/onyxia-dark/bg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ end

function Header(el)
copyResource('background-dark.svg')
copyResource('favicon-32x32.png')
if not el.attributes['background-image'] then
el.attributes['background-image'] = 'background-dark.svg'
el.attributes['background-size'] = 'contain'
Expand Down
Binary file removed _extensions/onyxia-dark/favicon-32x32.png
Binary file not shown.
16 changes: 15 additions & 1 deletion _extensions/onyxia-dark/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 36 additions & 8 deletions _extensions/onyxia-dark/onyxia-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,48 @@ $orange: rgb(255, 86, 44);
$black: rgb(44, 50, 63);
$white: rgb(241, 240, 235);
$green: rgb(186, 255, 41);
$body-color: $white !default;
$blue: rgb(106, 165, 255);
$darkblue: rgb(80, 100, 180);

$body-bg: #0a0c12 !default;
$body-color: #e5e7eb !default;

$presentation-heading-text-shadow: 2px 1px 2px rgba($body-color, 0.3) !default;
$presentation-h1-text-shadow: 2px 3px 3px rgba($body-color, 0.3) !default;
$presentation-heading-font-weight: bold !default;
$body-bg: $black !default;
$link-color: $orange !default;

$link-color: $blue !default;
$light-bg-text-color: $black !default;
$light-bg-link-color: $orange !default;
$light-bg-code-color: $orange !default;
$light-bg-link-color: $blue !default;
$light-bg-code-color: $blue !default;
$dark-bg-text-color: $white !default;
$dark-bg-link-color: $orange !default;
$dark-bg-link-color: $blue !default;
$dark-bg-code-color: $green !default;

$body-emphasis-color: $blue;

/*-- scss:rules --*/
.orange {
color: $orange;

.blue {
color: $blue;
}

.darkblue {
color: $darkblue;
}

em {
color: $darkblue;
}

strong {
color: $blue;
}

ul strong {
color: $blue;
}

ul ul strong {
color: $darkblue;
}
8 changes: 4 additions & 4 deletions _extensions/onyxia/_extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ contributes:
formats:
revealjs:
filters: [bg.lua]
theme: [default, onyxia.scss]
theme:
- default
- onyxia.scss
css: [logo.css]
title-slide-attributes:
data-background-image: background.svg
data-background-size: contain
header-includes: |
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/svg" href="logo.svg">
email-obfuscation: javascript
format-resources:
- logo.svg
- background.svg
- favicon-32x32.png

1 change: 0 additions & 1 deletion _extensions/onyxia/bg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ end

function Header(el)
copyResource('background.svg')
copyResource('favicon-32x32.png')
if not el.attributes['background-image'] then
el.attributes['background-image'] = 'background.svg'
el.attributes['background-size'] = 'contain'
Expand Down
Binary file removed _extensions/onyxia/favicon-32x32.png
Binary file not shown.
16 changes: 15 additions & 1 deletion _extensions/onyxia/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 43 additions & 9 deletions _extensions/onyxia/onyxia.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,54 @@ $orange: rgb(255, 86, 44);
$black: rgb(44, 50, 63);
$white: rgb(241, 240, 235);
$green: rgb(186, 255, 41);
$body-color: $black !default;
$blue: rgb(86, 149, 251);
$darkblue: rgb(71, 88, 171);

$body-bg: white !default;
$body-color: #0e1726 !default;

$presentation-heading-text-shadow: 2px 1px 2px rgba($body-color, 0.3) !default;
$presentation-h1-text-shadow: 2px 4px 3px rgba($body-color, 0.3) !default;
$presentation-heading-font-weight: bold !default;
$body-bg: $white !default;
$link-color: $orange !default;
$link-color: $blue !default;
$light-bg-text-color: $black !default;
$light-bg-link-color: $orange !default;
$light-bg-code-color: $orange !default;
$light-bg-link-color: $blue !default;
$light-bg-code-color: $blue !default;
$dark-bg-text-color: $white !default;
$dark-bg-link-color: $orange !default;
$dark-bg-code-color: $green !default;
$dark-bg-link-color: $blue !default;
$dark-bg-code-color: $darkblue !default;

$body-emphasis-color: $blue;


/*-- scss:mixins --*/

@mixin bodyBackground() {
@include radial-gradient(#fbfdff, #dfe8fd);
}

/*-- scss:rules --*/
.orange {
color: $orange;

.blue {
color: $blue;
}

.darkblue {
color: $darkblue;
}

em {
color: $darkblue;
}

strong {
color: $blue;
}

ul strong {
color: $blue;
}

ul ul strong {
color: $darkblue;
}