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

add button text color customization field #11

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
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
4 changes: 3 additions & 1 deletion common/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@
}

.btn.btn-icon-text {
background: var(--banner-secondary-text);
color: $button_text_color;
background: $button_background_color;
border-color: $button_background_color;
}
}
}
Expand Down
10 changes: 10 additions & 0 deletions settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,16 @@ secondary_text_color:
secondary_text_color_dark:
type: string
default: ""
button_text_color:
type: string
default: "#000"
description:
en: 'The text color used for buttons.'
button_background_color:
type: string
default: "#FF6C00"
description:
en: 'The color used for the button background.'
link_text_color:
type: string
default: "#0f82af"
Expand Down