Skip to content

Commit 09d0102

Browse files
committed
update pagination with new color look system
1 parent a6f9eb4 commit 09d0102

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

packages/uui-pagination/lib/uui-pagination.element.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ export class UUIPaginationElement extends LitElement {
3434
--uui-button-border-color: var(--uui-color-border-standalone);
3535
--uui-button-border-color-hover: var(--uui-color-interactive-emphasis);
3636
--uui-button-border-color-disabled: var(--uui-color-border-standalone);
37-
--uui-button-background-color-hover: transparent;
38-
--uui-button-contrast-hover: var(--uui-color-default-emphasis);
3937
}
4038
4139
.page {
@@ -238,6 +236,7 @@ export class UUIPaginationElement extends LitElement {
238236
protected renderFirst() {
239237
return html`<uui-button
240238
compact
239+
look="outline"
241240
class="nav"
242241
role="listitem"
243242
label="Go to first page"
@@ -250,6 +249,7 @@ export class UUIPaginationElement extends LitElement {
250249
protected renderPrevious() {
251250
return html`<uui-button
252251
compact
252+
look="outline"
253253
class="nav"
254254
role="listitem"
255255
label="Go to previous page"
@@ -262,6 +262,7 @@ export class UUIPaginationElement extends LitElement {
262262
protected renderNext() {
263263
return html`<uui-button
264264
compact
265+
look="outline"
265266
role="listitem"
266267
class="nav"
267268
label="Go to next page"
@@ -275,6 +276,7 @@ export class UUIPaginationElement extends LitElement {
275276
return html`
276277
<uui-button
277278
compact
279+
look="outline"
278280
role="listitem"
279281
class="nav"
280282
label="Go to last page"
@@ -288,6 +290,7 @@ export class UUIPaginationElement extends LitElement {
288290
protected renderDots() {
289291
return html`<uui-button
290292
compact
293+
look="outline"
291294
tabindex="-1"
292295
class="dots"
293296
label="More pages"
@@ -298,6 +301,7 @@ export class UUIPaginationElement extends LitElement {
298301
protected renderPage(page: number) {
299302
return html`<uui-button
300303
compact
304+
look="outline"
301305
role="listitem"
302306
label="Go to page ${page}"
303307
class=${'page' + (page === this._current ? ' active' : '')}

packages/uui-pagination/lib/uui-pagination.story.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,9 @@ export default {
2525

2626
export const AAAOverview: Story = props => html`
2727
<h4>
28-
Resize the orange container to see how the number of pagination buttons
29-
changes.
28+
Resize the container to see how the number of pagination buttons changes.
3029
</h4>
31-
<div
32-
style="resize: horizontal; overflow: hidden; padding: 2em; border: 1px solid orange">
30+
<div style="resize: horizontal; overflow: hidden; padding: 6px;">
3331
<uui-pagination
3432
.total=${props.total}
3533
.current=${props.current}></uui-pagination>

0 commit comments

Comments
 (0)