mirror of
https://github.com/raven-pensieve/obsidian-ace-code-editor.git
synced 2026-07-22 05:48:56 +00:00
@src 和 @styles),并更新 tsconfig 中的 paths 配置以支持这些 别名。主要修改集中在多个组件、hook、service 和 i18n 文件的 import 语句,替换原先的 "@/src/..." 等路径为 "@src/..." 或 "@styles/..."。此外调整了 SettingsStore 的导入位置以保持一 致性。 这样做的原因是简化模块导入、提高代码可读性并避免相对路 径带来的维护成本,方便重构和移动文件时不需大量修改导入 路径。
60 lines
981 B
CSS
60 lines
981 B
CSS
.ace-create-code-file-modal {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
|
|
.code-editor-modal-header h2 {
|
|
margin: 0;
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
}
|
|
|
|
.code-editor-modal-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
|
|
.code-editor-input-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.code-editor-modal-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.code-editor-modal-preview {
|
|
padding: 0.5rem;
|
|
background-color: var(--background-secondary);
|
|
border-radius: 4px;
|
|
|
|
.preview-label {
|
|
font-weight: 500;
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
.preview-value {
|
|
color: var(--color-accent);
|
|
}
|
|
}
|
|
|
|
.code-editor-modal-option {
|
|
.checkbox-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
.code-editor-modal-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 0.75rem;
|
|
}
|
|
}
|