From b78b371025a1c5b2e49aa5ce32602200cfcc947e Mon Sep 17 00:00:00 2001 From: Knut Sveidqvist Date: Thu, 17 Mar 2022 20:07:27 +0100 Subject: [PATCH] Added theming support for gitgraph --- cypress/platform/gitgraph.html | 17 +++++- cypress/platform/showcase_base.html | 45 ++++++++++++++++ cypress/platform/showcase_base_dark.html | 67 ++++++++++++++++++++---- cypress/platform/showcase_dark.html | 45 ++++++++++++++++ cypress/platform/showcase_default.html | 47 ++++++++++++++++- cypress/platform/showcase_forest.html | 45 ++++++++++++++++ cypress/platform/showcase_neutral.html | 47 +++++++++++++++++ src/diagrams/git/gitGraphRenderer.js | 2 +- src/diagrams/git/styles.js | 59 +++++---------------- src/themes/theme-base.js | 12 ++++- src/themes/theme-dark.js | 18 +++++++ src/themes/theme-default.js | 47 ++++++++++++++++- src/themes/theme-forest.js | 37 +++++++++++++ src/themes/theme-neutral.js | 29 ++++++++++ 14 files changed, 456 insertions(+), 61 deletions(-) diff --git a/cypress/platform/gitgraph.html b/cypress/platform/gitgraph.html index cf9339f45..2e10a8b55 100644 --- a/cypress/platform/gitgraph.html +++ b/cypress/platform/gitgraph.html @@ -9,7 +9,8 @@