diff --git a/README.md b/README.md index 50021f2..96d0fbf 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,15 @@ # Monobiome `monobiome` is a minimal, balanced color palette for use in terminals and text editors. It was designed in OKLCH space to achieve perceptual uniformity across -all hues at various levels of luminance, and does so for _five_ monotone bases -and _five_ accent colors (plus one gray "default"). Each of the monotone base -colors (named according to a natural biome whose colors they loosely resemble) -are designed to achieve identical contrast with the accents, and thus any one -of the options can be selected to change the feeling of the palette without -sacrificing readability. +all hues at various levels of luminance, and does so for eight monotone bases +and eight accent colors (plus one zero chroma default base). Each of the +monotone base colors (named according to a natural biome whose colors they +loosely resemble) are designed to achieve identical contrast with the accents, +and thus any one of the options can be selected to change the feeling of the +palette without sacrificing readability. ![Theme preview](images/repo_preview_primary.png) -_(Preview of default light and dark theme variants)_ - -See screenshots for the full set of theme variants in [THEMES](THEMES.md) (also -discussed below). +_(Preview of light and dark alpine theme variants)_ The name "monobiome" connects the palette to its two key sources of inspiration: @@ -27,42 +24,79 @@ inspiration: grass, basically). ## Palette -The `monobiome` palette consists of four monotone bases and five accent colors, -each of which is anchored by hue and spread uniformly across lightness levels -15 to 95 (in OKLCH space). +The `monobiome` palette is fundamentally a set of parameterized curves in OKLCH +color space. Each color identity has one monotone curve and one accent curve, +both of which have fixed hue values and vary from 10% to 98% lightness. +Monotone curves have fixed chroma, whereas the accent curves' chroma varies +smoothly as a function of lightness within sRGB gamut bounds. -![Diagram of palette accents and monotones](images/palette.png) +| Chroma curves | Color trajectories | +|---|---| +| ![Chroma curves](images/cstar-curves-v140.png) | ![Trajectories](images/trajectories.gif) | -The chroma curve for each accent is carefully designed to vary smoothly across -the lightness spectrum, with the goal of retaining strong color identity in all -settings. Additionally, as alluded to above, the (WCAG 2) contrast ratio -between any choice of monotone background at a given lightness level and the -accent colors is virtually identical ($\pm 0.1$). Put another way, the relative -contrast between accents depends only on the _lightness_ of the background -monotone, not its hue. *(Note that this is not generally the case; at a fixed -lightness level, the contrast between two colors depends on their hue.)* +| Palette | +|---| +| ![Palette](images/palette.png) | + +There are eight monotone-accent pairs, plus a single grey trajectory: + +| Monotone / biome | Accent color | Hue | +| --- | --- | --- | +| alpine | grey | n/a | +| badlands | red | 29 | +| chaparral | orange | 62.5 | +| savanna | yellow | 104 | +| grassland | green | 148 | +| reef | cyan | 205 | +| tundra | blue | 262 | +| heathland | violet | 306 | +| moorland | magenta | 350 | + +The `alpine`/`grey` curve has zero chroma (and is thus invariant to hue), +varying only in lightness from dark to light grey. ## Concrete themes -![Dark themes](images/dark_themes.png) +| Dark themes | Light themes | +|---|---| +| ![Dark themes](images/dark_themes.png) | ![Light themes](images/light_themes.png) | -![Light themes](images/light_themes.png) +Themes are derived from the `monobiome` palette by selecting a monotone base +(the "biome"), a base lightness, and a contrast level. Although one can use +arbitrary contrast metrics, OKLCH distance (Euclidean distance in OKLab) +is designed to capture perceptual distinction. As such, perceptually uniform +themes under arbitrary monotones can be generated by calculating the accent +colors equidistant from that base. This is equivalent to determining the points +at which a sphere centered at the monotone base intersects with the accent +curves; the radius of such a sphere effectively determines the theme contrast, +and the colors on the sphere surface are equally perceptually distinct relative +to the background. -Themes are derived from the `monobiome` palette by varying both the monotone -hue (the "biome") and the extent of the background/foreground lightness (the -"harshness"). This is done for both light and dark schemes, and in each case -accent colors are selected at a lightness level that ensures each meet a -minimum contrast relative to the primary background. The following diagram -shows each of the 36 resulting combinations: +The following plots show the intersection of the sphere centered at a fixed +background color (`alpine` biome with a lightness of 20) under variable radii: -![Diagram of the 36 available concrete theme options](images/themes.png) +| | `-l 20 -d 0.3` | `-l 20 -d 0.4` | `-l 20 -d 0.5` | +|---|---|---|---| +| Color visualization | ![](images/oklch/mb_b20_d30.gif) | ![](images/oklch/mb_b20_d40.gif) | ![](images/oklch/mb_b20_d50.gif) | +| Editor preview | ![](images/render/v140-demo-alpine-dark-d0.3.png) | ![](v140-demo-alpine-dark-d0.4.png) | ![](v140-demo-alpine-dark-d0.5.png) | + +In short, the base lightness (`-l`) dictates the brightness of the background, +and the contrast (`-d`) controls how perceptually distinct the accent colors +appear with respect to that background. These are free parameters of the +`monobiome` model: themes can be generated under arbitrary settings that meet +user preferences. The "soft" harshness level uses monotone shades closer to the mid-shade (lightness level 55), whereas "hard" harshness uses shades further from it. Once the biome and harshness level are chosen, we're left with a bounded -monotone range over which common theme elements can be defined. For example, -the following demonstrates how background and foreground elements are chosen -for the `monobiome` Vim themes: +monotone range over which common theme elements can be defined. + +## Applications +When generating full application themes, fixed lightness steps are used in the +chosen monotone trajectory to establish consistent levels of distinction +between background layers. For example, the following demonstrates how +background and foreground elements are chosen for the `monobiome` vim/neovim +themes: ![ Diagram depicting how themes colors are selected by harshness and mapped onto @@ -76,15 +110,15 @@ assigned to these identifiers are preserved regardless of biome or harshness (e.g., `bg3` and `gray` are _always_ separated by 20 lightness points in any theme). As a result, applying `monobiome` themes to specific applications can effectively boil down to defining a single "relative template" that uses these -identifiers, after which any of the 36 theme options can applied immediately. - -Read more about how themes are created in [DESIGN](DESIGN.md). +identifiers, after which any user-provided parameters can be applied +automatically. You can read more about how themes are created in +[DESIGN](DESIGN.md). # Usage -This repo provides the 36 theme files for `kitty`, `vim`/`neovim`, and `fzf` in -the `app-config/` directory. You can also find raw palette colors in -`colors/monobiome.toml` if you want to use them to define themes for other -applications. +This repo provides *relative* theme templates for `kitty`, `vim`/`neovim`, and +`fzf` in the `templates/apps` directory, along with *concrete* themes in +`app-config/`. You can also find raw palette colors in `templates/apps/groups/` +if you want to use them to define static themes for other applications. Each of the files in the `app-config/` directory are named according to @@ -93,7 +127,7 @@ Each of the files in the `app-config/` directory are named according to ``` For example, `monobiome-tundra-dark-soft.vim` is the Vim theme file for the -dark `tundra` variant with the soft harshness level. +dark `tundra` variant with a soft harshness level. ## Applications - `kitty` diff --git a/images/biome_splits/default_split.png b/images/biome_splits/default_split.png deleted file mode 100644 index 4b1f75c..0000000 Binary files a/images/biome_splits/default_split.png and /dev/null differ diff --git a/images/biome_splits/grassland_split.png b/images/biome_splits/grassland_split.png deleted file mode 100644 index 6ca1108..0000000 Binary files a/images/biome_splits/grassland_split.png and /dev/null differ diff --git a/images/biome_splits/savanna_split.png b/images/biome_splits/savanna_split.png deleted file mode 100644 index 1140b72..0000000 Binary files a/images/biome_splits/savanna_split.png and /dev/null differ diff --git a/images/biome_splits/tundra_split.png b/images/biome_splits/tundra_split.png deleted file mode 100644 index 7c552d1..0000000 Binary files a/images/biome_splits/tundra_split.png and /dev/null differ diff --git a/images/biome_variants/default_variants.png b/images/biome_variants/default_variants.png deleted file mode 100644 index e8faaeb..0000000 Binary files a/images/biome_variants/default_variants.png and /dev/null differ diff --git a/images/biome_variants/grassland_variants.png b/images/biome_variants/grassland_variants.png deleted file mode 100644 index 9b0ac17..0000000 Binary files a/images/biome_variants/grassland_variants.png and /dev/null differ diff --git a/images/biome_variants/savanna_variants.png b/images/biome_variants/savanna_variants.png deleted file mode 100644 index 38d5b1a..0000000 Binary files a/images/biome_variants/savanna_variants.png and /dev/null differ diff --git a/images/biome_variants/tundra_variants.png b/images/biome_variants/tundra_variants.png deleted file mode 100644 index 2daebef..0000000 Binary files a/images/biome_variants/tundra_variants.png and /dev/null differ diff --git a/images/color_stats/chroma-curves-v120.png b/images/curves/chroma-curves-v120.png similarity index 100% rename from images/color_stats/chroma-curves-v120.png rename to images/curves/chroma-curves-v120.png diff --git a/images/color_stats/chroma-curves-v130.png b/images/curves/chroma-curves-v130.png similarity index 100% rename from images/color_stats/chroma-curves-v130.png rename to images/curves/chroma-curves-v130.png diff --git a/images/color_stats/chroma-order-v111.png b/images/curves/chroma-order-v111.png similarity index 100% rename from images/color_stats/chroma-order-v111.png rename to images/curves/chroma-order-v111.png diff --git a/images/color_stats/chroma-order-v120.png b/images/curves/chroma-order-v120.png similarity index 100% rename from images/color_stats/chroma-order-v120.png rename to images/curves/chroma-order-v120.png diff --git a/images/curves/cstar-curves-v140.png b/images/curves/cstar-curves-v140.png new file mode 100644 index 0000000..5c84b01 Binary files /dev/null and b/images/curves/cstar-curves-v140.png differ diff --git a/images/dark_code_caps.png b/images/dark_code_caps.png deleted file mode 100644 index b4877f9..0000000 Binary files a/images/dark_code_caps.png and /dev/null differ diff --git a/images/dark_themes.png b/images/dark_themes.png index 11a9835..3a77f8e 100644 Binary files a/images/dark_themes.png and b/images/dark_themes.png differ diff --git a/images/firefox/alpine-monobiome-light.png b/images/firefox/alpine-monobiome-light.png deleted file mode 100644 index 539f718..0000000 Binary files a/images/firefox/alpine-monobiome-light.png and /dev/null differ diff --git a/images/firefox/alpine-split.png b/images/firefox/alpine-split.png deleted file mode 100644 index d2f5027..0000000 Binary files a/images/firefox/alpine-split.png and /dev/null differ diff --git a/images/firefox/badlands-monobiome-light.png b/images/firefox/badlands-monobiome-light.png deleted file mode 100644 index 28cfc22..0000000 Binary files a/images/firefox/badlands-monobiome-light.png and /dev/null differ diff --git a/images/firefox/badlands-split.png b/images/firefox/badlands-split.png deleted file mode 100644 index f68c024..0000000 Binary files a/images/firefox/badlands-split.png and /dev/null differ diff --git a/images/firefox/chaparral-monobiome-light.png b/images/firefox/chaparral-monobiome-light.png deleted file mode 100644 index 4380f3f..0000000 Binary files a/images/firefox/chaparral-monobiome-light.png and /dev/null differ diff --git a/images/firefox/chaparral-split.png b/images/firefox/chaparral-split.png deleted file mode 100644 index 6b86450..0000000 Binary files a/images/firefox/chaparral-split.png and /dev/null differ diff --git a/images/firefox/grassland-monobiome-light.png b/images/firefox/grassland-monobiome-light.png deleted file mode 100644 index 6f9020d..0000000 Binary files a/images/firefox/grassland-monobiome-light.png and /dev/null differ diff --git a/images/firefox/grassland-split.png b/images/firefox/grassland-split.png deleted file mode 100644 index 4171545..0000000 Binary files a/images/firefox/grassland-split.png and /dev/null differ diff --git a/images/firefox/savanna-monobiome-light.png b/images/firefox/savanna-monobiome-light.png deleted file mode 100644 index 4923b2e..0000000 Binary files a/images/firefox/savanna-monobiome-light.png and /dev/null differ diff --git a/images/firefox/savanna-split.png b/images/firefox/savanna-split.png deleted file mode 100644 index d359ce6..0000000 Binary files a/images/firefox/savanna-split.png and /dev/null differ diff --git a/images/firefox/themes.png b/images/firefox/themes.png deleted file mode 100644 index 6707bc9..0000000 Binary files a/images/firefox/themes.png and /dev/null differ diff --git a/images/firefox/tundra-monobiome-light.png b/images/firefox/tundra-monobiome-light.png deleted file mode 100644 index a1a3704..0000000 Binary files a/images/firefox/tundra-monobiome-light.png and /dev/null differ diff --git a/images/firefox/tundra-split.png b/images/firefox/tundra-split.png deleted file mode 100644 index b30076e..0000000 Binary files a/images/firefox/tundra-split.png and /dev/null differ diff --git a/images/firefox/v1.0.2/alpine-dark.png b/images/firefox/v1.0.2/alpine-dark.png deleted file mode 100644 index db151f0..0000000 Binary files a/images/firefox/v1.0.2/alpine-dark.png and /dev/null differ diff --git a/images/firefox/v1.0.2/alpine-light.png b/images/firefox/v1.0.2/alpine-light.png deleted file mode 100644 index a94231c..0000000 Binary files a/images/firefox/v1.0.2/alpine-light.png and /dev/null differ diff --git a/images/firefox/v1.0.2/alpine-split.png b/images/firefox/v1.0.2/alpine-split.png deleted file mode 100644 index 7f131c5..0000000 Binary files a/images/firefox/v1.0.2/alpine-split.png and /dev/null differ diff --git a/images/firefox/v1.0.2/badlands-dark.png b/images/firefox/v1.0.2/badlands-dark.png deleted file mode 100644 index 2b508d4..0000000 Binary files a/images/firefox/v1.0.2/badlands-dark.png and /dev/null differ diff --git a/images/firefox/v1.0.2/badlands-light.png b/images/firefox/v1.0.2/badlands-light.png deleted file mode 100644 index 01778a9..0000000 Binary files a/images/firefox/v1.0.2/badlands-light.png and /dev/null differ diff --git a/images/firefox/v1.0.2/badlands-split.png b/images/firefox/v1.0.2/badlands-split.png deleted file mode 100644 index 05be59f..0000000 Binary files a/images/firefox/v1.0.2/badlands-split.png and /dev/null differ diff --git a/images/firefox/v1.0.2/chaparral-dark.png b/images/firefox/v1.0.2/chaparral-dark.png deleted file mode 100644 index 00e1605..0000000 Binary files a/images/firefox/v1.0.2/chaparral-dark.png and /dev/null differ diff --git a/images/firefox/v1.0.2/chaparral-light.png b/images/firefox/v1.0.2/chaparral-light.png deleted file mode 100644 index c3acb1a..0000000 Binary files a/images/firefox/v1.0.2/chaparral-light.png and /dev/null differ diff --git a/images/firefox/v1.0.2/chaparral-split.png b/images/firefox/v1.0.2/chaparral-split.png deleted file mode 100644 index c77aad7..0000000 Binary files a/images/firefox/v1.0.2/chaparral-split.png and /dev/null differ diff --git a/images/firefox/v1.0.2/grassland-dark.png b/images/firefox/v1.0.2/grassland-dark.png deleted file mode 100644 index 6eb9c81..0000000 Binary files a/images/firefox/v1.0.2/grassland-dark.png and /dev/null differ diff --git a/images/firefox/v1.0.2/grassland-light.png b/images/firefox/v1.0.2/grassland-light.png deleted file mode 100644 index 349cf81..0000000 Binary files a/images/firefox/v1.0.2/grassland-light.png and /dev/null differ diff --git a/images/firefox/v1.0.2/grassland-split.png b/images/firefox/v1.0.2/grassland-split.png deleted file mode 100644 index 0f80a79..0000000 Binary files a/images/firefox/v1.0.2/grassland-split.png and /dev/null differ diff --git a/images/firefox/v1.0.2/savanna-dark.png b/images/firefox/v1.0.2/savanna-dark.png deleted file mode 100644 index f7647c2..0000000 Binary files a/images/firefox/v1.0.2/savanna-dark.png and /dev/null differ diff --git a/images/firefox/v1.0.2/savanna-light.png b/images/firefox/v1.0.2/savanna-light.png deleted file mode 100644 index 60209e0..0000000 Binary files a/images/firefox/v1.0.2/savanna-light.png and /dev/null differ diff --git a/images/firefox/v1.0.2/savanna-split.png b/images/firefox/v1.0.2/savanna-split.png deleted file mode 100644 index 15b79e2..0000000 Binary files a/images/firefox/v1.0.2/savanna-split.png and /dev/null differ diff --git a/images/firefox/v1.0.2/tundra-dark.png b/images/firefox/v1.0.2/tundra-dark.png deleted file mode 100644 index 96fbeb5..0000000 Binary files a/images/firefox/v1.0.2/tundra-dark.png and /dev/null differ diff --git a/images/firefox/v1.0.2/tundra-light.png b/images/firefox/v1.0.2/tundra-light.png deleted file mode 100644 index 18c06ca..0000000 Binary files a/images/firefox/v1.0.2/tundra-light.png and /dev/null differ diff --git a/images/firefox/v1.0.2/tundra-split.png b/images/firefox/v1.0.2/tundra-split.png deleted file mode 100644 index dc8875f..0000000 Binary files a/images/firefox/v1.0.2/tundra-split.png and /dev/null differ diff --git a/images/harshness.png b/images/harshness.png deleted file mode 100644 index f9ad1f6..0000000 Binary files a/images/harshness.png and /dev/null differ diff --git a/images/light_code_caps.png b/images/light_code_caps.png deleted file mode 100644 index 5d929d1..0000000 Binary files a/images/light_code_caps.png and /dev/null differ diff --git a/images/oklch/mb_b20_d30.gif b/images/oklch/mb_b20_d30.gif new file mode 100644 index 0000000..0af127d Binary files /dev/null and b/images/oklch/mb_b20_d30.gif differ diff --git a/images/oklch/mb_b20_d40.gif b/images/oklch/mb_b20_d40.gif new file mode 100644 index 0000000..b2b0f39 Binary files /dev/null and b/images/oklch/mb_b20_d40.gif differ diff --git a/images/oklch/mb_b20_d50.gif b/images/oklch/mb_b20_d50.gif new file mode 100644 index 0000000..b9372f4 Binary files /dev/null and b/images/oklch/mb_b20_d50.gif differ diff --git a/images/palette.png b/images/palette.png index 545bee9..9bae143 100644 Binary files a/images/palette.png and b/images/palette.png differ diff --git a/images/palette_grid.png b/images/palette_grid.png new file mode 100644 index 0000000..545bee9 Binary files /dev/null and b/images/palette_grid.png differ diff --git a/images/render/v140-demo-alpine-dark-d0.3.png b/images/render/v140-demo-alpine-dark-d0.3.png new file mode 100644 index 0000000..4de484a Binary files /dev/null and b/images/render/v140-demo-alpine-dark-d0.3.png differ diff --git a/images/render/v140-demo-alpine-dark-d0.4.png b/images/render/v140-demo-alpine-dark-d0.4.png new file mode 100644 index 0000000..254007d Binary files /dev/null and b/images/render/v140-demo-alpine-dark-d0.4.png differ diff --git a/images/render/v140-demo-alpine-dark-d0.5.png b/images/render/v140-demo-alpine-dark-d0.5.png new file mode 100644 index 0000000..630c401 Binary files /dev/null and b/images/render/v140-demo-alpine-dark-d0.5.png differ diff --git a/images/repo_preview.png b/images/repo_preview.png deleted file mode 100644 index 678291d..0000000 Binary files a/images/repo_preview.png and /dev/null differ diff --git a/images/repo_preview_banner.png b/images/repo_preview_banner.png new file mode 100644 index 0000000..12adffb Binary files /dev/null and b/images/repo_preview_banner.png differ diff --git a/images/repo_preview_compressed.png b/images/repo_preview_compressed.png deleted file mode 100644 index fc8e249..0000000 Binary files a/images/repo_preview_compressed.png and /dev/null differ diff --git a/images/repo_preview_four_split.png b/images/repo_preview_four_split.png deleted file mode 100644 index 1b50296..0000000 Binary files a/images/repo_preview_four_split.png and /dev/null differ diff --git a/images/repo_preview_minimal.png b/images/repo_preview_minimal.png deleted file mode 100644 index 900a63d..0000000 Binary files a/images/repo_preview_minimal.png and /dev/null differ diff --git a/images/theme-split-view.png b/images/theme-split-view.png deleted file mode 100644 index 163286b..0000000 Binary files a/images/theme-split-view.png and /dev/null differ diff --git a/images/theme_caps/default-default-dark.png b/images/theme_caps/default-default-dark.png deleted file mode 100644 index aa8b10d..0000000 Binary files a/images/theme_caps/default-default-dark.png and /dev/null differ diff --git a/images/theme_caps/default-default-light.png b/images/theme_caps/default-default-light.png deleted file mode 100644 index bbc6bd0..0000000 Binary files a/images/theme_caps/default-default-light.png and /dev/null differ diff --git a/images/theme_caps/default-grassland-dark.png b/images/theme_caps/default-grassland-dark.png deleted file mode 100644 index b1ff060..0000000 Binary files a/images/theme_caps/default-grassland-dark.png and /dev/null differ diff --git a/images/theme_caps/default-grassland-light.png b/images/theme_caps/default-grassland-light.png deleted file mode 100644 index c2e858c..0000000 Binary files a/images/theme_caps/default-grassland-light.png and /dev/null differ diff --git a/images/theme_caps/default-savanna-dark.png b/images/theme_caps/default-savanna-dark.png deleted file mode 100644 index 2a9782f..0000000 Binary files a/images/theme_caps/default-savanna-dark.png and /dev/null differ diff --git a/images/theme_caps/default-savanna-light.png b/images/theme_caps/default-savanna-light.png deleted file mode 100644 index 5b92835..0000000 Binary files a/images/theme_caps/default-savanna-light.png and /dev/null differ diff --git a/images/theme_caps/default-tundra-dark.png b/images/theme_caps/default-tundra-dark.png deleted file mode 100644 index d822901..0000000 Binary files a/images/theme_caps/default-tundra-dark.png and /dev/null differ diff --git a/images/theme_caps/default-tundra-light.png b/images/theme_caps/default-tundra-light.png deleted file mode 100644 index 9ec326d..0000000 Binary files a/images/theme_caps/default-tundra-light.png and /dev/null differ diff --git a/images/theme_caps/hard-default-dark.png b/images/theme_caps/hard-default-dark.png deleted file mode 100644 index 0936b71..0000000 Binary files a/images/theme_caps/hard-default-dark.png and /dev/null differ diff --git a/images/theme_caps/hard-default-light.png b/images/theme_caps/hard-default-light.png deleted file mode 100644 index 2e59bc3..0000000 Binary files a/images/theme_caps/hard-default-light.png and /dev/null differ diff --git a/images/theme_caps/hard-grassland-dark.png b/images/theme_caps/hard-grassland-dark.png deleted file mode 100644 index 8417f9d..0000000 Binary files a/images/theme_caps/hard-grassland-dark.png and /dev/null differ diff --git a/images/theme_caps/hard-grassland-light.png b/images/theme_caps/hard-grassland-light.png deleted file mode 100644 index 6ab512d..0000000 Binary files a/images/theme_caps/hard-grassland-light.png and /dev/null differ diff --git a/images/theme_caps/hard-savanna-dark.png b/images/theme_caps/hard-savanna-dark.png deleted file mode 100644 index fbac764..0000000 Binary files a/images/theme_caps/hard-savanna-dark.png and /dev/null differ diff --git a/images/theme_caps/hard-savanna-light.png b/images/theme_caps/hard-savanna-light.png deleted file mode 100644 index 03fefb3..0000000 Binary files a/images/theme_caps/hard-savanna-light.png and /dev/null differ diff --git a/images/theme_caps/hard-tundra-dark.png b/images/theme_caps/hard-tundra-dark.png deleted file mode 100644 index be6e416..0000000 Binary files a/images/theme_caps/hard-tundra-dark.png and /dev/null differ diff --git a/images/theme_caps/hard-tundra-light.png b/images/theme_caps/hard-tundra-light.png deleted file mode 100644 index 0e61980..0000000 Binary files a/images/theme_caps/hard-tundra-light.png and /dev/null differ diff --git a/images/theme_caps/soft-default-dark.png b/images/theme_caps/soft-default-dark.png deleted file mode 100644 index b7b091e..0000000 Binary files a/images/theme_caps/soft-default-dark.png and /dev/null differ diff --git a/images/theme_caps/soft-default-light.png b/images/theme_caps/soft-default-light.png deleted file mode 100644 index 844e5c1..0000000 Binary files a/images/theme_caps/soft-default-light.png and /dev/null differ diff --git a/images/theme_caps/soft-grassland-dark.png b/images/theme_caps/soft-grassland-dark.png deleted file mode 100644 index e0c374b..0000000 Binary files a/images/theme_caps/soft-grassland-dark.png and /dev/null differ diff --git a/images/theme_caps/soft-grassland-light.png b/images/theme_caps/soft-grassland-light.png deleted file mode 100644 index 8e3ff3d..0000000 Binary files a/images/theme_caps/soft-grassland-light.png and /dev/null differ diff --git a/images/theme_caps/soft-savanna-dark.png b/images/theme_caps/soft-savanna-dark.png deleted file mode 100644 index 5746a78..0000000 Binary files a/images/theme_caps/soft-savanna-dark.png and /dev/null differ diff --git a/images/theme_caps/soft-savanna-light.png b/images/theme_caps/soft-savanna-light.png deleted file mode 100644 index ed14bb1..0000000 Binary files a/images/theme_caps/soft-savanna-light.png and /dev/null differ diff --git a/images/theme_caps/soft-tundra-dark.png b/images/theme_caps/soft-tundra-dark.png deleted file mode 100644 index 3bc861d..0000000 Binary files a/images/theme_caps/soft-tundra-dark.png and /dev/null differ diff --git a/images/theme_caps/soft-tundra-light.png b/images/theme_caps/soft-tundra-light.png deleted file mode 100644 index 18a99e5..0000000 Binary files a/images/theme_caps/soft-tundra-light.png and /dev/null differ diff --git a/images/trajectories.gif b/images/trajectories.gif new file mode 100644 index 0000000..0b2cf55 Binary files /dev/null and b/images/trajectories.gif differ diff --git a/pyproject.toml b/pyproject.toml index 51b114f..6ecf0d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,8 +6,24 @@ build-backend = "setuptools.build_meta" name = "monobiome" version = "1.4.0" description = "Monobiome color palette" -readme = "README.md" requires-python = ">=3.12" +authors = [ + { name="Sam Griesemer", email="git@olog.io" }, +] +readme = "README.md" +license = "MIT" +keywords = [ + "tempate-engine", + "color-palette", +] +classifiers = [ + "Programming Language :: Python", + "Operating System :: OS Independent", + "Development Status :: 3 - Alpha", + + "Intended Audience :: Developers", + "Intended Audience :: End Users/Desktop", +] dependencies = [ "coloraide>=5.1", "imageio[ffmpeg]>=2.37.2", @@ -22,20 +38,35 @@ dependencies = [ "scipy>=1.16.2", ] -[dependency-groups] -dev = [ - "ipykernel>=7.0.1", -] - [project.scripts] monobiome = "monobiome.__main__:main" +[project.optional-dependencies] +dev = [ + "ipykernel", +] +doc = [ + "furo", + "myst-parser", + "sphinx", + "sphinx-togglebutton", + "sphinx-autodoc-typehints", +] +test = [ + "pytest", +] + [project.urls] Homepage = "https://doc.olog.io/monobiome" Documentation = "https://doc.olog.io/monobiome" Repository = "https://git.olog.io/olog/monobiome" Issues = "https://git.olog.io/olog/monobiome/issues" +[dependency-groups] +dev = [ + "ipykernel>=7.0.1", +] + [tool.setuptools.packages.find] include = ["monobiome*"] diff --git a/scripts/screens.sh b/scripts/screens.sh index 2083797..24c5b97 100755 --- a/scripts/screens.sh +++ b/scripts/screens.sh @@ -7,29 +7,32 @@ prefix=${1:-} script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" render_script="$script_dir/render.sh" -biomes=(alpine badlands chaparral savanna grassland tundra reef heathland moorland) -modes=(light) +biomes=(alpine) # badlands chaparral savanna grassland tundra reef heathland moorland) +modes=(dark) +distances=(0.3 0.4 0.5) for biome in "${biomes[@]}"; do for mode in "${modes[@]}"; do - echo "Applying $biome-$mode theme" - monobiome scheme "$mode" "$biome" \ - -d 0.42 \ - -l 90 \ - -o ~/.config/symconf/groups/theme/monobiome-none.toml - symconf config \ - -a kitty,nvim \ - -m "$mode" \ - -s monobiome \ - -T font=Berkeley - sleep 1 + for dist in "${distances[@]}"; do + echo "Applying $biome-$mode theme" + monobiome scheme "$mode" "$biome" \ + -d "$dist" \ + -l 20 \ + -o ~/.config/symconf/groups/theme/monobiome-none.toml + symconf config \ + -a kitty,nvim \ + -m "$mode" \ + -s monobiome \ + -T font=Berkeley + sleep 1 - echo "Taking screenshot..." - "$render_script" 1920 1440 "images/render/$prefix-$biome-$mode.png" nvim \ - +':highlight Cursor blend=100' \ - +':set guicursor=n:block-Cursor' \ - +':silent! setlocal nonumber nocursorline signcolumn=no foldcolumn=no' \ - +':lua vim.diagnostic.config({virtual_text=false,signs=false,underline=false})' \ - examples/class.py + echo "Taking screenshot..." + "$render_script" 1920 1440 "images/render/$prefix-$biome-$mode-d$dist.png" nvim \ + +':highlight Cursor blend=100' \ + +':set guicursor=n:block-Cursor' \ + +':silent! setlocal nonumber nocursorline signcolumn=no foldcolumn=no' \ + +':lua vim.diagnostic.config({virtual_text=false,signs=false,underline=false})' \ + examples/class.py + done done done