Skip to content

Commit

Permalink
Docs: Minor readme improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraM committed Nov 10, 2021
1 parent 3ffa363 commit 3743330
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ via npm package [@lmc-eu/cookie-consent-manager](https://www.npmjs.com/package/@
});
```
See below for [configuration options](#configuration).
3. Include default CSS in your HTML:
```html
<link rel="stylesheet" href="node_modules/@lmc-eu/cookie-consent-manager/LmcCookieConsentManager.min.css">
Expand All @@ -95,9 +97,11 @@ via npm package [@lmc-eu/cookie-consent-manager](https://www.npmjs.com/package/@
```scss
@use 'node_modules/@lmc-eu/cookie-consent-manager/LmcCookieConsentManager.css';
```
Please mind the `.css` extension used in the Sass example. Using the provided
`.scss` stylesheet is only [recommended](#with-spirit-design-system) for
projects that are built with [Spirit Design System].
Please mind the `.css` extension used in the Sass example. Using the provided `.scss` stylesheet is
recommended only for projects that are built [with Spirit Design System](#with-spirit-design-system).
See below for [theming customization options](#theming).
## Manage features depending on given consent
Expand Down Expand Up @@ -168,7 +172,7 @@ initLmcCookieConsentManager(
Optional config parameters could be provided on plugin initialization in the configuration object.
```js
initLmcCookieConsentManager(
initLmcCookieConsentManager( // when loaded as a module, these options are passed to `LmcCookieConsentManager()` instead
{
'defaultLang': 'cs',
'autodetectLang': false,
Expand Down

0 comments on commit 3743330

Please sign in to comment.