⚡ 初始提交 - FutureOSS v1.0 插件化运行时框架
一切皆为插件的开发者工具运行时框架
🧩 核心特性:
- 插件热插拔 (importlib 动态加载)
- 依赖自动解析 (拓扑排序 + 循环检测)
- 企业级稳定 (熔断/降级/重试/隔离)
- 事件驱动 (发布/订阅事件总线)
- 完整配置 (YAML 配置 + 热重载)
This commit is contained in:
110
website/css/plugins.css
Normal file
110
website/css/plugins.css
Normal file
@@ -0,0 +1,110 @@
|
||||
/* ===== 插件生态 ===== */
|
||||
#plugins {
|
||||
padding: 120px 0;
|
||||
background: var(--bg-secondary);
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.plugins-content {
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.pkg-format { text-align: center; margin-bottom: 48px; }
|
||||
|
||||
.pkg-card {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: clamp(20px, 4vw, 36px);
|
||||
font-weight: 700;
|
||||
padding: 32px;
|
||||
background: var(--bg-glass);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 16px;
|
||||
display: inline-block;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.pkg-symbol { color: var(--text-muted); }
|
||||
.pkg-highlight { color: var(--cyan); }
|
||||
.pkg-version { color: var(--blue); }
|
||||
|
||||
.pkg-explain {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 24px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.explain-symbol {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
color: var(--cyan-light);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.explain-text {
|
||||
font-size: 14px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.install-demo {
|
||||
background: rgba(10, 15, 30, 0.9);
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 16px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.demo-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 14px 20px;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.demo-dot {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.demo-dot-red { background: #ef4444; }
|
||||
.demo-dot-yellow { background: #eab308; }
|
||||
.demo-dot-green { background: #22c55e; }
|
||||
|
||||
.demo-title {
|
||||
margin-left: 12px;
|
||||
font-size: 13px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.demo-body {
|
||||
padding: 20px;
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.cmd-line {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
margin-bottom: 8px;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.prompt { color: var(--cyan); font-weight: 600; }
|
||||
.cmd-text { color: #e5e7eb; }
|
||||
|
||||
.cmd-output {
|
||||
color: #9ca3af;
|
||||
font-size: 13px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.cmd-output.success { color: #34d399; }
|
||||
.cmd-output.indent { padding-left: 24px; }
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.pkg-explain { grid-template-columns: 1fr; }
|
||||
}
|
||||
Reference in New Issue
Block a user