Skip to content

Commit

Permalink
Merge branch 'develop' into algolia
Browse files Browse the repository at this point in the history
# Conflicts:
#	css-compiled/spectre-exp.css
#	css-compiled/spectre-icons.css
#	css-compiled/spectre.css
#	css-compiled/theme.css
  • Loading branch information
w00fz committed Oct 5, 2021
2 parents dd53758 + 211b4c5 commit ec435ad
Show file tree
Hide file tree
Showing 13 changed files with 4,312 additions and 17,765 deletions.
2 changes: 1 addition & 1 deletion css-compiled/spectre-exp.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css-compiled/spectre.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css-compiled/theme.min.css

Large diffs are not rendered by default.

Binary file modified images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22,017 changes: 4,279 additions & 17,738 deletions package-lock.json

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,27 @@
"devDependencies": {
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.6",
"babel-loader": "^7.1.5",
"babel-loader": "^8.2.2",
"babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-3": "^6.24.1",
"css-loader": "^1.0.0",
"eslint": "^5.2.0",
"css-loader": "^5.2.6",
"eslint": "^7.27.0",
"eslint-loader": "^2.1.0",
"exports-loader": "^0.7.0",
"gulp": "^4.0.0",
"gulp-autoprefixer": "^6.0.0",
"gulp-clean-css": "^3.9.4",
"gulp-csscomb": "^3.0.8",
"gulp-rename": "^1.3.0",
"gulp-sass": "^4.0.1",
"gulp-sourcemaps": "^2.6.4",
"imports-loader": "^0.8.0",
"exports-loader": "^3.0.0",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^7.0.1",
"gulp-clean-css": "^4.3.0",
"gulp-csscomb": "^3.1.0",
"gulp-rename": "^2.0.0",
"gulp-sass": "^4.1.0",
"gulp-sourcemaps": "^3.0.0",
"imports-loader": "^3.0.0",
"json-loader": "^0.5.7",
"style-loader": "^0.21.0",
"uglifyjs-webpack-plugin": "^2.1.1",
"webpack": "^4.16.2",
"webpack-cli": "^3.1.0"
"style-loader": "^2.0.0",
"uglifyjs-webpack-plugin": "^2.2.0",
"webpack": "^5.38.1",
"webpack-cli": "^4.7.0"
},
"browserslist": [
"last 4 Chrome versions",
Expand Down
2 changes: 1 addition & 1 deletion scss/spectre/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $version: "0.5.8";
$rtl: false !default;

// Core colors
$primary-color: #5755d9 !default;
$primary-color: #1A73EC !default;
$primary-color-dark: darken($primary-color, 3%) !default;
$primary-color-light: lighten($primary-color, 3%) !default;
$secondary-color: lighten($primary-color, 37.5%) !default;
Expand Down
8 changes: 5 additions & 3 deletions scss/theme/_offcanvas.scss
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,11 @@
}
}

/** Defaults (purple) **/
.off-canvas .learn-sidebar:before {
background: linear-gradient(150deg, $wisteria 0, $deep-well 100%);
/** Default **/
body.sidebar-purple {
.off-canvas .learn-sidebar:before {
background: linear-gradient(150deg, #0766E2 0, #A638F5 100%);
}
}

/** Secondary (green) **/
Expand Down
4 changes: 4 additions & 0 deletions scss/theme/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ pre.xdebug-var-dump {
word-break: break-word;
}

.prism-wrapper {
overflow: hidden;
}

.code-toolbar {
margin: 0.5rem 0;
pre[class*="language-"] {
Expand Down
2 changes: 1 addition & 1 deletion scss/theme/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $silver: #BDC3C7;
$concrete: #95A5A6;
$asbestos: #7F8C8D;

$primary-color: #1AA3ED !default;
$primary-color: #1A73EC !default;
$secondary-color: #8C44AB !default;
$dark-color: #454d5d !default;
$body-font-color: darken($dark-color, 5%) !default;
Expand Down
2 changes: 1 addition & 1 deletion templates/chapter.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% extends 'docs.html.twig' %}

{% block content %}
<div id="chapter">
<div id="chapter" class="magic-content">
{{ page.content|raw }}
</div>
{% endblock %}
2 changes: 1 addition & 1 deletion templates/error.html.twig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends 'partials/base.html.twig' %}

{% block content %}
<div id="error">
<div id="error" class="magic-content">
<div>
<h1>{{ 'PLUGIN_ERROR.ERROR'|t }} {{ page.header.http_response_code }}</h1>
<p>
Expand Down
2 changes: 1 addition & 1 deletion templates/partials/page.html.twig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="body-inner" class="highlightable">
<div id="body-inner" class="highlightable magic-content">
<h1>{{ page.title }}</h1>
<p>
{{ page.content|raw }}
Expand Down

0 comments on commit ec435ad

Please sign in to comment.