fix: remove monorepo
This commit is contained in:
49
app/styles/animations.scss
Normal file
49
app/styles/animations.scss
Normal file
@@ -0,0 +1,49 @@
|
||||
.animated {
|
||||
animation-fill-mode: both;
|
||||
animation-duration: var(--animate-duration, 0.2s);
|
||||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||||
|
||||
&.fadeInRight {
|
||||
animation-name: fadeInRight;
|
||||
}
|
||||
|
||||
&.fadeOutRight {
|
||||
animation-name: fadeOutRight;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeInRight {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translate3d(100%, 0, 0);
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeOutRight {
|
||||
from {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 0;
|
||||
transform: translate3d(100%, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-animation {
|
||||
opacity: 0;
|
||||
animation: fadeMoveDown 0.15s forwards;
|
||||
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
@keyframes fadeMoveDown {
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(6px);
|
||||
}
|
||||
}
|
||||
9
app/styles/components/code.scss
Normal file
9
app/styles/components/code.scss
Normal file
@@ -0,0 +1,9 @@
|
||||
.actions .shiki {
|
||||
background-color: var(--bolt-elements-actions-code-background) !important;
|
||||
}
|
||||
|
||||
.shiki {
|
||||
&:not(:has(.actions), .actions *) {
|
||||
background-color: var(--bolt-elements-messages-code-background) !important;
|
||||
}
|
||||
}
|
||||
135
app/styles/components/editor.scss
Normal file
135
app/styles/components/editor.scss
Normal file
@@ -0,0 +1,135 @@
|
||||
:root {
|
||||
--cm-backgroundColor: var(--bolt-elements-editor-backgroundColor, var(--bolt-elements-bg-depth-1));
|
||||
--cm-textColor: var(--bolt-elements-editor-textColor, var(--bolt-elements-textPrimary));
|
||||
|
||||
/* Gutter */
|
||||
|
||||
--cm-gutter-backgroundColor: var(--bolt-elements-editor-gutter-backgroundColor, var(--cm-backgroundColor));
|
||||
--cm-gutter-textColor: var(--bolt-elements-editor-gutter-textColor, var(--bolt-elements-textSecondary));
|
||||
--cm-gutter-activeLineTextColor: var(--bolt-elements-editor-gutter-activeLineTextColor, var(--cm-gutter-textColor));
|
||||
|
||||
/* Fold Gutter */
|
||||
|
||||
--cm-foldGutter-textColor: var(--bolt-elements-editor-foldGutter-textColor, var(--cm-gutter-textColor));
|
||||
--cm-foldGutter-textColorHover: var(--bolt-elements-editor-foldGutter-textColorHover, var(--cm-gutter-textColor));
|
||||
|
||||
/* Active Line */
|
||||
|
||||
--cm-activeLineBackgroundColor: var(--bolt-elements-editor-activeLineBackgroundColor, rgb(224 231 235 / 30%));
|
||||
|
||||
/* Cursor */
|
||||
|
||||
--cm-cursor-width: 2px;
|
||||
--cm-cursor-backgroundColor: var(--bolt-elements-editor-cursorColor, var(--bolt-elements-textSecondary));
|
||||
|
||||
/* Matching Brackets */
|
||||
|
||||
--cm-matching-bracket: var(--bolt-elements-editor-matchingBracketBackgroundColor, rgb(50 140 130 / 0.3));
|
||||
|
||||
/* Selection */
|
||||
|
||||
--cm-selection-backgroundColorFocused: var(--bolt-elements-editor-selection-backgroundColor, #42b4ff);
|
||||
--cm-selection-backgroundOpacityFocused: var(--bolt-elements-editor-selection-backgroundOpacity, 0.3);
|
||||
--cm-selection-backgroundColorBlured: var(--bolt-elements-editor-selection-inactiveBackgroundColor, #c9e9ff);
|
||||
--cm-selection-backgroundOpacityBlured: var(--bolt-elements-editor-selection-inactiveBackgroundOpacity, 0.3);
|
||||
|
||||
/* Panels */
|
||||
|
||||
--cm-panels-borderColor: var(--bolt-elements-editor-panels-borderColor, var(--bolt-elements-borderColor));
|
||||
|
||||
/* Search */
|
||||
|
||||
--cm-search-backgroundColor: var(--bolt-elements-editor-search-backgroundColor, var(--cm-backgroundColor));
|
||||
--cm-search-textColor: var(--bolt-elements-editor-search-textColor, var(--bolt-elements-textSecondary));
|
||||
--cm-search-closeButton-backgroundColor: var(--bolt-elements-editor-search-closeButton-backgroundColor, transparent);
|
||||
|
||||
--cm-search-closeButton-backgroundColorHover: var(
|
||||
--bolt-elements-editor-search-closeButton-backgroundColorHover,
|
||||
var(--bolt-elements-item-backgroundActive)
|
||||
);
|
||||
|
||||
--cm-search-closeButton-textColor: var(
|
||||
--bolt-elements-editor-search-closeButton-textColor,
|
||||
var(--bolt-elements-item-contentDefault)
|
||||
);
|
||||
|
||||
--cm-search-closeButton-textColorHover: var(
|
||||
--bolt-elements-editor-search-closeButton-textColorHover,
|
||||
var(--bolt-elements-item-contentActive)
|
||||
);
|
||||
|
||||
--cm-search-button-backgroundColor: var(
|
||||
--bolt-elements-editor-search-button-backgroundColor,
|
||||
var(--bolt-elements-item-backgroundDefault)
|
||||
);
|
||||
|
||||
--cm-search-button-backgroundColorHover: var(
|
||||
--bolt-elements-editor-search-button-backgroundColorHover,
|
||||
var(--bolt-elements-item-backgroundActive)
|
||||
);
|
||||
|
||||
--cm-search-button-textColor: var(--bolt-elements-editor-search-button-textColor, var(--bolt-elements-textSecondary));
|
||||
|
||||
--cm-search-button-textColorHover: var(
|
||||
--bolt-elements-editor-search-button-textColorHover,
|
||||
var(--bolt-elements-textPrimary)
|
||||
);
|
||||
|
||||
--cm-search-button-borderColor: var(--bolt-elements-editor-search-button-borderColor, transparent);
|
||||
--cm-search-button-borderColorHover: var(--bolt-elements-editor-search-button-borderColorHover, transparent);
|
||||
|
||||
--cm-search-button-borderColorFocused: var(
|
||||
--bolt-elements-editor-search-button-borderColorFocused,
|
||||
var(--bolt-elements-borderColorActive)
|
||||
);
|
||||
|
||||
--cm-search-input-backgroundColor: var(--bolt-elements-editor-search-input-backgroundColor, transparent);
|
||||
--cm-search-input-textColor: var(--bolt-elements-editor-search-input-textColor, var(--bolt-elements-textPrimary));
|
||||
--cm-search-input-borderColor: var(--bolt-elements-editor-search-input-borderColor, var(--bolt-elements-borderColor));
|
||||
|
||||
--cm-search-input-borderColorFocused: var(
|
||||
--bolt-elements-editor-search-input-borderColorFocused,
|
||||
var(--bolt-elements-borderColorActive)
|
||||
);
|
||||
|
||||
/* Tooltip */
|
||||
|
||||
--cm-tooltip-backgroundColor: var(--bolt-elements-editor-tooltip-backgroundColor, var(--cm-backgroundColor));
|
||||
--cm-tooltip-textColor: var(--bolt-elements-editor-tooltip-textColor, var(--bolt-elements-textPrimary));
|
||||
|
||||
--cm-tooltip-backgroundColorSelected: var(
|
||||
--bolt-elements-editor-tooltip-backgroundColorSelected,
|
||||
theme('colors.alpha.accent.30')
|
||||
);
|
||||
|
||||
--cm-tooltip-textColorSelected: var(
|
||||
--bolt-elements-editor-tooltip-textColorSelected,
|
||||
var(--bolt-elements-textPrimary)
|
||||
);
|
||||
|
||||
--cm-tooltip-borderColor: var(--bolt-elements-editor-tooltip-borderColor, var(--bolt-elements-borderColor));
|
||||
|
||||
--cm-searchMatch-backgroundColor: var(--bolt-elements-editor-searchMatch-backgroundColor, rgba(234, 92, 0, 0.33));
|
||||
}
|
||||
|
||||
html[data-theme='light'] {
|
||||
--bolt-elements-editor-gutter-textColor: #237893;
|
||||
--bolt-elements-editor-gutter-activeLineTextColor: var(--bolt-elements-textPrimary);
|
||||
--bolt-elements-editor-foldGutter-textColorHover: var(--bolt-elements-textPrimary);
|
||||
--bolt-elements-editor-activeLineBackgroundColor: rgb(50 53 63 / 5%);
|
||||
--bolt-elements-editor-tooltip-backgroundColorSelected: theme('colors.alpha.accent.20');
|
||||
--bolt-elements-editor-search-button-backgroundColor: theme('colors.gray.100');
|
||||
--bolt-elements-editor-search-button-backgroundColorHover: theme('colors.alpha.gray.10');
|
||||
}
|
||||
|
||||
html[data-theme='dark'] {
|
||||
--cm-backgroundColor: var(--bolt-elements-bg-depth-2);
|
||||
--bolt-elements-editor-gutter-textColor: var(--bolt-elements-textTertiary);
|
||||
--bolt-elements-editor-gutter-activeLineTextColor: var(--bolt-elements-textSecondary);
|
||||
--bolt-elements-editor-selection-inactiveBackgroundOpacity: 0.3;
|
||||
--bolt-elements-editor-activeLineBackgroundColor: rgb(50 53 63 / 50%);
|
||||
--bolt-elements-editor-foldGutter-textColorHover: var(--bolt-elements-textPrimary);
|
||||
--bolt-elements-editor-matchingBracketBackgroundColor: rgba(66, 180, 255, 0.3);
|
||||
--bolt-elements-editor-search-button-backgroundColor: theme('colors.gray.800');
|
||||
--bolt-elements-editor-search-button-backgroundColorHover: theme('colors.alpha.white.10');
|
||||
}
|
||||
28
app/styles/components/resize-handle.scss
Normal file
28
app/styles/components/resize-handle.scss
Normal file
@@ -0,0 +1,28 @@
|
||||
[data-resize-handle] {
|
||||
position: relative;
|
||||
|
||||
&[data-panel-group-direction='horizontal']:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: -6px;
|
||||
right: -5px;
|
||||
z-index: $zIndexMax;
|
||||
}
|
||||
|
||||
&[data-panel-group-direction='vertical']:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: -5px;
|
||||
bottom: -6px;
|
||||
z-index: $zIndexMax;
|
||||
}
|
||||
|
||||
&[data-resize-handle-state='hover']:after,
|
||||
&[data-resize-handle-state='drag']:after {
|
||||
background-color: #8882;
|
||||
}
|
||||
}
|
||||
3
app/styles/components/terminal.scss
Normal file
3
app/styles/components/terminal.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
.xterm {
|
||||
padding: 1rem;
|
||||
}
|
||||
17
app/styles/components/toast.scss
Normal file
17
app/styles/components/toast.scss
Normal file
@@ -0,0 +1,17 @@
|
||||
.Toastify__toast {
|
||||
--at-apply: shadow-md;
|
||||
|
||||
background-color: var(--bolt-elements-bg-depth-2);
|
||||
color: var(--bolt-elements-textPrimary);
|
||||
border: 1px solid var(--bolt-elements-borderColor);
|
||||
}
|
||||
|
||||
.Toastify__close-button {
|
||||
color: var(--bolt-elements-item-contentDefault);
|
||||
opacity: 1;
|
||||
transition: none;
|
||||
|
||||
&:hover {
|
||||
color: var(--bolt-elements-item-contentActive);
|
||||
}
|
||||
}
|
||||
14
app/styles/index.scss
Normal file
14
app/styles/index.scss
Normal file
@@ -0,0 +1,14 @@
|
||||
@import './variables.scss';
|
||||
@import './z-index.scss';
|
||||
@import './animations.scss';
|
||||
@import './components/terminal.scss';
|
||||
@import './components/resize-handle.scss';
|
||||
@import './components/code.scss';
|
||||
@import './components/editor.scss';
|
||||
@import './components/toast.scss';
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
251
app/styles/variables.scss
Normal file
251
app/styles/variables.scss
Normal file
@@ -0,0 +1,251 @@
|
||||
/* Color Tokens Light Theme */
|
||||
:root,
|
||||
:root[data-theme='light'] {
|
||||
--bolt-elements-borderColor: theme('colors.alpha.gray.10');
|
||||
--bolt-elements-borderColorActive: theme('colors.accent.600');
|
||||
|
||||
--bolt-elements-bg-depth-1: theme('colors.white');
|
||||
--bolt-elements-bg-depth-2: theme('colors.gray.50');
|
||||
--bolt-elements-bg-depth-3: theme('colors.gray.200');
|
||||
--bolt-elements-bg-depth-4: theme('colors.alpha.gray.5');
|
||||
|
||||
--bolt-elements-textPrimary: theme('colors.gray.950');
|
||||
--bolt-elements-textSecondary: theme('colors.gray.600');
|
||||
--bolt-elements-textTertiary: theme('colors.gray.500');
|
||||
|
||||
--bolt-elements-code-background: theme('colors.gray.100');
|
||||
--bolt-elements-code-text: theme('colors.gray.950');
|
||||
|
||||
--bolt-elements-button-primary-background: theme('colors.alpha.accent.10');
|
||||
--bolt-elements-button-primary-backgroundHover: theme('colors.alpha.accent.20');
|
||||
--bolt-elements-button-primary-text: theme('colors.accent.500');
|
||||
|
||||
--bolt-elements-button-secondary-background: theme('colors.alpha.gray.5');
|
||||
--bolt-elements-button-secondary-backgroundHover: theme('colors.alpha.gray.10');
|
||||
--bolt-elements-button-secondary-text: theme('colors.gray.950');
|
||||
|
||||
--bolt-elements-button-danger-background: theme('colors.alpha.red.10');
|
||||
--bolt-elements-button-danger-backgroundHover: theme('colors.alpha.red.20');
|
||||
--bolt-elements-button-danger-text: theme('colors.red.500');
|
||||
|
||||
--bolt-elements-item-contentDefault: theme('colors.alpha.gray.50');
|
||||
--bolt-elements-item-contentActive: theme('colors.gray.950');
|
||||
--bolt-elements-item-contentAccent: theme('colors.accent.700');
|
||||
--bolt-elements-item-contentDanger: theme('colors.red.500');
|
||||
--bolt-elements-item-backgroundDefault: rgba(0, 0, 0, 0);
|
||||
--bolt-elements-item-backgroundActive: theme('colors.alpha.gray.5');
|
||||
--bolt-elements-item-backgroundAccent: theme('colors.alpha.accent.10');
|
||||
--bolt-elements-item-backgroundDanger: theme('colors.alpha.red.10');
|
||||
|
||||
--bolt-elements-loader-background: theme('colors.alpha.gray.10');
|
||||
--bolt-elements-loader-progress: theme('colors.accent.500');
|
||||
|
||||
--bolt-elements-artifacts-background: theme('colors.white');
|
||||
--bolt-elements-artifacts-backgroundHover: theme('colors.alpha.gray.2');
|
||||
--bolt-elements-artifacts-borderColor: var(--bolt-elements-borderColor);
|
||||
--bolt-elements-artifacts-inlineCode-background: theme('colors.gray.100');
|
||||
--bolt-elements-artifacts-inlineCode-text: var(--bolt-elements-textPrimary);
|
||||
|
||||
--bolt-elements-actions-background: theme('colors.white');
|
||||
--bolt-elements-actions-code-background: theme('colors.gray.800');
|
||||
|
||||
--bolt-elements-messages-background: theme('colors.gray.100');
|
||||
--bolt-elements-messages-linkColor: theme('colors.accent.500');
|
||||
--bolt-elements-messages-code-background: theme('colors.gray.800');
|
||||
--bolt-elements-messages-inlineCode-background: theme('colors.gray.200');
|
||||
--bolt-elements-messages-inlineCode-text: theme('colors.gray.800');
|
||||
|
||||
--bolt-elements-icon-success: theme('colors.green.500');
|
||||
--bolt-elements-icon-error: theme('colors.red.500');
|
||||
--bolt-elements-icon-primary: theme('colors.gray.950');
|
||||
--bolt-elements-icon-secondary: theme('colors.gray.600');
|
||||
--bolt-elements-icon-tertiary: theme('colors.gray.500');
|
||||
|
||||
--bolt-elements-dividerColor: theme('colors.gray.100');
|
||||
|
||||
--bolt-elements-prompt-background: theme('colors.alpha.white.80');
|
||||
|
||||
--bolt-elements-sidebar-dropdownShadow: theme('colors.alpha.gray.10');
|
||||
--bolt-elements-sidebar-buttonBackgroundDefault: theme('colors.alpha.accent.10');
|
||||
--bolt-elements-sidebar-buttonBackgroundHover: theme('colors.alpha.accent.20');
|
||||
--bolt-elements-sidebar-buttonText: theme('colors.accent.700');
|
||||
|
||||
--bolt-elements-preview-addressBar-background: theme('colors.gray.100');
|
||||
--bolt-elements-preview-addressBar-backgroundHover: theme('colors.alpha.gray.5');
|
||||
--bolt-elements-preview-addressBar-backgroundActive: theme('colors.white');
|
||||
--bolt-elements-preview-addressBar-text: var(--bolt-elements-textSecondary);
|
||||
--bolt-elements-preview-addressBar-textActive: var(--bolt-elements-textPrimary);
|
||||
|
||||
--bolt-elements-terminals-background: theme('colors.white');
|
||||
--bolt-elements-terminals-buttonBackground: var(--bolt-elements-bg-depth-4);
|
||||
|
||||
--bolt-elements-cta-background: theme('colors.gray.100');
|
||||
--bolt-elements-cta-text: theme('colors.gray.950');
|
||||
|
||||
/* Terminal Colors */
|
||||
--bolt-terminal-background: var(--bolt-elements-terminals-background);
|
||||
--bolt-terminal-foreground: #333333;
|
||||
--bolt-terminal-selection-background: #00000040;
|
||||
--bolt-terminal-black: #000000;
|
||||
--bolt-terminal-red: #cd3131;
|
||||
--bolt-terminal-green: #00bc00;
|
||||
--bolt-terminal-yellow: #949800;
|
||||
--bolt-terminal-blue: #0451a5;
|
||||
--bolt-terminal-magenta: #bc05bc;
|
||||
--bolt-terminal-cyan: #0598bc;
|
||||
--bolt-terminal-white: #555555;
|
||||
--bolt-terminal-brightBlack: #686868;
|
||||
--bolt-terminal-brightRed: #cd3131;
|
||||
--bolt-terminal-brightGreen: #00bc00;
|
||||
--bolt-terminal-brightYellow: #949800;
|
||||
--bolt-terminal-brightBlue: #0451a5;
|
||||
--bolt-terminal-brightMagenta: #bc05bc;
|
||||
--bolt-terminal-brightCyan: #0598bc;
|
||||
--bolt-terminal-brightWhite: #a5a5a5;
|
||||
}
|
||||
|
||||
/* Color Tokens Dark Theme */
|
||||
:root,
|
||||
:root[data-theme='dark'] {
|
||||
--bolt-elements-borderColor: theme('colors.alpha.white.10');
|
||||
--bolt-elements-borderColorActive: theme('colors.accent.500');
|
||||
|
||||
--bolt-elements-bg-depth-1: theme('colors.gray.950');
|
||||
--bolt-elements-bg-depth-2: theme('colors.gray.900');
|
||||
--bolt-elements-bg-depth-3: theme('colors.gray.800');
|
||||
--bolt-elements-bg-depth-4: theme('colors.alpha.white.5');
|
||||
|
||||
--bolt-elements-textPrimary: theme('colors.white');
|
||||
--bolt-elements-textSecondary: theme('colors.gray.400');
|
||||
--bolt-elements-textTertiary: theme('colors.gray.500');
|
||||
|
||||
--bolt-elements-code-background: theme('colors.gray.800');
|
||||
--bolt-elements-code-text: theme('colors.white');
|
||||
|
||||
--bolt-elements-button-primary-background: theme('colors.alpha.accent.10');
|
||||
--bolt-elements-button-primary-backgroundHover: theme('colors.alpha.accent.20');
|
||||
--bolt-elements-button-primary-text: theme('colors.accent.500');
|
||||
|
||||
--bolt-elements-button-secondary-background: theme('colors.alpha.white.5');
|
||||
--bolt-elements-button-secondary-backgroundHover: theme('colors.alpha.white.10');
|
||||
--bolt-elements-button-secondary-text: theme('colors.white');
|
||||
|
||||
--bolt-elements-button-danger-background: theme('colors.alpha.red.10');
|
||||
--bolt-elements-button-danger-backgroundHover: theme('colors.alpha.red.20');
|
||||
--bolt-elements-button-danger-text: theme('colors.red.500');
|
||||
|
||||
--bolt-elements-item-contentDefault: theme('colors.alpha.white.50');
|
||||
--bolt-elements-item-contentActive: theme('colors.white');
|
||||
--bolt-elements-item-contentAccent: theme('colors.accent.500');
|
||||
--bolt-elements-item-contentDanger: theme('colors.red.500');
|
||||
--bolt-elements-item-backgroundDefault: rgba(255, 255, 255, 0);
|
||||
--bolt-elements-item-backgroundActive: theme('colors.alpha.white.10');
|
||||
--bolt-elements-item-backgroundAccent: theme('colors.alpha.accent.10');
|
||||
--bolt-elements-item-backgroundDanger: theme('colors.alpha.red.10');
|
||||
|
||||
--bolt-elements-loader-background: theme('colors.alpha.gray.10');
|
||||
--bolt-elements-loader-progress: theme('colors.accent.500');
|
||||
|
||||
--bolt-elements-artifacts-background: theme('colors.gray.900');
|
||||
--bolt-elements-artifacts-backgroundHover: theme('colors.alpha.white.5');
|
||||
--bolt-elements-artifacts-borderColor: var(--bolt-elements-borderColor);
|
||||
--bolt-elements-artifacts-inlineCode-background: theme('colors.gray.800');
|
||||
--bolt-elements-artifacts-inlineCode-text: theme('colors.white');
|
||||
|
||||
--bolt-elements-actions-background: theme('colors.gray.900');
|
||||
--bolt-elements-actions-code-background: theme('colors.gray.800');
|
||||
|
||||
--bolt-elements-messages-background: theme('colors.gray.800');
|
||||
--bolt-elements-messages-linkColor: theme('colors.accent.500');
|
||||
--bolt-elements-messages-code-background: theme('colors.gray.900');
|
||||
--bolt-elements-messages-inlineCode-background: theme('colors.gray.700');
|
||||
--bolt-elements-messages-inlineCode-text: var(--bolt-elements-textPrimary);
|
||||
|
||||
--bolt-elements-icon-success: theme('colors.green.400');
|
||||
--bolt-elements-icon-error: theme('colors.red.400');
|
||||
--bolt-elements-icon-primary: theme('colors.gray.950');
|
||||
--bolt-elements-icon-secondary: theme('colors.gray.600');
|
||||
--bolt-elements-icon-tertiary: theme('colors.gray.500');
|
||||
|
||||
--bolt-elements-dividerColor: theme('colors.gray.100');
|
||||
|
||||
--bolt-elements-prompt-background: theme('colors.alpha.gray.80');
|
||||
|
||||
--bolt-elements-sidebar-dropdownShadow: theme('colors.alpha.gray.30');
|
||||
--bolt-elements-sidebar-buttonBackgroundDefault: theme('colors.alpha.accent.10');
|
||||
--bolt-elements-sidebar-buttonBackgroundHover: theme('colors.alpha.accent.20');
|
||||
--bolt-elements-sidebar-buttonText: theme('colors.accent.500');
|
||||
|
||||
--bolt-elements-preview-addressBar-background: var(--bolt-elements-bg-depth-1);
|
||||
--bolt-elements-preview-addressBar-backgroundHover: theme('colors.alpha.white.5');
|
||||
--bolt-elements-preview-addressBar-backgroundActive: var(--bolt-elements-bg-depth-1);
|
||||
--bolt-elements-preview-addressBar-text: var(--bolt-elements-textSecondary);
|
||||
--bolt-elements-preview-addressBar-textActive: var(--bolt-elements-textPrimary);
|
||||
|
||||
--bolt-elements-terminals-background: var(--bolt-elements-bg-depth-1);
|
||||
--bolt-elements-terminals-buttonBackground: var(--bolt-elements-bg-depth-3);
|
||||
|
||||
--bolt-elements-cta-background: theme('colors.alpha.white.10');
|
||||
--bolt-elements-cta-text: theme('colors.white');
|
||||
|
||||
/* Terminal Colors */
|
||||
--bolt-terminal-background: var(--bolt-elements-terminals-background);
|
||||
--bolt-terminal-foreground: #eff0eb;
|
||||
--bolt-terminal-selection-background: #97979b33;
|
||||
--bolt-terminal-black: #000000;
|
||||
--bolt-terminal-red: #ff5c57;
|
||||
--bolt-terminal-green: #5af78e;
|
||||
--bolt-terminal-yellow: #f3f99d;
|
||||
--bolt-terminal-blue: #57c7ff;
|
||||
--bolt-terminal-magenta: #ff6ac1;
|
||||
--bolt-terminal-cyan: #9aedfe;
|
||||
--bolt-terminal-white: #f1f1f0;
|
||||
--bolt-terminal-brightBlack: #686868;
|
||||
--bolt-terminal-brightRed: #ff5c57;
|
||||
--bolt-terminal-brightGreen: #5af78e;
|
||||
--bolt-terminal-brightYellow: #f3f99d;
|
||||
--bolt-terminal-brightBlue: #57c7ff;
|
||||
--bolt-terminal-brightMagenta: #ff6ac1;
|
||||
--bolt-terminal-brightCyan: #9aedfe;
|
||||
--bolt-terminal-brightWhite: #f1f1f0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Element Tokens
|
||||
*
|
||||
* Hierarchy: Element Token -> (Element Token | Color Tokens) -> Primitives
|
||||
*/
|
||||
:root {
|
||||
--header-height: 54px;
|
||||
--chat-max-width: 37rem;
|
||||
--chat-min-width: 640px;
|
||||
--workbench-width: min(calc(100% - var(--chat-min-width)), 1536px);
|
||||
--workbench-inner-width: var(--workbench-width);
|
||||
--workbench-left: calc(100% - var(--workbench-width));
|
||||
|
||||
/* Toasts */
|
||||
--toastify-color-progress-success: var(--bolt-elements-icon-success);
|
||||
--toastify-color-progress-error: var(--bolt-elements-icon-error);
|
||||
|
||||
/* Terminal */
|
||||
--bolt-elements-terminal-backgroundColor: var(--bolt-terminal-background);
|
||||
--bolt-elements-terminal-textColor: var(--bolt-terminal-foreground);
|
||||
--bolt-elements-terminal-cursorColor: var(--bolt-terminal-foreground);
|
||||
--bolt-elements-terminal-selection-backgroundColor: var(--bolt-terminal-selection-background);
|
||||
--bolt-elements-terminal-color-black: var(--bolt-terminal-black);
|
||||
--bolt-elements-terminal-color-red: var(--bolt-terminal-red);
|
||||
--bolt-elements-terminal-color-green: var(--bolt-terminal-green);
|
||||
--bolt-elements-terminal-color-yellow: var(--bolt-terminal-yellow);
|
||||
--bolt-elements-terminal-color-blue: var(--bolt-terminal-blue);
|
||||
--bolt-elements-terminal-color-magenta: var(--bolt-terminal-magenta);
|
||||
--bolt-elements-terminal-color-cyan: var(--bolt-terminal-cyan);
|
||||
--bolt-elements-terminal-color-white: var(--bolt-terminal-white);
|
||||
--bolt-elements-terminal-color-brightBlack: var(--bolt-terminal-brightBlack);
|
||||
--bolt-elements-terminal-color-brightRed: var(--bolt-terminal-brightRed);
|
||||
--bolt-elements-terminal-color-brightGreen: var(--bolt-terminal-brightGreen);
|
||||
--bolt-elements-terminal-color-brightYellow: var(--bolt-terminal-brightYellow);
|
||||
--bolt-elements-terminal-color-brightBlue: var(--bolt-terminal-brightBlue);
|
||||
--bolt-elements-terminal-color-brightMagenta: var(--bolt-terminal-brightMagenta);
|
||||
--bolt-elements-terminal-color-brightCyan: var(--bolt-terminal-brightCyan);
|
||||
--bolt-elements-terminal-color-brightWhite: var(--bolt-terminal-brightWhite);
|
||||
}
|
||||
33
app/styles/z-index.scss
Normal file
33
app/styles/z-index.scss
Normal file
@@ -0,0 +1,33 @@
|
||||
$zIndexMax: 999;
|
||||
|
||||
.z-logo {
|
||||
z-index: $zIndexMax - 1;
|
||||
}
|
||||
|
||||
.z-sidebar {
|
||||
z-index: $zIndexMax - 2;
|
||||
}
|
||||
|
||||
.z-port-dropdown {
|
||||
z-index: $zIndexMax - 3;
|
||||
}
|
||||
|
||||
.z-iframe-overlay {
|
||||
z-index: $zIndexMax - 4;
|
||||
}
|
||||
|
||||
.z-prompt {
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.z-workbench {
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.z-file-tree-breadcrumb {
|
||||
z-index: $zIndexMax - 1;
|
||||
}
|
||||
|
||||
.z-max {
|
||||
z-index: $zIndexMax;
|
||||
}
|
||||
Reference in New Issue
Block a user