diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..2e3d4e0 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,41 @@ +name: release-please + +on: + workflow_dispatch: + push: + branches: [main] + +permissions: + contents: write + id-token: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: googleapis/release-please-action@v4 + id: release + outputs: + release_created: ${{ steps.release.outputs.release_created }} + tag_name: ${{ steps.release.outputs.tag_name }} + + release: + runs-on: ubuntu-latest + needs: release-please + if: ${{ needs.release-please.outputs.release_created }} + steps: + - uses: actions/checkout@v4 + + - uses: extractions/setup-just@v2 + + - name: Build + run: just build + + - name: Create Zip + run: just zip + + - name: Upload Zip + env: + GH_TOKEN: ${{ github.token }} + run: gh release upload ${{ needs.release-please.outputs.tag_name }} catppuccin*.flex --clobber diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..952c3fa --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.flex +dist +.vscode \ No newline at end of file diff --git a/README.md b/README.md index 8462949..9a0438f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ - -

Logo
@@ -8,53 +6,77 @@

- - - + + +

-

- Screenshot +

+ Bordered Preview + Borderless Preview

- -## USAGE - -1. Download the file ([Releases](https://github.com/catppuccin/floris-board/releases/latest)) -2. Open the app -3. Click on Theme -4. Click on `Manage Installed Themes` -5. Import -6. Click on `Select files` -7. Select the file in the file manager -8. It will display the theme info and click on `Import` -9. Select the flavour you want! - -## ๐Ÿ™‹ FAQ - -- **_"More about the App"_** - - The github for the app is [here](https://github.com/florisboard/florisboard) - -- **_"Which flavours does it comes with?"_** - - It comes with all 4 currently available flavours (Latte,Macchiato,Mocha and Frappe) with bordered and borderless versions and it also comes with a special Catppuccin 1.0 theme as well! - -- **_"I want to change the Enter key colour"_** - - See Editing Instruction - -## Editing the theme - -Go to `Manage Installed Themes` , Click on `Edit` under Catppuccin and then edit your desired colorscheme. - -To change the enter key colour , set the `Primary Color` key to your desired color and if you want to make it match the background(make it borderless) then change `Key code = [10]` value from `Primary Color` to `Common Surface` +## Previews + +
+๐ŸŒป Latte + + +
+
+๐Ÿชด Frappรฉ + + +
+
+๐ŸŒบ Macchiato + + +
+
+๐ŸŒฟ Mocha + + +
+ +## Usage + +### Add-ons Store (Recommended) + +1. Visit the [FlorisBoard Add-ons Store](https://beta.addons.florisboard.org/). +2. Search for `Catppuccin`. +3. Click download and import the extension with the FlorisBoard app. + +### Manual + +1. Download the `.flex` file from [GitHub Releases](https://github.com/catppuccin/florisboard/releases/latest). +2. Open the FlorisBoard app. +3. Click `Addons & Extensions`. +4. Click `Import`. +5. Select the downloaded `.flex` file. +6. After verifying that you can see list of Catppuccin themes, click `Import`. +7. Head back to the main menu, click `Theme`, and select the Catppuccin theme you want to use for both Day and Night mode. + +## Editing the Theme + +1. Go to `Addons & Extensions` in FlorisBoard app. +2. Click `Theme extensions`. +3. Press `Edit` on Catppuccin. +4. Edit your desired flavour(s). + +For example, to change the enter key colour, set the `Primary Color` key to your +desired color. + +If you want to make it match the background (i.e. make it borderless) then +change `Key code = [10]` value from `Primary Color` to `Common Surface` ## ๐Ÿ’ Thanks to - [Mirage](https://github.com/skinatro) -- [winston](https://github.com/nekowinston) +- [winston](https://github.com/nekowinston)  

Copyright © 2021-present Catppuccin Org

- diff --git a/assets/Floris-Catppuccin.json b/assets/Floris-Catppuccin.json deleted file mode 100644 index b517c2f..0000000 --- a/assets/Floris-Catppuccin.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"theme-1646631350046","label":"Catppuccin","authors":["@me"],"isNightTheme":true,"attributes":{"window":{"colorPrimary":"#FFB5E8E0","colorPrimaryDark":"#FF96CDFB","colorAccent":"#FFF5C2E7","navigationBarColor":"@keyboard/background","navigationBarLight":"false","semiTransparentColor":"#FFF8BD96","textColor":"#FFF5E0DC"},"keyboard":{"background":"#FF1A1826"},"key":{"background":"#FF1E1E2E","backgroundPressed":"@window/semiTransparentColor","foreground":"@window/textColor","foregroundPressed":"@window/textColor","showBorder":"true"},"media":{"background":"@window/textColor","foreground":"@window/textColor"},"oneHanded":{"background":"#FF1A1826","foreground":"#FFF5E0DC"},"popup":{"background":"#FF302D41","backgroundActive":"#FF575268","foreground":"@window/textColor","showBorder":"true"},"privateMode":{"background":"#FFDDB6F2","foreground":"#FF161320"},"smartbar":{"background":"#FF1A1826","foreground":"@window/textColor","foregroundAlt":"#FFF5E0DC"},"smartbarButton":{"background":"@key/background","foreground":"@key/foreground"},"extractEditLayout":{"background":"#FFD9E0EE","foreground":"#FF161320"},"extractActionButton":{"background":"@smartbarButton/background","foreground":"@smartbarButton/foreground"}}} \ No newline at end of file diff --git a/assets/asset.png b/assets/asset.png deleted file mode 100644 index 05ec767..0000000 Binary files a/assets/asset.png and /dev/null differ diff --git a/assets/bordered/frappe_bordered.webp b/assets/bordered/frappe_bordered.webp new file mode 100644 index 0000000..dedb925 Binary files /dev/null and b/assets/bordered/frappe_bordered.webp differ diff --git a/assets/bordered/latte_bordered.webp b/assets/bordered/latte_bordered.webp new file mode 100644 index 0000000..84d3522 Binary files /dev/null and b/assets/bordered/latte_bordered.webp differ diff --git a/assets/bordered/macchiato_bordered.webp b/assets/bordered/macchiato_bordered.webp new file mode 100644 index 0000000..d744529 Binary files /dev/null and b/assets/bordered/macchiato_bordered.webp differ diff --git a/assets/bordered/mocha_bordered.webp b/assets/bordered/mocha_bordered.webp new file mode 100644 index 0000000..6564629 Binary files /dev/null and b/assets/bordered/mocha_bordered.webp differ diff --git a/assets/bordered/preview_bordered.webp b/assets/bordered/preview_bordered.webp new file mode 100644 index 0000000..25a3237 Binary files /dev/null and b/assets/bordered/preview_bordered.webp differ diff --git a/assets/borderless/frappe_borderless.webp b/assets/borderless/frappe_borderless.webp new file mode 100644 index 0000000..7933aa7 Binary files /dev/null and b/assets/borderless/frappe_borderless.webp differ diff --git a/assets/borderless/latte_borderless.webp b/assets/borderless/latte_borderless.webp new file mode 100644 index 0000000..425740e Binary files /dev/null and b/assets/borderless/latte_borderless.webp differ diff --git a/assets/borderless/macchiato_borderless.webp b/assets/borderless/macchiato_borderless.webp new file mode 100644 index 0000000..5fc4d13 Binary files /dev/null and b/assets/borderless/macchiato_borderless.webp differ diff --git a/assets/borderless/mocha_borderless.webp b/assets/borderless/mocha_borderless.webp new file mode 100644 index 0000000..7202af3 Binary files /dev/null and b/assets/borderless/mocha_borderless.webp differ diff --git a/assets/borderless/preview_borderless.webp b/assets/borderless/preview_borderless.webp new file mode 100644 index 0000000..c00d4f5 Binary files /dev/null and b/assets/borderless/preview_borderless.webp differ diff --git a/assets/floris.png b/assets/floris.png deleted file mode 100644 index 196d851..0000000 Binary files a/assets/floris.png and /dev/null differ diff --git a/catpuccin.themes.1659370514314.flex b/catpuccin.themes.1659370514314.flex deleted file mode 100644 index 4f85ec3..0000000 Binary files a/catpuccin.themes.1659370514314.flex and /dev/null differ diff --git a/justfile b/justfile new file mode 100644 index 0000000..f629e49 --- /dev/null +++ b/justfile @@ -0,0 +1,22 @@ +set export + +_default: + @just --list + +version := `jq '.meta.version' src/extension.json | tr -d '"'` + +# Remove the './dist' directory +clean: + rm -rfv ./dist + +# Minify JSON files and put source files into "./dist" +build: + mkdir -p dist/stylesheets + cat src/extension.json | jq -c > dist/extension.json + for file in `ls src/stylesheets`; do \ + cat src/stylesheets/$file | jq -c > dist/stylesheets/$file; \ + done + +# Zip "./dist" into the "./flex" format +zip: + cd dist && zip -r ../catppuccin-{{version}}.flex . diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..aa7cfb4 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,16 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "packages": { + ".": { + "package-name": "", + "release-type": "simple", + "extra-files": [ + { + "type": "json", + "path": "src/extension.json", + "jsonpath": "$.meta.version" + } + ] + } + } +} \ No newline at end of file diff --git a/src/extension.json b/src/extension.json new file mode 100644 index 0000000..0e95a24 --- /dev/null +++ b/src/extension.json @@ -0,0 +1,82 @@ +{ + "$": "ime.extension.theme", + "meta": { + "id": "com.catppuccin.florisboard", + "version": "0.0.1", + "title": "Catppuccin", + "description": "๐Ÿฅ€ Soothing pastel theme for FlorisBoard", + "keywords": [ + "pastel catppuccin mocha latte frappe macchiato" + ], + "homepage": "https://github.com/catppuccin/florisboard", + "issueTracker": "https://github.com/catppuccin/florisboard/issues", + "maintainers": [ + "skinatro" + ], + "license": "MIT" + }, + "themes": [ + { + "id": "ctp_latte", + "label": "Latte", + "authors": [ + "skinatro" + ], + "isNight": false + }, + { + "id": "ctp_latte_borderless", + "label": "Latte (Borderless)", + "authors": [ + "skinatro" + ], + "isNight": false, + "isBorderless": true + }, + { + "id": "ctp_mocha", + "label": "Mocha", + "authors": [ + "skinatro#" + ] + }, + { + "id": "ctp_mocha_borderless", + "label": "Mocha (Borderless)", + "authors": [ + "skinatro" + ], + "isBorderless": true + }, + { + "id": "ctp_frappe", + "label": "Frappe", + "authors": [ + "skinatro" + ] + }, + { + "id": "ctp_frappe_borderless", + "label": "Frappe (Borderless)", + "authors": [ + "skinatro" + ], + "isBorderless": true + }, + { + "id": "ctp_macchiato", + "label": "Macchiato", + "authors": [ + "skinatro" + ] + }, + { + "id": "ctp_macchiato_borderless", + "label": "Macchiato (Borderless)", + "authors": [ + "skinatro" + ], + "isBorderless": true + } + ] +} diff --git a/src/stylesheets/ctp_frappe.json b/src/stylesheets/ctp_frappe.json new file mode 100644 index 0000000..a8ea817 --- /dev/null +++ b/src/stylesheets/ctp_frappe.json @@ -0,0 +1,183 @@ +{ + "@defines": { + "--primary": "rgba(231,130,132,1)", + "--primary-variant": "rgba(234,153,156,1)", + "--secondary": "rgba(239,159,118,1)", + "--secondary-variant": "rgba(230,81,0,1)", + "--background": "rgba(35,38,52,1)", + "--surface": "rgba(48,52,70,1)", + "--surface-variant": "rgba(65,69,89,1)", + "--on-background": "rgba(181,191,226,1)", + "--on-surface": "rgba(198,208,245,1)", + "--on-surface-variant": "rgba(165,173,206,1)", + "--shape": "rounded-corner(8dp,8dp,8dp,8dp)", + "--shape-variant": "rounded-corner(12dp,12dp,12dp,12dp)" + }, + "keyboard": { + "background": "var(--background)" + }, + "key": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "key[code=10]": { + "background": "var(--primary)", + "foreground": "var(--background)" + }, + "key[code=32]": { + "background": "var(--surface)", + "foreground": "var(--on-surface-variant)", + "font-size": "12sp" + }, + "key[code=-11][shiftstate=3]": { + "foreground": "var(--secondary)" + }, + "key:pressed": { + "background": "var(--surface-variant)", + "foreground": "var(--on-surface)" + }, + "key[code=10]:pressed": { + "background": "var(--primary-variant)", + "foreground": "var(--on-surface)" + }, + "key-hint": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface-variant)", + "font-size": "12sp" + }, + "key-popup": { + "background": "rgba(117,117,117,1)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "key-popup:focus": { + "background": "rgba(189,189,189,1)", + "foreground": "var(--on-surface)" + }, + "smartbar-primary-actions-toggle": { + "background": "var(--background)", + "foreground": "var(--on-surface)", + "shape": "circle()", + "shadow-elevation": "2dp" + }, + "smartbar-secondary-actions-toggle": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface-variant)", + "shape": "circle()" + }, + "smartbar-quick-action": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "shape": "circle()" + }, + "smartbar-key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "18sp", + "shape": "var(--shape)" + }, + "smartbar-key:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-surface)" + }, + "smartbar-key:disabled": { + "background": "rgba(0,0,0,0)", + "foreground": "rgba(220,220,220,0.28235295)" + }, + "smartbar-candidate-word": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "14sp", + "shape": "rectangle()" + }, + "smartbar-candidate-word:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-background)" + }, + "smartbar-candidate-clip": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "14sp", + "shape": "rounded-corner(8%,8%,8%,8%)" + }, + "smartbar-candidate-clip:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-background)" + }, + "smartbar-candidate-spacer": { + "foreground": "var(--surface)" + }, + "clipboard-header": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface)", + "font-size": "16sp" + }, + "clipboard-item": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "font-size": "14sp", + "shape": "var(--shape-variant)", + "shadow-elevation": "2dp" + }, + "clipboard-item-popup": { + "background": "var(--surface-variant)", + "foreground": "var(--on-surface)", + "font-size": "14sp", + "shape": "var(--shape-variant)", + "shadow-elevation": "2dp" + }, + "emoji-key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "22sp", + "shape": "var(--shape)" + }, + "emoji-key:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-surface)" + }, + "emoji-key-popup": { + "background": "rgba(117,117,117,1)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "emoji-tab": { + "foreground": "var(--on-background)" + }, + "emoji-tab:focus": { + "foreground": "var(--primary)" + }, + "extracted-landscape-input-action": { + "background": "var(--primary)", + "foreground": "var(--on-surface)", + "shape": "rounded-corner(4dp,4dp,4dp,4dp)" + }, + "extracted-landscape-input-field": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "16sp", + "shape": "rounded-corner(12dp,12dp,12dp,12dp)", + "border-color": "var(--secondary)", + "border-width": "2dp" + }, + "extracted-landscape-input-layout": { + "background": "var(--background)" + }, + "glide-trail": { + "foreground": "var(--primary)" + }, + "one-handed-panel": { + "background": "var(--background)", + "foreground": "var(--on-background)" + }, + "system-nav-bar": { + "background": "var(--background)" + } +} diff --git a/src/stylesheets/ctp_frappe_borderless.json b/src/stylesheets/ctp_frappe_borderless.json new file mode 100644 index 0000000..0ffeff1 --- /dev/null +++ b/src/stylesheets/ctp_frappe_borderless.json @@ -0,0 +1,182 @@ +{ + "@defines": { + "--primary": "rgba(231,130,132,1)", + "--primary-variant": "rgba(234,153,156,1)", + "--secondary": "rgba(239,159,118,1)", + "--secondary-variant": "rgba(230,81,0,1)", + "--background": "rgba(35,38,52,1)", + "--surface": "rgba(48,52,70,1)", + "--surface-variant": "rgba(65,69,89,1)", + "--on-background": "rgba(181,191,226,1)", + "--on-surface": "rgba(198,208,245,1)", + "--on-surface-variant": "rgba(165,173,206,1)", + "--shape": "rounded-corner(8dp,8dp,8dp,8dp)", + "--shape-variant": "rounded-corner(12dp,12dp,12dp,12dp)" + }, + "keyboard": { + "background": "var(--background)" + }, + "key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)" + }, + "key[code=10]": { + "background": "var(--primary)", + "foreground": "var(--background)" + }, + "key[code=32]": { + "background": "var(--background)", + "foreground": "var(--on-surface-variant)", + "font-size": "12sp" + }, + "key[code=-11][shiftstate=3]": { + "foreground": "var(--secondary)" + }, + "key:pressed": { + "background": "rgba(97,97,97,0.49803922)", + "foreground": "var(--on-surface)" + }, + "key[code=10]:pressed": { + "background": "var(--primary-variant)", + "foreground": "var(--on-surface)" + }, + "key-hint": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface-variant)", + "font-size": "12sp" + }, + "key-popup": { + "background": "rgba(54,54,54,1)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "key-popup:focus": { + "background": "rgba(95,95,95,1)", + "foreground": "var(--on-surface)" + }, + "smartbar-primary-actions-toggle": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "shape": "circle()", + "shadow-elevation": "2dp" + }, + "smartbar-secondary-actions-toggle": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface-variant)", + "shape": "circle()" + }, + "smartbar-quick-action": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "shape": "circle()" + }, + "smartbar-key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "18sp", + "shape": "var(--shape)" + }, + "smartbar-key:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-surface)" + }, + "smartbar-key:disabled": { + "background": "rgba(0,0,0,0)", + "foreground": "rgba(220,220,220,0.28235295)" + }, + "smartbar-candidate-word": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "14sp", + "shape": "rectangle()" + }, + "smartbar-candidate-word:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-background)" + }, + "smartbar-candidate-clip": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "14sp", + "shape": "rounded-corner(8%,8%,8%,8%)" + }, + "smartbar-candidate-clip:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-background)" + }, + "smartbar-candidate-spacer": { + "foreground": "var(--surface)" + }, + "clipboard-header": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface)", + "font-size": "16sp" + }, + "clipboard-item": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "font-size": "14sp", + "shape": "var(--shape-variant)", + "shadow-elevation": "2dp" + }, + "clipboard-item-popup": { + "background": "var(--surface-variant)", + "foreground": "var(--on-surface)", + "font-size": "14sp", + "shape": "var(--shape-variant)", + "shadow-elevation": "2dp" + }, + "emoji-key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "22sp", + "shape": "var(--shape)" + }, + "emoji-key:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-surface)" + }, + "emoji-key-popup": { + "background": "rgba(117,117,117,1)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "emoji-tab": { + "foreground": "var(--on-background)" + }, + "emoji-tab:focus": { + "foreground": "var(--primary)" + }, + "extracted-landscape-input-action": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "shape": "rounded-corner(4dp,4dp,4dp,4dp)" + }, + "extracted-landscape-input-field": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "16sp", + "shape": "rounded-corner(12dp,12dp,12dp,12dp)", + "border-color": "var(--secondary-variant)", + "border-width": "1dp" + }, + "extracted-landscape-input-layout": { + "background": "var(--background)" + }, + "glide-trail": { + "foreground": "var(--primary-variant)" + }, + "one-handed-panel": { + "background": "rgba(0,0,0,1)", + "foreground": "rgba(238,238,238,1)" + }, + "system-nav-bar": { + "background": "var(--background)" + } +} diff --git a/src/stylesheets/ctp_latte.json b/src/stylesheets/ctp_latte.json new file mode 100644 index 0000000..71ae749 --- /dev/null +++ b/src/stylesheets/ctp_latte.json @@ -0,0 +1,183 @@ +{ + "@defines": { + "--primary": "rgba(114,135,253,1)", + "--primary-variant": "rgba(30,102,245,1)", + "--secondary": "rgba(136,57,239,1)", + "--secondary-variant": "rgba(17,204,107,1)", + "--background": "rgba(220,224,232,1)", + "--surface": "rgba(239,241,245,1)", + "--surface-variant": "rgba(156,160,176,1)", + "--on-background": "rgba(108,111,133,1)", + "--on-surface": "rgba(76,79,105,1)", + "--on-surface-variant": "rgba(92,95,119,1)", + "--shape": "rounded-corner(8dp,8dp,8dp,8dp)", + "--shape-variant": "rounded-corner(12dp,12dp,12dp,12dp)" + }, + "keyboard": { + "background": "var(--background)" + }, + "key": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "key[code=10]": { + "background": "var(--primary)", + "foreground": "var(--on-surface)" + }, + "key[code=32]": { + "background": "var(--surface)", + "foreground": "var(--on-surface-variant)", + "font-size": "12sp" + }, + "key[code=-11][shiftstate=3]": { + "foreground": "var(--secondary)" + }, + "key:pressed": { + "background": "var(--surface-variant)", + "foreground": "var(--on-surface)" + }, + "key[code=10]:pressed": { + "background": "var(--primary-variant)", + "foreground": "var(--on-surface)" + }, + "key-hint": { + "background": "rgba(204,208,218,0)", + "foreground": "var(--on-surface-variant)", + "font-size": "12sp" + }, + "key-popup": { + "background": "rgba(230,233,239,1)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "key-popup:focus": { + "background": "rgba(124,127,147,1)", + "foreground": "var(--on-surface)" + }, + "smartbar-primary-actions-toggle": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "shape": "circle()", + "shadow-elevation": "2dp" + }, + "smartbar-secondary-actions-toggle": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface-variant)", + "shape": "circle()" + }, + "smartbar-quick-action": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "shape": "circle()" + }, + "smartbar-key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "18sp", + "shape": "var(--shape)" + }, + "smartbar-key:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-surface)" + }, + "smartbar-key:disabled": { + "background": "rgba(0,0,0,0)", + "foreground": "rgba(18,18,18,0.28235295)" + }, + "smartbar-candidate-word": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "14sp", + "shape": "rectangle()" + }, + "smartbar-candidate-word:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-background)" + }, + "smartbar-candidate-clip": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "14sp", + "shape": "rounded-corner(8%,8%,8%,8%)" + }, + "smartbar-candidate-clip:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-background)" + }, + "smartbar-candidate-spacer": { + "foreground": "var(--surface)" + }, + "clipboard-header": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface)", + "font-size": "16sp" + }, + "clipboard-item": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "font-size": "14sp", + "shape": "var(--shape-variant)", + "shadow-elevation": "2dp" + }, + "clipboard-item-popup": { + "background": "var(--surface-variant)", + "foreground": "var(--on-surface)", + "font-size": "14sp", + "shape": "var(--shape-variant)", + "shadow-elevation": "2dp" + }, + "emoji-key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "22sp", + "shape": "var(--shape)" + }, + "emoji-key:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-surface)" + }, + "emoji-key-popup": { + "background": "rgba(238,238,238,1)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "emoji-tab": { + "foreground": "var(--on-background)" + }, + "emoji-tab:focus": { + "foreground": "var(--primary)" + }, + "extracted-landscape-input-action": { + "background": "var(--primary)", + "foreground": "var(--on-surface)", + "shape": "rounded-corner(4dp,4dp,4dp,4dp)" + }, + "extracted-landscape-input-field": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "16sp", + "shape": "rounded-corner(12dp,12dp,12dp,12dp)", + "border-color": "var(--secondary)", + "border-width": "2dp" + }, + "extracted-landscape-input-layout": { + "background": "var(--background)" + }, + "glide-trail": { + "foreground": "var(--primary)" + }, + "one-handed-panel": { + "background": "var(--background)", + "foreground": "var(--on-background)" + }, + "system-nav-bar": { + "background": "var(--background)" + } +} diff --git a/src/stylesheets/ctp_latte_borderless.json b/src/stylesheets/ctp_latte_borderless.json new file mode 100644 index 0000000..ced0c1b --- /dev/null +++ b/src/stylesheets/ctp_latte_borderless.json @@ -0,0 +1,181 @@ +{ + "@defines": { + "--primary": "rgba(114,135,253,1)", + "--primary-variant": "rgba(30,102,245,1)", + "--secondary": "rgba(136,57,239,1)", + "--secondary-variant": "rgba(17,204,107,1)", + "--background": "rgba(239,241,245,1)", + "--surface": "rgba(239,241,245,1)", + "--surface-variant": "rgba(156,160,176,1)", + "--on-background": "rgba(108,111,133,1)", + "--on-surface": "rgba(76,79,105,1)", + "--on-surface-variant": "rgba(92,95,119,1)", + "--shape": "rounded-corner(8dp,8dp,8dp,8dp)", + "--shape-variant": "rounded-corner(12dp,12dp,12dp,12dp)" + }, + "keyboard": { + "background": "var(--background)" + }, + "key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)" + }, + "key[code=10]": { + "background": "var(--primary)", + "foreground": "var(--on-surface)" + }, + "key[code=32]": { + "background": "var(--background)", + "foreground": "var(--on-surface-variant)", + "font-size": "12sp" + }, + "key[code=-11][shiftstate=3]": { + "foreground": "var(--secondary)" + }, + "key:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-surface)" + }, + "key[code=10]:pressed": { + "background": "var(--primary-variant)", + "foreground": "var(--on-surface)" + }, + "key-hint": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface-variant)", + "font-size": "12sp" + }, + "key-popup": { + "background": "rgba(230,233,239,1)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "key-popup:focus": { + "background": "rgba(124,127,147,1)", + "foreground": "var(--on-surface)" + }, + "smartbar-primary-actions-toggle": { + "background": "var(--background)", + "foreground": "var(--on-surface)", + "shape": "circle()" + }, + "smartbar-secondary-actions-toggle": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface-variant)", + "shape": "circle()" + }, + "smartbar-quick-action": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "shape": "circle()" + }, + "smartbar-key": { + "background": "rgba(252,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "18sp", + "shape": "var(--shape)" + }, + "smartbar-key:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-surface)" + }, + "smartbar-key:disabled": { + "background": "rgba(0,0,0,0)", + "foreground": "rgba(220,220,220,0.28235295)" + }, + "smartbar-candidate-word": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "14sp", + "shape": "rectangle()" + }, + "smartbar-candidate-word:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-background)" + }, + "smartbar-candidate-clip": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "14sp", + "shape": "rounded-corner(8%,8%,8%,8%)" + }, + "smartbar-candidate-clip:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-background)" + }, + "smartbar-candidate-spacer": { + "foreground": "var(--surface)" + }, + "clipboard-header": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface)", + "font-size": "16sp" + }, + "clipboard-item": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "font-size": "14sp", + "shape": "var(--shape-variant)", + "shadow-elevation": "2dp" + }, + "clipboard-item-popup": { + "background": "var(--surface-variant)", + "foreground": "var(--on-surface)", + "font-size": "14sp", + "shape": "var(--shape-variant)", + "shadow-elevation": "2dp" + }, + "emoji-key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "22sp", + "shape": "var(--shape)" + }, + "emoji-key:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-surface)" + }, + "emoji-key-popup": { + "background": "rgba(117,117,117,1)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "emoji-tab": { + "foreground": "var(--on-background)" + }, + "emoji-tab:focus": { + "foreground": "var(--primary)" + }, + "extracted-landscape-input-action": { + "background": "var(--primary)", + "foreground": "var(--on-surface)", + "shape": "rounded-corner(4dp,4dp,4dp,4dp)" + }, + "extracted-landscape-input-field": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "16sp", + "shape": "rounded-corner(12dp,12dp,12dp,12dp)", + "border-color": "var(--secondary)", + "border-width": "2dp" + }, + "extracted-landscape-input-layout": { + "background": "var(--background)" + }, + "glide-trail": { + "foreground": "var(--primary)" + }, + "one-handed-panel": { + "background": "var(--background)", + "foreground": "var(--on-background)" + }, + "system-nav-bar": { + "background": "var(--background)" + } +} diff --git a/src/stylesheets/ctp_macchiato.json b/src/stylesheets/ctp_macchiato.json new file mode 100644 index 0000000..fadf370 --- /dev/null +++ b/src/stylesheets/ctp_macchiato.json @@ -0,0 +1,183 @@ +{ + "@defines": { + "--primary": "rgba(245,169,127,1)", + "--primary-variant": "rgba(238,212,159,1)", + "--secondary": "rgba(244,219,214,1)", + "--secondary-variant": "rgba(128,76,0,1)", + "--background": "rgba(24,25,38,1)", + "--surface": "rgba(36,39,58,1)", + "--surface-variant": "rgba(54,58,79,1)", + "--on-background": "rgba(184,192,224,1)", + "--on-surface": "rgba(202,211,245,1)", + "--on-surface-variant": "rgba(165,173,203,1)", + "--shape": "rounded-corner(8dp,8dp,8dp,8dp)", + "--shape-variant": "rounded-corner(12dp,12dp,12dp,12dp)" + }, + "keyboard": { + "background": "var(--background)" + }, + "key": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "key[code=10]": { + "background": "var(--primary)", + "foreground": "var(--background)" + }, + "key[code=32]": { + "background": "var(--surface)", + "foreground": "var(--on-surface-variant)", + "font-size": "12sp" + }, + "key[code=-11][shiftstate=3]": { + "foreground": "var(--secondary)" + }, + "key:pressed": { + "background": "var(--surface-variant)", + "foreground": "var(--on-surface)" + }, + "key[code=10]:pressed": { + "background": "var(--primary-variant)", + "foreground": "var(--on-surface)" + }, + "key-hint": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface-variant)", + "font-size": "12sp" + }, + "key-popup": { + "background": "rgba(54,58,79,1)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "key-popup:focus": { + "background": "rgba(73,77,100,1)", + "foreground": "var(--on-surface)" + }, + "smartbar-primary-actions-toggle": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "shape": "circle()", + "shadow-elevation": "2dp" + }, + "smartbar-secondary-actions-toggle": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface-variant)", + "shape": "circle()" + }, + "smartbar-quick-action": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "shape": "circle()" + }, + "smartbar-key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "18sp", + "shape": "var(--shape)" + }, + "smartbar-key:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-surface)" + }, + "smartbar-key:disabled": { + "background": "rgba(0,0,0,0)", + "foreground": "rgba(220,220,220,0.28235295)" + }, + "smartbar-candidate-word": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "14sp", + "shape": "rectangle()" + }, + "smartbar-candidate-word:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-background)" + }, + "smartbar-candidate-clip": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "14sp", + "shape": "rounded-corner(8%,8%,8%,8%)" + }, + "smartbar-candidate-clip:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-background)" + }, + "smartbar-candidate-spacer": { + "foreground": "var(--surface)" + }, + "clipboard-header": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface)", + "font-size": "16sp" + }, + "clipboard-item": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "font-size": "14sp", + "shape": "var(--shape-variant)", + "shadow-elevation": "2dp" + }, + "clipboard-item-popup": { + "background": "var(--surface-variant)", + "foreground": "var(--on-surface)", + "font-size": "14sp", + "shape": "var(--shape-variant)", + "shadow-elevation": "2dp" + }, + "emoji-key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "22sp", + "shape": "var(--shape)" + }, + "emoji-key:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-surface)" + }, + "emoji-key-popup": { + "background": "rgba(117,117,117,1)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "emoji-tab": { + "foreground": "var(--on-background)" + }, + "emoji-tab:focus": { + "foreground": "var(--primary)" + }, + "extracted-landscape-input-action": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "shape": "rounded-corner(4dp,4dp,4dp,4dp)" + }, + "extracted-landscape-input-field": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "16sp", + "shape": "rounded-corner(12dp,12dp,12dp,12dp)", + "border-color": "var(--secondary-variant)", + "border-width": "1dp" + }, + "extracted-landscape-input-layout": { + "background": "var(--background)" + }, + "glide-trail": { + "foreground": "var(--primary-variant)" + }, + "one-handed-panel": { + "background": "var(--background)", + "foreground": "var(--on-background)" + }, + "system-nav-bar": { + "background": "var(--background)" + } +} diff --git a/src/stylesheets/ctp_macchiato_borderless.json b/src/stylesheets/ctp_macchiato_borderless.json new file mode 100644 index 0000000..7999352 --- /dev/null +++ b/src/stylesheets/ctp_macchiato_borderless.json @@ -0,0 +1,181 @@ +{ + "@defines": { + "--primary": "rgba(245,169,127,1)", + "--primary-variant": "rgba(238,212,159,1)", + "--secondary": "rgba(244,219,214,1)", + "--secondary-variant": "rgba(128,76,0,1)", + "--background": "rgba(24,25,38,1)", + "--surface": "rgba(36,39,58,1)", + "--surface-variant": "rgba(54,58,79,1)", + "--on-background": "rgba(184,192,224,1)", + "--on-surface": "rgba(202,211,245,1)", + "--on-surface-variant": "rgba(165,173,203,1)", + "--shape": "rounded-corner(8dp,8dp,8dp,8dp)", + "--shape-variant": "rounded-corner(12dp,12dp,12dp,12dp)" + }, + "keyboard": { + "background": "var(--background)" + }, + "key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)" + }, + "key[code=10]": { + "background": "var(--primary)", + "foreground": "var(--background)" + }, + "key[code=32]": { + "background": "var(--background)", + "foreground": "var(--on-surface-variant)", + "font-size": "12sp" + }, + "key[code=-11][shiftstate=3]": { + "foreground": "var(--secondary)" + }, + "key:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-surface)" + }, + "key[code=10]:pressed": { + "background": "var(--primary-variant)", + "foreground": "var(--on-surface)" + }, + "key-hint": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface-variant)", + "font-size": "12sp" + }, + "key-popup": { + "background": "rgba(54,58,79,1)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "key-popup:focus": { + "background": "rgba(73,77,100,1)", + "foreground": "var(--on-surface)" + }, + "smartbar-primary-actions-toggle": { + "background": "var(--background)", + "foreground": "var(--on-surface)", + "shape": "circle()" + }, + "smartbar-secondary-actions-toggle": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface-variant)", + "shape": "circle()" + }, + "smartbar-quick-action": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "shape": "circle()" + }, + "smartbar-key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "18sp", + "shape": "var(--shape)" + }, + "smartbar-key:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-surface)" + }, + "smartbar-key:disabled": { + "background": "rgba(0,0,0,0)", + "foreground": "rgba(220,220,220,0.28235295)" + }, + "smartbar-candidate-word": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "14sp", + "shape": "rectangle()" + }, + "smartbar-candidate-word:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-background)" + }, + "smartbar-candidate-clip": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "14sp", + "shape": "rounded-corner(8%,8%,8%,8%)" + }, + "smartbar-candidate-clip:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-background)" + }, + "smartbar-candidate-spacer": { + "foreground": "var(--surface)" + }, + "clipboard-header": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface)", + "font-size": "16sp" + }, + "clipboard-item": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "font-size": "14sp", + "shape": "var(--shape-variant)", + "shadow-elevation": "2dp" + }, + "clipboard-item-popup": { + "background": "var(--surface-variant)", + "foreground": "var(--on-surface)", + "font-size": "14sp", + "shape": "var(--shape-variant)", + "shadow-elevation": "2dp" + }, + "emoji-key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "22sp", + "shape": "var(--shape)" + }, + "emoji-key:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-surface)" + }, + "emoji-key-popup": { + "background": "rgba(117,117,117,1)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "emoji-tab": { + "foreground": "var(--on-background)" + }, + "emoji-tab:focus": { + "foreground": "var(--primary)" + }, + "extracted-landscape-input-action": { + "background": "var(--primary)", + "foreground": "var(--on-surface)", + "shape": "rounded-corner(4dp,4dp,4dp,4dp)" + }, + "extracted-landscape-input-field": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "16sp", + "shape": "rounded-corner(12dp,12dp,12dp,12dp)", + "border-color": "var(--secondary)", + "border-width": "2dp" + }, + "extracted-landscape-input-layout": { + "background": "var(--background)" + }, + "glide-trail": { + "foreground": "var(--primary)" + }, + "one-handed-panel": { + "background": "var(--background)", + "foreground": "var(--on-background)" + }, + "system-nav-bar": { + "background": "var(--background)" + } +} diff --git a/src/stylesheets/ctp_mocha.json b/src/stylesheets/ctp_mocha.json new file mode 100644 index 0000000..4564601 --- /dev/null +++ b/src/stylesheets/ctp_mocha.json @@ -0,0 +1,183 @@ +{ + "@defines": { + "--primary": "rgba(243,139,168,1)", + "--primary-variant": "rgba(235,160,172,1)", + "--secondary": "rgba(245,224,220,1)", + "--secondary-variant": "rgba(128,76,0,1)", + "--background": "rgba(17,17,27,1)", + "--surface": "rgba(30,30,46,1)", + "--surface-variant": "rgba(49,50,68,0.8862745)", + "--on-background": "rgba(186,194,222,1)", + "--on-surface": "rgba(205,214,244,1)", + "--on-surface-variant": "rgba(166,173,200,1)", + "--shape": "rounded-corner(8dp,8dp,8dp,8dp)", + "--shape-variant": "rounded-corner(12dp,12dp,12dp,12dp)" + }, + "keyboard": { + "background": "var(--background)" + }, + "key": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "key[code=10]": { + "background": "var(--primary)", + "foreground": "var(--background)" + }, + "key[code=32]": { + "background": "var(--surface)", + "foreground": "var(--on-surface-variant)", + "font-size": "12sp" + }, + "key[code=-11][shiftstate=3]": { + "foreground": "var(--secondary)" + }, + "key:pressed": { + "background": "var(--surface-variant)", + "foreground": "var(--on-surface)" + }, + "key[code=10]:pressed": { + "background": "var(--primary-variant)", + "foreground": "var(--on-surface)" + }, + "key-hint": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface-variant)", + "font-size": "12sp" + }, + "key-popup": { + "background": "rgba(49,50,68,1)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "key-popup:focus": { + "background": "rgba(69,71,90,1)", + "foreground": "var(--on-surface)" + }, + "smartbar-primary-actions-toggle": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "shape": "circle()", + "shadow-elevation": "2dp" + }, + "smartbar-secondary-actions-toggle": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface-variant)", + "shape": "circle()" + }, + "smartbar-quick-action": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "shape": "circle()" + }, + "smartbar-key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "18sp", + "shape": "var(--shape)" + }, + "smartbar-key:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-surface)" + }, + "smartbar-key:disabled": { + "background": "rgba(0,0,0,0)", + "foreground": "rgba(220,220,220,0.28235295)" + }, + "smartbar-candidate-word": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "14sp", + "shape": "rectangle()" + }, + "smartbar-candidate-word:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-background)" + }, + "smartbar-candidate-clip": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "14sp", + "shape": "rounded-corner(8%,8%,8%,8%)" + }, + "smartbar-candidate-clip:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-background)" + }, + "smartbar-candidate-spacer": { + "foreground": "var(--surface)" + }, + "clipboard-header": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface)", + "font-size": "16sp" + }, + "clipboard-item": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "font-size": "14sp", + "shape": "var(--shape-variant)", + "shadow-elevation": "2dp" + }, + "clipboard-item-popup": { + "background": "var(--surface-variant)", + "foreground": "var(--on-surface)", + "font-size": "14sp", + "shape": "var(--shape-variant)", + "shadow-elevation": "2dp" + }, + "emoji-key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "22sp", + "shape": "var(--shape)" + }, + "emoji-key:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-surface)" + }, + "emoji-key-popup": { + "background": "rgba(117,117,117,1)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "emoji-tab": { + "foreground": "var(--on-background)" + }, + "emoji-tab:focus": { + "foreground": "var(--primary)" + }, + "extracted-landscape-input-action": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "shape": "rounded-corner(4dp,4dp,4dp,4dp)" + }, + "extracted-landscape-input-field": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "16sp", + "shape": "rounded-corner(12dp,12dp,12dp,12dp)", + "border-color": "var(--secondary-variant)", + "border-width": "1dp" + }, + "extracted-landscape-input-layout": { + "background": "var(--background)" + }, + "glide-trail": { + "foreground": "var(--primary-variant)" + }, + "one-handed-panel": { + "background": "var(--background)", + "foreground": "var(--on-surface)" + }, + "system-nav-bar": { + "background": "var(--background)" + } +} diff --git a/src/stylesheets/ctp_mocha_borderless.json b/src/stylesheets/ctp_mocha_borderless.json new file mode 100644 index 0000000..3968eee --- /dev/null +++ b/src/stylesheets/ctp_mocha_borderless.json @@ -0,0 +1,182 @@ +{ + "@defines": { + "--primary": "rgba(243,139,168,1)", + "--primary-variant": "rgba(235,160,172,1)", + "--secondary": "rgba(245,224,220,1)", + "--secondary-variant": "rgba(128,76,0,1)", + "--background": "rgba(17,17,27,1)", + "--surface": "rgba(30,30,46,1)", + "--surface-variant": "rgba(49,50,68,0.8862745)", + "--on-background": "rgba(186,194,222,1)", + "--on-surface": "rgba(205,214,244,1)", + "--on-surface-variant": "rgba(166,173,200,1)", + "--shape": "rounded-corner(8dp,8dp,8dp,8dp)", + "--shape-variant": "rounded-corner(12dp,12dp,12dp,12dp)" + }, + "keyboard": { + "background": "var(--background)" + }, + "key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)" + }, + "key[code=10]": { + "background": "var(--primary)", + "foreground": "var(--background)" + }, + "key[code=32]": { + "background": "var(--background)", + "foreground": "var(--on-surface-variant)", + "font-size": "12sp" + }, + "key[code=-11][shiftstate=3]": { + "foreground": "var(--secondary)" + }, + "key:pressed": { + "background": "rgba(97,97,97,0.49803922)", + "foreground": "var(--on-surface)" + }, + "key[code=10]:pressed": { + "background": "var(--primary-variant)", + "foreground": "var(--on-surface)" + }, + "key-hint": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface-variant)", + "font-size": "12sp" + }, + "key-popup": { + "background": "rgba(54,54,54,1)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "key-popup:focus": { + "background": "rgba(95,95,95,1)", + "foreground": "var(--on-surface)" + }, + "smartbar-primary-actions-toggle": { + "background": "var(--background)", + "foreground": "var(--on-surface)", + "shape": "circle()", + "shadow-elevation": "2dp" + }, + "smartbar-secondary-actions-toggle": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface-variant)", + "shape": "circle()" + }, + "smartbar-quick-action": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "shape": "circle()" + }, + "smartbar-key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "18sp", + "shape": "var(--shape)" + }, + "smartbar-key:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-surface)" + }, + "smartbar-key:disabled": { + "background": "rgba(0,0,0,0)", + "foreground": "rgba(220,220,220,0.28235295)" + }, + "smartbar-candidate-word": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "14sp", + "shape": "rectangle()" + }, + "smartbar-candidate-word:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-background)" + }, + "smartbar-candidate-clip": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "14sp", + "shape": "rounded-corner(8%,8%,8%,8%)" + }, + "smartbar-candidate-clip:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-background)" + }, + "smartbar-candidate-spacer": { + "foreground": "var(--surface)" + }, + "clipboard-header": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-surface)", + "font-size": "16sp" + }, + "clipboard-item": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "font-size": "14sp", + "shape": "var(--shape-variant)", + "shadow-elevation": "2dp" + }, + "clipboard-item-popup": { + "background": "var(--surface-variant)", + "foreground": "var(--on-surface)", + "font-size": "14sp", + "shape": "var(--shape-variant)", + "shadow-elevation": "2dp" + }, + "emoji-key": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "22sp", + "shape": "var(--shape)" + }, + "emoji-key:pressed": { + "background": "var(--surface)", + "foreground": "var(--on-surface)" + }, + "emoji-key-popup": { + "background": "rgba(117,117,117,1)", + "foreground": "var(--on-surface)", + "font-size": "22sp", + "shape": "var(--shape)", + "shadow-elevation": "2dp" + }, + "emoji-tab": { + "foreground": "var(--on-background)" + }, + "emoji-tab:focus": { + "foreground": "var(--primary)" + }, + "extracted-landscape-input-action": { + "background": "var(--surface)", + "foreground": "var(--on-surface)", + "shape": "rounded-corner(4dp,4dp,4dp,4dp)" + }, + "extracted-landscape-input-field": { + "background": "rgba(0,0,0,0)", + "foreground": "var(--on-background)", + "font-size": "16sp", + "shape": "rounded-corner(12dp,12dp,12dp,12dp)", + "border-color": "var(--secondary-variant)", + "border-width": "1dp" + }, + "extracted-landscape-input-layout": { + "background": "var(--background)" + }, + "glide-trail": { + "foreground": "var(--primary-variant)" + }, + "one-handed-panel": { + "background": "var(--background)", + "foreground": "var(--on-background)" + }, + "system-nav-bar": { + "background": "var(--background)" + } +}