From 04dc58acab75b309d5be466dca2a9ffcbfbd9bf5 Mon Sep 17 00:00:00 2001 From: Jorge Martin Espinosa Date: Tue, 19 Nov 2024 16:38:21 +0100 Subject: [PATCH] Sort Android tokens alphabetically in the output files (#125) * Sort Android tokens alphabetically in the output files * Reverse sorting configuration so we always sort by name unless it's disabled * Generate new tokens with alphabetical ordering --- .../android/src/internal/DarkColorTokens.kt | 564 +++++++++--------- .../android/src/internal/DarkHcColorTokens.kt | 564 +++++++++--------- .../android/src/internal/LightColorTokens.kt | 564 +++++++++--------- .../src/internal/LightHcColorTokens.kt | 564 +++++++++--------- assets/ios/swift/CompoundColorTokens.swift | 112 ++-- assets/ios/swift/CompoundIcons.swift | 88 +-- assets/ios/swift/CompoundUIColorTokens.swift | 112 ++-- src/configs/getAndroidConfig.ts | 2 + src/utils/createTemplate.ts | 12 +- 9 files changed, 1292 insertions(+), 1290 deletions(-) diff --git a/assets/android/src/internal/DarkColorTokens.kt b/assets/android/src/internal/DarkColorTokens.kt index ba7bd041..521d3e28 100644 --- a/assets/android/src/internal/DarkColorTokens.kt +++ b/assets/android/src/internal/DarkColorTokens.kt @@ -30,162 +30,54 @@ import io.element.android.compound.annotations.CoreColorToken @CoreColorToken object DarkColorTokens { - val colorThemeBg = Color(0xff101317) - val colorGray100 = Color(0xff14171b) - val colorGray200 = Color(0xff181a1f) - val colorGray300 = Color(0xff1d1f24) - val colorGray400 = Color(0xff26282d) - val colorGray500 = Color(0xff323539) - val colorGray600 = Color(0xff3c3f44) - val colorGray700 = Color(0xff4a4f55) - val colorGray800 = Color(0xff656c76) - val colorGray900 = Color(0xff808994) - val colorGray1000 = Color(0xff9199a4) - val colorGray1100 = Color(0xffa3aab4) - val colorGray1200 = Color(0xffbdc3cc) - val colorGray1300 = Color(0xffd9dee4) - val colorGray1400 = Color(0xffebeef2) - val colorRed100 = Color(0xff370000) - val colorRed200 = Color(0xff3e0000) - val colorRed300 = Color(0xff470000) - val colorRed400 = Color(0xff590000) - val colorRed500 = Color(0xff710000) - val colorRed600 = Color(0xff830009) - val colorRed700 = Color(0xff9f0d1e) - val colorRed800 = Color(0xffd1212a) - val colorRed900 = Color(0xfffd3e3c) - val colorRed1000 = Color(0xffff665d) - val colorRed1100 = Color(0xffff877c) - val colorRed1200 = Color(0xffffaea4) - val colorRed1300 = Color(0xffffd4cd) - val colorRed1400 = Color(0xffffe9e6) - val colorOrange100 = Color(0xff380000) - val colorOrange200 = Color(0xff3c0000) - val colorOrange300 = Color(0xff470000) - val colorOrange400 = Color(0xff580000) - val colorOrange500 = Color(0xff710000) - val colorOrange600 = Color(0xff830500) - val colorOrange700 = Color(0xff972206) - val colorOrange800 = Color(0xffb94607) - val colorOrange900 = Color(0xffda670d) - val colorOrange1000 = Color(0xffeb7a12) - val colorOrange1100 = Color(0xfff6913d) - val colorOrange1200 = Color(0xfffbb37e) - val colorOrange1300 = Color(0xffffd5b9) - val colorOrange1400 = Color(0xffffeadb) - val colorYellow100 = Color(0xff360000) - val colorYellow200 = Color(0xff3a0300) - val colorYellow300 = Color(0xff410900) - val colorYellow400 = Color(0xff4c1400) - val colorYellow500 = Color(0xff5c2400) - val colorYellow600 = Color(0xff682e03) - val colorYellow700 = Color(0xff7c3e02) - val colorYellow800 = Color(0xff9d5b00) - val colorYellow900 = Color(0xffbc7a00) - val colorYellow1000 = Color(0xffcc8c00) - val colorYellow1100 = Color(0xffdb9f00) - val colorYellow1200 = Color(0xffefbb0b) - val colorYellow1300 = Color(0xfffedb58) - val colorYellow1400 = Color(0xffffedb1) - val colorLime100 = Color(0xff001b00) - val colorLime200 = Color(0xff002000) - val colorLime300 = Color(0xff002600) - val colorLime400 = Color(0xff003000) - val colorLime500 = Color(0xff003e00) - val colorLime600 = Color(0xff004a00) - val colorLime700 = Color(0xff005c00) - val colorLime800 = Color(0xff1d7c13) - val colorLime900 = Color(0xff389b20) - val colorLime1000 = Color(0xff47ad26) - val colorLime1100 = Color(0xff56c02c) - val colorLime1200 = Color(0xff77d94f) - val colorLime1300 = Color(0xffb6eca3) - val colorLime1400 = Color(0xffdaf6d0) - val colorGreen100 = Color(0xff001c0b) - val colorGreen200 = Color(0xff001f0e) - val colorGreen300 = Color(0xff002513) - val colorGreen400 = Color(0xff002e1b) - val colorGreen500 = Color(0xff003d29) - val colorGreen600 = Color(0xff004832) - val colorGreen700 = Color(0xff005a43) - val colorGreen800 = Color(0xff007a62) - val colorGreen900 = Color(0xff129a78) - val colorGreen1000 = Color(0xff17ac84) - val colorGreen1100 = Color(0xff1fc090) - val colorGreen1200 = Color(0xff72d5ae) - val colorGreen1300 = Color(0xffb5e8d1) - val colorGreen1400 = Color(0xffd9f4e7) - val colorCyan100 = Color(0xff001144) - val colorCyan200 = Color(0xff001448) - val colorCyan300 = Color(0xff001b4e) - val colorCyan400 = Color(0xff002559) - val colorCyan500 = Color(0xff003468) - val colorCyan600 = Color(0xff003f75) - val colorCyan700 = Color(0xff005188) - val colorCyan800 = Color(0xff0271aa) - val colorCyan900 = Color(0xff0093be) - val colorCyan1000 = Color(0xff02a7c6) - val colorCyan1100 = Color(0xff21bacd) - val colorCyan1200 = Color(0xff78d0dc) - val colorCyan1300 = Color(0xffb8e5eb) - val colorCyan1400 = Color(0xffdbf2f5) - val colorBlue100 = Color(0xff00055a) - val colorBlue200 = Color(0xff00095d) - val colorBlue300 = Color(0xff001264) - val colorBlue400 = Color(0xff001e6f) - val colorBlue500 = Color(0xff062d80) - val colorBlue600 = Color(0xff083891) - val colorBlue700 = Color(0xff0b49ab) - val colorBlue800 = Color(0xff0e67d9) - val colorBlue900 = Color(0xff4187eb) - val colorBlue1000 = Color(0xff5e99f0) - val colorBlue1100 = Color(0xff7aacf4) - val colorBlue1200 = Color(0xffa1c4f8) - val colorBlue1300 = Color(0xffcbdffc) - val colorBlue1400 = Color(0xffe4eefe) - val colorPurple100 = Color(0xff1a0055) - val colorPurple200 = Color(0xff1c005a) - val colorPurple300 = Color(0xff22006a) - val colorPurple400 = Color(0xff2c0080) - val colorPurple500 = Color(0xff3d009e) - val colorPurple600 = Color(0xff4a0db1) - val colorPurple700 = Color(0xff5a27c6) - val colorPurple800 = Color(0xff7849ec) - val colorPurple900 = Color(0xff9171f9) - val colorPurple1000 = Color(0xff9e87fc) - val colorPurple1100 = Color(0xffad9cfe) - val colorPurple1200 = Color(0xffc4baff) - val colorPurple1300 = Color(0xffdedaff) - val colorPurple1400 = Color(0xffeeebff) - val colorFuchsia100 = Color(0xff28003d) - val colorFuchsia200 = Color(0xff2e0044) - val colorFuchsia300 = Color(0xff37004e) - val colorFuchsia400 = Color(0xff46005e) - val colorFuchsia500 = Color(0xff560f6f) - val colorFuchsia600 = Color(0xff65177d) - val colorFuchsia700 = Color(0xff7d2394) - val colorFuchsia800 = Color(0xffaa36ba) - val colorFuchsia900 = Color(0xffc560cf) - val colorFuchsia1000 = Color(0xffcf78d7) - val colorFuchsia1100 = Color(0xffd991de) - val colorFuchsia1200 = Color(0xffe5b1e9) - val colorFuchsia1300 = Color(0xfff1d4f3) - val colorFuchsia1400 = Color(0xfff8e9f9) - val colorPink100 = Color(0xff37000f) - val colorPink200 = Color(0xff3c0012) - val colorPink300 = Color(0xff450018) - val colorPink400 = Color(0xff550024) - val colorPink500 = Color(0xff6d0036) - val colorPink600 = Color(0xff7c0c41) - val colorPink700 = Color(0xff99114f) - val colorPink800 = Color(0xffce1865) - val colorPink900 = Color(0xfff4427d) - val colorPink1000 = Color(0xfffa658f) - val colorPink1100 = Color(0xfffe84a2) - val colorPink1200 = Color(0xffffabbe) - val colorPink1300 = Color(0xffffd2dc) - val colorPink1400 = Color(0xffffe8ed) + val colorAlphaBlue100 = Color(0xff00055c) + val colorAlphaBlue1000 = Color(0xf062a0fe) + val colorAlphaBlue1100 = Color(0xf57cb2fd) + val colorAlphaBlue1200 = Color(0xf7a3c8ff) + val colorAlphaBlue1300 = Color(0xfccde1fe) + val colorAlphaBlue1400 = Color(0xffe6effe) + val colorAlphaBlue200 = Color(0xff00095c) + val colorAlphaBlue300 = Color(0xff001366) + val colorAlphaBlue400 = Color(0xff001e70) + val colorAlphaBlue500 = Color(0xa1003cbd) + val colorAlphaBlue600 = Color(0x87015afe) + val colorAlphaBlue700 = Color(0xa30665fe) + val colorAlphaBlue800 = Color(0xd61077fe) + val colorAlphaBlue900 = Color(0xeb4491fd) + val colorAlphaCyan100 = Color(0xff001142) + val colorAlphaCyan1000 = Color(0xe000bfe0) + val colorAlphaCyan1100 = Color(0xc926e7fd) + val colorAlphaCyan1200 = Color(0xd98af1ff) + val colorAlphaCyan1300 = Color(0xebc9f7fd) + val colorAlphaCyan1400 = Color(0xf5e1fbfe) + val colorAlphaCyan200 = Color(0xff001447) + val colorAlphaCyan300 = Color(0xff001b4d) + val colorAlphaCyan400 = Color(0xff00265c) + val colorAlphaCyan500 = Color(0xff003366) + val colorAlphaCyan600 = Color(0xff003f75) + val colorAlphaCyan700 = Color(0xff00538a) + val colorAlphaCyan800 = Color(0xe0007ebd) + val colorAlphaCyan900 = Color(0xff0091bd) + val colorAlphaFuchsia100 = Color(0xff28003d) + val colorAlphaFuchsia1000 = Color(0xd4f790fe) + val colorAlphaFuchsia1100 = Color(0xdbfaa4fe) + val colorAlphaFuchsia1200 = Color(0xe8fac3fe) + val colorAlphaFuchsia1300 = Color(0xf2fde0ff) + val colorAlphaFuchsia1400 = Color(0xfafdecfe) + val colorAlphaFuchsia200 = Color(0xff2d0042) + val colorAlphaFuchsia300 = Color(0xff36004d) + val colorAlphaFuchsia400 = Color(0xff45005c) + val colorAlphaFuchsia500 = Color(0x61ca0aff) + val colorAlphaFuchsia600 = Color(0x70d21fff) + val colorAlphaFuchsia700 = Color(0x8ad82ffe) + val colorAlphaFuchsia800 = Color(0xb5eb44fd) + val colorAlphaFuchsia900 = Color(0xccf172fd) val colorAlphaGray100 = Color(0x05d8dbdf) + val colorAlphaGray1000 = Color(0x9ce1eefe) + val colorAlphaGray1100 = Color(0xade7f0fe) + val colorAlphaGray1200 = Color(0xc9edf4fc) + val colorAlphaGray1300 = Color(0xe3f2f7fd) + val colorAlphaGray1400 = Color(0xf2f6f9fe) val colorAlphaGray200 = Color(0x0ad9c3df) val colorAlphaGray300 = Color(0x0fe9dbf0) val colorAlphaGray400 = Color(0x1aede7f4) @@ -194,26 +86,40 @@ object DarkColorTokens { val colorAlphaGray700 = Color(0x45e7f1fd) val colorAlphaGray800 = Color(0x69e0edff) val colorAlphaGray900 = Color(0x8ae1effe) - val colorAlphaGray1000 = Color(0x9ce1eefe) - val colorAlphaGray1100 = Color(0xade7f0fe) - val colorAlphaGray1200 = Color(0xc9edf4fc) - val colorAlphaGray1300 = Color(0xe3f2f7fd) - val colorAlphaGray1400 = Color(0xf2f6f9fe) - val colorAlphaRed100 = Color(0xff380000) - val colorAlphaRed200 = Color(0xff3d0000) - val colorAlphaRed300 = Color(0xff470000) - val colorAlphaRed400 = Color(0xff5c0000) - val colorAlphaRed500 = Color(0xff700000) - val colorAlphaRed600 = Color(0xff850009) - val colorAlphaRed700 = Color(0x99fe0b24) - val colorAlphaRed800 = Color(0xcffe2530) - val colorAlphaRed900 = Color(0xfffd3d3a) - val colorAlphaRed1000 = Color(0xffff645c) - val colorAlphaRed1100 = Color(0xffff857a) - val colorAlphaRed1200 = Color(0xffffaea3) - val colorAlphaRed1300 = Color(0xffffd3cc) - val colorAlphaRed1400 = Color(0xffffe8e5) + val colorAlphaGreen100 = Color(0xff001f0c) + val colorAlphaGreen1000 = Color(0xa61bfebd) + val colorAlphaGreen1100 = Color(0xbd26fdbc) + val colorAlphaGreen1200 = Color(0xd486fdce) + val colorAlphaGreen1300 = Color(0xe8c4fde2) + val colorAlphaGreen1400 = Color(0xf5e2fdf1) + val colorAlphaGreen200 = Color(0xff001f0e) + val colorAlphaGreen300 = Color(0xff002412) + val colorAlphaGreen400 = Color(0xff002e1b) + val colorAlphaGreen500 = Color(0xff003d29) + val colorAlphaGreen600 = Color(0xff004732) + val colorAlphaGreen700 = Color(0xff005c45) + val colorAlphaGreen800 = Color(0xff007a62) + val colorAlphaGreen900 = Color(0x9412fdbe) + val colorAlphaLime100 = Color(0xff001a00) + val colorAlphaLime1000 = Color(0xa860fc2c) + val colorAlphaLime1100 = Color(0xbd71fd35) + val colorAlphaLime1200 = Color(0xd68dff5c) + val colorAlphaLime1300 = Color(0xebc3ffad) + val colorAlphaLime1400 = Color(0xf7e1fdd8) + val colorAlphaLime200 = Color(0xff001f00) + val colorAlphaLime300 = Color(0xff002900) + val colorAlphaLime400 = Color(0xff002e00) + val colorAlphaLime500 = Color(0xff003d00) + val colorAlphaLime600 = Color(0xff004d00) + val colorAlphaLime700 = Color(0xff005c00) + val colorAlphaLime800 = Color(0x732dfd0d) + val colorAlphaLime900 = Color(0x9454fd26) val colorAlphaOrange100 = Color(0xff380000) + val colorAlphaOrange1000 = Color(0xebfe8310) + val colorAlphaOrange1100 = Color(0xf7fd953f) + val colorAlphaOrange1200 = Color(0xfcfdb781) + val colorAlphaOrange1300 = Color(0xffffd4b8) + val colorAlphaOrange1400 = Color(0xffffeadb) val colorAlphaOrange200 = Color(0xff3d0000) val colorAlphaOrange300 = Color(0xff470000) val colorAlphaOrange400 = Color(0xff570000) @@ -222,110 +128,12 @@ object DarkColorTokens { val colorAlphaOrange700 = Color(0xbdc72800) val colorAlphaOrange800 = Color(0xb5ff5900) val colorAlphaOrange900 = Color(0xd9fe740b) - val colorAlphaOrange1000 = Color(0xebfe8310) - val colorAlphaOrange1100 = Color(0xf7fd953f) - val colorAlphaOrange1200 = Color(0xfcfdb781) - val colorAlphaOrange1300 = Color(0xffffd4b8) - val colorAlphaOrange1400 = Color(0xffffeadb) - val colorAlphaYellow100 = Color(0xff380000) - val colorAlphaYellow200 = Color(0xff380300) - val colorAlphaYellow300 = Color(0xff420900) - val colorAlphaYellow400 = Color(0xff4d1400) - val colorAlphaYellow500 = Color(0xff5c2300) - val colorAlphaYellow600 = Color(0xde753300) - val colorAlphaYellow700 = Color(0xeb854200) - val colorAlphaYellow800 = Color(0xff9e5c00) - val colorAlphaYellow900 = Color(0xffbd7b00) - val colorAlphaYellow1000 = Color(0xffcc8b00) - val colorAlphaYellow1100 = Color(0xffdba100) - val colorAlphaYellow1200 = Color(0xf0fdc50d) - val colorAlphaYellow1300 = Color(0xfffeda58) - val colorAlphaYellow1400 = Color(0xffffedb3) - val colorAlphaLime100 = Color(0xff001a00) - val colorAlphaLime200 = Color(0xff001f00) - val colorAlphaLime300 = Color(0xff002900) - val colorAlphaLime400 = Color(0xff002e00) - val colorAlphaLime500 = Color(0xff003d00) - val colorAlphaLime600 = Color(0xff004d00) - val colorAlphaLime700 = Color(0xff005c00) - val colorAlphaLime800 = Color(0x732dfd0d) - val colorAlphaLime900 = Color(0x9454fd26) - val colorAlphaLime1000 = Color(0xa860fc2c) - val colorAlphaLime1100 = Color(0xbd71fd35) - val colorAlphaLime1200 = Color(0xd68dff5c) - val colorAlphaLime1300 = Color(0xebc3ffad) - val colorAlphaLime1400 = Color(0xf7e1fdd8) - val colorAlphaGreen100 = Color(0xff001f0c) - val colorAlphaGreen200 = Color(0xff001f0e) - val colorAlphaGreen300 = Color(0xff002412) - val colorAlphaGreen400 = Color(0xff002e1b) - val colorAlphaGreen500 = Color(0xff003d29) - val colorAlphaGreen600 = Color(0xff004732) - val colorAlphaGreen700 = Color(0xff005c45) - val colorAlphaGreen800 = Color(0xff007a62) - val colorAlphaGreen900 = Color(0x9412fdbe) - val colorAlphaGreen1000 = Color(0xa61bfebd) - val colorAlphaGreen1100 = Color(0xbd26fdbc) - val colorAlphaGreen1200 = Color(0xd486fdce) - val colorAlphaGreen1300 = Color(0xe8c4fde2) - val colorAlphaGreen1400 = Color(0xf5e2fdf1) - val colorAlphaCyan100 = Color(0xff001142) - val colorAlphaCyan200 = Color(0xff001447) - val colorAlphaCyan300 = Color(0xff001b4d) - val colorAlphaCyan400 = Color(0xff00265c) - val colorAlphaCyan500 = Color(0xff003366) - val colorAlphaCyan600 = Color(0xff003f75) - val colorAlphaCyan700 = Color(0xff00538a) - val colorAlphaCyan800 = Color(0xe0007ebd) - val colorAlphaCyan900 = Color(0xff0091bd) - val colorAlphaCyan1000 = Color(0xe000bfe0) - val colorAlphaCyan1100 = Color(0xc926e7fd) - val colorAlphaCyan1200 = Color(0xd98af1ff) - val colorAlphaCyan1300 = Color(0xebc9f7fd) - val colorAlphaCyan1400 = Color(0xf5e1fbfe) - val colorAlphaBlue100 = Color(0xff00055c) - val colorAlphaBlue200 = Color(0xff00095c) - val colorAlphaBlue300 = Color(0xff001366) - val colorAlphaBlue400 = Color(0xff001e70) - val colorAlphaBlue500 = Color(0xa1003cbd) - val colorAlphaBlue600 = Color(0x87015afe) - val colorAlphaBlue700 = Color(0xa30665fe) - val colorAlphaBlue800 = Color(0xd61077fe) - val colorAlphaBlue900 = Color(0xeb4491fd) - val colorAlphaBlue1000 = Color(0xf062a0fe) - val colorAlphaBlue1100 = Color(0xf57cb2fd) - val colorAlphaBlue1200 = Color(0xf7a3c8ff) - val colorAlphaBlue1300 = Color(0xfccde1fe) - val colorAlphaBlue1400 = Color(0xffe6effe) - val colorAlphaPurple100 = Color(0xff1a0057) - val colorAlphaPurple200 = Color(0xff1d005c) - val colorAlphaPurple300 = Color(0xff22006b) - val colorAlphaPurple400 = Color(0xff2d0080) - val colorAlphaPurple500 = Color(0xff3d009e) - val colorAlphaPurple600 = Color(0xab690dfd) - val colorAlphaPurple700 = Color(0xc2712bfd) - val colorAlphaPurple800 = Color(0xeb7f4dff) - val colorAlphaPurple900 = Color(0xfa9271fe) - val colorAlphaPurple1000 = Color(0xfca28bfe) - val colorAlphaPurple1100 = Color(0xffab9afe) - val colorAlphaPurple1200 = Color(0xffc7bdff) - val colorAlphaPurple1300 = Color(0xffdfdbff) - val colorAlphaPurple1400 = Color(0xffeeebff) - val colorAlphaFuchsia100 = Color(0xff28003d) - val colorAlphaFuchsia200 = Color(0xff2d0042) - val colorAlphaFuchsia300 = Color(0xff36004d) - val colorAlphaFuchsia400 = Color(0xff45005c) - val colorAlphaFuchsia500 = Color(0x61ca0aff) - val colorAlphaFuchsia600 = Color(0x70d21fff) - val colorAlphaFuchsia700 = Color(0x8ad82ffe) - val colorAlphaFuchsia800 = Color(0xb5eb44fd) - val colorAlphaFuchsia900 = Color(0xccf172fd) - val colorAlphaFuchsia1000 = Color(0xd4f790fe) - val colorAlphaFuchsia1100 = Color(0xdbfaa4fe) - val colorAlphaFuchsia1200 = Color(0xe8fac3fe) - val colorAlphaFuchsia1300 = Color(0xf2fde0ff) - val colorAlphaFuchsia1400 = Color(0xfafdecfe) val colorAlphaPink100 = Color(0xff38000f) + val colorAlphaPink1000 = Color(0xfaff6691) + val colorAlphaPink1100 = Color(0xfffe86a4) + val colorAlphaPink1200 = Color(0xffffadc0) + val colorAlphaPink1300 = Color(0xffffd1db) + val colorAlphaPink1400 = Color(0xffffebef) val colorAlphaPink200 = Color(0xff3d0012) val colorAlphaPink300 = Color(0xff470019) val colorAlphaPink400 = Color(0xff570024) @@ -334,11 +142,203 @@ object DarkColorTokens { val colorAlphaPink700 = Color(0x94fd1277) val colorAlphaPink800 = Color(0xccfe1b79) val colorAlphaPink900 = Color(0xf5fe4382) - val colorAlphaPink1000 = Color(0xfaff6691) - val colorAlphaPink1100 = Color(0xfffe86a4) - val colorAlphaPink1200 = Color(0xffffadc0) - val colorAlphaPink1300 = Color(0xffffd1db) - val colorAlphaPink1400 = Color(0xffffebef) + val colorAlphaPurple100 = Color(0xff1a0057) + val colorAlphaPurple1000 = Color(0xfca28bfe) + val colorAlphaPurple1100 = Color(0xffab9afe) + val colorAlphaPurple1200 = Color(0xffc7bdff) + val colorAlphaPurple1300 = Color(0xffdfdbff) + val colorAlphaPurple1400 = Color(0xffeeebff) + val colorAlphaPurple200 = Color(0xff1d005c) + val colorAlphaPurple300 = Color(0xff22006b) + val colorAlphaPurple400 = Color(0xff2d0080) + val colorAlphaPurple500 = Color(0xff3d009e) + val colorAlphaPurple600 = Color(0xab690dfd) + val colorAlphaPurple700 = Color(0xc2712bfd) + val colorAlphaPurple800 = Color(0xeb7f4dff) + val colorAlphaPurple900 = Color(0xfa9271fe) + val colorAlphaRed100 = Color(0xff380000) + val colorAlphaRed1000 = Color(0xffff645c) + val colorAlphaRed1100 = Color(0xffff857a) + val colorAlphaRed1200 = Color(0xffffaea3) + val colorAlphaRed1300 = Color(0xffffd3cc) + val colorAlphaRed1400 = Color(0xffffe8e5) + val colorAlphaRed200 = Color(0xff3d0000) + val colorAlphaRed300 = Color(0xff470000) + val colorAlphaRed400 = Color(0xff5c0000) + val colorAlphaRed500 = Color(0xff700000) + val colorAlphaRed600 = Color(0xff850009) + val colorAlphaRed700 = Color(0x99fe0b24) + val colorAlphaRed800 = Color(0xcffe2530) + val colorAlphaRed900 = Color(0xfffd3d3a) + val colorAlphaYellow100 = Color(0xff380000) + val colorAlphaYellow1000 = Color(0xffcc8b00) + val colorAlphaYellow1100 = Color(0xffdba100) + val colorAlphaYellow1200 = Color(0xf0fdc50d) + val colorAlphaYellow1300 = Color(0xfffeda58) + val colorAlphaYellow1400 = Color(0xffffedb3) + val colorAlphaYellow200 = Color(0xff380300) + val colorAlphaYellow300 = Color(0xff420900) + val colorAlphaYellow400 = Color(0xff4d1400) + val colorAlphaYellow500 = Color(0xff5c2300) + val colorAlphaYellow600 = Color(0xde753300) + val colorAlphaYellow700 = Color(0xeb854200) + val colorAlphaYellow800 = Color(0xff9e5c00) + val colorAlphaYellow900 = Color(0xffbd7b00) val colorBgCanvasDefaultLevel1 = colorGray300 val colorBgSubtleSecondaryLevel0 = colorThemeBg + val colorBlue100 = Color(0xff00055a) + val colorBlue1000 = Color(0xff5e99f0) + val colorBlue1100 = Color(0xff7aacf4) + val colorBlue1200 = Color(0xffa1c4f8) + val colorBlue1300 = Color(0xffcbdffc) + val colorBlue1400 = Color(0xffe4eefe) + val colorBlue200 = Color(0xff00095d) + val colorBlue300 = Color(0xff001264) + val colorBlue400 = Color(0xff001e6f) + val colorBlue500 = Color(0xff062d80) + val colorBlue600 = Color(0xff083891) + val colorBlue700 = Color(0xff0b49ab) + val colorBlue800 = Color(0xff0e67d9) + val colorBlue900 = Color(0xff4187eb) + val colorCyan100 = Color(0xff001144) + val colorCyan1000 = Color(0xff02a7c6) + val colorCyan1100 = Color(0xff21bacd) + val colorCyan1200 = Color(0xff78d0dc) + val colorCyan1300 = Color(0xffb8e5eb) + val colorCyan1400 = Color(0xffdbf2f5) + val colorCyan200 = Color(0xff001448) + val colorCyan300 = Color(0xff001b4e) + val colorCyan400 = Color(0xff002559) + val colorCyan500 = Color(0xff003468) + val colorCyan600 = Color(0xff003f75) + val colorCyan700 = Color(0xff005188) + val colorCyan800 = Color(0xff0271aa) + val colorCyan900 = Color(0xff0093be) + val colorFuchsia100 = Color(0xff28003d) + val colorFuchsia1000 = Color(0xffcf78d7) + val colorFuchsia1100 = Color(0xffd991de) + val colorFuchsia1200 = Color(0xffe5b1e9) + val colorFuchsia1300 = Color(0xfff1d4f3) + val colorFuchsia1400 = Color(0xfff8e9f9) + val colorFuchsia200 = Color(0xff2e0044) + val colorFuchsia300 = Color(0xff37004e) + val colorFuchsia400 = Color(0xff46005e) + val colorFuchsia500 = Color(0xff560f6f) + val colorFuchsia600 = Color(0xff65177d) + val colorFuchsia700 = Color(0xff7d2394) + val colorFuchsia800 = Color(0xffaa36ba) + val colorFuchsia900 = Color(0xffc560cf) + val colorGray100 = Color(0xff14171b) + val colorGray1000 = Color(0xff9199a4) + val colorGray1100 = Color(0xffa3aab4) + val colorGray1200 = Color(0xffbdc3cc) + val colorGray1300 = Color(0xffd9dee4) + val colorGray1400 = Color(0xffebeef2) + val colorGray200 = Color(0xff181a1f) + val colorGray300 = Color(0xff1d1f24) + val colorGray400 = Color(0xff26282d) + val colorGray500 = Color(0xff323539) + val colorGray600 = Color(0xff3c3f44) + val colorGray700 = Color(0xff4a4f55) + val colorGray800 = Color(0xff656c76) + val colorGray900 = Color(0xff808994) + val colorGreen100 = Color(0xff001c0b) + val colorGreen1000 = Color(0xff17ac84) + val colorGreen1100 = Color(0xff1fc090) + val colorGreen1200 = Color(0xff72d5ae) + val colorGreen1300 = Color(0xffb5e8d1) + val colorGreen1400 = Color(0xffd9f4e7) + val colorGreen200 = Color(0xff001f0e) + val colorGreen300 = Color(0xff002513) + val colorGreen400 = Color(0xff002e1b) + val colorGreen500 = Color(0xff003d29) + val colorGreen600 = Color(0xff004832) + val colorGreen700 = Color(0xff005a43) + val colorGreen800 = Color(0xff007a62) + val colorGreen900 = Color(0xff129a78) + val colorLime100 = Color(0xff001b00) + val colorLime1000 = Color(0xff47ad26) + val colorLime1100 = Color(0xff56c02c) + val colorLime1200 = Color(0xff77d94f) + val colorLime1300 = Color(0xffb6eca3) + val colorLime1400 = Color(0xffdaf6d0) + val colorLime200 = Color(0xff002000) + val colorLime300 = Color(0xff002600) + val colorLime400 = Color(0xff003000) + val colorLime500 = Color(0xff003e00) + val colorLime600 = Color(0xff004a00) + val colorLime700 = Color(0xff005c00) + val colorLime800 = Color(0xff1d7c13) + val colorLime900 = Color(0xff389b20) + val colorOrange100 = Color(0xff380000) + val colorOrange1000 = Color(0xffeb7a12) + val colorOrange1100 = Color(0xfff6913d) + val colorOrange1200 = Color(0xfffbb37e) + val colorOrange1300 = Color(0xffffd5b9) + val colorOrange1400 = Color(0xffffeadb) + val colorOrange200 = Color(0xff3c0000) + val colorOrange300 = Color(0xff470000) + val colorOrange400 = Color(0xff580000) + val colorOrange500 = Color(0xff710000) + val colorOrange600 = Color(0xff830500) + val colorOrange700 = Color(0xff972206) + val colorOrange800 = Color(0xffb94607) + val colorOrange900 = Color(0xffda670d) + val colorPink100 = Color(0xff37000f) + val colorPink1000 = Color(0xfffa658f) + val colorPink1100 = Color(0xfffe84a2) + val colorPink1200 = Color(0xffffabbe) + val colorPink1300 = Color(0xffffd2dc) + val colorPink1400 = Color(0xffffe8ed) + val colorPink200 = Color(0xff3c0012) + val colorPink300 = Color(0xff450018) + val colorPink400 = Color(0xff550024) + val colorPink500 = Color(0xff6d0036) + val colorPink600 = Color(0xff7c0c41) + val colorPink700 = Color(0xff99114f) + val colorPink800 = Color(0xffce1865) + val colorPink900 = Color(0xfff4427d) + val colorPurple100 = Color(0xff1a0055) + val colorPurple1000 = Color(0xff9e87fc) + val colorPurple1100 = Color(0xffad9cfe) + val colorPurple1200 = Color(0xffc4baff) + val colorPurple1300 = Color(0xffdedaff) + val colorPurple1400 = Color(0xffeeebff) + val colorPurple200 = Color(0xff1c005a) + val colorPurple300 = Color(0xff22006a) + val colorPurple400 = Color(0xff2c0080) + val colorPurple500 = Color(0xff3d009e) + val colorPurple600 = Color(0xff4a0db1) + val colorPurple700 = Color(0xff5a27c6) + val colorPurple800 = Color(0xff7849ec) + val colorPurple900 = Color(0xff9171f9) + val colorRed100 = Color(0xff370000) + val colorRed1000 = Color(0xffff665d) + val colorRed1100 = Color(0xffff877c) + val colorRed1200 = Color(0xffffaea4) + val colorRed1300 = Color(0xffffd4cd) + val colorRed1400 = Color(0xffffe9e6) + val colorRed200 = Color(0xff3e0000) + val colorRed300 = Color(0xff470000) + val colorRed400 = Color(0xff590000) + val colorRed500 = Color(0xff710000) + val colorRed600 = Color(0xff830009) + val colorRed700 = Color(0xff9f0d1e) + val colorRed800 = Color(0xffd1212a) + val colorRed900 = Color(0xfffd3e3c) + val colorThemeBg = Color(0xff101317) + val colorYellow100 = Color(0xff360000) + val colorYellow1000 = Color(0xffcc8c00) + val colorYellow1100 = Color(0xffdb9f00) + val colorYellow1200 = Color(0xffefbb0b) + val colorYellow1300 = Color(0xfffedb58) + val colorYellow1400 = Color(0xffffedb1) + val colorYellow200 = Color(0xff3a0300) + val colorYellow300 = Color(0xff410900) + val colorYellow400 = Color(0xff4c1400) + val colorYellow500 = Color(0xff5c2400) + val colorYellow600 = Color(0xff682e03) + val colorYellow700 = Color(0xff7c3e02) + val colorYellow800 = Color(0xff9d5b00) + val colorYellow900 = Color(0xffbc7a00) } diff --git a/assets/android/src/internal/DarkHcColorTokens.kt b/assets/android/src/internal/DarkHcColorTokens.kt index 79c837e4..7324afb6 100644 --- a/assets/android/src/internal/DarkHcColorTokens.kt +++ b/assets/android/src/internal/DarkHcColorTokens.kt @@ -30,162 +30,54 @@ import io.element.android.compound.annotations.CoreColorToken @CoreColorToken object DarkHcColorTokens { - val colorThemeBg = Color(0xff101317) - val colorGray100 = Color(0xff181a1f) - val colorGray200 = Color(0xff1d1f24) - val colorGray300 = Color(0xff26282d) - val colorGray400 = Color(0xff2b2e33) - val colorGray500 = Color(0xff3c3f44) - val colorGray600 = Color(0xff4a4f55) - val colorGray700 = Color(0xff606770) - val colorGray800 = Color(0xff79818d) - val colorGray900 = Color(0xffacb4bd) - val colorGray1000 = Color(0xffb8bfc7) - val colorGray1100 = Color(0xffc8ced5) - val colorGray1200 = Color(0xffd5dae1) - val colorGray1300 = Color(0xffebeef2) - val colorGray1400 = Color(0xfff2f5f7) - val colorRed100 = Color(0xff3e0000) - val colorRed200 = Color(0xff470000) - val colorRed300 = Color(0xff590000) - val colorRed400 = Color(0xff640000) - val colorRed500 = Color(0xff830009) - val colorRed600 = Color(0xff9f0d1e) - val colorRed700 = Color(0xffc81e28) - val colorRed800 = Color(0xfff52f33) - val colorRed900 = Color(0xffff968c) - val colorRed1000 = Color(0xffffa79d) - val colorRed1100 = Color(0xffffbdb5) - val colorRed1200 = Color(0xffffcfc8) - val colorRed1300 = Color(0xffffe9e6) - val colorRed1400 = Color(0xfffff2ef) - val colorOrange100 = Color(0xff3c0000) - val colorOrange200 = Color(0xff470000) - val colorOrange300 = Color(0xff580000) - val colorOrange400 = Color(0xff650000) - val colorOrange500 = Color(0xff830500) - val colorOrange600 = Color(0xff972206) - val colorOrange700 = Color(0xffb44007) - val colorOrange800 = Color(0xffd15f0b) - val colorOrange900 = Color(0xfff89d58) - val colorOrange1000 = Color(0xfffaad73) - val colorOrange1100 = Color(0xfffdc197) - val colorOrange1200 = Color(0xfffed0b1) - val colorOrange1300 = Color(0xffffeadb) - val colorOrange1400 = Color(0xfffff2ea) - val colorYellow100 = Color(0xff3a0300) - val colorYellow200 = Color(0xff410900) - val colorYellow300 = Color(0xff4c1400) - val colorYellow400 = Color(0xff541d00) - val colorYellow500 = Color(0xff682e03) - val colorYellow600 = Color(0xff7c3e02) - val colorYellow700 = Color(0xff985600) - val colorYellow800 = Color(0xffb47200) - val colorYellow900 = Color(0xffe3aa00) - val colorYellow1000 = Color(0xffebb607) - val colorYellow1100 = Color(0xfff7c816) - val colorYellow1200 = Color(0xfffed632) - val colorYellow1300 = Color(0xffffedb1) - val colorYellow1400 = Color(0xfffff4d0) - val colorLime100 = Color(0xff002000) - val colorLime200 = Color(0xff002600) - val colorLime300 = Color(0xff003000) - val colorLime400 = Color(0xff003700) - val colorLime500 = Color(0xff004a00) - val colorLime600 = Color(0xff005c00) - val colorLime700 = Color(0xff187611) - val colorLime800 = Color(0xff31941d) - val colorLime900 = Color(0xff5eca2f) - val colorLime1000 = Color(0xff6ad639) - val colorLime1100 = Color(0xff92e175) - val colorLime1200 = Color(0xffafe99a) - val colorLime1300 = Color(0xffdaf6d0) - val colorLime1400 = Color(0xffe9f9e3) - val colorGreen100 = Color(0xff001f0e) - val colorGreen200 = Color(0xff002513) - val colorGreen300 = Color(0xff002e1b) - val colorGreen400 = Color(0xff003622) - val colorGreen500 = Color(0xff004832) - val colorGreen600 = Color(0xff005a43) - val colorGreen700 = Color(0xff00745c) - val colorGreen800 = Color(0xff109173) - val colorGreen900 = Color(0xff37c998) - val colorGreen1000 = Color(0xff61d2a6) - val colorGreen1100 = Color(0xff8fddbc) - val colorGreen1200 = Color(0xfface6cc) - val colorGreen1300 = Color(0xffd9f4e7) - val colorGreen1400 = Color(0xffe9f8f1) - val colorCyan100 = Color(0xff001448) - val colorCyan200 = Color(0xff001b4e) - val colorCyan300 = Color(0xff002559) - val colorCyan400 = Color(0xff002d61) - val colorCyan500 = Color(0xff003f75) - val colorCyan600 = Color(0xff005188) - val colorCyan700 = Color(0xff006ca4) - val colorCyan800 = Color(0xff008aba) - val colorCyan900 = Color(0xff46c3d2) - val colorCyan1000 = Color(0xff6bccd9) - val colorCyan1100 = Color(0xff93d9e2) - val colorCyan1200 = Color(0xffafe2e9) - val colorCyan1300 = Color(0xffdbf2f5) - val colorCyan1400 = Color(0xffeaf7f9) - val colorBlue100 = Color(0xff00095d) - val colorBlue200 = Color(0xff001264) - val colorBlue300 = Color(0xff001e6f) - val colorBlue400 = Color(0xff032677) - val colorBlue500 = Color(0xff083891) - val colorBlue600 = Color(0xff0b49ab) - val colorBlue700 = Color(0xff0e61d1) - val colorBlue800 = Color(0xff337fe9) - val colorBlue900 = Color(0xff89b5f6) - val colorBlue1000 = Color(0xff9ac0f8) - val colorBlue1100 = Color(0xffb2cffa) - val colorBlue1200 = Color(0xffc5dbfc) - val colorBlue1300 = Color(0xffe4eefe) - val colorBlue1400 = Color(0xffeff5fe) - val colorPurple100 = Color(0xff1c005a) - val colorPurple200 = Color(0xff22006a) - val colorPurple300 = Color(0xff2c0080) - val colorPurple400 = Color(0xff350090) - val colorPurple500 = Color(0xff4a0db1) - val colorPurple600 = Color(0xff5a27c6) - val colorPurple700 = Color(0xff7343e6) - val colorPurple800 = Color(0xff8b66f8) - val colorPurple900 = Color(0xffb6a7ff) - val colorPurple1000 = Color(0xffc0b5ff) - val colorPurple1100 = Color(0xffcec7ff) - val colorPurple1200 = Color(0xffdad5ff) - val colorPurple1300 = Color(0xffeeebff) - val colorPurple1400 = Color(0xfff5f3ff) - val colorFuchsia100 = Color(0xff2e0044) - val colorFuchsia200 = Color(0xff37004e) - val colorFuchsia300 = Color(0xff46005e) - val colorFuchsia400 = Color(0xff4f0368) - val colorFuchsia500 = Color(0xff65177d) - val colorFuchsia600 = Color(0xff7d2394) - val colorFuchsia700 = Color(0xffa233b3) - val colorFuchsia800 = Color(0xffc153cb) - val colorFuchsia900 = Color(0xffdd9de3) - val colorFuchsia1000 = Color(0xffe3abe7) - val colorFuchsia1100 = Color(0xffeac0ed) - val colorFuchsia1200 = Color(0xfff0cff2) - val colorFuchsia1300 = Color(0xfff8e9f9) - val colorFuchsia1400 = Color(0xfffbf1fb) - val colorPink100 = Color(0xff3c0012) - val colorPink200 = Color(0xff450018) - val colorPink300 = Color(0xff550024) - val colorPink400 = Color(0xff61002d) - val colorPink500 = Color(0xff7c0c41) - val colorPink600 = Color(0xff99114f) - val colorPink700 = Color(0xffc51761) - val colorPink800 = Color(0xfff12c75) - val colorPink900 = Color(0xffff92ac) - val colorPink1000 = Color(0xffffa4b9) - val colorPink1100 = Color(0xffffbbca) - val colorPink1200 = Color(0xffffccd7) - val colorPink1300 = Color(0xffffe8ed) - val colorPink1400 = Color(0xfffff1f4) + val colorAlphaBlue100 = Color(0xff00095c) + val colorAlphaBlue1000 = Color(0xf79ec5ff) + val colorAlphaBlue1100 = Color(0xfab8d4ff) + val colorAlphaBlue1200 = Color(0xfcc8defe) + val colorAlphaBlue1300 = Color(0xffe6effe) + val colorAlphaBlue1400 = Color(0xfff1f6fe) + val colorAlphaBlue200 = Color(0xff001366) + val colorAlphaBlue300 = Color(0xff001e70) + val colorAlphaBlue400 = Color(0xd1002b8f) + val colorAlphaBlue500 = Color(0x87015afe) + val colorAlphaBlue600 = Color(0xa30665fe) + val colorAlphaBlue700 = Color(0xcf0d71fd) + val colorAlphaBlue800 = Color(0xe83488fe) + val colorAlphaBlue900 = Color(0xf78bb9fd) + val colorAlphaCyan100 = Color(0xff001447) + val colorAlphaCyan1000 = Color(0xd67beffe) + val colorAlphaCyan1100 = Color(0xe0a4f4fe) + val colorAlphaCyan1200 = Color(0xe8bef5fe) + val colorAlphaCyan1300 = Color(0xf5e1fbfe) + val colorAlphaCyan1400 = Color(0xfaf1fdfe) + val colorAlphaCyan200 = Color(0xff001b4d) + val colorAlphaCyan300 = Color(0xff00265c) + val colorAlphaCyan400 = Color(0xff002d61) + val colorAlphaCyan500 = Color(0xff003f75) + val colorAlphaCyan600 = Color(0xff00538a) + val colorAlphaCyan700 = Color(0xff006da3) + val colorAlphaCyan800 = Color(0xff008ebd) + val colorAlphaCyan900 = Color(0xcf52edfe) + val colorAlphaFuchsia100 = Color(0xff2d0042) + val colorAlphaFuchsia1000 = Color(0xe6fabefe) + val colorAlphaFuchsia1100 = Color(0xedfacefd) + val colorAlphaFuchsia1200 = Color(0xf2fcd7fe) + val colorAlphaFuchsia1300 = Color(0xfafdecfe) + val colorAlphaFuchsia1400 = Color(0xfcfdf2fd) + val colorAlphaFuchsia200 = Color(0xff36004d) + val colorAlphaFuchsia300 = Color(0xff45005c) + val colorAlphaFuchsia400 = Color(0xd95a0075) + val colorAlphaFuchsia500 = Color(0x70d21fff) + val colorAlphaFuchsia600 = Color(0x8ad82ffe) + val colorAlphaFuchsia700 = Color(0xade640fc) + val colorAlphaFuchsia800 = Color(0xc7f467fe) + val colorAlphaFuchsia900 = Color(0xe0f9b3ff) val colorAlphaGray100 = Color(0x0ad9c3df) + val colorAlphaGray1000 = Color(0xc2f0f7ff) + val colorAlphaGray1100 = Color(0xd1f0f7ff) + val colorAlphaGray1200 = Color(0xe0f1f6fd) + val colorAlphaGray1300 = Color(0xf2f6f9fe) + val colorAlphaGray1400 = Color(0xf7fbfdfe) val colorAlphaGray200 = Color(0x0fe9dbf0) val colorAlphaGray300 = Color(0x1aede7f4) val colorAlphaGray400 = Color(0x21e1e4ef) @@ -194,26 +86,40 @@ object DarkHcColorTokens { val colorAlphaGray700 = Color(0x63dfebfb) val colorAlphaGray800 = Color(0x82dceafe) val colorAlphaGray900 = Color(0xb8ecf4fe) - val colorAlphaGray1000 = Color(0xc2f0f7ff) - val colorAlphaGray1100 = Color(0xd1f0f7ff) - val colorAlphaGray1200 = Color(0xe0f1f6fd) - val colorAlphaGray1300 = Color(0xf2f6f9fe) - val colorAlphaGray1400 = Color(0xf7fbfdfe) - val colorAlphaRed100 = Color(0xff3d0000) - val colorAlphaRed200 = Color(0xff470000) - val colorAlphaRed300 = Color(0xff5c0000) - val colorAlphaRed400 = Color(0xff660000) - val colorAlphaRed500 = Color(0xff850009) - val colorAlphaRed600 = Color(0x99fe0b24) - val colorAlphaRed700 = Color(0xc4ff242f) - val colorAlphaRed800 = Color(0xf5ff2e31) - val colorAlphaRed900 = Color(0xffff988f) - val colorAlphaRed1000 = Color(0xffffa89e) - val colorAlphaRed1100 = Color(0xffffbfb8) - val colorAlphaRed1200 = Color(0xffffcec7) - val colorAlphaRed1300 = Color(0xffffe8e5) - val colorAlphaRed1400 = Color(0xfffff3f0) + val colorAlphaGreen100 = Color(0xff001f0e) + val colorAlphaGreen1000 = Color(0xcf75ffc8) + val colorAlphaGreen1100 = Color(0xdba4fed7) + val colorAlphaGreen1200 = Color(0xe6bffde1) + val colorAlphaGreen1300 = Color(0xf5e2fdf1) + val colorAlphaGreen1400 = Color(0xfaedfdf5) + val colorAlphaGreen200 = Color(0xff002412) + val colorAlphaGreen300 = Color(0xff002e1b) + val colorAlphaGreen400 = Color(0xff003824) + val colorAlphaGreen500 = Color(0xff004732) + val colorAlphaGreen600 = Color(0xff005c45) + val colorAlphaGreen700 = Color(0xff00755e) + val colorAlphaGreen800 = Color(0x8a12fdc2) + val colorAlphaGreen900 = Color(0xc740fcba) + val colorAlphaLime100 = Color(0xff001f00) + val colorAlphaLime1000 = Color(0xd47bfe3e) + val colorAlphaLime1100 = Color(0xe0a4fd81) + val colorAlphaLime1200 = Color(0xe8c1fea9) + val colorAlphaLime1300 = Color(0xf7e1fdd8) + val colorAlphaLime1400 = Color(0xfaedfee7) + val colorAlphaLime200 = Color(0xff002900) + val colorAlphaLime300 = Color(0xff002e00) + val colorAlphaLime400 = Color(0xff003800) + val colorAlphaLime500 = Color(0xff004d00) + val colorAlphaLime600 = Color(0xff005c00) + val colorAlphaLime700 = Color(0x6b23ff0a) + val colorAlphaLime800 = Color(0x8c4dfe25) + val colorAlphaLime900 = Color(0xc774fe34) val colorAlphaOrange100 = Color(0xff3d0000) + val colorAlphaOrange1000 = Color(0xfaffb175) + val colorAlphaOrange1100 = Color(0xfffdc196) + val colorAlphaOrange1200 = Color(0xfffed1b3) + val colorAlphaOrange1300 = Color(0xffffeadb) + val colorAlphaOrange1400 = Color(0xfffff2eb) val colorAlphaOrange200 = Color(0xff470000) val colorAlphaOrange300 = Color(0xff570000) val colorAlphaOrange400 = Color(0xff660000) @@ -222,110 +128,12 @@ object DarkHcColorTokens { val colorAlphaOrange700 = Color(0xb3fa5300) val colorAlphaOrange800 = Color(0xcffe7206) val colorAlphaOrange900 = Color(0xfafda058) - val colorAlphaOrange1000 = Color(0xfaffb175) - val colorAlphaOrange1100 = Color(0xfffdc196) - val colorAlphaOrange1200 = Color(0xfffed1b3) - val colorAlphaOrange1300 = Color(0xffffeadb) - val colorAlphaOrange1400 = Color(0xfffff2eb) - val colorAlphaYellow100 = Color(0xff380300) - val colorAlphaYellow200 = Color(0xff420900) - val colorAlphaYellow300 = Color(0xff4d1400) - val colorAlphaYellow400 = Color(0xff571e00) - val colorAlphaYellow500 = Color(0xde753300) - val colorAlphaYellow600 = Color(0xeb854200) - val colorAlphaYellow700 = Color(0xff995700) - val colorAlphaYellow800 = Color(0xffb37100) - val colorAlphaYellow900 = Color(0xffe6ac00) - val colorAlphaYellow1000 = Color(0xebfec406) - val colorAlphaYellow1100 = Color(0xf7fecf16) - val colorAlphaYellow1200 = Color(0xfffed634) - val colorAlphaYellow1300 = Color(0xffffedb3) - val colorAlphaYellow1400 = Color(0xfffff4d1) - val colorAlphaLime100 = Color(0xff001f00) - val colorAlphaLime200 = Color(0xff002900) - val colorAlphaLime300 = Color(0xff002e00) - val colorAlphaLime400 = Color(0xff003800) - val colorAlphaLime500 = Color(0xff004d00) - val colorAlphaLime600 = Color(0xff005c00) - val colorAlphaLime700 = Color(0x6b23ff0a) - val colorAlphaLime800 = Color(0x8c4dfe25) - val colorAlphaLime900 = Color(0xc774fe34) - val colorAlphaLime1000 = Color(0xd47bfe3e) - val colorAlphaLime1100 = Color(0xe0a4fd81) - val colorAlphaLime1200 = Color(0xe8c1fea9) - val colorAlphaLime1300 = Color(0xf7e1fdd8) - val colorAlphaLime1400 = Color(0xfaedfee7) - val colorAlphaGreen100 = Color(0xff001f0e) - val colorAlphaGreen200 = Color(0xff002412) - val colorAlphaGreen300 = Color(0xff002e1b) - val colorAlphaGreen400 = Color(0xff003824) - val colorAlphaGreen500 = Color(0xff004732) - val colorAlphaGreen600 = Color(0xff005c45) - val colorAlphaGreen700 = Color(0xff00755e) - val colorAlphaGreen800 = Color(0x8a12fdc2) - val colorAlphaGreen900 = Color(0xc740fcba) - val colorAlphaGreen1000 = Color(0xcf75ffc8) - val colorAlphaGreen1100 = Color(0xdba4fed7) - val colorAlphaGreen1200 = Color(0xe6bffde1) - val colorAlphaGreen1300 = Color(0xf5e2fdf1) - val colorAlphaGreen1400 = Color(0xfaedfdf5) - val colorAlphaCyan100 = Color(0xff001447) - val colorAlphaCyan200 = Color(0xff001b4d) - val colorAlphaCyan300 = Color(0xff00265c) - val colorAlphaCyan400 = Color(0xff002d61) - val colorAlphaCyan500 = Color(0xff003f75) - val colorAlphaCyan600 = Color(0xff00538a) - val colorAlphaCyan700 = Color(0xff006da3) - val colorAlphaCyan800 = Color(0xff008ebd) - val colorAlphaCyan900 = Color(0xcf52edfe) - val colorAlphaCyan1000 = Color(0xd67beffe) - val colorAlphaCyan1100 = Color(0xe0a4f4fe) - val colorAlphaCyan1200 = Color(0xe8bef5fe) - val colorAlphaCyan1300 = Color(0xf5e1fbfe) - val colorAlphaCyan1400 = Color(0xfaf1fdfe) - val colorAlphaBlue100 = Color(0xff00095c) - val colorAlphaBlue200 = Color(0xff001366) - val colorAlphaBlue300 = Color(0xff001e70) - val colorAlphaBlue400 = Color(0xd1002b8f) - val colorAlphaBlue500 = Color(0x87015afe) - val colorAlphaBlue600 = Color(0xa30665fe) - val colorAlphaBlue700 = Color(0xcf0d71fd) - val colorAlphaBlue800 = Color(0xe83488fe) - val colorAlphaBlue900 = Color(0xf78bb9fd) - val colorAlphaBlue1000 = Color(0xf79ec5ff) - val colorAlphaBlue1100 = Color(0xfab8d4ff) - val colorAlphaBlue1200 = Color(0xfcc8defe) - val colorAlphaBlue1300 = Color(0xffe6effe) - val colorAlphaBlue1400 = Color(0xfff1f6fe) - val colorAlphaPurple100 = Color(0xff1d005c) - val colorAlphaPurple200 = Color(0xff22006b) - val colorAlphaPurple300 = Color(0xff2d0080) - val colorAlphaPurple400 = Color(0xff34008f) - val colorAlphaPurple500 = Color(0xab690dfd) - val colorAlphaPurple600 = Color(0xc2712bfd) - val colorAlphaPurple700 = Color(0xe67f49fd) - val colorAlphaPurple800 = Color(0xf7906bff) - val colorAlphaPurple900 = Color(0xffb7a8ff) - val colorAlphaPurple1000 = Color(0xffc2b8ff) - val colorAlphaPurple1100 = Color(0xffcec7ff) - val colorAlphaPurple1200 = Color(0xffdbd6ff) - val colorAlphaPurple1300 = Color(0xffeeebff) - val colorAlphaPurple1400 = Color(0xfff6f5ff) - val colorAlphaFuchsia100 = Color(0xff2d0042) - val colorAlphaFuchsia200 = Color(0xff36004d) - val colorAlphaFuchsia300 = Color(0xff45005c) - val colorAlphaFuchsia400 = Color(0xd95a0075) - val colorAlphaFuchsia500 = Color(0x70d21fff) - val colorAlphaFuchsia600 = Color(0x8ad82ffe) - val colorAlphaFuchsia700 = Color(0xade640fc) - val colorAlphaFuchsia800 = Color(0xc7f467fe) - val colorAlphaFuchsia900 = Color(0xe0f9b3ff) - val colorAlphaFuchsia1000 = Color(0xe6fabefe) - val colorAlphaFuchsia1100 = Color(0xedfacefd) - val colorAlphaFuchsia1200 = Color(0xf2fcd7fe) - val colorAlphaFuchsia1300 = Color(0xfafdecfe) - val colorAlphaFuchsia1400 = Color(0xfcfdf2fd) val colorAlphaPink100 = Color(0xff3d0012) + val colorAlphaPink1000 = Color(0xffffa3b9) + val colorAlphaPink1100 = Color(0xffffbdcb) + val colorAlphaPink1200 = Color(0xffffccd7) + val colorAlphaPink1300 = Color(0xffffebef) + val colorAlphaPink1400 = Color(0xfffff0f3) val colorAlphaPink200 = Color(0xff470019) val colorAlphaPink300 = Color(0xff570024) val colorAlphaPink400 = Color(0xff61002d) @@ -334,11 +142,203 @@ object DarkHcColorTokens { val colorAlphaPink700 = Color(0xc2fe1b79) val colorAlphaPink800 = Color(0xf2fd2b78) val colorAlphaPink900 = Color(0xffff94ad) - val colorAlphaPink1000 = Color(0xffffa3b9) - val colorAlphaPink1100 = Color(0xffffbdcb) - val colorAlphaPink1200 = Color(0xffffccd7) - val colorAlphaPink1300 = Color(0xffffebef) - val colorAlphaPink1400 = Color(0xfffff0f3) + val colorAlphaPurple100 = Color(0xff1d005c) + val colorAlphaPurple1000 = Color(0xffc2b8ff) + val colorAlphaPurple1100 = Color(0xffcec7ff) + val colorAlphaPurple1200 = Color(0xffdbd6ff) + val colorAlphaPurple1300 = Color(0xffeeebff) + val colorAlphaPurple1400 = Color(0xfff6f5ff) + val colorAlphaPurple200 = Color(0xff22006b) + val colorAlphaPurple300 = Color(0xff2d0080) + val colorAlphaPurple400 = Color(0xff34008f) + val colorAlphaPurple500 = Color(0xab690dfd) + val colorAlphaPurple600 = Color(0xc2712bfd) + val colorAlphaPurple700 = Color(0xe67f49fd) + val colorAlphaPurple800 = Color(0xf7906bff) + val colorAlphaPurple900 = Color(0xffb7a8ff) + val colorAlphaRed100 = Color(0xff3d0000) + val colorAlphaRed1000 = Color(0xffffa89e) + val colorAlphaRed1100 = Color(0xffffbfb8) + val colorAlphaRed1200 = Color(0xffffcec7) + val colorAlphaRed1300 = Color(0xffffe8e5) + val colorAlphaRed1400 = Color(0xfffff3f0) + val colorAlphaRed200 = Color(0xff470000) + val colorAlphaRed300 = Color(0xff5c0000) + val colorAlphaRed400 = Color(0xff660000) + val colorAlphaRed500 = Color(0xff850009) + val colorAlphaRed600 = Color(0x99fe0b24) + val colorAlphaRed700 = Color(0xc4ff242f) + val colorAlphaRed800 = Color(0xf5ff2e31) + val colorAlphaRed900 = Color(0xffff988f) + val colorAlphaYellow100 = Color(0xff380300) + val colorAlphaYellow1000 = Color(0xebfec406) + val colorAlphaYellow1100 = Color(0xf7fecf16) + val colorAlphaYellow1200 = Color(0xfffed634) + val colorAlphaYellow1300 = Color(0xffffedb3) + val colorAlphaYellow1400 = Color(0xfffff4d1) + val colorAlphaYellow200 = Color(0xff420900) + val colorAlphaYellow300 = Color(0xff4d1400) + val colorAlphaYellow400 = Color(0xff571e00) + val colorAlphaYellow500 = Color(0xde753300) + val colorAlphaYellow600 = Color(0xeb854200) + val colorAlphaYellow700 = Color(0xff995700) + val colorAlphaYellow800 = Color(0xffb37100) + val colorAlphaYellow900 = Color(0xffe6ac00) val colorBgCanvasDefaultLevel1 = colorGray300 val colorBgSubtleSecondaryLevel0 = colorThemeBg + val colorBlue100 = Color(0xff00095d) + val colorBlue1000 = Color(0xff9ac0f8) + val colorBlue1100 = Color(0xffb2cffa) + val colorBlue1200 = Color(0xffc5dbfc) + val colorBlue1300 = Color(0xffe4eefe) + val colorBlue1400 = Color(0xffeff5fe) + val colorBlue200 = Color(0xff001264) + val colorBlue300 = Color(0xff001e6f) + val colorBlue400 = Color(0xff032677) + val colorBlue500 = Color(0xff083891) + val colorBlue600 = Color(0xff0b49ab) + val colorBlue700 = Color(0xff0e61d1) + val colorBlue800 = Color(0xff337fe9) + val colorBlue900 = Color(0xff89b5f6) + val colorCyan100 = Color(0xff001448) + val colorCyan1000 = Color(0xff6bccd9) + val colorCyan1100 = Color(0xff93d9e2) + val colorCyan1200 = Color(0xffafe2e9) + val colorCyan1300 = Color(0xffdbf2f5) + val colorCyan1400 = Color(0xffeaf7f9) + val colorCyan200 = Color(0xff001b4e) + val colorCyan300 = Color(0xff002559) + val colorCyan400 = Color(0xff002d61) + val colorCyan500 = Color(0xff003f75) + val colorCyan600 = Color(0xff005188) + val colorCyan700 = Color(0xff006ca4) + val colorCyan800 = Color(0xff008aba) + val colorCyan900 = Color(0xff46c3d2) + val colorFuchsia100 = Color(0xff2e0044) + val colorFuchsia1000 = Color(0xffe3abe7) + val colorFuchsia1100 = Color(0xffeac0ed) + val colorFuchsia1200 = Color(0xfff0cff2) + val colorFuchsia1300 = Color(0xfff8e9f9) + val colorFuchsia1400 = Color(0xfffbf1fb) + val colorFuchsia200 = Color(0xff37004e) + val colorFuchsia300 = Color(0xff46005e) + val colorFuchsia400 = Color(0xff4f0368) + val colorFuchsia500 = Color(0xff65177d) + val colorFuchsia600 = Color(0xff7d2394) + val colorFuchsia700 = Color(0xffa233b3) + val colorFuchsia800 = Color(0xffc153cb) + val colorFuchsia900 = Color(0xffdd9de3) + val colorGray100 = Color(0xff181a1f) + val colorGray1000 = Color(0xffb8bfc7) + val colorGray1100 = Color(0xffc8ced5) + val colorGray1200 = Color(0xffd5dae1) + val colorGray1300 = Color(0xffebeef2) + val colorGray1400 = Color(0xfff2f5f7) + val colorGray200 = Color(0xff1d1f24) + val colorGray300 = Color(0xff26282d) + val colorGray400 = Color(0xff2b2e33) + val colorGray500 = Color(0xff3c3f44) + val colorGray600 = Color(0xff4a4f55) + val colorGray700 = Color(0xff606770) + val colorGray800 = Color(0xff79818d) + val colorGray900 = Color(0xffacb4bd) + val colorGreen100 = Color(0xff001f0e) + val colorGreen1000 = Color(0xff61d2a6) + val colorGreen1100 = Color(0xff8fddbc) + val colorGreen1200 = Color(0xfface6cc) + val colorGreen1300 = Color(0xffd9f4e7) + val colorGreen1400 = Color(0xffe9f8f1) + val colorGreen200 = Color(0xff002513) + val colorGreen300 = Color(0xff002e1b) + val colorGreen400 = Color(0xff003622) + val colorGreen500 = Color(0xff004832) + val colorGreen600 = Color(0xff005a43) + val colorGreen700 = Color(0xff00745c) + val colorGreen800 = Color(0xff109173) + val colorGreen900 = Color(0xff37c998) + val colorLime100 = Color(0xff002000) + val colorLime1000 = Color(0xff6ad639) + val colorLime1100 = Color(0xff92e175) + val colorLime1200 = Color(0xffafe99a) + val colorLime1300 = Color(0xffdaf6d0) + val colorLime1400 = Color(0xffe9f9e3) + val colorLime200 = Color(0xff002600) + val colorLime300 = Color(0xff003000) + val colorLime400 = Color(0xff003700) + val colorLime500 = Color(0xff004a00) + val colorLime600 = Color(0xff005c00) + val colorLime700 = Color(0xff187611) + val colorLime800 = Color(0xff31941d) + val colorLime900 = Color(0xff5eca2f) + val colorOrange100 = Color(0xff3c0000) + val colorOrange1000 = Color(0xfffaad73) + val colorOrange1100 = Color(0xfffdc197) + val colorOrange1200 = Color(0xfffed0b1) + val colorOrange1300 = Color(0xffffeadb) + val colorOrange1400 = Color(0xfffff2ea) + val colorOrange200 = Color(0xff470000) + val colorOrange300 = Color(0xff580000) + val colorOrange400 = Color(0xff650000) + val colorOrange500 = Color(0xff830500) + val colorOrange600 = Color(0xff972206) + val colorOrange700 = Color(0xffb44007) + val colorOrange800 = Color(0xffd15f0b) + val colorOrange900 = Color(0xfff89d58) + val colorPink100 = Color(0xff3c0012) + val colorPink1000 = Color(0xffffa4b9) + val colorPink1100 = Color(0xffffbbca) + val colorPink1200 = Color(0xffffccd7) + val colorPink1300 = Color(0xffffe8ed) + val colorPink1400 = Color(0xfffff1f4) + val colorPink200 = Color(0xff450018) + val colorPink300 = Color(0xff550024) + val colorPink400 = Color(0xff61002d) + val colorPink500 = Color(0xff7c0c41) + val colorPink600 = Color(0xff99114f) + val colorPink700 = Color(0xffc51761) + val colorPink800 = Color(0xfff12c75) + val colorPink900 = Color(0xffff92ac) + val colorPurple100 = Color(0xff1c005a) + val colorPurple1000 = Color(0xffc0b5ff) + val colorPurple1100 = Color(0xffcec7ff) + val colorPurple1200 = Color(0xffdad5ff) + val colorPurple1300 = Color(0xffeeebff) + val colorPurple1400 = Color(0xfff5f3ff) + val colorPurple200 = Color(0xff22006a) + val colorPurple300 = Color(0xff2c0080) + val colorPurple400 = Color(0xff350090) + val colorPurple500 = Color(0xff4a0db1) + val colorPurple600 = Color(0xff5a27c6) + val colorPurple700 = Color(0xff7343e6) + val colorPurple800 = Color(0xff8b66f8) + val colorPurple900 = Color(0xffb6a7ff) + val colorRed100 = Color(0xff3e0000) + val colorRed1000 = Color(0xffffa79d) + val colorRed1100 = Color(0xffffbdb5) + val colorRed1200 = Color(0xffffcfc8) + val colorRed1300 = Color(0xffffe9e6) + val colorRed1400 = Color(0xfffff2ef) + val colorRed200 = Color(0xff470000) + val colorRed300 = Color(0xff590000) + val colorRed400 = Color(0xff640000) + val colorRed500 = Color(0xff830009) + val colorRed600 = Color(0xff9f0d1e) + val colorRed700 = Color(0xffc81e28) + val colorRed800 = Color(0xfff52f33) + val colorRed900 = Color(0xffff968c) + val colorThemeBg = Color(0xff101317) + val colorYellow100 = Color(0xff3a0300) + val colorYellow1000 = Color(0xffebb607) + val colorYellow1100 = Color(0xfff7c816) + val colorYellow1200 = Color(0xfffed632) + val colorYellow1300 = Color(0xffffedb1) + val colorYellow1400 = Color(0xfffff4d0) + val colorYellow200 = Color(0xff410900) + val colorYellow300 = Color(0xff4c1400) + val colorYellow400 = Color(0xff541d00) + val colorYellow500 = Color(0xff682e03) + val colorYellow600 = Color(0xff7c3e02) + val colorYellow700 = Color(0xff985600) + val colorYellow800 = Color(0xffb47200) + val colorYellow900 = Color(0xffe3aa00) } diff --git a/assets/android/src/internal/LightColorTokens.kt b/assets/android/src/internal/LightColorTokens.kt index 31bd789b..11ba178f 100644 --- a/assets/android/src/internal/LightColorTokens.kt +++ b/assets/android/src/internal/LightColorTokens.kt @@ -30,162 +30,54 @@ import io.element.android.compound.annotations.CoreColorToken @CoreColorToken object LightColorTokens { - val colorThemeBg = Color(0xffffffff) - val colorGray100 = Color(0xfffbfcfd) - val colorGray200 = Color(0xfff7f9fa) - val colorGray300 = Color(0xfff0f2f5) - val colorGray400 = Color(0xffe1e6ec) - val colorGray500 = Color(0xffcdd3da) - val colorGray600 = Color(0xffbdc4cc) - val colorGray700 = Color(0xffa6adb7) - val colorGray800 = Color(0xff818a95) - val colorGray900 = Color(0xff656d77) - val colorGray1000 = Color(0xff595e67) - val colorGray1100 = Color(0xff4c5158) - val colorGray1200 = Color(0xff3c4045) - val colorGray1300 = Color(0xff2b2d32) - val colorGray1400 = Color(0xff1b1d22) - val colorRed100 = Color(0xfffffaf9) - val colorRed200 = Color(0xfffff7f6) - val colorRed300 = Color(0xffffefec) - val colorRed400 = Color(0xffffdfda) - val colorRed500 = Color(0xffffc5bc) - val colorRed600 = Color(0xffffafa5) - val colorRed700 = Color(0xffff8c81) - val colorRed800 = Color(0xffff3d3d) - val colorRed900 = Color(0xffd51928) - val colorRed1000 = Color(0xffbc0f22) - val colorRed1100 = Color(0xffa4041d) - val colorRed1200 = Color(0xff850006) - val colorRed1300 = Color(0xff620000) - val colorRed1400 = Color(0xff450000) - val colorOrange100 = Color(0xfffffaf7) - val colorOrange200 = Color(0xfffff6ef) - val colorOrange300 = Color(0xffffefe4) - val colorOrange400 = Color(0xffffdfc8) - val colorOrange500 = Color(0xffffc8a1) - val colorOrange600 = Color(0xfffdb37c) - val colorOrange700 = Color(0xfff89440) - val colorOrange800 = Color(0xffdc6700) - val colorOrange900 = Color(0xffbc4500) - val colorOrange1000 = Color(0xffac3300) - val colorOrange1100 = Color(0xff9b2200) - val colorOrange1200 = Color(0xff850000) - val colorOrange1300 = Color(0xff620000) - val colorOrange1400 = Color(0xff450000) - val colorYellow100 = Color(0xfffffcf0) - val colorYellow200 = Color(0xfffff8e0) - val colorYellow300 = Color(0xfffff2c1) - val colorYellow400 = Color(0xffffe484) - val colorYellow500 = Color(0xfffbce00) - val colorYellow600 = Color(0xfff1bd00) - val colorYellow700 = Color(0xffdea200) - val colorYellow800 = Color(0xffbe7a00) - val colorYellow900 = Color(0xff9f5b00) - val colorYellow1000 = Color(0xff8f4d00) - val colorYellow1100 = Color(0xff803f00) - val colorYellow1200 = Color(0xff692e00) - val colorYellow1300 = Color(0xff541a00) - val colorYellow1400 = Color(0xff410600) - val colorLime100 = Color(0xfff8fdf6) - val colorLime200 = Color(0xfff1fcee) - val colorLime300 = Color(0xffe0f8d9) - val colorLime400 = Color(0xffc8f1ba) - val colorLime500 = Color(0xff99e57e) - val colorLime600 = Color(0xff76db4c) - val colorLime700 = Color(0xff54c424) - val colorLime800 = Color(0xff359d18) - val colorLime900 = Color(0xff197d0c) - val colorLime1000 = Color(0xff006e00) - val colorLime1100 = Color(0xff005f00) - val colorLime1200 = Color(0xff004b00) - val colorLime1300 = Color(0xff003600) - val colorLime1400 = Color(0xff002400) - val colorGreen100 = Color(0xfff8fdfb) - val colorGreen200 = Color(0xfff1fbf6) - val colorGreen300 = Color(0xffe3f7ed) - val colorGreen400 = Color(0xffc6eedb) - val colorGreen500 = Color(0xff98e1c1) - val colorGreen600 = Color(0xff71d7ae) - val colorGreen700 = Color(0xff0bc491) - val colorGreen800 = Color(0xff009b78) - val colorGreen900 = Color(0xff007a61) - val colorGreen1000 = Color(0xff006b52) - val colorGreen1100 = Color(0xff005c45) - val colorGreen1200 = Color(0xff004933) - val colorGreen1300 = Color(0xff003420) - val colorGreen1400 = Color(0xff002311) - val colorCyan100 = Color(0xfff8fdfd) - val colorCyan200 = Color(0xfff1fafb) - val colorCyan300 = Color(0xffe3f5f8) - val colorCyan400 = Color(0xffc7ecf0) - val colorCyan500 = Color(0xff9bdde5) - val colorCyan600 = Color(0xff76d1dd) - val colorCyan700 = Color(0xff15becf) - val colorCyan800 = Color(0xff0094c0) - val colorCyan900 = Color(0xff0072ac) - val colorCyan1000 = Color(0xff00629c) - val colorCyan1100 = Color(0xff00548c) - val colorCyan1200 = Color(0xff004077) - val colorCyan1300 = Color(0xff002b61) - val colorCyan1400 = Color(0xff00194f) - val colorBlue100 = Color(0xfff9fcff) - val colorBlue200 = Color(0xfff4f8ff) - val colorBlue300 = Color(0xffe9f2ff) - val colorBlue400 = Color(0xffd8e7fe) - val colorBlue500 = Color(0xffbad5fc) - val colorBlue600 = Color(0xffa3c6fa) - val colorBlue700 = Color(0xff7eaff6) - val colorBlue800 = Color(0xff4088ee) - val colorBlue900 = Color(0xff0467dd) - val colorBlue1000 = Color(0xff0558c7) - val colorBlue1100 = Color(0xff064ab1) - val colorBlue1200 = Color(0xff043894) - val colorBlue1300 = Color(0xff012478) - val colorBlue1400 = Color(0xff000e65) - val colorPurple100 = Color(0xfffbfbff) - val colorPurple200 = Color(0xfff8f7ff) - val colorPurple300 = Color(0xfff1efff) - val colorPurple400 = Color(0xffe6e2ff) - val colorPurple500 = Color(0xffd4cdff) - val colorPurple600 = Color(0xffc5bbff) - val colorPurple700 = Color(0xffb1a0ff) - val colorPurple800 = Color(0xff9271fd) - val colorPurple900 = Color(0xff7a47f1) - val colorPurple1000 = Color(0xff6b37de) - val colorPurple1100 = Color(0xff5d26cd) - val colorPurple1200 = Color(0xff4c05b5) - val colorPurple1300 = Color(0xff33008d) - val colorPurple1400 = Color(0xff200066) - val colorFuchsia100 = Color(0xfffefafe) - val colorFuchsia200 = Color(0xfffcf5fd) - val colorFuchsia300 = Color(0xfffaeefb) - val colorFuchsia400 = Color(0xfff6dff7) - val colorFuchsia500 = Color(0xffedc6f0) - val colorFuchsia600 = Color(0xffe7b2ea) - val colorFuchsia700 = Color(0xffdb93e1) - val colorFuchsia800 = Color(0xffc85ed1) - val colorFuchsia900 = Color(0xffad33bd) - val colorFuchsia1000 = Color(0xff972aaa) - val colorFuchsia1100 = Color(0xff822198) - val colorFuchsia1200 = Color(0xff671481) - val colorFuchsia1300 = Color(0xff4e0068) - val colorFuchsia1400 = Color(0xff34004c) - val colorPink100 = Color(0xfffffafb) - val colorPink200 = Color(0xfffff5f7) - val colorPink300 = Color(0xffffecf0) - val colorPink400 = Color(0xffffdee5) - val colorPink500 = Color(0xffffc2cf) - val colorPink600 = Color(0xffffadc0) - val colorPink700 = Color(0xffff88a6) - val colorPink800 = Color(0xfff7407d) - val colorPink900 = Color(0xffd20c65) - val colorPink1000 = Color(0xffb80a5b) - val colorPink1100 = Color(0xff9f0850) - val colorPink1200 = Color(0xff7e0642) - val colorPink1300 = Color(0xff5f002b) - val colorPink1400 = Color(0xff430017) + val colorAlphaBlue100 = Color(0x08389cff) + val colorAlphaBlue1000 = Color(0xfc0256c5) + val colorAlphaBlue1100 = Color(0xfa0148b2) + val colorAlphaBlue1200 = Color(0xfc013693) + val colorAlphaBlue1300 = Color(0xff012579) + val colorAlphaBlue1400 = Color(0xff000e66) + val colorAlphaBlue200 = Color(0x0d2474ff) + val colorAlphaBlue300 = Color(0x170a70ff) + val colorAlphaBlue400 = Color(0x290b6af9) + val colorAlphaBlue500 = Color(0x47096cf6) + val colorAlphaBlue600 = Color(0x5e0663ef) + val colorAlphaBlue700 = Color(0x820264ed) + val colorAlphaBlue800 = Color(0xbf0062eb) + val colorAlphaBlue900 = Color(0xfc0165df) + val colorAlphaCyan100 = Color(0x0816bbbb) + val colorAlphaCyan1000 = Color(0xff00649e) + val colorAlphaCyan1100 = Color(0xff00568f) + val colorAlphaCyan1200 = Color(0xff003f75) + val colorAlphaCyan1300 = Color(0xff002c61) + val colorAlphaCyan1400 = Color(0xff001a52) + val colorAlphaCyan200 = Color(0x0f16abbb) + val colorAlphaCyan300 = Color(0x1c00a8c2) + val colorAlphaCyan400 = Color(0x3800aabd) + val colorAlphaCyan500 = Color(0x6605abbd) + val colorAlphaCyan600 = Color(0x8a01aac1) + val colorAlphaCyan700 = Color(0xeb01b7cb) + val colorAlphaCyan800 = Color(0xff0095c2) + val colorAlphaCyan900 = Color(0xff0074ad) + val colorAlphaFuchsia100 = Color(0x05cc05cc) + val colorAlphaFuchsia1000 = Color(0xd6820198) + val colorAlphaFuchsia1100 = Color(0xe073038c) + val colorAlphaFuchsia1200 = Color(0xed5d0279) + val colorAlphaFuchsia1300 = Color(0xff4d0066) + val colorAlphaFuchsia1400 = Color(0xff34004d) + val colorAlphaFuchsia200 = Color(0x0ab505cc) + val colorAlphaFuchsia300 = Color(0x12b60cc6) + val colorAlphaFuchsia400 = Color(0x21bd09c3) + val colorAlphaFuchsia500 = Color(0x3bb407c0) + val colorAlphaFuchsia600 = Color(0x4fb207bb) + val colorAlphaFuchsia700 = Color(0x6eaa04b9) + val colorAlphaFuchsia800 = Color(0xa3ab03ba) + val colorAlphaFuchsia900 = Color(0xcc9900ad) val colorAlphaGray100 = Color(0x0536699b) + val colorAlphaGray1000 = Color(0xa8030c1b) + val colorAlphaGray1100 = Color(0xb5030b16) + val colorAlphaGray1200 = Color(0xc402070d) + val colorAlphaGray1300 = Color(0xd603050c) + val colorAlphaGray1400 = Color(0xe6020408) val colorAlphaGray200 = Color(0x0a366881) val colorAlphaGray300 = Color(0x0f052657) val colorAlphaGray400 = Color(0x1f052e61) @@ -194,26 +86,40 @@ object LightColorTokens { val colorAlphaGray700 = Color(0x59011532) val colorAlphaGray800 = Color(0x8003152b) val colorAlphaGray900 = Color(0x9c031021) - val colorAlphaGray1000 = Color(0xa8030c1b) - val colorAlphaGray1100 = Color(0xb5030b16) - val colorAlphaGray1200 = Color(0xc402070d) - val colorAlphaGray1300 = Color(0xd603050c) - val colorAlphaGray1400 = Color(0xe6020408) - val colorAlphaRed100 = Color(0x08ff5938) - val colorAlphaRed200 = Color(0x0aff391f) - val colorAlphaRed300 = Color(0x14ff3814) - val colorAlphaRed400 = Color(0x26ff2b0a) - val colorAlphaRed500 = Color(0x45ff2605) - val colorAlphaRed600 = Color(0x5cff2205) - val colorAlphaRed700 = Color(0x80ff1a05) - val colorAlphaRed800 = Color(0xc4ff0505) - val colorAlphaRed900 = Color(0xe8cf0213) - val colorAlphaRed1000 = Color(0xf2bb0217) - val colorAlphaRed1100 = Color(0xfca2011c) - val colorAlphaRed1200 = Color(0xff850007) - val colorAlphaRed1300 = Color(0xff610000) - val colorAlphaRed1400 = Color(0xff470000) + val colorAlphaGreen100 = Color(0x0816bb79) + val colorAlphaGreen1000 = Color(0xff006b52) + val colorAlphaGreen1100 = Color(0xff005c45) + val colorAlphaGreen1200 = Color(0xff004732) + val colorAlphaGreen1300 = Color(0xff00331f) + val colorAlphaGreen1400 = Color(0xff002411) + val colorAlphaGreen200 = Color(0x0f16bb69) + val colorAlphaGreen300 = Color(0x1c00b85c) + val colorAlphaGreen400 = Color(0x3b07b661) + val colorAlphaGreen500 = Color(0x6904b96a) + val colorAlphaGreen600 = Color(0x8f01b76e) + val colorAlphaGreen700 = Color(0xf501c18a) + val colorAlphaGreen800 = Color(0xff009975) + val colorAlphaGreen900 = Color(0xff007a62) + val colorAlphaLime100 = Color(0x0a4fcd1d) + val colorAlphaLime1000 = Color(0xff007000) + val colorAlphaLime1100 = Color(0xff006100) + val colorAlphaLime1200 = Color(0xff004d00) + val colorAlphaLime1300 = Color(0xff003800) + val colorAlphaLime1400 = Color(0xff002400) + val colorAlphaLime200 = Color(0x1238d40c) + val colorAlphaLime300 = Color(0x262ecf02) + val colorAlphaLime400 = Color(0x473ace09) + val colorAlphaLime500 = Color(0x8237ca02) + val colorAlphaLime600 = Color(0xb540ce03) + val colorAlphaLime700 = Color(0xdb39bd00) + val colorAlphaLime800 = Color(0xe8209301) + val colorAlphaLime900 = Color(0xf5107902) val colorAlphaOrange100 = Color(0x0aff8138) + val colorAlphaOrange1000 = Color(0xffad3400) + val colorAlphaOrange1100 = Color(0xff992100) + val colorAlphaOrange1200 = Color(0xff850000) + val colorAlphaOrange1300 = Color(0xff610000) + val colorAlphaOrange1400 = Color(0xff470000) val colorAlphaOrange200 = Color(0x12ff7d1a) val colorAlphaOrange300 = Color(0x1cff6c0a) val colorAlphaOrange400 = Color(0x38ff6d05) @@ -222,110 +128,12 @@ object LightColorTokens { val colorAlphaOrange700 = Color(0xbff56e00) val colorAlphaOrange800 = Color(0xffdb6600) val colorAlphaOrange900 = Color(0xffbd4500) - val colorAlphaOrange1000 = Color(0xffad3400) - val colorAlphaOrange1100 = Color(0xff992100) - val colorAlphaOrange1200 = Color(0xff850000) - val colorAlphaOrange1300 = Color(0xff610000) - val colorAlphaOrange1400 = Color(0xff470000) - val colorAlphaYellow100 = Color(0x0fffcd05) - val colorAlphaYellow200 = Color(0x21ffc70f) - val colorAlphaYellow300 = Color(0x40ffc905) - val colorAlphaYellow400 = Color(0x7dffc905) - val colorAlphaYellow500 = Color(0xfffacc00) - val colorAlphaYellow600 = Color(0xfff0bc00) - val colorAlphaYellow700 = Color(0xffe0a500) - val colorAlphaYellow800 = Color(0xffbd7b00) - val colorAlphaYellow900 = Color(0xff9e5a00) - val colorAlphaYellow1000 = Color(0xff8f4c00) - val colorAlphaYellow1100 = Color(0xff804000) - val colorAlphaYellow1200 = Color(0xff6b2e00) - val colorAlphaYellow1300 = Color(0xff571b00) - val colorAlphaYellow1400 = Color(0xff420700) - val colorAlphaLime100 = Color(0x0a4fcd1d) - val colorAlphaLime200 = Color(0x1238d40c) - val colorAlphaLime300 = Color(0x262ecf02) - val colorAlphaLime400 = Color(0x473ace09) - val colorAlphaLime500 = Color(0x8237ca02) - val colorAlphaLime600 = Color(0xb540ce03) - val colorAlphaLime700 = Color(0xdb39bd00) - val colorAlphaLime800 = Color(0xe8209301) - val colorAlphaLime900 = Color(0xf5107902) - val colorAlphaLime1000 = Color(0xff007000) - val colorAlphaLime1100 = Color(0xff006100) - val colorAlphaLime1200 = Color(0xff004d00) - val colorAlphaLime1300 = Color(0xff003800) - val colorAlphaLime1400 = Color(0xff002400) - val colorAlphaGreen100 = Color(0x0816bb79) - val colorAlphaGreen200 = Color(0x0f16bb69) - val colorAlphaGreen300 = Color(0x1c00b85c) - val colorAlphaGreen400 = Color(0x3b07b661) - val colorAlphaGreen500 = Color(0x6904b96a) - val colorAlphaGreen600 = Color(0x8f01b76e) - val colorAlphaGreen700 = Color(0xf501c18a) - val colorAlphaGreen800 = Color(0xff009975) - val colorAlphaGreen900 = Color(0xff007a62) - val colorAlphaGreen1000 = Color(0xff006b52) - val colorAlphaGreen1100 = Color(0xff005c45) - val colorAlphaGreen1200 = Color(0xff004732) - val colorAlphaGreen1300 = Color(0xff00331f) - val colorAlphaGreen1400 = Color(0xff002411) - val colorAlphaCyan100 = Color(0x0816bbbb) - val colorAlphaCyan200 = Color(0x0f16abbb) - val colorAlphaCyan300 = Color(0x1c00a8c2) - val colorAlphaCyan400 = Color(0x3800aabd) - val colorAlphaCyan500 = Color(0x6605abbd) - val colorAlphaCyan600 = Color(0x8a01aac1) - val colorAlphaCyan700 = Color(0xeb01b7cb) - val colorAlphaCyan800 = Color(0xff0095c2) - val colorAlphaCyan900 = Color(0xff0074ad) - val colorAlphaCyan1000 = Color(0xff00649e) - val colorAlphaCyan1100 = Color(0xff00568f) - val colorAlphaCyan1200 = Color(0xff003f75) - val colorAlphaCyan1300 = Color(0xff002c61) - val colorAlphaCyan1400 = Color(0xff001a52) - val colorAlphaBlue100 = Color(0x08389cff) - val colorAlphaBlue200 = Color(0x0d2474ff) - val colorAlphaBlue300 = Color(0x170a70ff) - val colorAlphaBlue400 = Color(0x290b6af9) - val colorAlphaBlue500 = Color(0x47096cf6) - val colorAlphaBlue600 = Color(0x5e0663ef) - val colorAlphaBlue700 = Color(0x820264ed) - val colorAlphaBlue800 = Color(0xbf0062eb) - val colorAlphaBlue900 = Color(0xfc0165df) - val colorAlphaBlue1000 = Color(0xfc0256c5) - val colorAlphaBlue1100 = Color(0xfa0148b2) - val colorAlphaBlue1200 = Color(0xfc013693) - val colorAlphaBlue1300 = Color(0xff012579) - val colorAlphaBlue1400 = Color(0xff000e66) - val colorAlphaPurple100 = Color(0x053838ff) - val colorAlphaPurple200 = Color(0x0a5338ff) - val colorAlphaPurple300 = Color(0x12381aff) - val colorAlphaPurple400 = Color(0x1f2f0fff) - val colorAlphaPurple500 = Color(0x332605ff) - val colorAlphaPurple600 = Color(0x452b05ff) - val colorAlphaPurple700 = Color(0x613305ff) - val colorAlphaPurple800 = Color(0x8f3b01f9) - val colorAlphaPurple900 = Color(0xba4902ed) - val colorAlphaPurple1000 = Color(0xc94502d4) - val colorAlphaPurple1100 = Color(0xdb4303c4) - val colorAlphaPurple1200 = Color(0xfc4a02b6) - val colorAlphaPurple1300 = Color(0xff34008f) - val colorAlphaPurple1400 = Color(0xff200066) - val colorAlphaFuchsia100 = Color(0x05cc05cc) - val colorAlphaFuchsia200 = Color(0x0ab505cc) - val colorAlphaFuchsia300 = Color(0x12b60cc6) - val colorAlphaFuchsia400 = Color(0x21bd09c3) - val colorAlphaFuchsia500 = Color(0x3bb407c0) - val colorAlphaFuchsia600 = Color(0x4fb207bb) - val colorAlphaFuchsia700 = Color(0x6eaa04b9) - val colorAlphaFuchsia800 = Color(0xa3ab03ba) - val colorAlphaFuchsia900 = Color(0xcc9900ad) - val colorAlphaFuchsia1000 = Color(0xd6820198) - val colorAlphaFuchsia1100 = Color(0xe073038c) - val colorAlphaFuchsia1200 = Color(0xed5d0279) - val colorAlphaFuchsia1300 = Color(0xff4d0066) - val colorAlphaFuchsia1400 = Color(0xff34004d) val colorAlphaPink100 = Color(0x05ff0537) + val colorAlphaPink1000 = Color(0xf7b60256) + val colorAlphaPink1100 = Color(0xf79e004c) + val colorAlphaPink1200 = Color(0xfa79013d) + val colorAlphaPink1300 = Color(0xff61002c) + val colorAlphaPink1400 = Color(0xff420017) val colorAlphaPink200 = Color(0x0aff0537) val colorAlphaPink300 = Color(0x14ff1447) val colorAlphaPink400 = Color(0x21ff0037) @@ -334,11 +142,203 @@ object LightColorTokens { val colorAlphaPink700 = Color(0x78ff0040) val colorAlphaPink800 = Color(0xbff50052) val colorAlphaPink900 = Color(0xf5cf025e) - val colorAlphaPink1000 = Color(0xf7b60256) - val colorAlphaPink1100 = Color(0xf79e004c) - val colorAlphaPink1200 = Color(0xfa79013d) - val colorAlphaPink1300 = Color(0xff61002c) - val colorAlphaPink1400 = Color(0xff420017) + val colorAlphaPurple100 = Color(0x053838ff) + val colorAlphaPurple1000 = Color(0xc94502d4) + val colorAlphaPurple1100 = Color(0xdb4303c4) + val colorAlphaPurple1200 = Color(0xfc4a02b6) + val colorAlphaPurple1300 = Color(0xff34008f) + val colorAlphaPurple1400 = Color(0xff200066) + val colorAlphaPurple200 = Color(0x0a5338ff) + val colorAlphaPurple300 = Color(0x12381aff) + val colorAlphaPurple400 = Color(0x1f2f0fff) + val colorAlphaPurple500 = Color(0x332605ff) + val colorAlphaPurple600 = Color(0x452b05ff) + val colorAlphaPurple700 = Color(0x613305ff) + val colorAlphaPurple800 = Color(0x8f3b01f9) + val colorAlphaPurple900 = Color(0xba4902ed) + val colorAlphaRed100 = Color(0x08ff5938) + val colorAlphaRed1000 = Color(0xf2bb0217) + val colorAlphaRed1100 = Color(0xfca2011c) + val colorAlphaRed1200 = Color(0xff850007) + val colorAlphaRed1300 = Color(0xff610000) + val colorAlphaRed1400 = Color(0xff470000) + val colorAlphaRed200 = Color(0x0aff391f) + val colorAlphaRed300 = Color(0x14ff3814) + val colorAlphaRed400 = Color(0x26ff2b0a) + val colorAlphaRed500 = Color(0x45ff2605) + val colorAlphaRed600 = Color(0x5cff2205) + val colorAlphaRed700 = Color(0x80ff1a05) + val colorAlphaRed800 = Color(0xc4ff0505) + val colorAlphaRed900 = Color(0xe8cf0213) + val colorAlphaYellow100 = Color(0x0fffcd05) + val colorAlphaYellow1000 = Color(0xff8f4c00) + val colorAlphaYellow1100 = Color(0xff804000) + val colorAlphaYellow1200 = Color(0xff6b2e00) + val colorAlphaYellow1300 = Color(0xff571b00) + val colorAlphaYellow1400 = Color(0xff420700) + val colorAlphaYellow200 = Color(0x21ffc70f) + val colorAlphaYellow300 = Color(0x40ffc905) + val colorAlphaYellow400 = Color(0x7dffc905) + val colorAlphaYellow500 = Color(0xfffacc00) + val colorAlphaYellow600 = Color(0xfff0bc00) + val colorAlphaYellow700 = Color(0xffe0a500) + val colorAlphaYellow800 = Color(0xffbd7b00) + val colorAlphaYellow900 = Color(0xff9e5a00) val colorBgCanvasDefaultLevel1 = colorThemeBg val colorBgSubtleSecondaryLevel0 = colorGray300 + val colorBlue100 = Color(0xfff9fcff) + val colorBlue1000 = Color(0xff0558c7) + val colorBlue1100 = Color(0xff064ab1) + val colorBlue1200 = Color(0xff043894) + val colorBlue1300 = Color(0xff012478) + val colorBlue1400 = Color(0xff000e65) + val colorBlue200 = Color(0xfff4f8ff) + val colorBlue300 = Color(0xffe9f2ff) + val colorBlue400 = Color(0xffd8e7fe) + val colorBlue500 = Color(0xffbad5fc) + val colorBlue600 = Color(0xffa3c6fa) + val colorBlue700 = Color(0xff7eaff6) + val colorBlue800 = Color(0xff4088ee) + val colorBlue900 = Color(0xff0467dd) + val colorCyan100 = Color(0xfff8fdfd) + val colorCyan1000 = Color(0xff00629c) + val colorCyan1100 = Color(0xff00548c) + val colorCyan1200 = Color(0xff004077) + val colorCyan1300 = Color(0xff002b61) + val colorCyan1400 = Color(0xff00194f) + val colorCyan200 = Color(0xfff1fafb) + val colorCyan300 = Color(0xffe3f5f8) + val colorCyan400 = Color(0xffc7ecf0) + val colorCyan500 = Color(0xff9bdde5) + val colorCyan600 = Color(0xff76d1dd) + val colorCyan700 = Color(0xff15becf) + val colorCyan800 = Color(0xff0094c0) + val colorCyan900 = Color(0xff0072ac) + val colorFuchsia100 = Color(0xfffefafe) + val colorFuchsia1000 = Color(0xff972aaa) + val colorFuchsia1100 = Color(0xff822198) + val colorFuchsia1200 = Color(0xff671481) + val colorFuchsia1300 = Color(0xff4e0068) + val colorFuchsia1400 = Color(0xff34004c) + val colorFuchsia200 = Color(0xfffcf5fd) + val colorFuchsia300 = Color(0xfffaeefb) + val colorFuchsia400 = Color(0xfff6dff7) + val colorFuchsia500 = Color(0xffedc6f0) + val colorFuchsia600 = Color(0xffe7b2ea) + val colorFuchsia700 = Color(0xffdb93e1) + val colorFuchsia800 = Color(0xffc85ed1) + val colorFuchsia900 = Color(0xffad33bd) + val colorGray100 = Color(0xfffbfcfd) + val colorGray1000 = Color(0xff595e67) + val colorGray1100 = Color(0xff4c5158) + val colorGray1200 = Color(0xff3c4045) + val colorGray1300 = Color(0xff2b2d32) + val colorGray1400 = Color(0xff1b1d22) + val colorGray200 = Color(0xfff7f9fa) + val colorGray300 = Color(0xfff0f2f5) + val colorGray400 = Color(0xffe1e6ec) + val colorGray500 = Color(0xffcdd3da) + val colorGray600 = Color(0xffbdc4cc) + val colorGray700 = Color(0xffa6adb7) + val colorGray800 = Color(0xff818a95) + val colorGray900 = Color(0xff656d77) + val colorGreen100 = Color(0xfff8fdfb) + val colorGreen1000 = Color(0xff006b52) + val colorGreen1100 = Color(0xff005c45) + val colorGreen1200 = Color(0xff004933) + val colorGreen1300 = Color(0xff003420) + val colorGreen1400 = Color(0xff002311) + val colorGreen200 = Color(0xfff1fbf6) + val colorGreen300 = Color(0xffe3f7ed) + val colorGreen400 = Color(0xffc6eedb) + val colorGreen500 = Color(0xff98e1c1) + val colorGreen600 = Color(0xff71d7ae) + val colorGreen700 = Color(0xff0bc491) + val colorGreen800 = Color(0xff009b78) + val colorGreen900 = Color(0xff007a61) + val colorLime100 = Color(0xfff8fdf6) + val colorLime1000 = Color(0xff006e00) + val colorLime1100 = Color(0xff005f00) + val colorLime1200 = Color(0xff004b00) + val colorLime1300 = Color(0xff003600) + val colorLime1400 = Color(0xff002400) + val colorLime200 = Color(0xfff1fcee) + val colorLime300 = Color(0xffe0f8d9) + val colorLime400 = Color(0xffc8f1ba) + val colorLime500 = Color(0xff99e57e) + val colorLime600 = Color(0xff76db4c) + val colorLime700 = Color(0xff54c424) + val colorLime800 = Color(0xff359d18) + val colorLime900 = Color(0xff197d0c) + val colorOrange100 = Color(0xfffffaf7) + val colorOrange1000 = Color(0xffac3300) + val colorOrange1100 = Color(0xff9b2200) + val colorOrange1200 = Color(0xff850000) + val colorOrange1300 = Color(0xff620000) + val colorOrange1400 = Color(0xff450000) + val colorOrange200 = Color(0xfffff6ef) + val colorOrange300 = Color(0xffffefe4) + val colorOrange400 = Color(0xffffdfc8) + val colorOrange500 = Color(0xffffc8a1) + val colorOrange600 = Color(0xfffdb37c) + val colorOrange700 = Color(0xfff89440) + val colorOrange800 = Color(0xffdc6700) + val colorOrange900 = Color(0xffbc4500) + val colorPink100 = Color(0xfffffafb) + val colorPink1000 = Color(0xffb80a5b) + val colorPink1100 = Color(0xff9f0850) + val colorPink1200 = Color(0xff7e0642) + val colorPink1300 = Color(0xff5f002b) + val colorPink1400 = Color(0xff430017) + val colorPink200 = Color(0xfffff5f7) + val colorPink300 = Color(0xffffecf0) + val colorPink400 = Color(0xffffdee5) + val colorPink500 = Color(0xffffc2cf) + val colorPink600 = Color(0xffffadc0) + val colorPink700 = Color(0xffff88a6) + val colorPink800 = Color(0xfff7407d) + val colorPink900 = Color(0xffd20c65) + val colorPurple100 = Color(0xfffbfbff) + val colorPurple1000 = Color(0xff6b37de) + val colorPurple1100 = Color(0xff5d26cd) + val colorPurple1200 = Color(0xff4c05b5) + val colorPurple1300 = Color(0xff33008d) + val colorPurple1400 = Color(0xff200066) + val colorPurple200 = Color(0xfff8f7ff) + val colorPurple300 = Color(0xfff1efff) + val colorPurple400 = Color(0xffe6e2ff) + val colorPurple500 = Color(0xffd4cdff) + val colorPurple600 = Color(0xffc5bbff) + val colorPurple700 = Color(0xffb1a0ff) + val colorPurple800 = Color(0xff9271fd) + val colorPurple900 = Color(0xff7a47f1) + val colorRed100 = Color(0xfffffaf9) + val colorRed1000 = Color(0xffbc0f22) + val colorRed1100 = Color(0xffa4041d) + val colorRed1200 = Color(0xff850006) + val colorRed1300 = Color(0xff620000) + val colorRed1400 = Color(0xff450000) + val colorRed200 = Color(0xfffff7f6) + val colorRed300 = Color(0xffffefec) + val colorRed400 = Color(0xffffdfda) + val colorRed500 = Color(0xffffc5bc) + val colorRed600 = Color(0xffffafa5) + val colorRed700 = Color(0xffff8c81) + val colorRed800 = Color(0xffff3d3d) + val colorRed900 = Color(0xffd51928) + val colorThemeBg = Color(0xffffffff) + val colorYellow100 = Color(0xfffffcf0) + val colorYellow1000 = Color(0xff8f4d00) + val colorYellow1100 = Color(0xff803f00) + val colorYellow1200 = Color(0xff692e00) + val colorYellow1300 = Color(0xff541a00) + val colorYellow1400 = Color(0xff410600) + val colorYellow200 = Color(0xfffff8e0) + val colorYellow300 = Color(0xfffff2c1) + val colorYellow400 = Color(0xffffe484) + val colorYellow500 = Color(0xfffbce00) + val colorYellow600 = Color(0xfff1bd00) + val colorYellow700 = Color(0xffdea200) + val colorYellow800 = Color(0xffbe7a00) + val colorYellow900 = Color(0xff9f5b00) } diff --git a/assets/android/src/internal/LightHcColorTokens.kt b/assets/android/src/internal/LightHcColorTokens.kt index 13c21679..371f98e3 100644 --- a/assets/android/src/internal/LightHcColorTokens.kt +++ b/assets/android/src/internal/LightHcColorTokens.kt @@ -30,162 +30,54 @@ import io.element.android.compound.annotations.CoreColorToken @CoreColorToken object LightHcColorTokens { - val colorThemeBg = Color(0xffffffff) - val colorGray100 = Color(0xfff7f9fa) - val colorGray200 = Color(0xfff0f2f5) - val colorGray300 = Color(0xffe1e6ec) - val colorGray400 = Color(0xffd7dce3) - val colorGray500 = Color(0xffbdc4cc) - val colorGray600 = Color(0xffa6adb7) - val colorGray700 = Color(0xff878f9b) - val colorGray800 = Color(0xff6c737e) - val colorGray900 = Color(0xff474a51) - val colorGray1000 = Color(0xff3f4248) - val colorGray1100 = Color(0xff35383d) - val colorGray1200 = Color(0xff2d3034) - val colorGray1300 = Color(0xff1f2126) - val colorGray1400 = Color(0xff1a1c21) - val colorRed100 = Color(0xfffff7f6) - val colorRed200 = Color(0xffffefec) - val colorRed300 = Color(0xffffdfda) - val colorRed400 = Color(0xffffd1ca) - val colorRed500 = Color(0xffffafa5) - val colorRed600 = Color(0xffff8c81) - val colorRed700 = Color(0xffff4e49) - val colorRed800 = Color(0xffe11e2a) - val colorRed900 = Color(0xff99001a) - val colorRed1000 = Color(0xff8b000c) - val colorRed1100 = Color(0xff770000) - val colorRed1200 = Color(0xff670000) - val colorRed1300 = Color(0xff4c0000) - val colorRed1400 = Color(0xff420000) - val colorOrange100 = Color(0xfffff6ef) - val colorOrange200 = Color(0xffffefe4) - val colorOrange300 = Color(0xffffdfc8) - val colorOrange400 = Color(0xffffd4b5) - val colorOrange500 = Color(0xfffdb37c) - val colorOrange600 = Color(0xfff89440) - val colorOrange700 = Color(0xffe26e00) - val colorOrange800 = Color(0xffc44d00) - val colorOrange900 = Color(0xff931700) - val colorOrange1000 = Color(0xff890800) - val colorOrange1100 = Color(0xff770000) - val colorOrange1200 = Color(0xff670000) - val colorOrange1300 = Color(0xff4c0000) - val colorOrange1400 = Color(0xff420000) - val colorYellow100 = Color(0xfffff8e0) - val colorYellow200 = Color(0xfffff2c1) - val colorYellow300 = Color(0xffffe484) - val colorYellow400 = Color(0xffffda49) - val colorYellow500 = Color(0xfff1bd00) - val colorYellow600 = Color(0xffdea200) - val colorYellow700 = Color(0xffc38100) - val colorYellow800 = Color(0xffa76300) - val colorYellow900 = Color(0xff773800) - val colorYellow1000 = Color(0xff6e3100) - val colorYellow1100 = Color(0xff612600) - val colorYellow1200 = Color(0xff571d00) - val colorYellow1300 = Color(0xff450c00) - val colorYellow1400 = Color(0xff3f0500) - val colorLime100 = Color(0xfff1fcee) - val colorLime200 = Color(0xffe0f8d9) - val colorLime300 = Color(0xffc8f1ba) - val colorLime400 = Color(0xffafeb9b) - val colorLime500 = Color(0xff76db4c) - val colorLime600 = Color(0xff54c424) - val colorLime700 = Color(0xff3aa31a) - val colorLime800 = Color(0xff1f850f) - val colorLime900 = Color(0xff005700) - val colorLime1000 = Color(0xff004f00) - val colorLime1100 = Color(0xff004200) - val colorLime1200 = Color(0xff003900) - val colorLime1300 = Color(0xff002900) - val colorLime1400 = Color(0xff002200) - val colorGreen100 = Color(0xfff1fbf6) - val colorGreen200 = Color(0xffe3f7ed) - val colorGreen300 = Color(0xffc6eedb) - val colorGreen400 = Color(0xffafe8ce) - val colorGreen500 = Color(0xff71d7ae) - val colorGreen600 = Color(0xff0bc491) - val colorGreen700 = Color(0xff00a27c) - val colorGreen800 = Color(0xff008268) - val colorGreen900 = Color(0xff00553d) - val colorGreen1000 = Color(0xff004d36) - val colorGreen1100 = Color(0xff00402b) - val colorGreen1200 = Color(0xff003723) - val colorGreen1300 = Color(0xff002715) - val colorGreen1400 = Color(0xff00210f) - val colorCyan100 = Color(0xfff1fafb) - val colorCyan200 = Color(0xffe3f5f8) - val colorCyan300 = Color(0xffc7ecf0) - val colorCyan400 = Color(0xffb1e4eb) - val colorCyan500 = Color(0xff76d1dd) - val colorCyan600 = Color(0xff15becf) - val colorCyan700 = Color(0xff009ac3) - val colorCyan800 = Color(0xff007ab3) - val colorCyan900 = Color(0xff004c84) - val colorCyan1000 = Color(0xff00447b) - val colorCyan1100 = Color(0xff00376e) - val colorCyan1200 = Color(0xff002e64) - val colorCyan1300 = Color(0xff001e53) - val colorCyan1400 = Color(0xff00174d) - val colorBlue100 = Color(0xfff4f8ff) - val colorBlue200 = Color(0xffe9f2ff) - val colorBlue300 = Color(0xffd8e7fe) - val colorBlue400 = Color(0xffc8ddfd) - val colorBlue500 = Color(0xffa3c6fa) - val colorBlue600 = Color(0xff7eaff6) - val colorBlue700 = Color(0xff4a8ef0) - val colorBlue800 = Color(0xff046ee8) - val colorBlue900 = Color(0xff0543a7) - val colorBlue1000 = Color(0xff053b9a) - val colorBlue1100 = Color(0xff043088) - val colorBlue1200 = Color(0xff03277b) - val colorBlue1300 = Color(0xff001569) - val colorBlue1400 = Color(0xff000c63) - val colorPurple100 = Color(0xfff8f7ff) - val colorPurple200 = Color(0xfff1efff) - val colorPurple300 = Color(0xffe6e2ff) - val colorPurple400 = Color(0xffddd8ff) - val colorPurple500 = Color(0xffc5bbff) - val colorPurple600 = Color(0xffb1a0ff) - val colorPurple700 = Color(0xff9778fe) - val colorPurple800 = Color(0xff824ef9) - val colorPurple900 = Color(0xff571cc4) - val colorPurple1000 = Color(0xff4f0dba) - val colorPurple1100 = Color(0xff4200a6) - val colorPurple1200 = Color(0xff360094) - val colorPurple1300 = Color(0xff240070) - val colorPurple1400 = Color(0xff1f0062) - val colorFuchsia100 = Color(0xfffcf5fd) - val colorFuchsia200 = Color(0xfffaeefb) - val colorFuchsia300 = Color(0xfff6dff7) - val colorFuchsia400 = Color(0xfff1d2f3) - val colorFuchsia500 = Color(0xffe7b2ea) - val colorFuchsia600 = Color(0xffdb93e1) - val colorFuchsia700 = Color(0xffcb68d4) - val colorFuchsia800 = Color(0xffb937c6) - val colorFuchsia900 = Color(0xff781c90) - val colorFuchsia1000 = Color(0xff6c1785) - val colorFuchsia1100 = Color(0xff5c0f76) - val colorFuchsia1200 = Color(0xff52026c) - val colorFuchsia1300 = Color(0xff3b0053) - val colorFuchsia1400 = Color(0xff32004a) - val colorPink100 = Color(0xfffff5f7) - val colorPink200 = Color(0xffffecf0) - val colorPink300 = Color(0xffffdee5) - val colorPink400 = Color(0xffffd0da) - val colorPink500 = Color(0xffffadc0) - val colorPink600 = Color(0xffff88a6) - val colorPink700 = Color(0xfff94e84) - val colorPink800 = Color(0xffe00c6a) - val colorPink900 = Color(0xff92084b) - val colorPink1000 = Color(0xff840745) - val colorPink1100 = Color(0xff72003a) - val colorPink1200 = Color(0xff64002f) - val colorPink1300 = Color(0xff4a001c) - val colorPink1400 = Color(0xff410015) + val colorAlphaBlue100 = Color(0x0d2474ff) + val colorAlphaBlue1000 = Color(0xfc023997) + val colorAlphaBlue1100 = Color(0xfc012e89) + val colorAlphaBlue1200 = Color(0xfc00257a) + val colorAlphaBlue1300 = Color(0xff00156b) + val colorAlphaBlue1400 = Color(0xff000b61) + val colorAlphaBlue200 = Color(0x170a70ff) + val colorAlphaBlue300 = Color(0x290b6af9) + val colorAlphaBlue400 = Color(0x380565f5) + val colorAlphaBlue500 = Color(0x5e0663ef) + val colorAlphaBlue600 = Color(0x820264ed) + val colorAlphaBlue700 = Color(0xb50062eb) + val colorAlphaBlue800 = Color(0xfc016ee9) + val colorAlphaBlue900 = Color(0xfc0241a7) + val colorAlphaCyan100 = Color(0x0f16abbb) + val colorAlphaCyan1000 = Color(0xff00437a) + val colorAlphaCyan1100 = Color(0xff003870) + val colorAlphaCyan1200 = Color(0xff003066) + val colorAlphaCyan1300 = Color(0xff001e52) + val colorAlphaCyan1400 = Color(0xff00174d) + val colorAlphaCyan200 = Color(0x1c00a8c2) + val colorAlphaCyan300 = Color(0x3800aabd) + val colorAlphaCyan400 = Color(0x4f03a9bf) + val colorAlphaCyan500 = Color(0x8a01aac1) + val colorAlphaCyan600 = Color(0xeb01b7cb) + val colorAlphaCyan700 = Color(0xff0098c2) + val colorAlphaCyan800 = Color(0xff007ab3) + val colorAlphaCyan900 = Color(0xff004d85) + val colorAlphaFuchsia100 = Color(0x0ab505cc) + val colorAlphaFuchsia1000 = Color(0xe85e007a) + val colorAlphaFuchsia1100 = Color(0xf253026f) + val colorAlphaFuchsia1200 = Color(0xff53026e) + val colorAlphaFuchsia1300 = Color(0xff3a0052) + val colorAlphaFuchsia1400 = Color(0xff34004d) + val colorAlphaFuchsia200 = Color(0x12b60cc6) + val colorAlphaFuchsia300 = Color(0x21bd09c3) + val colorAlphaFuchsia400 = Color(0x2eb105bd) + val colorAlphaFuchsia500 = Color(0x4fb207bb) + val colorAlphaFuchsia600 = Color(0x6eaa04b9) + val colorAlphaFuchsia700 = Color(0x99ab03ba) + val colorAlphaFuchsia800 = Color(0xc9a402b6) + val colorAlphaFuchsia900 = Color(0xe66a0387) val colorAlphaGray100 = Color(0x0a366881) + val colorAlphaGray1000 = Color(0xc202060d) + val colorAlphaGray1100 = Color(0xcc03060c) + val colorAlphaGray1200 = Color(0xd4020509) + val colorAlphaGray1300 = Color(0xe000040a) + val colorAlphaGray1400 = Color(0xe6010309) val colorAlphaGray200 = Color(0x0f052657) val colorAlphaGray300 = Color(0x1f052e61) val colorAlphaGray400 = Color(0x29052551) @@ -194,26 +86,40 @@ object LightHcColorTokens { val colorAlphaGray700 = Color(0x7a05152e) val colorAlphaGray800 = Color(0x94020e22) val colorAlphaGray900 = Color(0xba030711) - val colorAlphaGray1000 = Color(0xc202060d) - val colorAlphaGray1100 = Color(0xcc03060c) - val colorAlphaGray1200 = Color(0xd4020509) - val colorAlphaGray1300 = Color(0xe000040a) - val colorAlphaGray1400 = Color(0xe6010309) - val colorAlphaRed100 = Color(0x0aff391f) - val colorAlphaRed200 = Color(0x14ff3814) - val colorAlphaRed300 = Color(0x26ff2b0a) - val colorAlphaRed400 = Color(0x36ff2605) - val colorAlphaRed500 = Color(0x5cff2205) - val colorAlphaRed600 = Color(0x80ff1a05) - val colorAlphaRed700 = Color(0xb8ff0900) - val colorAlphaRed800 = Color(0xe3de0211) - val colorAlphaRed900 = Color(0xff99001a) - val colorAlphaRed1000 = Color(0xff8a000b) - val colorAlphaRed1100 = Color(0xff750000) - val colorAlphaRed1200 = Color(0xff660000) - val colorAlphaRed1300 = Color(0xff4d0000) - val colorAlphaRed1400 = Color(0xff420000) + val colorAlphaGreen100 = Color(0x0f16bb69) + val colorAlphaGreen1000 = Color(0xff004d36) + val colorAlphaGreen1100 = Color(0xff00422c) + val colorAlphaGreen1200 = Color(0xff003824) + val colorAlphaGreen1300 = Color(0xff002916) + val colorAlphaGreen1400 = Color(0xff002410) + val colorAlphaGreen200 = Color(0x1c00b85c) + val colorAlphaGreen300 = Color(0x3b07b661) + val colorAlphaGreen400 = Color(0x5205b867) + val colorAlphaGreen500 = Color(0x8f01b76e) + val colorAlphaGreen600 = Color(0xf501c18a) + val colorAlphaGreen700 = Color(0xff00a37d) + val colorAlphaGreen800 = Color(0xff00856a) + val colorAlphaGreen900 = Color(0xff00573e) + val colorAlphaLime100 = Color(0x1238d40c) + val colorAlphaLime1000 = Color(0xff005200) + val colorAlphaLime1100 = Color(0xff004200) + val colorAlphaLime1200 = Color(0xff003800) + val colorAlphaLime1300 = Color(0xff002900) + val colorAlphaLime1400 = Color(0xff002400) + val colorAlphaLime200 = Color(0x262ecf02) + val colorAlphaLime300 = Color(0x473ace09) + val colorAlphaLime400 = Color(0x6637cc05) + val colorAlphaLime500 = Color(0xb540ce03) + val colorAlphaLime600 = Color(0xdb39bd00) + val colorAlphaLime700 = Color(0xe6249801) + val colorAlphaLime800 = Color(0xf2127e02) + val colorAlphaLime900 = Color(0xff005700) val colorAlphaOrange100 = Color(0x12ff7d1a) + val colorAlphaOrange1000 = Color(0xff8a0900) + val colorAlphaOrange1100 = Color(0xff750000) + val colorAlphaOrange1200 = Color(0xff660000) + val colorAlphaOrange1300 = Color(0xff4d0000) + val colorAlphaOrange1400 = Color(0xff420000) val colorAlphaOrange200 = Color(0x1cff6c0a) val colorAlphaOrange300 = Color(0x38ff6d05) val colorAlphaOrange400 = Color(0x4dff700a) @@ -222,110 +128,12 @@ object LightHcColorTokens { val colorAlphaOrange700 = Color(0xffe06c00) val colorAlphaOrange800 = Color(0xffc24e00) val colorAlphaOrange900 = Color(0xff941600) - val colorAlphaOrange1000 = Color(0xff8a0900) - val colorAlphaOrange1100 = Color(0xff750000) - val colorAlphaOrange1200 = Color(0xff660000) - val colorAlphaOrange1300 = Color(0xff4d0000) - val colorAlphaOrange1400 = Color(0xff420000) - val colorAlphaYellow100 = Color(0x21ffc70f) - val colorAlphaYellow200 = Color(0x40ffc905) - val colorAlphaYellow300 = Color(0x7dffc905) - val colorAlphaYellow400 = Color(0xb8ffcc00) - val colorAlphaYellow500 = Color(0xfff0bc00) - val colorAlphaYellow600 = Color(0xffe0a500) - val colorAlphaYellow700 = Color(0xffc28100) - val colorAlphaYellow800 = Color(0xffa86500) - val colorAlphaYellow900 = Color(0xff753700) - val colorAlphaYellow1000 = Color(0xff703200) - val colorAlphaYellow1100 = Color(0xff612700) - val colorAlphaYellow1200 = Color(0xff571d00) - val colorAlphaYellow1300 = Color(0xff470c00) - val colorAlphaYellow1400 = Color(0xff3d0500) - val colorAlphaLime100 = Color(0x1238d40c) - val colorAlphaLime200 = Color(0x262ecf02) - val colorAlphaLime300 = Color(0x473ace09) - val colorAlphaLime400 = Color(0x6637cc05) - val colorAlphaLime500 = Color(0xb540ce03) - val colorAlphaLime600 = Color(0xdb39bd00) - val colorAlphaLime700 = Color(0xe6249801) - val colorAlphaLime800 = Color(0xf2127e02) - val colorAlphaLime900 = Color(0xff005700) - val colorAlphaLime1000 = Color(0xff005200) - val colorAlphaLime1100 = Color(0xff004200) - val colorAlphaLime1200 = Color(0xff003800) - val colorAlphaLime1300 = Color(0xff002900) - val colorAlphaLime1400 = Color(0xff002400) - val colorAlphaGreen100 = Color(0x0f16bb69) - val colorAlphaGreen200 = Color(0x1c00b85c) - val colorAlphaGreen300 = Color(0x3b07b661) - val colorAlphaGreen400 = Color(0x5205b867) - val colorAlphaGreen500 = Color(0x8f01b76e) - val colorAlphaGreen600 = Color(0xf501c18a) - val colorAlphaGreen700 = Color(0xff00a37d) - val colorAlphaGreen800 = Color(0xff00856a) - val colorAlphaGreen900 = Color(0xff00573e) - val colorAlphaGreen1000 = Color(0xff004d36) - val colorAlphaGreen1100 = Color(0xff00422c) - val colorAlphaGreen1200 = Color(0xff003824) - val colorAlphaGreen1300 = Color(0xff002916) - val colorAlphaGreen1400 = Color(0xff002410) - val colorAlphaCyan100 = Color(0x0f16abbb) - val colorAlphaCyan200 = Color(0x1c00a8c2) - val colorAlphaCyan300 = Color(0x3800aabd) - val colorAlphaCyan400 = Color(0x4f03a9bf) - val colorAlphaCyan500 = Color(0x8a01aac1) - val colorAlphaCyan600 = Color(0xeb01b7cb) - val colorAlphaCyan700 = Color(0xff0098c2) - val colorAlphaCyan800 = Color(0xff007ab3) - val colorAlphaCyan900 = Color(0xff004d85) - val colorAlphaCyan1000 = Color(0xff00437a) - val colorAlphaCyan1100 = Color(0xff003870) - val colorAlphaCyan1200 = Color(0xff003066) - val colorAlphaCyan1300 = Color(0xff001e52) - val colorAlphaCyan1400 = Color(0xff00174d) - val colorAlphaBlue100 = Color(0x0d2474ff) - val colorAlphaBlue200 = Color(0x170a70ff) - val colorAlphaBlue300 = Color(0x290b6af9) - val colorAlphaBlue400 = Color(0x380565f5) - val colorAlphaBlue500 = Color(0x5e0663ef) - val colorAlphaBlue600 = Color(0x820264ed) - val colorAlphaBlue700 = Color(0xb50062eb) - val colorAlphaBlue800 = Color(0xfc016ee9) - val colorAlphaBlue900 = Color(0xfc0241a7) - val colorAlphaBlue1000 = Color(0xfc023997) - val colorAlphaBlue1100 = Color(0xfc012e89) - val colorAlphaBlue1200 = Color(0xfc00257a) - val colorAlphaBlue1300 = Color(0xff00156b) - val colorAlphaBlue1400 = Color(0xff000b61) - val colorAlphaPurple100 = Color(0x0a5338ff) - val colorAlphaPurple200 = Color(0x12381aff) - val colorAlphaPurple300 = Color(0x1f2f0fff) - val colorAlphaPurple400 = Color(0x292b0aff) - val colorAlphaPurple500 = Color(0x452b05ff) - val colorAlphaPurple600 = Color(0x613305ff) - val colorAlphaPurple700 = Color(0x873c00ff) - val colorAlphaPurple800 = Color(0xb34c02f7) - val colorAlphaPurple900 = Color(0xe64503bf) - val colorAlphaPurple1000 = Color(0xf24600b8) - val colorAlphaPurple1100 = Color(0xff4300a8) - val colorAlphaPurple1200 = Color(0xff360094) - val colorAlphaPurple1300 = Color(0xff240070) - val colorAlphaPurple1400 = Color(0xff1f0061) - val colorAlphaFuchsia100 = Color(0x0ab505cc) - val colorAlphaFuchsia200 = Color(0x12b60cc6) - val colorAlphaFuchsia300 = Color(0x21bd09c3) - val colorAlphaFuchsia400 = Color(0x2eb105bd) - val colorAlphaFuchsia500 = Color(0x4fb207bb) - val colorAlphaFuchsia600 = Color(0x6eaa04b9) - val colorAlphaFuchsia700 = Color(0x99ab03ba) - val colorAlphaFuchsia800 = Color(0xc9a402b6) - val colorAlphaFuchsia900 = Color(0xe66a0387) - val colorAlphaFuchsia1000 = Color(0xe85e007a) - val colorAlphaFuchsia1100 = Color(0xf253026f) - val colorAlphaFuchsia1200 = Color(0xff53026e) - val colorAlphaFuchsia1300 = Color(0xff3a0052) - val colorAlphaFuchsia1400 = Color(0xff34004d) val colorAlphaPink100 = Color(0x0aff0537) + val colorAlphaPink1000 = Color(0xfa830242) + val colorAlphaPink1100 = Color(0xff70003a) + val colorAlphaPink1200 = Color(0xff660030) + val colorAlphaPink1300 = Color(0xff4d001d) + val colorAlphaPink1400 = Color(0xff420015) val colorAlphaPink200 = Color(0x14ff1447) val colorAlphaPink300 = Color(0x21ff0037) val colorAlphaPink400 = Color(0x30ff0a3f) @@ -334,11 +142,203 @@ object LightHcColorTokens { val colorAlphaPink700 = Color(0xb3f70250) val colorAlphaPink800 = Color(0xf5de0265) val colorAlphaPink900 = Color(0xf78f0045) - val colorAlphaPink1000 = Color(0xfa830242) - val colorAlphaPink1100 = Color(0xff70003a) - val colorAlphaPink1200 = Color(0xff660030) - val colorAlphaPink1300 = Color(0xff4d001d) - val colorAlphaPink1400 = Color(0xff420015) + val colorAlphaPurple100 = Color(0x0a5338ff) + val colorAlphaPurple1000 = Color(0xf24600b8) + val colorAlphaPurple1100 = Color(0xff4300a8) + val colorAlphaPurple1200 = Color(0xff360094) + val colorAlphaPurple1300 = Color(0xff240070) + val colorAlphaPurple1400 = Color(0xff1f0061) + val colorAlphaPurple200 = Color(0x12381aff) + val colorAlphaPurple300 = Color(0x1f2f0fff) + val colorAlphaPurple400 = Color(0x292b0aff) + val colorAlphaPurple500 = Color(0x452b05ff) + val colorAlphaPurple600 = Color(0x613305ff) + val colorAlphaPurple700 = Color(0x873c00ff) + val colorAlphaPurple800 = Color(0xb34c02f7) + val colorAlphaPurple900 = Color(0xe64503bf) + val colorAlphaRed100 = Color(0x0aff391f) + val colorAlphaRed1000 = Color(0xff8a000b) + val colorAlphaRed1100 = Color(0xff750000) + val colorAlphaRed1200 = Color(0xff660000) + val colorAlphaRed1300 = Color(0xff4d0000) + val colorAlphaRed1400 = Color(0xff420000) + val colorAlphaRed200 = Color(0x14ff3814) + val colorAlphaRed300 = Color(0x26ff2b0a) + val colorAlphaRed400 = Color(0x36ff2605) + val colorAlphaRed500 = Color(0x5cff2205) + val colorAlphaRed600 = Color(0x80ff1a05) + val colorAlphaRed700 = Color(0xb8ff0900) + val colorAlphaRed800 = Color(0xe3de0211) + val colorAlphaRed900 = Color(0xff99001a) + val colorAlphaYellow100 = Color(0x21ffc70f) + val colorAlphaYellow1000 = Color(0xff703200) + val colorAlphaYellow1100 = Color(0xff612700) + val colorAlphaYellow1200 = Color(0xff571d00) + val colorAlphaYellow1300 = Color(0xff470c00) + val colorAlphaYellow1400 = Color(0xff3d0500) + val colorAlphaYellow200 = Color(0x40ffc905) + val colorAlphaYellow300 = Color(0x7dffc905) + val colorAlphaYellow400 = Color(0xb8ffcc00) + val colorAlphaYellow500 = Color(0xfff0bc00) + val colorAlphaYellow600 = Color(0xffe0a500) + val colorAlphaYellow700 = Color(0xffc28100) + val colorAlphaYellow800 = Color(0xffa86500) + val colorAlphaYellow900 = Color(0xff753700) val colorBgCanvasDefaultLevel1 = colorThemeBg val colorBgSubtleSecondaryLevel0 = colorGray300 + val colorBlue100 = Color(0xfff4f8ff) + val colorBlue1000 = Color(0xff053b9a) + val colorBlue1100 = Color(0xff043088) + val colorBlue1200 = Color(0xff03277b) + val colorBlue1300 = Color(0xff001569) + val colorBlue1400 = Color(0xff000c63) + val colorBlue200 = Color(0xffe9f2ff) + val colorBlue300 = Color(0xffd8e7fe) + val colorBlue400 = Color(0xffc8ddfd) + val colorBlue500 = Color(0xffa3c6fa) + val colorBlue600 = Color(0xff7eaff6) + val colorBlue700 = Color(0xff4a8ef0) + val colorBlue800 = Color(0xff046ee8) + val colorBlue900 = Color(0xff0543a7) + val colorCyan100 = Color(0xfff1fafb) + val colorCyan1000 = Color(0xff00447b) + val colorCyan1100 = Color(0xff00376e) + val colorCyan1200 = Color(0xff002e64) + val colorCyan1300 = Color(0xff001e53) + val colorCyan1400 = Color(0xff00174d) + val colorCyan200 = Color(0xffe3f5f8) + val colorCyan300 = Color(0xffc7ecf0) + val colorCyan400 = Color(0xffb1e4eb) + val colorCyan500 = Color(0xff76d1dd) + val colorCyan600 = Color(0xff15becf) + val colorCyan700 = Color(0xff009ac3) + val colorCyan800 = Color(0xff007ab3) + val colorCyan900 = Color(0xff004c84) + val colorFuchsia100 = Color(0xfffcf5fd) + val colorFuchsia1000 = Color(0xff6c1785) + val colorFuchsia1100 = Color(0xff5c0f76) + val colorFuchsia1200 = Color(0xff52026c) + val colorFuchsia1300 = Color(0xff3b0053) + val colorFuchsia1400 = Color(0xff32004a) + val colorFuchsia200 = Color(0xfffaeefb) + val colorFuchsia300 = Color(0xfff6dff7) + val colorFuchsia400 = Color(0xfff1d2f3) + val colorFuchsia500 = Color(0xffe7b2ea) + val colorFuchsia600 = Color(0xffdb93e1) + val colorFuchsia700 = Color(0xffcb68d4) + val colorFuchsia800 = Color(0xffb937c6) + val colorFuchsia900 = Color(0xff781c90) + val colorGray100 = Color(0xfff7f9fa) + val colorGray1000 = Color(0xff3f4248) + val colorGray1100 = Color(0xff35383d) + val colorGray1200 = Color(0xff2d3034) + val colorGray1300 = Color(0xff1f2126) + val colorGray1400 = Color(0xff1a1c21) + val colorGray200 = Color(0xfff0f2f5) + val colorGray300 = Color(0xffe1e6ec) + val colorGray400 = Color(0xffd7dce3) + val colorGray500 = Color(0xffbdc4cc) + val colorGray600 = Color(0xffa6adb7) + val colorGray700 = Color(0xff878f9b) + val colorGray800 = Color(0xff6c737e) + val colorGray900 = Color(0xff474a51) + val colorGreen100 = Color(0xfff1fbf6) + val colorGreen1000 = Color(0xff004d36) + val colorGreen1100 = Color(0xff00402b) + val colorGreen1200 = Color(0xff003723) + val colorGreen1300 = Color(0xff002715) + val colorGreen1400 = Color(0xff00210f) + val colorGreen200 = Color(0xffe3f7ed) + val colorGreen300 = Color(0xffc6eedb) + val colorGreen400 = Color(0xffafe8ce) + val colorGreen500 = Color(0xff71d7ae) + val colorGreen600 = Color(0xff0bc491) + val colorGreen700 = Color(0xff00a27c) + val colorGreen800 = Color(0xff008268) + val colorGreen900 = Color(0xff00553d) + val colorLime100 = Color(0xfff1fcee) + val colorLime1000 = Color(0xff004f00) + val colorLime1100 = Color(0xff004200) + val colorLime1200 = Color(0xff003900) + val colorLime1300 = Color(0xff002900) + val colorLime1400 = Color(0xff002200) + val colorLime200 = Color(0xffe0f8d9) + val colorLime300 = Color(0xffc8f1ba) + val colorLime400 = Color(0xffafeb9b) + val colorLime500 = Color(0xff76db4c) + val colorLime600 = Color(0xff54c424) + val colorLime700 = Color(0xff3aa31a) + val colorLime800 = Color(0xff1f850f) + val colorLime900 = Color(0xff005700) + val colorOrange100 = Color(0xfffff6ef) + val colorOrange1000 = Color(0xff890800) + val colorOrange1100 = Color(0xff770000) + val colorOrange1200 = Color(0xff670000) + val colorOrange1300 = Color(0xff4c0000) + val colorOrange1400 = Color(0xff420000) + val colorOrange200 = Color(0xffffefe4) + val colorOrange300 = Color(0xffffdfc8) + val colorOrange400 = Color(0xffffd4b5) + val colorOrange500 = Color(0xfffdb37c) + val colorOrange600 = Color(0xfff89440) + val colorOrange700 = Color(0xffe26e00) + val colorOrange800 = Color(0xffc44d00) + val colorOrange900 = Color(0xff931700) + val colorPink100 = Color(0xfffff5f7) + val colorPink1000 = Color(0xff840745) + val colorPink1100 = Color(0xff72003a) + val colorPink1200 = Color(0xff64002f) + val colorPink1300 = Color(0xff4a001c) + val colorPink1400 = Color(0xff410015) + val colorPink200 = Color(0xffffecf0) + val colorPink300 = Color(0xffffdee5) + val colorPink400 = Color(0xffffd0da) + val colorPink500 = Color(0xffffadc0) + val colorPink600 = Color(0xffff88a6) + val colorPink700 = Color(0xfff94e84) + val colorPink800 = Color(0xffe00c6a) + val colorPink900 = Color(0xff92084b) + val colorPurple100 = Color(0xfff8f7ff) + val colorPurple1000 = Color(0xff4f0dba) + val colorPurple1100 = Color(0xff4200a6) + val colorPurple1200 = Color(0xff360094) + val colorPurple1300 = Color(0xff240070) + val colorPurple1400 = Color(0xff1f0062) + val colorPurple200 = Color(0xfff1efff) + val colorPurple300 = Color(0xffe6e2ff) + val colorPurple400 = Color(0xffddd8ff) + val colorPurple500 = Color(0xffc5bbff) + val colorPurple600 = Color(0xffb1a0ff) + val colorPurple700 = Color(0xff9778fe) + val colorPurple800 = Color(0xff824ef9) + val colorPurple900 = Color(0xff571cc4) + val colorRed100 = Color(0xfffff7f6) + val colorRed1000 = Color(0xff8b000c) + val colorRed1100 = Color(0xff770000) + val colorRed1200 = Color(0xff670000) + val colorRed1300 = Color(0xff4c0000) + val colorRed1400 = Color(0xff420000) + val colorRed200 = Color(0xffffefec) + val colorRed300 = Color(0xffffdfda) + val colorRed400 = Color(0xffffd1ca) + val colorRed500 = Color(0xffffafa5) + val colorRed600 = Color(0xffff8c81) + val colorRed700 = Color(0xffff4e49) + val colorRed800 = Color(0xffe11e2a) + val colorRed900 = Color(0xff99001a) + val colorThemeBg = Color(0xffffffff) + val colorYellow100 = Color(0xfffff8e0) + val colorYellow1000 = Color(0xff6e3100) + val colorYellow1100 = Color(0xff612600) + val colorYellow1200 = Color(0xff571d00) + val colorYellow1300 = Color(0xff450c00) + val colorYellow1400 = Color(0xff3f0500) + val colorYellow200 = Color(0xfffff2c1) + val colorYellow300 = Color(0xffffe484) + val colorYellow400 = Color(0xffffda49) + val colorYellow500 = Color(0xfff1bd00) + val colorYellow600 = Color(0xffdea200) + val colorYellow700 = Color(0xffc38100) + val colorYellow800 = Color(0xffa76300) + val colorYellow900 = Color(0xff773800) } diff --git a/assets/ios/swift/CompoundColorTokens.swift b/assets/ios/swift/CompoundColorTokens.swift index 7c207c9d..27e24e21 100644 --- a/assets/ios/swift/CompoundColorTokens.swift +++ b/assets/ios/swift/CompoundColorTokens.swift @@ -6,72 +6,72 @@ import SwiftUI public class CompoundColorTokens { - public let iconOnSolidPrimary = CompoundCoreColorTokens.themeBg - public let iconInfoPrimary = CompoundCoreColorTokens.blue900 - public let iconSuccessPrimary = CompoundCoreColorTokens.green900 - public let iconCriticalPrimary = CompoundCoreColorTokens.red900 - public let iconAccentPrimary = CompoundCoreColorTokens.green900 - public let iconAccentTertiary = CompoundCoreColorTokens.green800 - public let iconQuaternaryAlpha = CompoundCoreColorTokens.alphaGray700 - public let iconTertiaryAlpha = CompoundCoreColorTokens.alphaGray800 - public let iconSecondaryAlpha = CompoundCoreColorTokens.alphaGray900 - public let iconPrimaryAlpha = CompoundCoreColorTokens.alphaGray1400 - public let iconDisabled = CompoundCoreColorTokens.gray700 - public let iconQuaternary = CompoundCoreColorTokens.gray700 - public let iconTertiary = CompoundCoreColorTokens.gray800 - public let iconSecondary = CompoundCoreColorTokens.gray900 - public let iconPrimary = CompoundCoreColorTokens.gray1400 - public let borderInfoSubtle = CompoundCoreColorTokens.blue500 - public let borderSuccessSubtle = CompoundCoreColorTokens.green500 - public let borderCriticalSubtle = CompoundCoreColorTokens.red500 - public let borderCriticalHovered = CompoundCoreColorTokens.red1000 - public let borderCriticalPrimary = CompoundCoreColorTokens.red900 - public let borderInteractiveHovered = CompoundCoreColorTokens.gray1100 - public let borderInteractiveSecondary = CompoundCoreColorTokens.gray600 - public let borderInteractivePrimary = CompoundCoreColorTokens.gray800 - public let borderFocused = CompoundCoreColorTokens.blue900 - public let borderDisabled = CompoundCoreColorTokens.gray500 - public let bgAccentPressed = CompoundCoreColorTokens.green1100 public let bgAccentHovered = CompoundCoreColorTokens.green1000 + public let bgAccentPressed = CompoundCoreColorTokens.green1100 public let bgAccentRest = CompoundCoreColorTokens.green900 - public let bgDecorative6 = CompoundCoreColorTokens.orange300 - public let bgDecorative5 = CompoundCoreColorTokens.pink300 - public let bgDecorative4 = CompoundCoreColorTokens.purple300 - public let bgDecorative3 = CompoundCoreColorTokens.fuchsia300 - public let bgDecorative2 = CompoundCoreColorTokens.cyan300 - public let bgDecorative1 = CompoundCoreColorTokens.lime300 - public let bgInfoSubtle = CompoundCoreColorTokens.blue200 - public let bgSuccessSubtle = CompoundCoreColorTokens.green200 - public let bgCriticalSubtleHovered = CompoundCoreColorTokens.red300 - public let bgCriticalSubtle = CompoundCoreColorTokens.red200 - public let bgCriticalHovered = CompoundCoreColorTokens.red1000 - public let bgCriticalPrimary = CompoundCoreColorTokens.red900 - public let bgActionSecondaryPressed = CompoundCoreColorTokens.alphaGray300 - public let bgActionSecondaryHovered = CompoundCoreColorTokens.alphaGray200 - public let bgActionSecondaryRest = CompoundCoreColorTokens.themeBg public let bgActionPrimaryDisabled = CompoundCoreColorTokens.gray700 - public let bgActionPrimaryPressed = CompoundCoreColorTokens.gray1100 public let bgActionPrimaryHovered = CompoundCoreColorTokens.gray1200 + public let bgActionPrimaryPressed = CompoundCoreColorTokens.gray1100 public let bgActionPrimaryRest = CompoundCoreColorTokens.gray1400 - public let bgCanvasDisabled = CompoundCoreColorTokens.gray200 + public let bgActionSecondaryHovered = CompoundCoreColorTokens.alphaGray200 + public let bgActionSecondaryPressed = CompoundCoreColorTokens.alphaGray300 + public let bgActionSecondaryRest = CompoundCoreColorTokens.themeBg public let bgCanvasDefault = CompoundCoreColorTokens.themeBg - public let bgSubtleSecondary = CompoundCoreColorTokens.gray300 + public let bgCanvasDisabled = CompoundCoreColorTokens.gray200 + public let bgCriticalHovered = CompoundCoreColorTokens.red1000 + public let bgCriticalPrimary = CompoundCoreColorTokens.red900 + public let bgCriticalSubtle = CompoundCoreColorTokens.red200 + public let bgCriticalSubtleHovered = CompoundCoreColorTokens.red300 + public let bgDecorative1 = CompoundCoreColorTokens.lime300 + public let bgDecorative2 = CompoundCoreColorTokens.cyan300 + public let bgDecorative3 = CompoundCoreColorTokens.fuchsia300 + public let bgDecorative4 = CompoundCoreColorTokens.purple300 + public let bgDecorative5 = CompoundCoreColorTokens.pink300 + public let bgDecorative6 = CompoundCoreColorTokens.orange300 + public let bgInfoSubtle = CompoundCoreColorTokens.blue200 public let bgSubtlePrimary = CompoundCoreColorTokens.gray400 - public let textDecorative6 = CompoundCoreColorTokens.orange1100 - public let textDecorative5 = CompoundCoreColorTokens.pink1100 - public let textDecorative4 = CompoundCoreColorTokens.purple1100 - public let textDecorative3 = CompoundCoreColorTokens.fuchsia1100 - public let textDecorative2 = CompoundCoreColorTokens.cyan1100 - public let textDecorative1 = CompoundCoreColorTokens.lime1100 - public let textOnSolidPrimary = CompoundCoreColorTokens.themeBg - public let textInfoPrimary = CompoundCoreColorTokens.blue900 - public let textSuccessPrimary = CompoundCoreColorTokens.green900 - public let textCriticalPrimary = CompoundCoreColorTokens.red900 - public let textLinkExternal = CompoundCoreColorTokens.blue900 + public let bgSubtleSecondary = CompoundCoreColorTokens.gray300 + public let bgSuccessSubtle = CompoundCoreColorTokens.green200 + public let borderCriticalHovered = CompoundCoreColorTokens.red1000 + public let borderCriticalPrimary = CompoundCoreColorTokens.red900 + public let borderCriticalSubtle = CompoundCoreColorTokens.red500 + public let borderDisabled = CompoundCoreColorTokens.gray500 + public let borderFocused = CompoundCoreColorTokens.blue900 + public let borderInfoSubtle = CompoundCoreColorTokens.blue500 + public let borderInteractiveHovered = CompoundCoreColorTokens.gray1100 + public let borderInteractivePrimary = CompoundCoreColorTokens.gray800 + public let borderInteractiveSecondary = CompoundCoreColorTokens.gray600 + public let borderSuccessSubtle = CompoundCoreColorTokens.green500 + public let iconAccentPrimary = CompoundCoreColorTokens.green900 + public let iconAccentTertiary = CompoundCoreColorTokens.green800 + public let iconCriticalPrimary = CompoundCoreColorTokens.red900 + public let iconDisabled = CompoundCoreColorTokens.gray700 + public let iconInfoPrimary = CompoundCoreColorTokens.blue900 + public let iconOnSolidPrimary = CompoundCoreColorTokens.themeBg + public let iconPrimary = CompoundCoreColorTokens.gray1400 + public let iconPrimaryAlpha = CompoundCoreColorTokens.alphaGray1400 + public let iconQuaternary = CompoundCoreColorTokens.gray700 + public let iconQuaternaryAlpha = CompoundCoreColorTokens.alphaGray700 + public let iconSecondary = CompoundCoreColorTokens.gray900 + public let iconSecondaryAlpha = CompoundCoreColorTokens.alphaGray900 + public let iconSuccessPrimary = CompoundCoreColorTokens.green900 + public let iconTertiary = CompoundCoreColorTokens.gray800 + public let iconTertiaryAlpha = CompoundCoreColorTokens.alphaGray800 public let textActionAccent = CompoundCoreColorTokens.green900 public let textActionPrimary = CompoundCoreColorTokens.gray1400 + public let textCriticalPrimary = CompoundCoreColorTokens.red900 + public let textDecorative1 = CompoundCoreColorTokens.lime1100 + public let textDecorative2 = CompoundCoreColorTokens.cyan1100 + public let textDecorative3 = CompoundCoreColorTokens.fuchsia1100 + public let textDecorative4 = CompoundCoreColorTokens.purple1100 + public let textDecorative5 = CompoundCoreColorTokens.pink1100 + public let textDecorative6 = CompoundCoreColorTokens.orange1100 public let textDisabled = CompoundCoreColorTokens.gray800 - public let textSecondary = CompoundCoreColorTokens.gray900 + public let textInfoPrimary = CompoundCoreColorTokens.blue900 + public let textLinkExternal = CompoundCoreColorTokens.blue900 + public let textOnSolidPrimary = CompoundCoreColorTokens.themeBg public let textPrimary = CompoundCoreColorTokens.gray1400 + public let textSecondary = CompoundCoreColorTokens.gray900 + public let textSuccessPrimary = CompoundCoreColorTokens.green900 public init() { } } diff --git a/assets/ios/swift/CompoundIcons.swift b/assets/ios/swift/CompoundIcons.swift index 22cba674..0f0966f8 100644 --- a/assets/ios/swift/CompoundIcons.swift +++ b/assets/ios/swift/CompoundIcons.swift @@ -6,35 +6,36 @@ import SwiftUI public class CompoundIcons { + public let `public` = Image("public", bundle: Bundle.module) public let admin = Image("admin", bundle: Bundle.module) public let arrowDown = Image("arrowDown", bundle: Bundle.module) public let arrowLeft = Image("arrowLeft", bundle: Bundle.module) public let arrowRight = Image("arrowRight", bundle: Bundle.module) - public let arrowUpRight = Image("arrowUpRight", bundle: Bundle.module) public let arrowUp = Image("arrowUp", bundle: Bundle.module) - public let askToJoinSolid = Image("askToJoinSolid", bundle: Bundle.module) + public let arrowUpRight = Image("arrowUpRight", bundle: Bundle.module) public let askToJoin = Image("askToJoin", bundle: Bundle.module) + public let askToJoinSolid = Image("askToJoinSolid", bundle: Bundle.module) public let attachment = Image("attachment", bundle: Bundle.module) public let block = Image("block", bundle: Bundle.module) public let bold = Image("bold", bundle: Bundle.module) public let calendar = Image("calendar", bundle: Bundle.module) public let chart = Image("chart", bundle: Bundle.module) + public let chat = Image("chat", bundle: Bundle.module) public let chatNew = Image("chatNew", bundle: Bundle.module) public let chatProblem = Image("chatProblem", bundle: Bundle.module) public let chatSolid = Image("chatSolid", bundle: Bundle.module) - public let chat = Image("chat", bundle: Bundle.module) - public let checkCircleSolid = Image("checkCircleSolid", bundle: Bundle.module) - public let checkCircle = Image("checkCircle", bundle: Bundle.module) public let check = Image("check", bundle: Bundle.module) + public let checkCircle = Image("checkCircle", bundle: Bundle.module) + public let checkCircleSolid = Image("checkCircleSolid", bundle: Bundle.module) public let chevronDown = Image("chevronDown", bundle: Bundle.module) public let chevronLeft = Image("chevronLeft", bundle: Bundle.module) public let chevronRight = Image("chevronRight", bundle: Bundle.module) - public let chevronUpDown = Image("chevronUpDown", bundle: Bundle.module) public let chevronUp = Image("chevronUp", bundle: Bundle.module) + public let chevronUpDown = Image("chevronUpDown", bundle: Bundle.module) public let circle = Image("circle", bundle: Bundle.module) public let close = Image("close", bundle: Bundle.module) - public let cloudSolid = Image("cloudSolid", bundle: Bundle.module) public let cloud = Image("cloud", bundle: Bundle.module) + public let cloudSolid = Image("cloudSolid", bundle: Bundle.module) public let code = Image("code", bundle: Bundle.module) public let collapse = Image("collapse", bundle: Bundle.module) public let company = Image("company", bundle: Bundle.module) @@ -48,43 +49,43 @@ public class CompoundIcons { public let download = Image("download", bundle: Bundle.module) public let dragGrid = Image("dragGrid", bundle: Bundle.module) public let dragList = Image("dragList", bundle: Bundle.module) - public let editSolid = Image("editSolid", bundle: Bundle.module) public let edit = Image("edit", bundle: Bundle.module) - public let emailSolid = Image("emailSolid", bundle: Bundle.module) + public let editSolid = Image("editSolid", bundle: Bundle.module) public let email = Image("email", bundle: Bundle.module) + public let emailSolid = Image("emailSolid", bundle: Bundle.module) public let endCall = Image("endCall", bundle: Bundle.module) public let error = Image("error", bundle: Bundle.module) public let expand = Image("expand", bundle: Bundle.module) public let explore = Image("explore", bundle: Bundle.module) public let exportArchive = Image("exportArchive", bundle: Bundle.module) - public let extensionsSolid = Image("extensionsSolid", bundle: Bundle.module) public let extensions = Image("extensions", bundle: Bundle.module) - public let favouriteSolid = Image("favouriteSolid", bundle: Bundle.module) + public let extensionsSolid = Image("extensionsSolid", bundle: Bundle.module) public let favourite = Image("favourite", bundle: Bundle.module) + public let favouriteSolid = Image("favouriteSolid", bundle: Bundle.module) public let fileError = Image("fileError", bundle: Bundle.module) public let files = Image("files", bundle: Bundle.module) public let filter = Image("filter", bundle: Bundle.module) public let forward = Image("forward", bundle: Bundle.module) public let grid = Image("grid", bundle: Bundle.module) public let group = Image("group", bundle: Bundle.module) - public let helpSolid = Image("helpSolid", bundle: Bundle.module) public let help = Image("help", bundle: Bundle.module) + public let helpSolid = Image("helpSolid", bundle: Bundle.module) public let history = Image("history", bundle: Bundle.module) - public let homeSolid = Image("homeSolid", bundle: Bundle.module) public let home = Image("home", bundle: Bundle.module) + public let homeSolid = Image("homeSolid", bundle: Bundle.module) public let host = Image("host", bundle: Bundle.module) - public let imageError = Image("imageError", bundle: Bundle.module) public let image = Image("image", bundle: Bundle.module) + public let imageError = Image("imageError", bundle: Bundle.module) public let indentDecrease = Image("indentDecrease", bundle: Bundle.module) public let indentIncrease = Image("indentIncrease", bundle: Bundle.module) - public let infoSolid = Image("infoSolid", bundle: Bundle.module) public let info = Image("info", bundle: Bundle.module) + public let infoSolid = Image("infoSolid", bundle: Bundle.module) public let inlineCode = Image("inlineCode", bundle: Bundle.module) public let italic = Image("italic", bundle: Bundle.module) - public let keyOffSolid = Image("keyOffSolid", bundle: Bundle.module) + public let key = Image("key", bundle: Bundle.module) public let keyOff = Image("keyOff", bundle: Bundle.module) + public let keyOffSolid = Image("keyOffSolid", bundle: Bundle.module) public let keySolid = Image("keySolid", bundle: Bundle.module) - public let key = Image("key", bundle: Bundle.module) public let keyboard = Image("keyboard", bundle: Bundle.module) public let labs = Image("labs", bundle: Bundle.module) public let leave = Image("leave", bundle: Bundle.module) @@ -92,13 +93,13 @@ public class CompoundIcons { public let linux = Image("linux", bundle: Bundle.module) public let listBulleted = Image("listBulleted", bundle: Bundle.module) public let listNumbered = Image("listNumbered", bundle: Bundle.module) - public let locationNavigatorCentred = Image("locationNavigatorCentred", bundle: Bundle.module) public let locationNavigator = Image("locationNavigator", bundle: Bundle.module) - public let locationPinSolid = Image("locationPinSolid", bundle: Bundle.module) + public let locationNavigatorCentred = Image("locationNavigatorCentred", bundle: Bundle.module) public let locationPin = Image("locationPin", bundle: Bundle.module) + public let locationPinSolid = Image("locationPinSolid", bundle: Bundle.module) + public let lock = Image("lock", bundle: Bundle.module) public let lockOff = Image("lockOff", bundle: Bundle.module) public let lockSolid = Image("lockSolid", bundle: Bundle.module) - public let lock = Image("lock", bundle: Bundle.module) public let mac = Image("mac", bundle: Bundle.module) public let markAsRead = Image("markAsRead", bundle: Bundle.module) public let markAsUnread = Image("markAsUnread", bundle: Bundle.module) @@ -106,86 +107,85 @@ public class CompoundIcons { public let markerReadReceipts = Image("markerReadReceipts", bundle: Bundle.module) public let mention = Image("mention", bundle: Bundle.module) public let menu = Image("menu", bundle: Bundle.module) - public let micOffSolid = Image("micOffSolid", bundle: Bundle.module) public let micOff = Image("micOff", bundle: Bundle.module) - public let micOnSolid = Image("micOnSolid", bundle: Bundle.module) + public let micOffSolid = Image("micOffSolid", bundle: Bundle.module) public let micOn = Image("micOn", bundle: Bundle.module) + public let micOnSolid = Image("micOnSolid", bundle: Bundle.module) public let minus = Image("minus", bundle: Bundle.module) public let mobile = Image("mobile", bundle: Bundle.module) - public let notificationsOffSolid = Image("notificationsOffSolid", bundle: Bundle.module) + public let notifications = Image("notifications", bundle: Bundle.module) public let notificationsOff = Image("notificationsOff", bundle: Bundle.module) + public let notificationsOffSolid = Image("notificationsOffSolid", bundle: Bundle.module) public let notificationsSolid = Image("notificationsSolid", bundle: Bundle.module) - public let notifications = Image("notifications", bundle: Bundle.module) public let offline = Image("offline", bundle: Bundle.module) public let overflowHorizontal = Image("overflowHorizontal", bundle: Bundle.module) public let overflowVertical = Image("overflowVertical", bundle: Bundle.module) - public let pauseSolid = Image("pauseSolid", bundle: Bundle.module) public let pause = Image("pause", bundle: Bundle.module) - public let pinSolid = Image("pinSolid", bundle: Bundle.module) + public let pauseSolid = Image("pauseSolid", bundle: Bundle.module) public let pin = Image("pin", bundle: Bundle.module) - public let playSolid = Image("playSolid", bundle: Bundle.module) + public let pinSolid = Image("pinSolid", bundle: Bundle.module) public let play = Image("play", bundle: Bundle.module) + public let playSolid = Image("playSolid", bundle: Bundle.module) public let plus = Image("plus", bundle: Bundle.module) - public let pollsEnd = Image("pollsEnd", bundle: Bundle.module) public let polls = Image("polls", bundle: Bundle.module) + public let pollsEnd = Image("pollsEnd", bundle: Bundle.module) public let popOut = Image("popOut", bundle: Bundle.module) public let preferences = Image("preferences", bundle: Bundle.module) - public let `public` = Image("public", bundle: Bundle.module) public let qrCode = Image("qrCode", bundle: Bundle.module) public let quote = Image("quote", bundle: Bundle.module) public let raisedHandSolid = Image("raisedHandSolid", bundle: Bundle.module) + public let reaction = Image("reaction", bundle: Bundle.module) public let reactionAdd = Image("reactionAdd", bundle: Bundle.module) public let reactionSolid = Image("reactionSolid", bundle: Bundle.module) - public let reaction = Image("reaction", bundle: Bundle.module) public let reply = Image("reply", bundle: Bundle.module) public let restart = Image("restart", bundle: Bundle.module) public let room = Image("room", bundle: Bundle.module) public let search = Image("search", bundle: Bundle.module) - public let sendSolid = Image("sendSolid", bundle: Bundle.module) public let send = Image("send", bundle: Bundle.module) - public let settingsSolid = Image("settingsSolid", bundle: Bundle.module) + public let sendSolid = Image("sendSolid", bundle: Bundle.module) public let settings = Image("settings", bundle: Bundle.module) + public let settingsSolid = Image("settingsSolid", bundle: Bundle.module) + public let share = Image("share", bundle: Bundle.module) public let shareAndroid = Image("shareAndroid", bundle: Bundle.module) public let shareIos = Image("shareIos", bundle: Bundle.module) - public let shareScreenSolid = Image("shareScreenSolid", bundle: Bundle.module) public let shareScreen = Image("shareScreen", bundle: Bundle.module) - public let share = Image("share", bundle: Bundle.module) + public let shareScreenSolid = Image("shareScreenSolid", bundle: Bundle.module) public let sidebar = Image("sidebar", bundle: Bundle.module) public let signOut = Image("signOut", bundle: Bundle.module) public let spinner = Image("spinner", bundle: Bundle.module) public let spotlight = Image("spotlight", bundle: Bundle.module) public let strikethrough = Image("strikethrough", bundle: Bundle.module) public let switchCameraSolid = Image("switchCameraSolid", bundle: Bundle.module) - public let takePhotoSolid = Image("takePhotoSolid", bundle: Bundle.module) public let takePhoto = Image("takePhoto", bundle: Bundle.module) + public let takePhotoSolid = Image("takePhotoSolid", bundle: Bundle.module) public let textFormatting = Image("textFormatting", bundle: Bundle.module) - public let threadsSolid = Image("threadsSolid", bundle: Bundle.module) public let threads = Image("threads", bundle: Bundle.module) + public let threadsSolid = Image("threadsSolid", bundle: Bundle.module) public let time = Image("time", bundle: Bundle.module) public let underline = Image("underline", bundle: Bundle.module) - public let unknownSolid = Image("unknownSolid", bundle: Bundle.module) public let unknown = Image("unknown", bundle: Bundle.module) + public let unknownSolid = Image("unknownSolid", bundle: Bundle.module) public let unpin = Image("unpin", bundle: Bundle.module) - public let userAddSolid = Image("userAddSolid", bundle: Bundle.module) + public let user = Image("user", bundle: Bundle.module) public let userAdd = Image("userAdd", bundle: Bundle.module) - public let userProfileSolid = Image("userProfileSolid", bundle: Bundle.module) + public let userAddSolid = Image("userAddSolid", bundle: Bundle.module) public let userProfile = Image("userProfile", bundle: Bundle.module) + public let userProfileSolid = Image("userProfileSolid", bundle: Bundle.module) public let userSolid = Image("userSolid", bundle: Bundle.module) - public let user = Image("user", bundle: Bundle.module) public let verified = Image("verified", bundle: Bundle.module) + public let videoCall = Image("videoCall", bundle: Bundle.module) public let videoCallDeclinedSolid = Image("videoCallDeclinedSolid", bundle: Bundle.module) public let videoCallMissedSolid = Image("videoCallMissedSolid", bundle: Bundle.module) - public let videoCallOffSolid = Image("videoCallOffSolid", bundle: Bundle.module) public let videoCallOff = Image("videoCallOff", bundle: Bundle.module) + public let videoCallOffSolid = Image("videoCallOffSolid", bundle: Bundle.module) public let videoCallSolid = Image("videoCallSolid", bundle: Bundle.module) - public let videoCall = Image("videoCall", bundle: Bundle.module) public let visibilityOff = Image("visibilityOff", bundle: Bundle.module) public let visibilityOn = Image("visibilityOn", bundle: Bundle.module) public let voiceCall = Image("voiceCall", bundle: Bundle.module) - public let volumeOffSolid = Image("volumeOffSolid", bundle: Bundle.module) public let volumeOff = Image("volumeOff", bundle: Bundle.module) - public let volumeOnSolid = Image("volumeOnSolid", bundle: Bundle.module) + public let volumeOffSolid = Image("volumeOffSolid", bundle: Bundle.module) public let volumeOn = Image("volumeOn", bundle: Bundle.module) + public let volumeOnSolid = Image("volumeOnSolid", bundle: Bundle.module) public let warning = Image("warning", bundle: Bundle.module) public let webBrowser = Image("webBrowser", bundle: Bundle.module) public let windows = Image("windows", bundle: Bundle.module) diff --git a/assets/ios/swift/CompoundUIColorTokens.swift b/assets/ios/swift/CompoundUIColorTokens.swift index 3fd738d9..19738510 100644 --- a/assets/ios/swift/CompoundUIColorTokens.swift +++ b/assets/ios/swift/CompoundUIColorTokens.swift @@ -6,72 +6,72 @@ import UIKit public class CompoundUIColorTokens { - public let iconOnSolidPrimary = CompoundCoreUIColorTokens.themeBg - public let iconInfoPrimary = CompoundCoreUIColorTokens.blue900 - public let iconSuccessPrimary = CompoundCoreUIColorTokens.green900 - public let iconCriticalPrimary = CompoundCoreUIColorTokens.red900 - public let iconAccentPrimary = CompoundCoreUIColorTokens.green900 - public let iconAccentTertiary = CompoundCoreUIColorTokens.green800 - public let iconQuaternaryAlpha = CompoundCoreUIColorTokens.alphaGray700 - public let iconTertiaryAlpha = CompoundCoreUIColorTokens.alphaGray800 - public let iconSecondaryAlpha = CompoundCoreUIColorTokens.alphaGray900 - public let iconPrimaryAlpha = CompoundCoreUIColorTokens.alphaGray1400 - public let iconDisabled = CompoundCoreUIColorTokens.gray700 - public let iconQuaternary = CompoundCoreUIColorTokens.gray700 - public let iconTertiary = CompoundCoreUIColorTokens.gray800 - public let iconSecondary = CompoundCoreUIColorTokens.gray900 - public let iconPrimary = CompoundCoreUIColorTokens.gray1400 - public let borderInfoSubtle = CompoundCoreUIColorTokens.blue500 - public let borderSuccessSubtle = CompoundCoreUIColorTokens.green500 - public let borderCriticalSubtle = CompoundCoreUIColorTokens.red500 - public let borderCriticalHovered = CompoundCoreUIColorTokens.red1000 - public let borderCriticalPrimary = CompoundCoreUIColorTokens.red900 - public let borderInteractiveHovered = CompoundCoreUIColorTokens.gray1100 - public let borderInteractiveSecondary = CompoundCoreUIColorTokens.gray600 - public let borderInteractivePrimary = CompoundCoreUIColorTokens.gray800 - public let borderFocused = CompoundCoreUIColorTokens.blue900 - public let borderDisabled = CompoundCoreUIColorTokens.gray500 - public let bgAccentPressed = CompoundCoreUIColorTokens.green1100 public let bgAccentHovered = CompoundCoreUIColorTokens.green1000 + public let bgAccentPressed = CompoundCoreUIColorTokens.green1100 public let bgAccentRest = CompoundCoreUIColorTokens.green900 - public let bgDecorative6 = CompoundCoreUIColorTokens.orange300 - public let bgDecorative5 = CompoundCoreUIColorTokens.pink300 - public let bgDecorative4 = CompoundCoreUIColorTokens.purple300 - public let bgDecorative3 = CompoundCoreUIColorTokens.fuchsia300 - public let bgDecorative2 = CompoundCoreUIColorTokens.cyan300 - public let bgDecorative1 = CompoundCoreUIColorTokens.lime300 - public let bgInfoSubtle = CompoundCoreUIColorTokens.blue200 - public let bgSuccessSubtle = CompoundCoreUIColorTokens.green200 - public let bgCriticalSubtleHovered = CompoundCoreUIColorTokens.red300 - public let bgCriticalSubtle = CompoundCoreUIColorTokens.red200 - public let bgCriticalHovered = CompoundCoreUIColorTokens.red1000 - public let bgCriticalPrimary = CompoundCoreUIColorTokens.red900 - public let bgActionSecondaryPressed = CompoundCoreUIColorTokens.alphaGray300 - public let bgActionSecondaryHovered = CompoundCoreUIColorTokens.alphaGray200 - public let bgActionSecondaryRest = CompoundCoreUIColorTokens.themeBg public let bgActionPrimaryDisabled = CompoundCoreUIColorTokens.gray700 - public let bgActionPrimaryPressed = CompoundCoreUIColorTokens.gray1100 public let bgActionPrimaryHovered = CompoundCoreUIColorTokens.gray1200 + public let bgActionPrimaryPressed = CompoundCoreUIColorTokens.gray1100 public let bgActionPrimaryRest = CompoundCoreUIColorTokens.gray1400 - public let bgCanvasDisabled = CompoundCoreUIColorTokens.gray200 + public let bgActionSecondaryHovered = CompoundCoreUIColorTokens.alphaGray200 + public let bgActionSecondaryPressed = CompoundCoreUIColorTokens.alphaGray300 + public let bgActionSecondaryRest = CompoundCoreUIColorTokens.themeBg public let bgCanvasDefault = CompoundCoreUIColorTokens.themeBg - public let bgSubtleSecondary = CompoundCoreUIColorTokens.gray300 + public let bgCanvasDisabled = CompoundCoreUIColorTokens.gray200 + public let bgCriticalHovered = CompoundCoreUIColorTokens.red1000 + public let bgCriticalPrimary = CompoundCoreUIColorTokens.red900 + public let bgCriticalSubtle = CompoundCoreUIColorTokens.red200 + public let bgCriticalSubtleHovered = CompoundCoreUIColorTokens.red300 + public let bgDecorative1 = CompoundCoreUIColorTokens.lime300 + public let bgDecorative2 = CompoundCoreUIColorTokens.cyan300 + public let bgDecorative3 = CompoundCoreUIColorTokens.fuchsia300 + public let bgDecorative4 = CompoundCoreUIColorTokens.purple300 + public let bgDecorative5 = CompoundCoreUIColorTokens.pink300 + public let bgDecorative6 = CompoundCoreUIColorTokens.orange300 + public let bgInfoSubtle = CompoundCoreUIColorTokens.blue200 public let bgSubtlePrimary = CompoundCoreUIColorTokens.gray400 - public let textDecorative6 = CompoundCoreUIColorTokens.orange1100 - public let textDecorative5 = CompoundCoreUIColorTokens.pink1100 - public let textDecorative4 = CompoundCoreUIColorTokens.purple1100 - public let textDecorative3 = CompoundCoreUIColorTokens.fuchsia1100 - public let textDecorative2 = CompoundCoreUIColorTokens.cyan1100 - public let textDecorative1 = CompoundCoreUIColorTokens.lime1100 - public let textOnSolidPrimary = CompoundCoreUIColorTokens.themeBg - public let textInfoPrimary = CompoundCoreUIColorTokens.blue900 - public let textSuccessPrimary = CompoundCoreUIColorTokens.green900 - public let textCriticalPrimary = CompoundCoreUIColorTokens.red900 - public let textLinkExternal = CompoundCoreUIColorTokens.blue900 + public let bgSubtleSecondary = CompoundCoreUIColorTokens.gray300 + public let bgSuccessSubtle = CompoundCoreUIColorTokens.green200 + public let borderCriticalHovered = CompoundCoreUIColorTokens.red1000 + public let borderCriticalPrimary = CompoundCoreUIColorTokens.red900 + public let borderCriticalSubtle = CompoundCoreUIColorTokens.red500 + public let borderDisabled = CompoundCoreUIColorTokens.gray500 + public let borderFocused = CompoundCoreUIColorTokens.blue900 + public let borderInfoSubtle = CompoundCoreUIColorTokens.blue500 + public let borderInteractiveHovered = CompoundCoreUIColorTokens.gray1100 + public let borderInteractivePrimary = CompoundCoreUIColorTokens.gray800 + public let borderInteractiveSecondary = CompoundCoreUIColorTokens.gray600 + public let borderSuccessSubtle = CompoundCoreUIColorTokens.green500 + public let iconAccentPrimary = CompoundCoreUIColorTokens.green900 + public let iconAccentTertiary = CompoundCoreUIColorTokens.green800 + public let iconCriticalPrimary = CompoundCoreUIColorTokens.red900 + public let iconDisabled = CompoundCoreUIColorTokens.gray700 + public let iconInfoPrimary = CompoundCoreUIColorTokens.blue900 + public let iconOnSolidPrimary = CompoundCoreUIColorTokens.themeBg + public let iconPrimary = CompoundCoreUIColorTokens.gray1400 + public let iconPrimaryAlpha = CompoundCoreUIColorTokens.alphaGray1400 + public let iconQuaternary = CompoundCoreUIColorTokens.gray700 + public let iconQuaternaryAlpha = CompoundCoreUIColorTokens.alphaGray700 + public let iconSecondary = CompoundCoreUIColorTokens.gray900 + public let iconSecondaryAlpha = CompoundCoreUIColorTokens.alphaGray900 + public let iconSuccessPrimary = CompoundCoreUIColorTokens.green900 + public let iconTertiary = CompoundCoreUIColorTokens.gray800 + public let iconTertiaryAlpha = CompoundCoreUIColorTokens.alphaGray800 public let textActionAccent = CompoundCoreUIColorTokens.green900 public let textActionPrimary = CompoundCoreUIColorTokens.gray1400 + public let textCriticalPrimary = CompoundCoreUIColorTokens.red900 + public let textDecorative1 = CompoundCoreUIColorTokens.lime1100 + public let textDecorative2 = CompoundCoreUIColorTokens.cyan1100 + public let textDecorative3 = CompoundCoreUIColorTokens.fuchsia1100 + public let textDecorative4 = CompoundCoreUIColorTokens.purple1100 + public let textDecorative5 = CompoundCoreUIColorTokens.pink1100 + public let textDecorative6 = CompoundCoreUIColorTokens.orange1100 public let textDisabled = CompoundCoreUIColorTokens.gray800 - public let textSecondary = CompoundCoreUIColorTokens.gray900 + public let textInfoPrimary = CompoundCoreUIColorTokens.blue900 + public let textLinkExternal = CompoundCoreUIColorTokens.blue900 + public let textOnSolidPrimary = CompoundCoreUIColorTokens.themeBg public let textPrimary = CompoundCoreUIColorTokens.gray1400 + public let textSecondary = CompoundCoreUIColorTokens.gray900 + public let textSuccessPrimary = CompoundCoreUIColorTokens.green900 public init() { } } diff --git a/src/configs/getAndroidConfig.ts b/src/configs/getAndroidConfig.ts index afc78460..035cfbd0 100644 --- a/src/configs/getAndroidConfig.ts +++ b/src/configs/getAndroidConfig.ts @@ -209,6 +209,7 @@ export function getAndroidConfig(theme: Theme): PlatformConfig { filter: (token: TransformedToken) => token.type === "color" && isNotCoreColor.filter(token), options: withDefaultOptions({ + outputReferences: true, import: [], fixColorName, className: "SemanticColors", @@ -220,6 +221,7 @@ export function getAndroidConfig(theme: Theme): PlatformConfig { destination: "CompoundIcons.kt", filter: (token: TransformedToken) => token.type === "icon", options: withDefaultOptions({ + outputReferences: true, import: [ packageNameR, "androidx.compose.runtime.Composable", diff --git a/src/utils/createTemplate.ts b/src/utils/createTemplate.ts index c97bc3f5..241d69c1 100644 --- a/src/utils/createTemplate.ts +++ b/src/utils/createTemplate.ts @@ -48,7 +48,7 @@ export default async function createTemplate( let allTokens: TransformedToken[]; if (args) { const { dictionary, file, options } = args; - const { outputReferences, commentStyle } = options; + const { outputReferences, commentStyle, sortTokensByReference } = options; const formatProperty = createPropertyFormatter({ outputReferences, dictionary, @@ -58,12 +58,12 @@ export default async function createTemplate( }, }); - if (outputReferences) { - allTokens = [...dictionary.allTokens].sort( - sortByReference(dictionary.tokens), - ); + allTokens = [...dictionary.allTokens]; + + if (sortTokensByReference) { + allTokens = allTokens.sort(sortByReference(dictionary.tokens)); } else { - allTokens = [...dictionary.allTokens].sort(sortByName); + allTokens = allTokens.sort(sortByName); } const headerResult = await fileHeader({