up seafile

This commit is contained in:
2026-06-13 10:14:23 +02:00
parent 3cb2e466d8
commit ff53831be4
8 changed files with 230 additions and 24 deletions
+3 -3
View File
@@ -13,7 +13,7 @@ type Preset struct {
// gelParams are the knobs shared by the layered "gel" stacks.
var gelParams = map[string]bool{
"gradient": true, "shine": true, "outline_color": true, "outline_width": true,
"halo": true, "shadow": true, "bevel_offset": true,
"halo": true, "shadow": true, "bevel_offset": true, "fx": true,
}
// Presets is the built-in style registry, keyed by preset name.
@@ -23,8 +23,8 @@ var Presets = map[string]Preset{
Label: "Gel gold",
AllowedParams: gelParams,
Defaults: StyleParams{
Gradient: []string{"#FFE15A", "#FFC312", "#E07A00"},
Shine: &Shine{Coverage: 0.52, Opacity: 0.95},
Gradient: []string{"#FFE22D", "#FFD600", "#FFCC00"}, // bright XV9Q yellows; orange depth comes from the FX inner shadow
Shine: &Shine{Coverage: 0.6, Opacity: 1},
OutlineColor: "#2a3f5c", OutlineWidth: 10,
Halo: &Halo{Color: "#cdd9e4", Blur: 6, Opacity: 0.4},
Shadow: &ShadowFx{Dx: 6, Dy: 9, Blur: 5, Color: "#14243a", Opacity: 0.55},