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
Copy file name to clipboardExpand all lines: docs/customizing-baklava-theme.stories.mdx
+47-2Lines changed: 47 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,8 @@ to provide a list of component that you can customize every part of it. Instead
9
9
uses it.
10
10
11
11
But there are still many customization options in Baklava, those doesn't effect UX result of the components a lot. These are design tokens and a set of
12
-
design token definitions are named as a "theme". Baklava comes with a default theme that you can import from `themes/default.css` file and will provide
13
-
more soon (like a dark theme). But you can also create your own theme or extend/override some part of the default theme in your applications.
12
+
design token definitions are named as a "theme". Baklava comes with a default theme that you can import from `themes/default.css` file and also provides
13
+
a dark theme from `themes/dark.css` file. You can also create your own theme or extend/override some part of the default theme in your applications.
14
14
15
15
## Creating your own theme
16
16
@@ -36,6 +36,34 @@ If you want to change a small set of the design tokens, you may consider to exte
36
36
37
37
With this, you can -for example- only override color palette for your app and continue to use typography or spacing rules from the default theme.
38
38
39
+
## Using Dark Theme
40
+
41
+
Baklava provides a built-in dark theme that you can use in your application. To enable dark mode:
0 commit comments