ui: update to defaults, less assumptions about layout
This commit is contained in:
parent
1d993fb6cc
commit
6bbdb50ab8
7 changed files with 113 additions and 102 deletions
18
module.nix
18
module.nix
|
|
@ -98,7 +98,7 @@ in
|
|||
|
||||
canvasWidth = mkOption {
|
||||
type = types.int;
|
||||
default = 400;
|
||||
default = 320;
|
||||
description = "Drawing canvas width in pixels.";
|
||||
};
|
||||
|
||||
|
|
@ -251,7 +251,7 @@ in
|
|||
|
||||
greeting = mkOption {
|
||||
type = types.str;
|
||||
default = "Thanks for visiting. Sign the guestbook!";
|
||||
default = "";
|
||||
description = "Text shown above the form.";
|
||||
};
|
||||
|
||||
|
|
@ -264,27 +264,27 @@ in
|
|||
|
||||
name = mkOption {
|
||||
type = types.str;
|
||||
default = "Your name:";
|
||||
description = "Label for the name field.";
|
||||
default = "name";
|
||||
description = "Label for the name field (used as both screen-reader label and placeholder).";
|
||||
};
|
||||
|
||||
website = mkOption {
|
||||
type = types.str;
|
||||
default = "Your website (optional):";
|
||||
description = "Label for the website field.";
|
||||
default = "website (optional)";
|
||||
description = "Label for the website field (used as both screen-reader label and placeholder).";
|
||||
};
|
||||
|
||||
message = mkOption {
|
||||
type = types.str;
|
||||
default = "Your message:";
|
||||
description = "Label for the message field.";
|
||||
default = "message";
|
||||
description = "Label for the message field (used as both screen-reader label and placeholder).";
|
||||
};
|
||||
};
|
||||
|
||||
message = {
|
||||
width = mkOption {
|
||||
type = types.int;
|
||||
default = 400;
|
||||
default = 320;
|
||||
description = "Message textarea width in pixels.";
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue