feat(pagination): Add component tokens#8777
Merged
macandcheese merged 10 commits intoepic/7180-component-tokensfrom Feb 21, 2024
Merged
feat(pagination): Add component tokens#8777macandcheese merged 10 commits intoepic/7180-component-tokensfrom
macandcheese merged 10 commits intoepic/7180-component-tokensfrom
Conversation
macandcheese
commented
Feb 18, 2024
| } | ||
|
|
||
| :host([scale="l"]) { | ||
| --calcite-internal-pagination-item-size: 44px; |
Contributor
Author
There was a problem hiding this comment.
@alisonailea Seems like I can't get a variable with this value to work - directly importing the file that has the size-44 reference doesn't seem to work, are any examples of these variables being used in component css files?
Contributor
There was a problem hiding this comment.
you can do an @import '~@esri/calcite-design-tokens/dist/scss/core.scss'
Contributor
Author
There was a problem hiding this comment.
Updated and used the variable - can I get another look? Thanks
alisonailea
suggested changes
Feb 20, 2024
| } | ||
|
|
||
| :host([scale="l"]) { | ||
| --calcite-internal-pagination-item-size: 44px; |
Contributor
There was a problem hiding this comment.
you can do an @import '~@esri/calcite-design-tokens/dist/scss/core.scss'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issue: #7180
Summary
--calcite-pagination-background-color-active:Specifies the background color of the pagination items while active.--calcite-pagination-background-color-hover:Specifies the background color of the pagination items while hovered.--calcite-pagination-background-color: Specifies the background color of the pagination items.--calcite-pagination-border-color-hover:Specifies the border color the pagination items while hovered.--calcite-pagination-border-color-selected:Specifies the border color of the pagination items when selected.--calcite-pagination-text-color-hover:Specifies the text color of the pagination items items while hovered.--calcite-pagination-text-color-selected:Specifies the text color of the pagination items when selected.--calcite-pagination-text-color: Specifiesthe text color of the pagination items.--calcite-pagination-arrow-background-color-active: Specifies the background color of the arrow items while active.--calcite-pagination-arrow-background-color-hover: Specifies the background color of the arrow items while hovered.--calcite-pagination-arrow-background-color:Specifies the background color of the arrow items.--calcite-pagination-arrow-icon-color-active: Specifies the icon color of the arrow items while active.--calcite-pagination-arrow-icon-color-hover: Specifies the icon color of the arrow items while hovered.--calcite-pagination-arrow-icon-color:Specifies the icon color of the arrow items.Adds local demo and Chromatic screenshot test.