update to styles
This commit is contained in:
@@ -12,49 +12,49 @@
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
&.active {
|
||||
background: #b44aff;
|
||||
color: white;
|
||||
background: var(--bolt-elements-button-primary-background);
|
||||
color: var(--bolt-elements-textPrimary);
|
||||
}
|
||||
|
||||
&:not(.active) {
|
||||
background: #4b5563;
|
||||
color: #e5e7eb;
|
||||
background: var(--bolt-elements-bg-depth-3);
|
||||
color: var(--bolt-elements-textPrimary);
|
||||
|
||||
&:hover {
|
||||
background: linear-gradient(to right, #6b5bff, #3b82f6);
|
||||
background: var(--bolt-elements-button-primary-backgroundHover);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.settings-button {
|
||||
background-color: #b44aff;
|
||||
color: white;
|
||||
background-color: var(--bolt-elements-button-primary-background);
|
||||
color: var(--bolt-elements-textPrimary);
|
||||
border-radius: 0.5rem;
|
||||
padding: 0.5rem 1rem;
|
||||
transition: background-color 0.2s;
|
||||
|
||||
&:hover {
|
||||
background-color: #2563eb;
|
||||
background-color: var(--bolt-elements-button-primary-backgroundHover);
|
||||
}
|
||||
}
|
||||
|
||||
.settings-danger-area {
|
||||
background-color: transparent;
|
||||
color: white;
|
||||
color: var(--bolt-elements-textPrimary);
|
||||
border-radius: 0.5rem;
|
||||
padding: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
|
||||
button {
|
||||
background-color: #dc2626;
|
||||
color: white;
|
||||
background-color: var(--bolt-elements-button-danger-background);
|
||||
color: var(--bolt-elements-button-danger-text);
|
||||
border-radius: 0.5rem;
|
||||
padding: 0.5rem 1rem;
|
||||
transition: background-color 0.2s;
|
||||
|
||||
&:hover {
|
||||
background-color: #b91c1c;
|
||||
background-color: var(--bolt-elements-button-danger-backgroundHover);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
&__thumb {
|
||||
@apply absolute h-full transition-all duration-300 rounded-lg;
|
||||
background-color: #b44aff;
|
||||
background-color: var(--bolt-elements-button-primary-background);
|
||||
|
||||
&--left {
|
||||
@apply left-0 w-1/2;
|
||||
@@ -18,7 +18,7 @@
|
||||
@apply relative z-10 flex-1 p-2 rounded-lg text-sm transition-colors duration-200;
|
||||
|
||||
&--selected {
|
||||
@apply text-white;
|
||||
@apply text-bolt-elements-textPrimary;
|
||||
}
|
||||
|
||||
&--unselected {
|
||||
@@ -32,16 +32,17 @@
|
||||
@apply w-11 h-6 rounded-full shadow-inner transition-colors duration-200;
|
||||
|
||||
&--enabled {
|
||||
background-color: #b44aff;
|
||||
background-color: var(--bolt-elements-item-contentAccent);
|
||||
}
|
||||
|
||||
&--disabled {
|
||||
@apply bg-gray-300;
|
||||
background-color: var(--bolt-elements-bg-depth-3);
|
||||
}
|
||||
}
|
||||
|
||||
&__thumb {
|
||||
@apply absolute left-0 w-6 h-6 rounded-full shadow transition-transform duration-200 ease-in-out bg-white;
|
||||
@apply absolute left-0 w-6 h-6 rounded-full shadow transition-transform duration-200 ease-in-out;
|
||||
background-color: var(--bolt-elements-textPrimary);
|
||||
|
||||
&--enabled {
|
||||
@apply transform translate-x-full;
|
||||
|
||||
Reference in New Issue
Block a user