-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0540cc
commit 593de20
Showing
50 changed files
with
881 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,7 @@ impl<R: Runtime, T: Manager<R>> BlenderExt<R> for T { | |
self.state::<Blender<R>>().inner() | ||
} | ||
} | ||
|
||
trait Worker { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
use semver::Version; | ||
use suppaftp::FtpStream; | ||
|
||
pub trait Scraper { | ||
|
||
} | ||
|
||
pub struct StableScraper { | ||
|
||
} | ||
|
||
impl StableScraper { | ||
pub fn scrape() { | ||
let mut stream = FtpStream::connect("mirrors.dotsrc.org:21").unwrap(); | ||
stream.login("anonymous", "").unwrap(); | ||
stream.cwd("/blender/blender-release/Blender4.1").unwrap(); | ||
} | ||
} | ||
|
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"private": true, | ||
"name": "@blending/css", | ||
"version": "0.0.0", | ||
"type": "module", | ||
"exports": { | ||
".": "./src/index.ts", | ||
"./syntax": "./src/syntax/index.ts" | ||
}, | ||
"packageManager": "yarn@4.1.1", | ||
"dependencies": { | ||
"@vanilla-extract/css": "^1.14.2" | ||
}, | ||
"devDependencies": { | ||
"@blending/config": "workspace:^", | ||
"@blending/utils": "workspace:^", | ||
"typescript": "^5.4.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
import { syntax } from "./syntax"; | ||
|
||
const COLOR_MIX = syntax.function`color-mix`; | ||
|
||
type RectangularColorSpace = | ||
| "srgb" | ||
| "srgb-linear" | ||
| "display-p3" | ||
| "a98-rgb" | ||
| "prophoto-rgb" | ||
| "rec2020" | ||
| "lab" | ||
| "oklab" | ||
| "xyz" | ||
| "xyz-d50" | ||
| "xyz-d65"; | ||
type PolarColorSpace = | ||
| "hsl" | ||
| "hwb" | ||
| "lch" | ||
| "oklch"; | ||
|
||
type ColorSpace = RectangularColorSpace | PolarColorSpace; | ||
|
||
type HueInterpolationMethod = | ||
| "shorter" | ||
| "longer" | ||
| "decreasing" | ||
| "increasing"; | ||
|
||
type ColorInterpolationMethod = ColorSpace | [ColorSpace, HueInterpolationMethod]; | ||
|
||
type ColorMixColor = string | [string, `${number}%`]; | ||
|
||
export const colorMix = ( | ||
method: ColorInterpolationMethod, | ||
color1: ColorMixColor, | ||
color2: ColorMixColor, | ||
) => { | ||
let parts: string[] = typeof method === "string" ? [method] : method; | ||
|
||
const processColor = (color: ColorMixColor) => { | ||
return typeof color === "string" ? color : color.join(" "); | ||
} | ||
|
||
return COLOR_MIX( | ||
`in ${parts.join(" ")}`, | ||
processColor(color1), | ||
processColor(color2), | ||
); | ||
} |
Oops, something went wrong.