You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The module **klaro-ui** is now installed in your application's **node_modules** folder.
31
+
32
+
4. From your bundler/build tool, source the `klaro-ui` stylesheet from the klaro-ui module:
33
+
34
+
```
35
+
/node_modules/klaro-ui/dist/klaro-ui.css
36
+
```
37
+
38
+
## Appearance
39
+
40
+
Klaro UI doesn't include any typefaces. The Klaro text will include the font defined for the document.
41
+
42
+
The Klaro UI default stylesheet renders a light colored theme when a user's system appearance is set to light colors and a dark colored theme when set to dark colors.
43
+
44
+
For only the light colored theme, use **klaro-ui-light.css** within **klaro-ui/dist**.
45
+
46
+
For only the dark colored theme, use **klaro-ui-dark.css** within **klaro-ui/dist**.
Copy file name to clipboardexpand all lines: src/index.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@
35
35
<h1>Klaro UI for the California Digital Library</h1>
36
36
<main>
37
37
<p>This page demonstrates the Klaro consent manager using the custom CDL design, text and functionality.</p>
38
-
<p>Developer instructions for applying this custom UI to instances of Klaro on CDL websites will be published soon to <ahref="https://github.com/cdlib/klaro-ui" target="_blank">cdlib Klaro-UI GitHub repository</a>.</p>
38
+
<p>To use this custom UI for instances of Klaro on CDL websites, see the <ahref="https://github.com/cdlib/klaro-ui" target="_blank">cdlib Klaro-UI GitHub readme</a>.</p>
39
39
<p>Below is filler content to force some vertical page scrolling and test that Klaro is always rendering as a fixed component in the lower-right of the browser.</p>
0 commit comments