-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Colour Scheming: Replace Jetpack Variable #30232
Changes from 12 commits
f682657
d5b9935
0ced895
2065546
7ed95d0
bf78928
16ed51d
08dec35
355ee8c
a96b6d5
8de40ba
9968471
d61ea78
d659ebf
097b417
53791cc
c29747f
2e7c7dc
e7c9659
b0c3efd
a145559
916b01b
c56ec7c
ba14acc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,7 +68,7 @@ | |
} | ||
|
||
.jetpack-new-site__jetpack-site .jetpack-logo { | ||
fill: $green-jetpack; | ||
fill: var( --color-jetpack ); | ||
} | ||
|
||
.jetpack-new-site__card-title { | ||
|
@@ -131,7 +131,7 @@ | |
input[type='text'] { | ||
&:focus { | ||
border-color: $green-jetpack; | ||
box-shadow: 0 0 0 2px lighten( $green-jetpack, 25% ); | ||
box-shadow: 0 0 0 2px var( --color-jetpack-light ); | ||
} | ||
} | ||
|
||
|
@@ -143,18 +143,18 @@ | |
|
||
&:hover, | ||
&:focus { | ||
border-color: darken( $green-jetpack, 30% ); | ||
border-color: var( --color-jetpack-dark ); | ||
} | ||
|
||
&:focus { | ||
box-shadow: 0 0 0 2px lighten( $green-jetpack, 25% ); | ||
box-shadow: 0 0 0 2px var( --color-jetpack-light ); | ||
} | ||
|
||
&[disabled], | ||
&:disabled { | ||
background: tint( $green-jetpack, 50% ); | ||
border-color: tint( $green-jetpack, 35% ); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not feeling too confident on if variables work here. If they don't, I'm a bit stumped on which to use for there to be a visible difference. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We recently aligned disabled buttons to look the same across button types. I think that should be the same here as well. Compare with #30229. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks, added! |
||
color: $white; | ||
color: var( --color-white ); | ||
} | ||
} | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This caused #30469