diff options
author | Hakim El Hattab | 2013-03-04 17:34:45 -0500 |
---|---|---|
committer | Hakim El Hattab | 2013-03-04 17:34:45 -0500 |
commit | 55e16f4cb97c76d4ec799ade87bec8e11d5703c7 (patch) | |
tree | b1045f254fa6c28b5d77ab75cae4958f295340ec /css/theme/source | |
parent | ee7d36a044cb44c9d366d07421de088a61043ca3 (diff) | |
parent | 49ada91eb1680f5bc4343815d9e464c5a56fb726 (diff) |
Merge branch 'solarized' of https://github.com/asmod3us/reveal.js into dev
Diffstat (limited to 'css/theme/source')
-rw-r--r-- | css/theme/source/solarized_colors.scss | 17 | ||||
-rw-r--r-- | css/theme/source/solarized_dark.scss | 53 | ||||
-rw-r--r-- | css/theme/source/solarized_light.scss | 59 |
3 files changed, 129 insertions, 0 deletions
diff --git a/css/theme/source/solarized_colors.scss b/css/theme/source/solarized_colors.scss new file mode 100644 index 0000000..17b490f --- /dev/null +++ b/css/theme/source/solarized_colors.scss @@ -0,0 +1,17 @@ +$base03: #002b36; +$base02: #073642; +$base01: #586e75; +$base00: #657b83; +$base0: #839496; +$base1: #93a1a1; +$base2: #eee8d5; +$base3: #fdf6e3; +$yellow: #b58900; +$orange: #cb4b16; +$red: #dc322f; +$magenta: #d33682; +$violet: #6c71c4; +$blue: #268bd2; +$cyan: #2aa198; +$green: #859900; + diff --git a/css/theme/source/solarized_dark.scss b/css/theme/source/solarized_dark.scss new file mode 100644 index 0000000..a54854b --- /dev/null +++ b/css/theme/source/solarized_dark.scss @@ -0,0 +1,53 @@ +/** + * Solarized Dark theme for reveal.js. + * Author: Achim Staebler + */ + + +// Default mixins and settings ----------------- +@import "../template/mixins"; +@import "../template/settings"; +// --------------------------------------------- + + + +// Include theme-specific fonts +@font-face { + font-family: 'League Gothic'; + src: url('../../lib/font/league_gothic-webfont.eot'); + src: url('../../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'), + url('../../lib/font/league_gothic-webfont.woff') format('woff'), + url('../../lib/font/league_gothic-webfont.ttf') format('truetype'), + url('../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular') format('svg'); + + font-weight: normal; + font-style: normal; +} + +@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); + +/** + * Solarized colors by Ethan Schoonover + */ +html * { + color-profile: sRGB; + rendering-intent: auto; +} + +@import "solarized_colors.scss"; + +// Override theme settings (see ../template/settings.scss) +$mainColor: $base0; +$headingColor: $yellow; +$headingTextShadow: none; +$backgroundColor: $base03; +$linkColor: $blue; +$linkColorHover: lighten( $linkColor, 20% ); +$selectionBackgroundColor: $magenta; +$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); + + + +// Theme template ------------------------------ +@import "../template/theme"; +// --------------------------------------------- diff --git a/css/theme/source/solarized_light.scss b/css/theme/source/solarized_light.scss new file mode 100644 index 0000000..18f5612 --- /dev/null +++ b/css/theme/source/solarized_light.scss @@ -0,0 +1,59 @@ +/** + * Solarized Light theme for reveal.js. + * Author: Achim Staebler + */ + + +// Default mixins and settings ----------------- +@import "../template/mixins"; +@import "../template/settings"; +// --------------------------------------------- + + + +// Include theme-specific fonts +@font-face { + font-family: 'League Gothic'; + src: url('../../lib/font/league_gothic-webfont.eot'); + src: url('../../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'), + url('../../lib/font/league_gothic-webfont.woff') format('woff'), + url('../../lib/font/league_gothic-webfont.ttf') format('truetype'), + url('../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular') format('svg'); + + font-weight: normal; + font-style: normal; +} + +@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); + + +/** + * Solarized colors by Ethan Schoonover + */ +html * { + color-profile: sRGB; + rendering-intent: auto; +} + +@import "solarized_colors.scss"; + +// Override theme settings (see ../template/settings.scss) +$mainColor: $base00; +$headingColor: $green; +$headingTextShadow: none; +$backgroundColor: $base3; +$linkColor: $yellow; +$linkColorHover: lighten( $linkColor, 20% ); +$selectionBackgroundColor: $magenta; +$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); + +// Background generator +// @mixin bodyBackground() { +// @include radial-gradient( rgba($base3,1), rgba(lighten($base3, 20%),1) ); +// } + + + +// Theme template ------------------------------ +@import "../template/theme"; +// --------------------------------------------- |