|
|
@@ -1,5 +1,7 @@
|
|
|
-@import '../variables';
|
|
|
-@import '../override-bootstrap-variables';
|
|
|
+@use '../../styles/variables' as *;
|
|
|
+@use '../../styles/bootstrap/variables' as *;
|
|
|
+@use '../../styles/theme/mixins/page-editor-mode-manager';
|
|
|
+@use '../../styles/bootstrap/init' as bs;
|
|
|
|
|
|
// == Define Bootstrap theme colors
|
|
|
//
|
|
|
@@ -25,8 +27,7 @@ $accentcolor: #e08dbc;
|
|
|
|
|
|
//== Light Mode
|
|
|
//
|
|
|
-html[light],
|
|
|
-html[dark] {
|
|
|
+.theme :global {
|
|
|
$primary: $themecolor;
|
|
|
$secondary: $accentcolor;
|
|
|
|
|
|
@@ -90,17 +91,17 @@ html[dark] {
|
|
|
// admin theme box
|
|
|
$color-theme-color-box: darken($primary, 20%);
|
|
|
|
|
|
- @import 'apply-colors';
|
|
|
- @import 'apply-colors-light';
|
|
|
+ @import '../../styles/theme/apply-colors';
|
|
|
+ @import '../../styles/theme/apply-colors-light';
|
|
|
|
|
|
//Button
|
|
|
// Outline buttons are applyed the accent color to this spring theme cuz the primary is too light and it looks like unable to click them.
|
|
|
.btn.btn-outline-primary {
|
|
|
- @include button-outline-variant($accentcolor, $accentcolor, lighten($accentcolor, 20%), $accentcolor);
|
|
|
+ @include bs.button-outline-variant($accentcolor, $accentcolor, lighten($accentcolor, 20%), $accentcolor);
|
|
|
}
|
|
|
.btn-group.grw-page-editor-mode-manager {
|
|
|
.btn.btn-outline-primary {
|
|
|
- @include btn-page-editor-mode-manager(darken($primary, 50%), lighten($primary, 5%), lighten($primary, 10%));
|
|
|
+ @include page-editor-mode-manager.btn-page-editor-mode-manager(darken($primary, 50%), lighten($primary, 5%), lighten($primary, 10%));
|
|
|
}
|
|
|
}
|
|
|
|