mirror of
https://github.com/godotengine/godot-website.git
synced 2025-12-31 09:48:43 +03:00
Add Godot priorities page (#955)
Co-authored-by: Emi <2206700+coppolaemilio@users.noreply.github.com>
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
//
|
||||
// Functions
|
||||
//
|
||||
@function offset-hue($color, $offset, $i: 1) {
|
||||
@return adjust-hue($color, $offset * $i);
|
||||
}
|
||||
@@ -51,3 +54,18 @@
|
||||
@function r-get-mobile($value) {
|
||||
@return map-get($value, "mobile");
|
||||
}
|
||||
|
||||
//
|
||||
// Mixins
|
||||
//
|
||||
@mixin is-dark() {
|
||||
@media screen and (prefers-color-scheme: dark) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin is-light() {
|
||||
@media screen and (prefers-color-scheme: light) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user