Skip to content

Commit 8c4bebf

Browse files
authored
Merge pull request #733 from craftcms/lupe/pt-2933-green-badge-tip-has-low-text-color-contrast
Update green color of tips badge
2 parents 3b9e91f + a45f618 commit 8c4bebf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/.vuepress/theme/global-components/Badge.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ export default {
3737
font-size: 14px;
3838
height: 18px;
3939
line-height: 18px;
40-
background-color: #42b983;
40+
background-color: var(--badge-bg-color-tip);
4141
4242
&.tip,
4343
&.green {
44-
background-color: #42b983;
44+
background-color: var(--badge-bg-color-tip);
4545
}
4646
4747
&.error,

docs/.vuepress/theme/styles/base.pcss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
--sidebar-active-link-color: theme("colors.blue.default");
1616
--hamburger-color: theme("colors.black");
1717
--tooltip-bg-color: theme("colors.white");
18+
--badge-bg-color-tip: #2F835D;
1819
--border-color: #e2e8f0;
1920
--doc-set-color: theme("colors.slate");
2021
--code-highlight-color: rgba(252, 233, 106, 0.3);

0 commit comments

Comments
 (0)