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
1,100 changes: 244 additions & 856 deletions package-lock.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@
"author": "",
"license": "ISC",
"dependencies": {
"@fortawesome/fontawesome-free": "^6.1.1",
"@popperjs/core": "^2.11.5",
"@fortawesome/fontawesome-free": "^6.5.1",
"@popperjs/core": "^2.11.8",
"animate.css": "^4.1.1",
"autoprefixer": "^10.4.7",
"bootstrap": "^5.2.0",
"copy-to-clipboard": "^3.3.2",
"autoprefixer": "^10.4.16",
"bootstrap": "^5.3.2",
"copy-to-clipboard": "^3.3.3",
"email-validator": "^2.0.4",
"highlight.js": "^11.6.0",
"highlight.js": "^11.9.0",
"lunr": "^2.3.9",
"postcss": "^8.4.14",
"postcss-cli": "^10.0.0",
"postcss-import": "^14.1.0",
"postcss-nested": "^5.0.6",
"sweetalert2": "^11.4.26"
"postcss": "^8.4.32",
"postcss-cli": "^11.0.0",
"postcss-import": "^15.1.0",
"postcss-nested": "^6.0.1",
"sweetalert2": "^11.6.13"
}
}
113 changes: 0 additions & 113 deletions themes/wc-eh-docs/assets/scss/_dark.scss

This file was deleted.

24 changes: 12 additions & 12 deletions themes/wc-eh-docs/assets/scss/buttons/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
color: inherit !important;
}

.link-dark.seudo-btn:hover,
.link-dark.seudo-btn:focus,
.link-dark:hover,
.link-dark:focus {
color: rgba(0, 0, 0, .85) !important;
background-color: $active-nav !important;
}
// .link-dark.seudo-btn:hover,
// .link-dark.seudo-btn:focus,
// .link-dark:hover,
// .link-dark:focus {
// color: rgba(0, 0, 0, .85) !important;
// background-color: $active-nav !important;
// }

.btn-toggle::before {
width: 1.5em;
Expand All @@ -47,11 +47,11 @@
margin-left: 1.25rem;
}

.btn-toggle-nav .btn-toggle:hover,
.btn-toggle-nav .btn-toggle:focus,
.active-nav {
background-color: $active-nav !important;
}
// .btn-toggle-nav .btn-toggle:hover,
// .btn-toggle-nav .btn-toggle:focus,
// .active-nav {
// background-color: $active-nav !important;
// }

.btn-close.white {
color: #fff !important;
Expand Down
25 changes: 5 additions & 20 deletions themes/wc-eh-docs/assets/scss/eh.scss
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
$prefix: 'bs';
$primary: #007ab3;
$active-nav: #bdeaff;
$dark: #505050;
$dark-mode-dark: #272727;
$dark-mode-secondary: #3e4347;

$alert-dark-color: #393a3b;
$alert-dark-color-dm: lighten(#393a3b, 65%);
$alert-info-color: #055160;
$alert-info-color-dm: lighten(#055160, 65%);
$alert-success-color: #0f5132;
$alert-success-color-dm: lighten(#0f5132, 60%);
$alert-warning-color: #664d03;
$alert-warning-color-dm: lighten(#664d03, 60%);


@import 'print';
Expand All @@ -31,7 +17,6 @@ $alert-warning-color-dm: lighten(#664d03, 60%);
@import "node_modules/sweetalert2/dist/sweetalert2.css";

@import "node_modules/highlight.js/scss/a11y-light.scss";
@import 'dark';

.hljs {
background: #f7f4f4 !important;
Expand All @@ -42,9 +27,9 @@ $alert-warning-color-dm: lighten(#664d03, 60%);
--code-l: 52%;
--bs-code-color: hsl(var(--code-hs), var(--code-l));
--bs-code-color-dm: hsl(var(--code-hs), calc(var(--code-l) + 25%));
--bs-alert-bg-dm: $alert-bg;
--alert-dark-color-dm: #{$alert-dark-color-dm};
--alert-info-color-dm: #{$alert-info-color-dm};
--alert-success-color-dm: #{$alert-success-color-dm};
--alert-warning-color-dm: #{$alert-warning-color-dm};
// --bs-alert-bg-dm: $alert-bg;
// --alert-dark-color-dm: #{$alert-dark-color-dm};
// --alert-info-color-dm: #{$alert-info-color-dm};
// --alert-success-color-dm: #{$alert-success-color-dm};
// --alert-warning-color-dm: #{$alert-warning-color-dm};
}
2 changes: 1 addition & 1 deletion themes/wc-eh-docs/layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="en" data-bs-theme="dark">

<head>
<!-- <base href="{{ $.Site.BaseURL }}"/> -->
Expand Down
6 changes: 3 additions & 3 deletions themes/wc-eh-docs/layouts/partials/navigation.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<header class="bg-dark">
<header>
<!-- Fixed navbar -->
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<nav class="navbar navbar-expand-md fixed-top bg-body-tertiary">
<div class="container-fluid">
<a class="navbar-brand" href="{{ $.Site.BaseURL }}">
<img height="35" src="{{ $.Site.BaseURL }}images/brand/{{ $.Site.Params.Brand.code }}/logo.svg">
Expand All @@ -21,7 +21,7 @@
<button class="btn btn-secondary" id="search-button" type="submit">Search</button>
</div>
</form>
<div class="d-block d-md-none bg-light bg-md-dark navbar-nav py-2 mt-md-0 doc-tree">
<div class="d-block d-md-none navbar-nav py-2 mt-md-0 doc-tree">
<ul class="list-unstyled">
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
Expand Down
4 changes: 2 additions & 2 deletions themes/wc-eh-docs/layouts/partials/sidebar.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<aside id="sidebar" class="sidebar col-md-3 col-lg-2 d-md-block sidebar collapse px-0">
<div class="flex-shrink-0 position-sticky sidebar-sticky">
<ul class="btn-toggle-nav list-unstyled ps-0 pe-4 lh-1">
<div class="flex-shrink-0 position-sticky sidebar-sticky ">
<ul class="btn-toggle-nav list-unstyled ps-0 pe-4 lh-1 link-body-emphasis">
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
{{ if .HasChildren }}
Expand Down