diff --git a/package.json b/package.json index d6df7860..b65d0bcc 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "replace-version": "node scripts/readme-replace-version.js" }, "dependencies": { - "@lmc-eu/spirit-design-tokens": "^0.4.4", + "@lmc-eu/spirit-design-tokens": "^0.4.5", "nanoid": "^3.1.30", "vanilla-cookieconsent": "^2.7.0-rc3" }, diff --git a/src/scss/_theme.scss b/src/scss/_theme.scss index e8ebd83a..c48e7329 100644 --- a/src/scss/_theme.scss +++ b/src/scss/_theme.scss @@ -21,9 +21,9 @@ --lmcccm-p-font-family: var(--lmcccm-font-family, #{tokens.$font-family-default}); --lmcccm-p-base-font-size: var(--lmcccm-base-font-size, #{tools.rem2em(tokens.$font-size-base)}); - --lmcccm-p-btn-font-weight: var(--lmcccm-btn-font-weight, 600); // TODO change to a Spirit token once available. + --lmcccm-p-btn-font-weight: var(--lmcccm-btn-font-weight, #{tokens.$font-weight-semibold}); --lmcccm-p-btn-border-width: var(--lmcccm-btn-border-width, #{list.nth(tokens.$border-1, 1)}); - --lmcccm-p-btn-border-style: var(--lmcccm-btn-border-style, none); // TODO change to `#{list.nth(tokens.$border-1, 2)}` once Spirit tokens are updated. + --lmcccm-p-btn-border-style: var(--lmcccm-btn-border-style, #{list.nth(tokens.$border-1, 2)}); --lmcccm-p-btn-border-radius: var(--lmcccm-btn-border-radius, #{tools.rem2em(tokens.$radius-1)}); // diff --git a/yarn.lock b/yarn.lock index f5c77619..9b188e66 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1334,10 +1334,10 @@ resolved "https://registry.yarnpkg.com/@lmc-eu/prettier-config/-/prettier-config-1.2.0.tgz#b72b292bd8797ac975ef363840592ca9b79f7772" integrity sha512-KLx4OyBSO3Gs7U47D6zr//cNs2tM0rgJxyRPPvbSDdSM4YTCbzR6Yo6fEhFPZ7wxcskSWrOJKFwNnAxwK3jHVg== -"@lmc-eu/spirit-design-tokens@^0.4.4": - version "0.4.4" - resolved "https://registry.yarnpkg.com/@lmc-eu/spirit-design-tokens/-/spirit-design-tokens-0.4.4.tgz#d0a26a1ecaa612f773977c20e77e9f4e0f198852" - integrity sha512-9/ymrInE340YIB67aY2tH11dxUP0g5TY5QxSQghiXldkveo6pia+TqvYsbEtoSIpxmU2b4Jn7WpmTFAAxL5VVw== +"@lmc-eu/spirit-design-tokens@^0.4.5": + version "0.4.5" + resolved "https://registry.yarnpkg.com/@lmc-eu/spirit-design-tokens/-/spirit-design-tokens-0.4.5.tgz#826c410f4ccc8799fdf609aeaed00b3925066c4d" + integrity sha512-quOQB6pUl30wi7EmAjEtZYRfyKzvzZC4EPc9gdsheJghHgsY0/J4m8lfpm1ced5+b6n1HEpwB0haL0EXDj5o7w== "@lmc-eu/stylelint-config@^2.0.0": version "2.0.1"