diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a6b41be7e9c..86dc50de48f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,21 +2,25 @@ - - + + First and foremost, welcome to the **Lawnchair** Contributing Guidelines! ### 💫 Bug reports & feature requests -For bug reports, please describe the bug in detail to the best of your ability -and steps on how to reproduce it. If applicable, attach log files. +> [!TIP] +> We recommend that the Lawnchair [Nightly](https://github.com/LawnchairLauncher/lawnchair/releases/tag/nightly) +> build be used in your report as they contain the latest changes from Lawnchair. -For feature requests, please describe the feature you'd like to see added to Lawnchair. +For [bug reports](https://github.com/LawnchairLauncher/lawnchair/issues/new?assignees=&labels=bug&projects=&template=bug_report.yaml&title=%5BBUG%5D+), please describe the bug in detail to the best of your ability +with steps on how to reproduce it. If applicable, attach log files. + +For [feature requests](https://github.com/LawnchairLauncher/lawnchair/issues/new?assignees=&labels=feature%2Cenhancement&projects=&template=feature_request.yaml&title=%5BFEATURE%5D+), please describe the feature you'd like to see added to Lawnchair. If applicable, attach log files. -Please make sure to be civil during discussion of your contribution (refer to the [Code of Conduct](CODE_OF_CONDUCT.md)) +Please make sure to be civil during the discussion of your contribution as outlined by the [Code of Conduct](CODE_OF_CONDUCT.md). ### 🌐 Translation @@ -24,7 +28,7 @@ For translation, visit [Lawnchair on Crowdin](https://lawnchair.crowdin.com) and - When using quotation marks, insert the symbols specific to the target language, as listed in this [this summary table](https://en.wikipedia.org/wiki/Quotation_mark#Summary_table); - Some English terminology may have not have commonly-used equivalents in other languages. In such cases, use short descriptive phrases—for example, the equivalent of _bottom row_ for _dock_; -- Some languages (e.g. French) have variations of words depending if it's masculine or feminine (gender-specific); we recommend opting for gender-neutral words instead. +- Some languages (e.g. French) have variations of words depending on if it's masculine or feminine (gender-specific); we recommend opting for gender-neutral words instead. ### 🧑‍💻 Code @@ -53,6 +57,7 @@ Here are some contribution tips to help you get started: #### Additional documentation +- Lawnchair Visual Guidelines ([README.md](/docs/assets/README.md)) - Lawnchair Quickstep Compat Lib ([README.md](compatLib/README.md)) - Lawnchair Preferences Components ([README.md](lawnchair/src/app/lawnchair/ui/preferences/components/README.md)) - SystemUI ViewCapture ([README.md](systemUIViewCapture/README.md)) @@ -62,33 +67,40 @@ Here are some contribution tips to help you get started: #### Versioning scheme As of [#4361](https://github.com/LawnchairLauncher/lawnchair/pull/4361), -Lawnchair’s version code is separated by four parts: +Lawnchair’s version code is composed of four parts, separated by underscores:

- - + +

-1. Android's major version -2. Android's minor version -3. Lawnchair's development status -4. Lawnchair's development version +1. Android major version +2. Android minor version +3. Lawnchair development status +4. Lawnchair development version + +##### Android major & minor versions + +These represent the Android version in which Lawnchair is based on. +They make up the first two parts of the version code: -##### Android's major & minor versions +- Major version: Indicates the main Android version. +- Minor version: Reflects any point release or update within the major version. -These make up the first two parts of the version code. -For example: Android 11 will be `11_00_XX_XX` while Android 12.1 will be `12_01_XX_XX`. +Example: Android 11 will be `11_00_XX_XX` while Android 12.1 will be `12_01_XX_XX`. ##### Development status & version -The third part of the version code indicates Lawnchair's stability status, while the fourth part indicates the version number. +The third and fourth parts of the version code refer to Lawnchair's development stage +and the specific version within that stage: -For example, Alpha 4's version code will be `XX_XX_01_04`. +- Development status: Shows the current development stage of the Lawnchair build (e.g., Alpha, Beta). +- Development version: Specifies the incremental version within the same development stage. -See the table below detailing the release type: +The table below shows release phase used by Lawnchair: | Status | Stage | | ----------------- | ----- | @@ -97,11 +109,14 @@ See the table below detailing the release type: | Release Candidate | 03 | | Release | 04 | +Example: Alpha 5 will be `XX_XX_01_05` and Beta 3 will be `XX_XX_02_03`. + #### String naming + Strings `names` in `strings.xml` should follow this format: | Type | Format | Example usage | Actual string | Other information | -|--------------------------------------------------|-------------------|----------------------------|----------------------|---------------------------------------------------------------------------------------------------------------------| +| ------------------------------------------------ | ----------------- | -------------------------- | -------------------- | ------------------------------------------------------------------------------------------------------------------- | | Generic word | $1 | `disagree_or_agree` | Disagree or agree | Should only be used if it doesn't fit the below categories | | Action | $1_action | `apply_action` | Apply | Any generic action verb can fit here | | Preference or popup label
Preference headers | $1_label | `folders_label` | Folders | | diff --git a/LICENSE.txt b/LICENSE.txt index 427ba86581a..9175520188c 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ Copyright (c) 2005-2008, The Android Open Source Project - Copyright (c) 2023, Lawnchair + Copyright (c) 2024, Lawnchair Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index 168f8317562..0eb121eaf32 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,13 @@ [![Discord](https://img.shields.io/discord/803299970169700402?label=server&logo=discord)](https://discord.gg/3x8qNWxgGZ) - - - - Google Pixel running Lawnchair Launcher with green wallpaper + + + + + Google Pixel running Lawnchair Launcher with green wallpaper Lawnchair is a free, open-source home app for Android. Taking Launcher3 — Android’s default home app — as a starting point, it ports Pixel Launcher features and introduces rich options for customization. @@ -28,8 +31,8 @@ This branch houses the codebase of Lawnchair 14, which is currently in beta and ## Download -See the [Releases](https://github.com/LawnchairLauncher/lawnchair/releases) section for the latest -beta build. For development builds with new icons, use the nightly builds. +See the [releases](https://github.com/LawnchairLauncher/lawnchair/releases) section for the latest +beta build. For development builds with upcoming features & bug fixes, use the nightly builds. ## Contributing @@ -38,7 +41,7 @@ Please visit the [Lawnchair Contributing Guidelines](CONTRIBUTING.md) for inform ## Quick links - [News](https://t.me/lawnchairci) -- [Lawnchair on Twitter](https://twitter.com/lawnchairapp) +- [Lawnchair on X (formerly Twitter)](https://x.com/lawnchairapp) - [Website](https://lawnchair.app) - [_XDA_ thread](https://forum.xda-developers.com/t/lawnchair-customizable-pixel-launcher.3627137/) diff --git a/SECURITY.md b/SECURITY.md index 73bfef146a9..430694c29c8 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -3,13 +3,14 @@ ## Supported Versions > [!WARNING] -> Lawnchair v2 (Play Store version) is **unsupported**. Use the newer alphas instead. +> Lawnchair v2 (Play Store version) is **unsupported**. Use the newer versions instead. > See [this FAQ page](https://lawnchair.app/faq#do-you-still-support-the-play-store-version) for additional information. The latest version of Lawnchair is the only supported version. | Version | Supported | | -------------- | ------------------ | +| Nightly build | :white_check_mark: | | 14 | :white_check_mark: | | 13 | :x: | | 12.1 | :x: | diff --git a/docs/assets/README.md b/docs/assets/README.md new file mode 100644 index 00000000000..c00a8c3ff98 --- /dev/null +++ b/docs/assets/README.md @@ -0,0 +1,16 @@ +# Lawnchair Visual Guidelines + +This directory lists all the decoration & visual explainers used in the Lawnchair Documentation. + +All assets created should use Material 3 design with `#47B84F` as source color and the [Inter](https://fonts.google.com/specimen/Inter) ([OFL v1.1](https://github.com/rsms/inter/?tab=OFL-1.1-1-ov-file#readme)) typography. Visit the [Material 3 theme builder](https://material-foundation.github.io/material-theme-builder/?primary=%2347B84F&bodyFont=Inter&displayFont=Inter&colorMatch=false) for more information, and [the CSS directory](css/) for an example color scheme for the web. + +When creating device mockups for Lawnchair, make sure that you're using the latest commits of Lawnchair or use Lawnchair Nightly as base. + +## Device Mockup + +Use in: [README](/README.md) + +* Icon pack: [Lawnicons](https://github.com/LawnchairLauncher/lawnicons) +* Wallpaper: https://unsplash.com/photos/photography-of-green-leaves-ZVKr8wADhpc +* Color Extraction Technique: Tonal Spot from Lawnchair +* License: https://unsplash.com/license diff --git a/docs/assets/css/dark-hc.css b/docs/assets/css/dark-hc.css new file mode 100644 index 00000000000..f50e8a9614b --- /dev/null +++ b/docs/assets/css/dark-hc.css @@ -0,0 +1,55 @@ +.dark-high-contrast { + --md-sys-color-primary: rgb(240 255 237); + --md-sys-color-surface-tint: rgb(155 212 160); + --md-sys-color-on-primary: rgb(0 0 0); + --md-sys-color-primary-container: rgb(159 216 164); + --md-sys-color-on-primary-container: rgb(0 0 0); + --md-sys-color-secondary: rgb(240 255 237); + --md-sys-color-on-secondary: rgb(0 0 0); + --md-sys-color-secondary-container: rgb(188 208 186); + --md-sys-color-on-secondary-container: rgb(0 0 0); + --md-sys-color-tertiary: rgb(242 253 255); + --md-sys-color-on-tertiary: rgb(0 0 0); + --md-sys-color-tertiary-container: rgb(165 210 219); + --md-sys-color-on-tertiary-container: rgb(0 0 0); + --md-sys-color-error: rgb(255 249 249); + --md-sys-color-on-error: rgb(0 0 0); + --md-sys-color-error-container: rgb(255 186 177); + --md-sys-color-on-error-container: rgb(0 0 0); + --md-sys-color-background: rgb(16 21 16); + --md-sys-color-on-background: rgb(224 228 220); + --md-sys-color-surface: rgb(16 21 16); + --md-sys-color-on-surface: rgb(255 255 255); + --md-sys-color-surface-variant: rgb(65 73 65); + --md-sys-color-on-surface-variant: rgb(246 253 241); + --md-sys-color-outline: rgb(197 205 194); + --md-sys-color-outline-variant: rgb(197 205 194); + --md-sys-color-shadow: rgb(0 0 0); + --md-sys-color-scrim: rgb(0 0 0); + --md-sys-color-inverse-surface: rgb(224 228 220); + --md-sys-color-inverse-on-surface: rgb(0 0 0); + --md-sys-color-inverse-primary: rgb(0 50 18); + --md-sys-color-primary-fixed: rgb(187 245 191); + --md-sys-color-on-primary-fixed: rgb(0 0 0); + --md-sys-color-primary-fixed-dim: rgb(159 216 164); + --md-sys-color-on-primary-fixed-variant: rgb(0 27 7); + --md-sys-color-secondary-fixed: rgb(216 236 213); + --md-sys-color-on-secondary-fixed: rgb(0 0 0); + --md-sys-color-secondary-fixed-dim: rgb(188 208 186); + --md-sys-color-on-secondary-fixed-variant: rgb(9 26 12); + --md-sys-color-tertiary-fixed: rgb(193 239 248); + --md-sys-color-on-tertiary-fixed: rgb(0 0 0); + --md-sys-color-tertiary-fixed-dim: rgb(165 210 219); + --md-sys-color-on-tertiary-fixed-variant: rgb(0 26 30); + --md-sys-color-surface-dim: rgb(16 21 16); + --md-sys-color-surface-bright: rgb(54 58 53); + --md-sys-color-surface-container-lowest: rgb(11 15 11); + --md-sys-color-surface-container-low: rgb(24 29 24); + --md-sys-color-surface-container: rgb(28 33 28); + --md-sys-color-surface-container-high: rgb(38 43 38); + --md-sys-color-surface-container-highest: rgb(49 54 48); + --md-extended-color-custom-color1-color: rgb(255 249 248); + --md-extended-color-custom-color1-on-color: rgb(0 0 0); + --md-extended-color-custom-color1-color-container: rgb(255 188 156); + --md-extended-color-custom-color1-on-color-container: rgb(0 0 0); +} diff --git a/docs/assets/css/dark-mc.css b/docs/assets/css/dark-mc.css new file mode 100644 index 00000000000..b34b5e568cb --- /dev/null +++ b/docs/assets/css/dark-mc.css @@ -0,0 +1,55 @@ +.dark-medium-contrast { + --md-sys-color-primary: rgb(159 216 164); + --md-sys-color-surface-tint: rgb(155 212 160); + --md-sys-color-on-primary: rgb(0 27 7); + --md-sys-color-primary-container: rgb(103 157 110); + --md-sys-color-on-primary-container: rgb(0 0 0); + --md-sys-color-secondary: rgb(188 208 186); + --md-sys-color-on-secondary: rgb(9 26 12); + --md-sys-color-secondary-container: rgb(130 150 130); + --md-sys-color-on-secondary-container: rgb(0 0 0); + --md-sys-color-tertiary: rgb(165 210 219); + --md-sys-color-on-tertiary: rgb(0 26 30); + --md-sys-color-tertiary-container: rgb(108 152 160); + --md-sys-color-on-tertiary-container: rgb(0 0 0); + --md-sys-color-error: rgb(255 186 177); + --md-sys-color-on-error: rgb(55 0 1); + --md-sys-color-error-container: rgb(255 84 73); + --md-sys-color-on-error-container: rgb(0 0 0); + --md-sys-color-background: rgb(16 21 16); + --md-sys-color-on-background: rgb(224 228 220); + --md-sys-color-surface: rgb(16 21 16); + --md-sys-color-on-surface: rgb(248 252 244); + --md-sys-color-surface-variant: rgb(65 73 65); + --md-sys-color-on-surface-variant: rgb(197 205 194); + --md-sys-color-outline: rgb(157 165 155); + --md-sys-color-outline-variant: rgb(126 133 124); + --md-sys-color-shadow: rgb(0 0 0); + --md-sys-color-scrim: rgb(0 0 0); + --md-sys-color-inverse-surface: rgb(224 228 220); + --md-sys-color-inverse-on-surface: rgb(38 43 38); + --md-sys-color-inverse-primary: rgb(29 82 42); + --md-sys-color-primary-fixed: rgb(182 241 187); + --md-sys-color-on-primary-fixed: rgb(0 21 5); + --md-sys-color-primary-fixed-dim: rgb(155 212 160); + --md-sys-color-on-primary-fixed-variant: rgb(5 63 26); + --md-sys-color-secondary-fixed: rgb(211 232 209); + --md-sys-color-on-secondary-fixed: rgb(5 20 8); + --md-sys-color-secondary-fixed-dim: rgb(184 204 182); + --md-sys-color-on-secondary-fixed-variant: rgb(41 58 42); + --md-sys-color-tertiary-fixed: rgb(189 234 244); + --md-sys-color-on-tertiary-fixed: rgb(0 20 24); + --md-sys-color-tertiary-fixed-dim: rgb(161 206 215); + --md-sys-color-on-tertiary-fixed-variant: rgb(9 60 67); + --md-sys-color-surface-dim: rgb(16 21 16); + --md-sys-color-surface-bright: rgb(54 58 53); + --md-sys-color-surface-container-lowest: rgb(11 15 11); + --md-sys-color-surface-container-low: rgb(24 29 24); + --md-sys-color-surface-container: rgb(28 33 28); + --md-sys-color-surface-container-high: rgb(38 43 38); + --md-sys-color-surface-container-highest: rgb(49 54 48); + --md-extended-color-custom-color1-color: rgb(255 188 156); + --md-extended-color-custom-color1-on-color: rgb(44 13 0); + --md-extended-color-custom-color1-color-container: rgb(201 126 89); + --md-extended-color-custom-color1-on-color-container: rgb(0 0 0); +} diff --git a/docs/assets/css/dark.css b/docs/assets/css/dark.css new file mode 100644 index 00000000000..a925e94f381 --- /dev/null +++ b/docs/assets/css/dark.css @@ -0,0 +1,55 @@ +.dark { + --md-sys-color-primary: rgb(155 212 160); + --md-sys-color-surface-tint: rgb(155 212 160); + --md-sys-color-on-primary: rgb(0 57 21); + --md-sys-color-primary-container: rgb(27 81 41); + --md-sys-color-on-primary-container: rgb(182 241 187); + --md-sys-color-secondary: rgb(184 204 182); + --md-sys-color-on-secondary: rgb(35 52 37); + --md-sys-color-secondary-container: rgb(57 75 58); + --md-sys-color-on-secondary-container: rgb(211 232 209); + --md-sys-color-tertiary: rgb(161 206 215); + --md-sys-color-on-tertiary: rgb(0 54 62); + --md-sys-color-tertiary-container: rgb(31 77 85); + --md-sys-color-on-tertiary-container: rgb(189 234 244); + --md-sys-color-error: rgb(255 180 171); + --md-sys-color-on-error: rgb(105 0 5); + --md-sys-color-error-container: rgb(147 0 10); + --md-sys-color-on-error-container: rgb(255 218 214); + --md-sys-color-background: rgb(16 21 16); + --md-sys-color-on-background: rgb(224 228 220); + --md-sys-color-surface: rgb(16 21 16); + --md-sys-color-on-surface: rgb(224 228 220); + --md-sys-color-surface-variant: rgb(65 73 65); + --md-sys-color-on-surface-variant: rgb(193 201 190); + --md-sys-color-outline: rgb(139 147 137); + --md-sys-color-outline-variant: rgb(65 73 65); + --md-sys-color-shadow: rgb(0 0 0); + --md-sys-color-scrim: rgb(0 0 0); + --md-sys-color-inverse-surface: rgb(224 228 220); + --md-sys-color-inverse-on-surface: rgb(45 50 44); + --md-sys-color-inverse-primary: rgb(53 105 63); + --md-sys-color-primary-fixed: rgb(182 241 187); + --md-sys-color-on-primary-fixed: rgb(0 33 9); + --md-sys-color-primary-fixed-dim: rgb(155 212 160); + --md-sys-color-on-primary-fixed-variant: rgb(27 81 41); + --md-sys-color-secondary-fixed: rgb(211 232 209); + --md-sys-color-on-secondary-fixed: rgb(15 31 17); + --md-sys-color-secondary-fixed-dim: rgb(184 204 182); + --md-sys-color-on-secondary-fixed-variant: rgb(57 75 58); + --md-sys-color-tertiary-fixed: rgb(189 234 244); + --md-sys-color-on-tertiary-fixed: rgb(0 31 36); + --md-sys-color-tertiary-fixed-dim: rgb(161 206 215); + --md-sys-color-on-tertiary-fixed-variant: rgb(31 77 85); + --md-sys-color-surface-dim: rgb(16 21 16); + --md-sys-color-surface-bright: rgb(54 58 53); + --md-sys-color-surface-container-lowest: rgb(11 15 11); + --md-sys-color-surface-container-low: rgb(24 29 24); + --md-sys-color-surface-container: rgb(28 33 28); + --md-sys-color-surface-container-high: rgb(38 43 38); + --md-sys-color-surface-container-highest: rgb(49 54 48); + --md-extended-color-custom-color1-color: rgb(255 182 146); + --md-extended-color-custom-color1-on-color: rgb(84 33 3); + --md-extended-color-custom-color1-color-container: rgb(112 55 23); + --md-extended-color-custom-color1-on-color-container: rgb(255 219 203); +} diff --git a/docs/assets/css/light-hc.css b/docs/assets/css/light-hc.css new file mode 100644 index 00000000000..f1682fdcb25 --- /dev/null +++ b/docs/assets/css/light-hc.css @@ -0,0 +1,55 @@ +.light-high-contrast { + --md-sys-color-primary: rgb(0 41 13); + --md-sys-color-surface-tint: rgb(53 105 63); + --md-sys-color-on-primary: rgb(255 255 255); + --md-sys-color-primary-container: rgb(23 77 37); + --md-sys-color-on-primary-container: rgb(255 255 255); + --md-sys-color-secondary: rgb(21 38 23); + --md-sys-color-on-secondary: rgb(255 255 255); + --md-sys-color-secondary-container: rgb(54 71 55); + --md-sys-color-on-secondary-container: rgb(255 255 255); + --md-sys-color-tertiary: rgb(0 39 44); + --md-sys-color-on-tertiary: rgb(255 255 255); + --md-sys-color-tertiary-container: rgb(27 73 81); + --md-sys-color-on-tertiary-container: rgb(255 255 255); + --md-sys-color-error: rgb(78 0 2); + --md-sys-color-on-error: rgb(255 255 255); + --md-sys-color-error-container: rgb(140 0 9); + --md-sys-color-on-error-container: rgb(255 255 255); + --md-sys-color-background: rgb(247 251 242); + --md-sys-color-on-background: rgb(24 29 24); + --md-sys-color-surface: rgb(247 251 242); + --md-sys-color-on-surface: rgb(0 0 0); + --md-sys-color-surface-variant: rgb(221 229 218); + --md-sys-color-on-surface-variant: rgb(31 38 31); + --md-sys-color-outline: rgb(62 69 61); + --md-sys-color-outline-variant: rgb(62 69 61); + --md-sys-color-shadow: rgb(0 0 0); + --md-sys-color-scrim: rgb(0 0 0); + --md-sys-color-inverse-surface: rgb(45 50 44); + --md-sys-color-inverse-on-surface: rgb(255 255 255); + --md-sys-color-inverse-primary: rgb(192 250 196); + --md-sys-color-primary-fixed: rgb(23 77 37); + --md-sys-color-on-primary-fixed: rgb(255 255 255); + --md-sys-color-primary-fixed-dim: rgb(0 53 19); + --md-sys-color-on-primary-fixed-variant: rgb(255 255 255); + --md-sys-color-secondary-fixed: rgb(54 71 55); + --md-sys-color-on-secondary-fixed: rgb(255 255 255); + --md-sys-color-secondary-fixed-dim: rgb(32 49 33); + --md-sys-color-on-secondary-fixed-variant: rgb(255 255 255); + --md-sys-color-tertiary-fixed: rgb(27 73 81); + --md-sys-color-on-tertiary-fixed: rgb(255 255 255); + --md-sys-color-tertiary-fixed-dim: rgb(0 50 57); + --md-sys-color-on-tertiary-fixed-variant: rgb(255 255 255); + --md-sys-color-surface-dim: rgb(215 219 211); + --md-sys-color-surface-bright: rgb(247 251 242); + --md-sys-color-surface-container-lowest: rgb(255 255 255); + --md-sys-color-surface-container-low: rgb(241 245 236); + --md-sys-color-surface-container: rgb(235 239 231); + --md-sys-color-surface-container-high: rgb(229 233 225); + --md-sys-color-surface-container-highest: rgb(224 228 220); + --md-extended-color-custom-color1-color: rgb(63 21 0); + --md-extended-color-custom-color1-on-color: rgb(255 255 255); + --md-extended-color-custom-color1-color-container: rgb(107 51 20); + --md-extended-color-custom-color1-on-color-container: rgb(255 255 255); +} diff --git a/docs/assets/css/light-mc.css b/docs/assets/css/light-mc.css new file mode 100644 index 00000000000..f28c59c5694 --- /dev/null +++ b/docs/assets/css/light-mc.css @@ -0,0 +1,55 @@ +.light-medium-contrast { + --md-sys-color-primary: rgb(23 77 37); + --md-sys-color-surface-tint: rgb(53 105 63); + --md-sys-color-on-primary: rgb(255 255 255); + --md-sys-color-primary-container: rgb(75 128 83); + --md-sys-color-on-primary-container: rgb(255 255 255); + --md-sys-color-secondary: rgb(54 71 55); + --md-sys-color-on-secondary: rgb(255 255 255); + --md-sys-color-secondary-container: rgb(103 121 102); + --md-sys-color-on-secondary-container: rgb(255 255 255); + --md-sys-color-tertiary: rgb(27 73 81); + --md-sys-color-on-tertiary: rgb(255 255 255); + --md-sys-color-tertiary-container: rgb(80 123 132); + --md-sys-color-on-tertiary-container: rgb(255 255 255); + --md-sys-color-error: rgb(140 0 9); + --md-sys-color-on-error: rgb(255 255 255); + --md-sys-color-error-container: rgb(218 52 46); + --md-sys-color-on-error-container: rgb(255 255 255); + --md-sys-color-background: rgb(247 251 242); + --md-sys-color-on-background: rgb(24 29 24); + --md-sys-color-surface: rgb(247 251 242); + --md-sys-color-on-surface: rgb(24 29 24); + --md-sys-color-surface-variant: rgb(221 229 218); + --md-sys-color-on-surface-variant: rgb(62 69 61); + --md-sys-color-outline: rgb(90 97 88); + --md-sys-color-outline-variant: rgb(117 125 116); + --md-sys-color-shadow: rgb(0 0 0); + --md-sys-color-scrim: rgb(0 0 0); + --md-sys-color-inverse-surface: rgb(45 50 44); + --md-sys-color-inverse-on-surface: rgb(238 242 234); + --md-sys-color-inverse-primary: rgb(155 212 160); + --md-sys-color-primary-fixed: rgb(75 128 83); + --md-sys-color-on-primary-fixed: rgb(255 255 255); + --md-sys-color-primary-fixed-dim: rgb(50 103 61); + --md-sys-color-on-primary-fixed-variant: rgb(255 255 255); + --md-sys-color-secondary-fixed: rgb(103 121 102); + --md-sys-color-on-secondary-fixed: rgb(255 255 255); + --md-sys-color-secondary-fixed-dim: rgb(78 97 79); + --md-sys-color-on-secondary-fixed-variant: rgb(255 255 255); + --md-sys-color-tertiary-fixed: rgb(80 123 132); + --md-sys-color-on-tertiary-fixed: rgb(255 255 255); + --md-sys-color-tertiary-fixed-dim: rgb(55 98 106); + --md-sys-color-on-tertiary-fixed-variant: rgb(255 255 255); + --md-sys-color-surface-dim: rgb(215 219 211); + --md-sys-color-surface-bright: rgb(247 251 242); + --md-sys-color-surface-container-lowest: rgb(255 255 255); + --md-sys-color-surface-container-low: rgb(241 245 236); + --md-sys-color-surface-container: rgb(235 239 231); + --md-sys-color-surface-container-high: rgb(229 233 225); + --md-sys-color-surface-container-highest: rgb(224 228 220); + --md-extended-color-custom-color1-color: rgb(107 51 20); + --md-extended-color-custom-color1-on-color: rgb(255 255 255); + --md-extended-color-custom-color1-color-container: rgb(168 99 64); + --md-extended-color-custom-color1-on-color-container: rgb(255 255 255); +} diff --git a/docs/assets/css/light.css b/docs/assets/css/light.css new file mode 100644 index 00000000000..a22c0d61a3b --- /dev/null +++ b/docs/assets/css/light.css @@ -0,0 +1,55 @@ +.light { + --md-sys-color-primary: rgb(53 105 63); + --md-sys-color-surface-tint: rgb(53 105 63); + --md-sys-color-on-primary: rgb(255 255 255); + --md-sys-color-primary-container: rgb(182 241 187); + --md-sys-color-on-primary-container: rgb(0 33 9); + --md-sys-color-secondary: rgb(81 99 81); + --md-sys-color-on-secondary: rgb(255 255 255); + --md-sys-color-secondary-container: rgb(211 232 209); + --md-sys-color-on-secondary-container: rgb(15 31 17); + --md-sys-color-tertiary: rgb(57 101 109); + --md-sys-color-on-tertiary: rgb(255 255 255); + --md-sys-color-tertiary-container: rgb(189 234 244); + --md-sys-color-on-tertiary-container: rgb(0 31 36); + --md-sys-color-error: rgb(186 26 26); + --md-sys-color-on-error: rgb(255 255 255); + --md-sys-color-error-container: rgb(255 218 214); + --md-sys-color-on-error-container: rgb(65 0 2); + --md-sys-color-background: rgb(247 251 242); + --md-sys-color-on-background: rgb(24 29 24); + --md-sys-color-surface: rgb(247 251 242); + --md-sys-color-on-surface: rgb(24 29 24); + --md-sys-color-surface-variant: rgb(221 229 218); + --md-sys-color-on-surface-variant: rgb(65 73 65); + --md-sys-color-outline: rgb(114 121 112); + --md-sys-color-outline-variant: rgb(193 201 190); + --md-sys-color-shadow: rgb(0 0 0); + --md-sys-color-scrim: rgb(0 0 0); + --md-sys-color-inverse-surface: rgb(45 50 44); + --md-sys-color-inverse-on-surface: rgb(238 242 234); + --md-sys-color-inverse-primary: rgb(155 212 160); + --md-sys-color-primary-fixed: rgb(182 241 187); + --md-sys-color-on-primary-fixed: rgb(0 33 9); + --md-sys-color-primary-fixed-dim: rgb(155 212 160); + --md-sys-color-on-primary-fixed-variant: rgb(27 81 41); + --md-sys-color-secondary-fixed: rgb(211 232 209); + --md-sys-color-on-secondary-fixed: rgb(15 31 17); + --md-sys-color-secondary-fixed-dim: rgb(184 204 182); + --md-sys-color-on-secondary-fixed-variant: rgb(57 75 58); + --md-sys-color-tertiary-fixed: rgb(189 234 244); + --md-sys-color-on-tertiary-fixed: rgb(0 31 36); + --md-sys-color-tertiary-fixed-dim: rgb(161 206 215); + --md-sys-color-on-tertiary-fixed-variant: rgb(31 77 85); + --md-sys-color-surface-dim: rgb(215 219 211); + --md-sys-color-surface-bright: rgb(247 251 242); + --md-sys-color-surface-container-lowest: rgb(255 255 255); + --md-sys-color-surface-container-low: rgb(241 245 236); + --md-sys-color-surface-container: rgb(235 239 231); + --md-sys-color-surface-container-high: rgb(229 233 225); + --md-sys-color-surface-container-highest: rgb(224 228 220); + --md-extended-color-custom-color1-color: rgb(141 78 44); + --md-extended-color-custom-color1-on-color: rgb(255 255 255); + --md-extended-color-custom-color1-color-container: rgb(255 219 203); + --md-extended-color-custom-color1-on-color-container: rgb(52 16 0); +} diff --git a/docs/assets/device-frame.png b/docs/assets/device-frame.png new file mode 100644 index 00000000000..ad5ec6dcea5 Binary files /dev/null and b/docs/assets/device-frame.png differ diff --git a/docs/lawnchair-round.webp b/docs/assets/lawnchair-round.webp similarity index 100% rename from docs/lawnchair-round.webp rename to docs/assets/lawnchair-round.webp diff --git a/docs/version-dark.svg b/docs/assets/version-dark.svg similarity index 100% rename from docs/version-dark.svg rename to docs/assets/version-dark.svg diff --git a/docs/version-light.svg b/docs/assets/version-light.svg similarity index 100% rename from docs/version-light.svg rename to docs/assets/version-light.svg diff --git a/docs/device-frame.png b/docs/device-frame.png deleted file mode 100644 index 4324eb68658..00000000000 Binary files a/docs/device-frame.png and /dev/null differ diff --git a/prebuilts/libs/README.md b/prebuilts/libs/README.md index c521dd04ee8..e10ca2c2b41 100644 --- a/prebuilts/libs/README.md +++ b/prebuilts/libs/README.md @@ -3,17 +3,9 @@ Launcher3 has some dependencies on internal AOSP modules. To build Lawnchair, you have to build AOSP and obtain these JARs. -| File | Path | -|-------------------------|----------------------------------------------------------------------------------------------------------------------------------| -| framework-14.jar | ./soong/.intermediates/frameworks/base/framework/android_common/turbine-combined/framework.jar | -| framework-statsd.jar | ./soong/.intermediates/packages/modules/StatsD/framework/framework-statsd/android_common_apex30/javac/framework-statsd.jar | -| SystemUI-statsd.jar | ./soong/.intermediates/frameworks/base/packages/SystemUI/shared/SystemUI-statsd/android_common/javac/SystemUI-statsd.jar | -| WindowManager-Shell.jar | ./soong/.intermediates/frameworks/base/libs/WindowManager/Shell/WindowManager-Shell/android_common/javac/WindowManager-Shell.jar | - - - - +| File | Path | +| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| framework-14.jar | ./soong/.intermediates/frameworks/base/framework/android_common/turbine-combined/framework.jar | +| framework-statsd.jar | ./soong/.intermediates/packages/modules/StatsD/framework/framework-statsd/android_common_apex30/javac/framework-statsd.jar | +| SystemUI-statsd-14.jar | ./soong/.intermediates/frameworks/base/packages/SystemUI/shared/SystemUI-statsd/android_common/javac/SystemUI-statsd.jar | +| WindowManager-Shell-14.jar | ./soong/.intermediates/frameworks/base/libs/WindowManager/Shell/WindowManager-Shell/android_common/javac/WindowManager-Shell.jar |