mirror of
https://github.com/logto-io/logto.git
synced 2025-02-24 22:05:56 -05:00
Merge pull request #2186 from logto-io/charles-revert-color-token-updates-in-ui
fix(ui): revert color token changes in ui as it uses different design system
This commit is contained in:
commit
2931925f46
15 changed files with 16 additions and 16 deletions
|
@ -11,7 +11,7 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
> svg {
|
> svg {
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-icon);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
display: none;
|
display: none;
|
||||||
|
|
||||||
&:nth-child(1) {
|
&:nth-child(1) {
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-icon);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(2) {
|
&:nth-child(2) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
.divider {
|
.divider {
|
||||||
@include _.flex-row;
|
@include _.flex-row;
|
||||||
font: var(--font-body);
|
font: var(--font-body);
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-caption);
|
||||||
|
|
||||||
.line {
|
.line {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
margin-bottom: _.unit(4);
|
margin-bottom: _.unit(4);
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-icon);
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
display: none;
|
display: none;
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-icon);
|
||||||
width: 24px;
|
width: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
align-self: stretch;
|
align-self: stretch;
|
||||||
|
|
||||||
&::placeholder {
|
&::placeholder {
|
||||||
color: var(--color-placeholder);
|
color: var(--color-caption);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Overwrite webkit auto-fill style
|
// Overwrite webkit auto-fill style
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
:global(body.desktop) {
|
:global(body.desktop) {
|
||||||
.countryCodeSelector {
|
.countryCodeSelector {
|
||||||
> svg {
|
> svg {
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-icon);
|
||||||
margin-left: _.unit(2);
|
margin-left: _.unit(2);
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-outline);
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin-right: _.unit(3);
|
margin-right: _.unit(3);
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&::placeholder {
|
&::placeholder {
|
||||||
color: var(--color-placeholder);
|
color: var(--color-caption);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
.checkBox {
|
.checkBox {
|
||||||
margin-right: _.unit(2);
|
margin-right: _.unit(2);
|
||||||
fill: var(--color-text-secondary);
|
fill: var(--color-icon);
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&.secondary {
|
&.secondary {
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-caption);
|
||||||
font: var(--font-body);
|
font: var(--font-body);
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,6 @@
|
||||||
|
|
||||||
:global(body.desktop) {
|
:global(body.desktop) {
|
||||||
.message {
|
.message {
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-caption);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,5 +19,5 @@
|
||||||
.message {
|
.message {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font: var(--font-caption);
|
font: var(--font-caption);
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-caption);
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
.description {
|
.description {
|
||||||
margin-bottom: _.unit(6);
|
margin-bottom: _.unit(6);
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-caption);
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(body.mobile) {
|
:global(body.mobile) {
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
.detail {
|
.detail {
|
||||||
margin-bottom: _.unit(6);
|
margin-bottom: _.unit(6);
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-caption);
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(body.mobile) {
|
:global(body.mobile) {
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
@mixin text-hint {
|
@mixin text-hint {
|
||||||
font: var(--font-caption);
|
font: var(--font-caption);
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-caption);
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin title {
|
@mixin title {
|
||||||
|
|
Loading…
Add table
Reference in a new issue