Skip to content

Commit

Permalink
[update] styling updated
Browse files Browse the repository at this point in the history
  • Loading branch information
tbshag2 committed Sep 30, 2024
1 parent dbd0782 commit 69d5d0a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 26 deletions.
17 changes: 15 additions & 2 deletions docs/guides/styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,25 @@ description: You can learn about Styling in the documentation of the DHTMLX Java

## Default style

tbd
~~~css
.wx-material-theme {
--wx-theme-name: material;
--wx-pivot-primary-hover: #194e9e;
--wx-pivot-border-color: var(--wx-color-font-disabled);
--wx-pivot-field-hover: linear-gradient(
rgba(0, 0, 0, 0.1) 0%,
rgba(0, 0, 0, 0.1) 100%
);
}
~~~

:::tip Note
Next versions of Booking can bring some changes for the variables and their names. Please, do not forget to check the names after updating to the newer versions and modify them in your code to avoid problems with display of the component.
:::

## Built-in theme

The widget provides the next built-in themes: ///
The widget provides one built-in theme which is the **Material** theme.

You can apply the theme via adding the corresponding *CSS* classes to the widget container:

Expand Down
23 changes: 0 additions & 23 deletions docs/guides/working-with-hotkeys.md

This file was deleted.

1 change: 0 additions & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ module.exports = {
"guides/localization",
"guides/loading-data",
"guides/styling",
"guides/working-with-hotkeys",
],
},
]
Expand Down

0 comments on commit 69d5d0a

Please sign in to comment.