Skip to content

Commit

Permalink
Merge pull request #12 from antistatique/feature/add-class-override
Browse files Browse the repository at this point in the history
  • Loading branch information
iwolfisberg authored Oct 11, 2023
2 parents fdc05ff + 1866507 commit b5bd03d
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 17 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
- Add documentation for i18n (first approach)

### Added
- Add classes to override default settings banner style

## [1.2.1] - 2023-09-25
### Fixed
Expand Down
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,15 +264,20 @@ You can theme Leckerli with the following CSS custom properties (variables):

To override any other style, you can use the following classes:

| Class | Description |
| ----------------------- | ----------------------------------- |
| `.banner-wrapper` | Override the banner display style |
| `.banner-title` | Override the title style |
| `.banner-description` | Override the description style |
| `.banner-btns` | Override the buttons display style |
| `.banner-btn-customise` | Override the customize button style |
| `.banner-btn-accept` | Override the accept button style |
| `.banner-btn-reject` | Override the reject button style |
| Class | Description |
| ----------------------- | -------------------------------------------------|
| `.banner-wrapper` | Override the banner display style |
| `.banner-title` | Override the title style |
| `.banner-description` | Override the description style |
| `.banner-btns` | Override the buttons display style |
| `.banner-btn-customise` | Override the customize button style |
| `.banner-btn-accept` | Override the accept button style |
| `.banner-btn-reject` | Override the reject button style |
| `.banner-settings-title` | Override the custom settings title style |
| `.banner-settings-toggle` | Override the custom settings toggle button style |
| `.banner-settings-description`| Override the custom settings description style |
| `.banner-settings-save` | Override the custom settings save button style |
| `.banner-settings-close` | Override the custom settings close button style |

## 🧑‍💻 Contribute

Expand Down
Loading

0 comments on commit b5bd03d

Please sign in to comment.