Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OD-209 PSPGen dark mode layout fixes #1

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix custom field border color for minimal layout
imlukedewitt committed Sep 14, 2022
commit 38c46b25ddcbfea15adc4784fa1a0841973c9a9e
7 changes: 2 additions & 5 deletions psp-theme-generator/psp-theme-generator.js
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ const sendLogMessages = false; // If enabled, log messages will be sent t

// Theme options
const darkMode = true; // Toggles dark mode color adjustments.
const layout = "default"; // Accepted values: "default" and "minimal". More layouts WIP.
const layout = "minimal"; // Accepted values: "default" and "minimal". More layouts WIP.
let accentColor = "#7175ff"; // Primary accent color. Must be a valid hex code with leading '#'
let hoverColor = ""; // Secondary color used when hovering/clicking buttons. Defaults to accent color.
let backgroundColor = ""; // Override theme background color. Leave blank for default.
@@ -244,9 +244,6 @@ $(function () {
border: 0px solid ${borderColor};\
border-radius: 4px;\
}\
.form__field--boxed {\
border: 1px solid ${borderColor};\
}\
.form__section--boxed header {\
background: ${backgroundColor};\
border-bottom: 1px solid ${borderColor};\
@@ -261,7 +258,7 @@ $(function () {
.form__section--billing-address .form__field-radio-group .radio > .form__field {\
margin: 20px 10px 0px 10px;\
}\
.form__field-radio-group {\
.form__field--boxed, .form__field-radio-group, .form__field-custom-field {\
border: 1px solid ${borderColor};\
}\
.form__field-radio-group .radio header {\