Skip to content

Commit

Permalink
vite theme build
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Oct 17, 2024
1 parent 9fe6d8d commit 6b7698d
Show file tree
Hide file tree
Showing 40 changed files with 2,341 additions and 2,129 deletions.
7 changes: 4 additions & 3 deletions css/theme/beige.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@


// Default mixins and settings -----------------
@use "sass:color";
@import "./template/mixins";
@import "./template/settings";
// ---------------------------------------------



// Include theme-specific fonts
@import url(./fonts/league-gothic/league-gothic.css);
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
@import url("/theme/fonts/league-gothic/league-gothic.css");
@import url("https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic");


// Override theme settings (see ../template/settings.scss)
Expand All @@ -23,7 +24,7 @@ $headingColor: #333;
$headingTextShadow: none;
$backgroundColor: #f7f3de;
$linkColor: #8b743d;
$linkColorHover: lighten( $linkColor, 20% );
$linkColorHover: color.scale( $linkColor, $lightness: 20% );
$selectionBackgroundColor: rgba(79, 64, 28, 0.99);
$heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15);

Expand Down
7 changes: 4 additions & 3 deletions css/theme/black-contrast.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@


// Default mixins and settings -----------------
@use "sass:color";
@import "./template/mixins";
@import "./template/settings";
// ---------------------------------------------


// Include theme-specific fonts
@import url(./fonts/source-sans-pro/source-sans-pro.css);
@import url("/theme/fonts/source-sans-pro/source-sans-pro.css");


// Override theme settings (see ../template/settings.scss)
Expand All @@ -32,8 +33,8 @@ $headingLetterSpacing: normal;
$headingTextTransform: uppercase;
$headingFontWeight: 600;
$linkColor: #42affa;
$linkColorHover: lighten( $linkColor, 15% );
$selectionBackgroundColor: lighten( $linkColor, 25% );
$linkColorHover: color.scale( $linkColor, $lightness: 15% );
$selectionBackgroundColor: color.scale( $linkColor, $lightness: 25% );

$heading1Size: 2.5em;
$heading2Size: 1.6em;
Expand Down
3 changes: 2 additions & 1 deletion css/theme/black.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@


// Default mixins and settings -----------------
@use "sass:color";
@import "./template/mixins";
@import "./template/settings";
// ---------------------------------------------
Expand All @@ -29,7 +30,7 @@ $headingLetterSpacing: normal;
$headingTextTransform: uppercase;
$headingFontWeight: 600;
$linkColor: #42affa;
$linkColorHover: lighten( $linkColor, 15% );
$linkColorHover: color.scale( $linkColor, $lightness: 15% );
$selectionBackgroundColor: rgba( $linkColor, 0.75 );

$heading1Size: 2.5em;
Expand Down
5 changes: 3 additions & 2 deletions css/theme/blood.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@
*/

// Default mixins and settings -----------------
@use "sass:color";
@import "./template/mixins";
@import "./template/settings";
// ---------------------------------------------

// Include theme-specific fonts

@import url(https://fonts.googleapis.com/css?family=Ubuntu:300,700,300italic,700italic);
@import url("https://fonts.googleapis.com/css?family=Ubuntu:300,700,300italic,700italic");

// Colors used in the theme
$blood: #a23;
Expand All @@ -40,7 +41,7 @@ $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b

// Links
$linkColor: $blood;
$linkColorHover: lighten( $linkColor, 20% );
$linkColorHover: color.scale( $linkColor, $lightness: 20% );

// Text selection
$selectionBackgroundColor: $blood;
Expand Down
1 change: 1 addition & 0 deletions css/theme/dracula.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@


// Default mixins and settings -----------------
@use "sass:color";
@import "./template/mixins";
@import "./template/settings";
// ---------------------------------------------
Expand Down
5 changes: 3 additions & 2 deletions css/theme/league.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@


// Default mixins and settings -----------------
@use "sass:color";
@import "./template/mixins";
@import "./template/settings";
// ---------------------------------------------



// Include theme-specific fonts
@import url(./fonts/league-gothic/league-gothic.css);
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
@import url("/theme/fonts/league-gothic/league-gothic.css");
@import url("https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic");

// Override theme settings (see ../template/settings.scss)
$headingTextShadow: 0px 0px 6px rgba(0,0,0,0.2);
Expand Down
7 changes: 4 additions & 3 deletions css/theme/moon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@


// Default mixins and settings -----------------
@use "sass:color";
@import "./template/mixins";
@import "./template/settings";
// ---------------------------------------------



// Include theme-specific fonts
@import url(./fonts/league-gothic/league-gothic.css);
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
@import url("/theme/fonts/league-gothic/league-gothic.css");
@import url("https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic");

/**
* Solarized colors by Ethan Schoonover
Expand Down Expand Up @@ -43,7 +44,7 @@ $headingColor: $base2;
$headingTextShadow: none;
$backgroundColor: $base03;
$linkColor: $blue;
$linkColorHover: lighten( $linkColor, 20% );
$linkColorHover: color.scale( $linkColor, $lightness: 20% );
$selectionBackgroundColor: $magenta;

// Change text colors against light slide backgrounds
Expand Down
7 changes: 4 additions & 3 deletions css/theme/night.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,23 @@


// Default mixins and settings -----------------
@use "sass:color";
@import "./template/mixins";
@import "./template/settings";
// ---------------------------------------------


// Include theme-specific fonts
@import url(https://fonts.googleapis.com/css?family=Montserrat:700);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
@import url("https://fonts.googleapis.com/css?family=Montserrat:700");
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic");


// Override theme settings (see ../template/settings.scss)
$backgroundColor: #111;

$mainFont: 'Open Sans', sans-serif;
$linkColor: #e7ad52;
$linkColorHover: lighten( $linkColor, 20% );
$linkColorHover: color.scale( $linkColor, $lightness: 20% );
$headingFont: 'Montserrat', Impact, sans-serif;
$headingTextShadow: none;
$headingLetterSpacing: -0.03em;
Expand Down
3 changes: 2 additions & 1 deletion css/theme/serif.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@


// Default mixins and settings -----------------
@use "sass:color";
@import "./template/mixins";
@import "./template/settings";
// ---------------------------------------------
Expand All @@ -22,7 +23,7 @@ $headingTextShadow: none;
$headingTextTransform: none;
$backgroundColor: #F0F1EB;
$linkColor: #51483D;
$linkColorHover: lighten( $linkColor, 20% );
$linkColorHover: color.scale( $linkColor, $lightness: 20% );
$selectionBackgroundColor: #26351C;

$overlayElementBgColor: 0, 0, 0;
Expand Down
7 changes: 4 additions & 3 deletions css/theme/simple.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@


// Default mixins and settings -----------------
@use "sass:color";
@import "./template/mixins";
@import "./template/settings";
// ---------------------------------------------



// Include theme-specific fonts
@import url(https://fonts.googleapis.com/css?family=News+Cycle:400,700);
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
@import url("https://fonts.googleapis.com/css?family=News+Cycle:400,700");
@import url("https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic");


// Override theme settings (see ../template/settings.scss)
Expand All @@ -28,7 +29,7 @@ $headingTextShadow: none;
$headingTextTransform: none;
$backgroundColor: #fff;
$linkColor: #00008B;
$linkColorHover: lighten( $linkColor, 20% );
$linkColorHover: color.scale( $linkColor, $lightness: 20% );
$selectionBackgroundColor: rgba(0, 0, 0, 0.99);

$overlayElementBgColor: 0, 0, 0;
Expand Down
7 changes: 4 additions & 3 deletions css/theme/sky.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@


// Default mixins and settings -----------------
@use "sass:color";
@import "./template/mixins";
@import "./template/settings";
// ---------------------------------------------



// Include theme-specific fonts
@import url(https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);
@import url("https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic");
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700");


// Override theme settings (see ../template/settings.scss)
Expand All @@ -26,7 +27,7 @@ $headingLetterSpacing: -0.08em;
$headingTextShadow: none;
$backgroundColor: #f7fbfc;
$linkColor: #3b759e;
$linkColorHover: lighten( $linkColor, 20% );
$linkColorHover: color.scale( $linkColor, $lightness: 20% );
$selectionBackgroundColor: #134674;

$overlayElementBgColor: 0, 0, 0;
Expand Down
7 changes: 4 additions & 3 deletions css/theme/solarized.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@


// Default mixins and settings -----------------
@use "sass:color";
@import "./template/mixins";
@import "./template/settings";
// ---------------------------------------------



// Include theme-specific fonts
@import url(./fonts/league-gothic/league-gothic.css);
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
@import url("/theme/fonts/league-gothic/league-gothic.css");
@import url("https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic");


/**
Expand Down Expand Up @@ -48,7 +49,7 @@ $headingColor: $base01;
$headingTextShadow: none;
$backgroundColor: $base3;
$linkColor: $blue;
$linkColorHover: lighten( $linkColor, 20% );
$linkColorHover: color.scale( $linkColor, $lightness: 20% );
$selectionBackgroundColor: $magenta;

$overlayElementBgColor: 0, 0, 0;
Expand Down
7 changes: 4 additions & 3 deletions css/theme/white-contrast.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@


// Default mixins and settings -----------------
@use "sass:color";
@import "./template/mixins";
@import "./template/settings";
// ---------------------------------------------


// Include theme-specific fonts
@import url(./fonts/source-sans-pro/source-sans-pro.css);
@import url("/theme/fonts/source-sans-pro/source-sans-pro.css");


// Override theme settings (see ../template/settings.scss)
Expand All @@ -32,8 +33,8 @@ $headingLetterSpacing: normal;
$headingTextTransform: uppercase;
$headingFontWeight: 600;
$linkColor: #2a76dd;
$linkColorHover: lighten( $linkColor, 15% );
$selectionBackgroundColor: lighten( $linkColor, 25% );
$linkColorHover: color.scale( $linkColor, $lightness: 15% );
$selectionBackgroundColor: color.scale( $linkColor, $lightness: 25% );

$heading1Size: 2.5em;
$heading2Size: 1.6em;
Expand Down
7 changes: 4 additions & 3 deletions css/theme/white.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@


// Default mixins and settings -----------------
@use "sass:color";
@import "./template/mixins";
@import "./template/settings";
// ---------------------------------------------


// Include theme-specific fonts
@import url(./fonts/source-sans-pro/source-sans-pro.css);
@import url("/theme/fonts/source-sans-pro/source-sans-pro.css");


// Override theme settings (see ../template/settings.scss)
Expand All @@ -29,8 +30,8 @@ $headingLetterSpacing: normal;
$headingTextTransform: uppercase;
$headingFontWeight: 600;
$linkColor: #2a76dd;
$linkColorHover: lighten( $linkColor, 15% );
$selectionBackgroundColor: lighten( $linkColor, 25% );
$linkColorHover: color.scale( $linkColor, $lightness: 15% );
$selectionBackgroundColor: color.scale( $linkColor, $lightness: 25% );

$heading1Size: 2.5em;
$heading2Size: 1.6em;
Expand Down
6 changes: 3 additions & 3 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="stylesheet" href="dist/reset.css">
<link rel="stylesheet" href="dist/reveal.css">
<link rel="stylesheet" href="dist/theme/black.css" id="theme">
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/reveal.scss">
<link rel="stylesheet" href="css/theme/black.scss" id="theme">

<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="plugin/highlight/monokai.css">
Expand Down
Loading

0 comments on commit 6b7698d

Please sign in to comment.