💄 Creates configurable CSS variables for new config editor
This commit is contained in:
@@ -216,8 +216,8 @@ export default {
|
||||
|
||||
.edit-item-inner {
|
||||
padding: 1rem;
|
||||
background: var(--config-settings-background);
|
||||
color: var(--config-settings-color);
|
||||
background: var(--interactive-editor-background);
|
||||
color: var(--interactive-editor-color);
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
@extend .svg-button;
|
||||
@@ -238,7 +238,7 @@ export default {
|
||||
display: flex;
|
||||
padding: 0.5rem 0.25rem;
|
||||
&:not(:last-child) {
|
||||
border-bottom: 1px dotted var(--config-settings-color);
|
||||
border-bottom: 1px dotted var(--interactive-editor-color);
|
||||
}
|
||||
.input-container, .select-container {
|
||||
width: 100%;
|
||||
@@ -259,14 +259,14 @@ export default {
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
border: 1px solid var(--config-settings-color);
|
||||
border: 1px solid var(--interactive-editor-color);
|
||||
border-radius: var(--curve-factor);
|
||||
&:hover {
|
||||
background: var(--config-settings-color);
|
||||
color: var(--config-settings-background);
|
||||
background: var(--interactive-editor-color);
|
||||
color: var(--interactive-editor-background);
|
||||
svg {
|
||||
background: var(--config-settings-color);
|
||||
path { fill: var(--config-settings-background); }
|
||||
background: var(--interactive-editor-color);
|
||||
path { fill: var(--interactive-editor-background); }
|
||||
}
|
||||
}
|
||||
svg {
|
||||
@@ -280,9 +280,9 @@ export default {
|
||||
.input-container input.input-field,
|
||||
.radio-container div.radio-wrapper,
|
||||
.form-dropdown div.vs__dropdown-toggle {
|
||||
color: var(--config-settings-color);
|
||||
background: var(--config-settings-background);
|
||||
border-color: var(--config-settings-color);
|
||||
color: var(--interactive-editor-color);
|
||||
background: var(--interactive-editor-background);
|
||||
border-color: var(--interactive-editor-color);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -102,8 +102,8 @@ div.edit-mode-bottom-banner {
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
padding: 0.25rem 0;
|
||||
border-top: 2px solid var(--primary);
|
||||
background: var(--background-darker);
|
||||
border-top: 2px solid var(--interactive-editor-color);
|
||||
background: var(--interactive-editor-background-darker);
|
||||
box-shadow: 0 -5px 7px var(--transparent-50);
|
||||
grid-template-columns: 45% 10% 45%;
|
||||
@include laptop-up { grid-template-columns: 40% 20% 40%; }
|
||||
@@ -117,7 +117,7 @@ div.edit-mode-bottom-banner {
|
||||
/* Section sub-titles */
|
||||
p.section-sub-title {
|
||||
margin: 0;
|
||||
color: var(--primary);
|
||||
color: var(--interactive-editor-color);
|
||||
font-weight: bold;
|
||||
cursor: default;
|
||||
}
|
||||
@@ -125,7 +125,7 @@ div.edit-mode-bottom-banner {
|
||||
&.intro-container {
|
||||
p.edit-mode-intro {
|
||||
margin: 0;
|
||||
color: var(--primary);
|
||||
color: var(--interactive-editor-color);
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,12 +9,12 @@ div.edit-mode-top-banner {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
padding: 0.2rem 0;
|
||||
background: var(--primary);
|
||||
background: var(--interactive-editor-color);
|
||||
opacity: var(--dimming-factor);
|
||||
span {
|
||||
font-size: 1rem;
|
||||
font-weight: bold;
|
||||
color: var(--background);
|
||||
color: var(--interactive-editor-background);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user