Skip to content

Commit dd41df2

Browse files
committed
docs: Set cookieconsent button colors
1 parent 7c7c949 commit dd41df2

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

docs/_static/css/colors.css

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/_static/css/main.css

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/_static/scss/colors.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@
2424
--message-info: #074E8A;
2525
--message-info-bg: #E7F2F8;
2626
--message-info-text: #063b67;
27+
--cc-btn-primary-bg: var(--primary-blue);
28+
--cc-btn-secondary-text: var(--primary-blue);
2729
}

docs/_templates/layout.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
3030
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
3131
{%- endif %}
32+
{%- if theme_analytics_id %}
33+
<link rel="stylesheet" href="{{ pathto('_static/cookieconsent.css', 1) }}" type="text/css" />
34+
{%- endif %}
3235
{%- for css in css_files %}
3336
{%- if css|attr("rel") %}
3437
<link rel="{{ css.rel }}" href="{{ pathto(css.filename, 1) }}" type="text/css"{% if css.title is not none %} title="{{ css.title }}"{% endif %} />
@@ -84,7 +87,6 @@
8487
})(window,document,'script','dataLayer','{{ theme_analytics_id }}');</script>
8588
<script src="{{ pathto('_static/js/cookieconsent.js', 1) }}" defer></script>
8689
<script src="{{ pathto('_static/js/cookieconsent-init.js', 1) }}" defer></script>
87-
<link rel="stylesheet" href="{{ pathto('_static/css/cookieconsent.css', 1) }}" type="text/css" />
8890
{%- endif %}
8991

9092
{%- if not embedded %}

0 commit comments

Comments
 (0)