yummy.cricket/style/properties.css

51 lines
868 B
CSS
Raw Normal View History

2025-02-17 03:20:13 +01:00
@property --base-background {
syntax: "*";
inherits: false;
initial-value: transparent;
}
2025-02-16 17:08:50 +01:00
/* face backgrounds */
@property --hue {
syntax: "<angle>";
inherits: true;
initial-value: 0deg;
}
@property --bg-angle {
syntax: "<angle>";
inherits: true;
initial-value: 45deg;
}
/* link buttons */
@property --icon {
syntax: "<url>";
inherits: true;
initial-value: url(../media/favicon.webp);
}
@property --fg {
syntax: "<color>";
inherits: true;
initial-value: white;
}
@property --bg {
syntax: "<color>";
inherits: true;
initial-value: black;
}
@property --icon-bg {
syntax: "<color>";
inherits: true;
initial-value: white;
}
/* the initial value can't be `var(--bg)` because only "computationally
* independent" values are allowed
* https://drafts.css-houdini.org/css-properties-values-api/#initial-value-descriptor
*/