Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
Material
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitriy Stepanets
Material
Commits
a003a5c7
Commit
a003a5c7
authored
Sep 09, 2017
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
All instances of Color.grey.lighten3 have been switched to Color.grey.lighten2
parent
29433f6b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
Sources/iOS/BottomNavigationController.swift
+1
-1
Sources/iOS/ChipBar.swift
+1
-1
Sources/iOS/Switch.swift
+4
-4
Sources/iOS/TabBar.swift
+1
-1
Sources/iOS/TextField.swift
+1
-1
No files found.
Sources/iOS/BottomNavigationController.swift
View file @
a003a5c7
...
@@ -143,7 +143,7 @@ fileprivate extension BottomNavigationController {
...
@@ -143,7 +143,7 @@ fileprivate extension BottomNavigationController {
func
prepareTabBar
()
{
func
prepareTabBar
()
{
tabBar
.
isTranslucent
=
false
tabBar
.
isTranslucent
=
false
tabBar
.
heightPreset
=
.
normal
tabBar
.
heightPreset
=
.
normal
tabBar
.
dividerColor
=
Color
.
grey
.
lighten
3
tabBar
.
dividerColor
=
Color
.
grey
.
lighten
2
tabBar
.
dividerAlignment
=
.
top
tabBar
.
dividerAlignment
=
.
top
let
image
=
UIImage
()
let
image
=
UIImage
()
...
...
Sources/iOS/ChipBar.swift
View file @
a003a5c7
...
@@ -244,7 +244,7 @@ open class ChipBar: Bar {
...
@@ -244,7 +244,7 @@ open class ChipBar: Bar {
fileprivate
extension
ChipBar
{
fileprivate
extension
ChipBar
{
/// Prepares the divider.
/// Prepares the divider.
func
prepareDivider
()
{
func
prepareDivider
()
{
dividerColor
=
Color
.
grey
.
lighten
3
dividerColor
=
Color
.
grey
.
lighten
2
}
}
/// Prepares the chipItems.
/// Prepares the chipItems.
...
...
Sources/iOS/Switch.swift
View file @
a003a5c7
...
@@ -208,15 +208,15 @@ open class Switch: UIControl {
...
@@ -208,15 +208,15 @@ open class Switch: UIControl {
buttonOnColor
=
Color
.
blue
.
darken2
buttonOnColor
=
Color
.
blue
.
darken2
trackOnColor
=
Color
.
blue
.
lighten3
trackOnColor
=
Color
.
blue
.
lighten3
buttonOffColor
=
Color
.
blueGrey
.
lighten4
buttonOffColor
=
Color
.
blueGrey
.
lighten4
trackOffColor
=
Color
.
grey
.
lighten
3
trackOffColor
=
Color
.
grey
.
lighten
2
buttonOnDisabledColor
=
Color
.
grey
.
lighten2
buttonOnDisabledColor
=
Color
.
grey
.
lighten2
trackOnDisabledColor
=
Color
.
grey
.
lighten
3
trackOnDisabledColor
=
Color
.
grey
.
lighten
2
buttonOffDisabledColor
=
Color
.
grey
.
lighten2
buttonOffDisabledColor
=
Color
.
grey
.
lighten2
trackOffDisabledColor
=
Color
.
grey
.
lighten
3
trackOffDisabledColor
=
Color
.
grey
.
lighten
2
case
.
dark
:
case
.
dark
:
buttonOnColor
=
Color
.
blue
.
lighten1
buttonOnColor
=
Color
.
blue
.
lighten1
trackOnColor
=
Color
.
blue
.
lighten2
.
withAlphaComponent
(
0.5
)
trackOnColor
=
Color
.
blue
.
lighten2
.
withAlphaComponent
(
0.5
)
buttonOffColor
=
Color
.
grey
.
lighten
3
buttonOffColor
=
Color
.
grey
.
lighten
2
trackOffColor
=
Color
.
blueGrey
.
lighten4
.
withAlphaComponent
(
0.5
)
trackOffColor
=
Color
.
blueGrey
.
lighten4
.
withAlphaComponent
(
0.5
)
buttonOnDisabledColor
=
Color
.
grey
.
darken3
buttonOnDisabledColor
=
Color
.
grey
.
darken3
trackOnDisabledColor
=
Color
.
grey
.
lighten1
.
withAlphaComponent
(
0.2
)
trackOnDisabledColor
=
Color
.
grey
.
lighten1
.
withAlphaComponent
(
0.2
)
...
...
Sources/iOS/TabBar.swift
View file @
a003a5c7
...
@@ -248,7 +248,7 @@ fileprivate extension TabBar {
...
@@ -248,7 +248,7 @@ fileprivate extension TabBar {
/// Prepares the divider.
/// Prepares the divider.
func
prepareDivider
()
{
func
prepareDivider
()
{
dividerColor
=
Color
.
grey
.
lighten
3
dividerColor
=
Color
.
grey
.
lighten
2
dividerAlignment
=
.
top
dividerAlignment
=
.
top
}
}
...
...
Sources/iOS/TextField.swift
View file @
a003a5c7
...
@@ -147,7 +147,7 @@ open class TextField: UITextField {
...
@@ -147,7 +147,7 @@ open class TextField: UITextField {
/// Divider normal color.
/// Divider normal color.
@IBInspectable
@IBInspectable
open
var
dividerNormalColor
=
Color
.
darkText
.
dividers
{
open
var
dividerNormalColor
=
Color
.
grey
.
lighten2
{
didSet
{
didSet
{
guard
!
isEditing
else
{
guard
!
isEditing
else
{
return
return
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment