mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-24 06:45:22 +00:00
feat: small light rays tweaks
This commit is contained in:
@@ -34,20 +34,20 @@ export interface LightRaysConfig {
|
||||
export const defaultConfig: LightRaysConfig = {
|
||||
raysOrigin: "top-center",
|
||||
raysColor: "#ffffff",
|
||||
raysSpeed: 0.2,
|
||||
lightSpread: 1.1,
|
||||
rayLength: 2.25,
|
||||
raysSpeed: 0.3,
|
||||
lightSpread: 1.15,
|
||||
rayLength: 2.75,
|
||||
sourceWidth: 0.1,
|
||||
pulsating: true,
|
||||
pulsatingMin: 0.7,
|
||||
pulsatingMax: 0.9,
|
||||
fadeDistance: 1.5,
|
||||
saturation: 0.25,
|
||||
pulsatingMin: 0.9,
|
||||
pulsatingMax: 1.0,
|
||||
fadeDistance: 1.15,
|
||||
saturation: 0.325,
|
||||
followMouse: false,
|
||||
mouseInfluence: 0.05,
|
||||
noiseAmount: 0.0,
|
||||
noiseAmount: 0.25,
|
||||
distortion: 0.0,
|
||||
opacity: 0.5,
|
||||
opacity: 0.35,
|
||||
}
|
||||
|
||||
interface LightRaysProps {
|
||||
|
||||
@@ -239,7 +239,7 @@ export function Sidebar(props: { sessionID: string; overlay?: boolean }) {
|
||||
{(item) => {
|
||||
return (
|
||||
<box flexDirection="row" gap={1} justifyContent="space-between">
|
||||
<text fg={theme.textMuted} truncate={true} wrapMode="none">
|
||||
<text fg={theme.textMuted} wrapMode="none">
|
||||
{item.file}
|
||||
</text>
|
||||
<box flexDirection="row" gap={1} flexShrink={0}>
|
||||
|
||||
Reference in New Issue
Block a user