diff --git a/sections/Theme/Theme.tsx b/sections/Theme/Theme.tsx
index bc04a589..c7738619 100644
--- a/sections/Theme/Theme.tsx
+++ b/sections/Theme/Theme.tsx
@@ -131,7 +131,7 @@ export interface Props {
buttonStyle?: Button;
otherStyles?: Miscellaneous;
font?: Font;
- /**
+ /**
* @description This is the admin's color-scheme mode
*/
mode?: "dark" | "light";
@@ -333,7 +333,7 @@ export function Preview(props: Props) {
}
.btn-outline-light:hover, .btn-outline-dark:hover {
- background-color: var(--admin-hover-bg-color);
+ background-color: transparent);
display: inline-flex;
flex-wrap: nowrap;
align-items: center;
@@ -364,16 +364,32 @@ export function Preview(props: Props) {
Components and styles
@@ -389,18 +405,22 @@ export function Preview(props: Props) {
const ButtonSizesPreview = () => {
const buttonSizes = {
- lg: 'Large',
- md: 'Normal',
- sm: 'Small',
- xs: 'Tiny'
+ lg: "Large",
+ md: "Normal",
+ sm: "Small",
+ xs: "Tiny",
};
- const buttonStyles = ['', 'primary', 'secondary', 'tertiary', 'accent'];
+ const buttonStyles = ["", "primary", "secondary", "accent"];
const renderButtonRow = (style: string) => (
{Object.entries(buttonSizes).map(([sizeCode, sizeText]) => (
-