Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Vaadin theme Mixin for lit-pagination #15

Open
jcgueriaud1 opened this issue Jun 10, 2021 · 0 comments
Open

Use Vaadin theme Mixin for lit-pagination #15

jcgueriaud1 opened this issue Jun 10, 2021 · 0 comments

Comments

@jcgueriaud1
Copy link

How can we change the style of pagination?

From Discord.
How can I change the size of the icons?

Ideally lit-pagination should use Vaadin themableMixin so it will be possible to use
Cssimport theme-for lit-pagination.
@CssImport(value = "./lit-pagination-custom.css", themeFor = "lit-pagination")
And use this css: lit-pagination-custom.css

paper-icon-button {
height: 70px;
width:70px;
}

There is an example here for lit and Vaadin 14:
https://github.com/vaadin-component-factory/explorer-tree-grid-flow/blob/master/explorer-tree-grid-flow/src/main/resources/META-INF/resources/frontend/src/explorer-tree-toggle.js#L14

And you need this annotation on the java side:
@NpmPackage(value="@vaadin/themable-element", version = "0.3.0")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant