-
Notifications
You must be signed in to change notification settings - Fork 13.4k
feat(range): adding custom styling for ionic theme #29979
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
Merged
Merged
Changes from 8 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
7e0dd91
First commit
OS-pedrolourenco 4b36e73
Finishing range styling
OS-pedrolourenco c65e3c9
Fixing lint issue
OS-pedrolourenco 06408d8
CR
OS-pedrolourenco 3152425
Merge branch 'next' into ROU-11323
OS-pedrolourenco 6004d45
CR + QA
OS-pedrolourenco 4db25bf
Fixing lint issue
OS-pedrolourenco 5300f3b
Merge branch 'next' into ROU-11323
OS-pedrolourenco e55f83d
CR
OS-pedrolourenco c2aede0
Merge branch 'next' into ROU-11323
OS-pedrolourenco f27239a
Fixing one css issue caused by previous CR
OS-pedrolourenco 1a9493b
Fixing snapshot tests
OS-pedrolourenco b543e1f
Merge branch 'next' into ROU-11323
OS-pedrolourenco db3239a
Removing unnecessary import
OS-pedrolourenco a74024a
CR
OS-pedrolourenco eb17aa4
Merge branch 'next' into ROU-11323
OS-pedrolourenco 10f6745
Fix broken snapshot tests
OS-pedrolourenco 44b8f4b
Merge branch 'next' into ROU-11323
OS-pedrolourenco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
brandyscarney marked this conversation as resolved.
Show resolved
Hide resolved
|
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
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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,210 @@ | ||||||
| @use "../../themes/ionic/ionic.globals.scss" as globals; | ||||||
| @import "./range.common"; | ||||||
| @import "../../foundations/ionic.vars"; | ||||||
|
|
||||||
| // Ionic Range | ||||||
| // -------------------------------------------------- | ||||||
|
|
||||||
| :host { | ||||||
| --knob-border-radius: 50%; | ||||||
OS-pedrolourenco marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| --knob-background: #{$ion-primitives-base-white}; | ||||||
| --knob-box-shadow: 0; | ||||||
OS-pedrolourenco marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| --knob-size: 22px; | ||||||
OS-pedrolourenco marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| --knob-handle-size: #{$ion-scale-1000}; | ||||||
| --bar-height: #{$ion-scale-200}; | ||||||
| --bar-background: #{$ion-primitives-neutral-100}; | ||||||
| --bar-background-active: #{ion-color(primary, base)}; | ||||||
| --bar-border-radius: #{$ion-border-radius-400}; | ||||||
| --height: 42px; | ||||||
|
||||||
| --height: 42px; | |
| --height: #{globals.$ion-scale-1000}; |
OS-pedrolourenco marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
OS-pedrolourenco marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
OS-pedrolourenco marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
OS-pedrolourenco marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
OS-pedrolourenco marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
OS-pedrolourenco marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
OS-pedrolourenco marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
OS-pedrolourenco marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
OS-pedrolourenco marked this conversation as resolved.
Show resolved
Hide resolved
OS-pedrolourenco marked this conversation as resolved.
Show resolved
Hide resolved
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| @import "./range"; | ||
| @import "./range.native"; | ||
| @import "./range.ios.vars"; | ||
|
|
||
| // iOS Range | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| @import "./range"; | ||
| @import "./range.native"; | ||
| @import "./range.md.vars"; | ||
|
|
||
| // Material Design Range | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.