From 4e43bfca04f5916daec9bcac8d4fd7615f3ae9a8 Mon Sep 17 00:00:00 2001 From: NikitaRodyukov <104258116+NikitaRodyukov@users.noreply.github.com> Date: Tue, 10 Sep 2024 10:52:18 +0300 Subject: [PATCH] feat(themes): update corp theme in tabs (#1362) * feat(themes): update corp theme in tabs * test: update screenshots * chore(themes): added changeset --------- Co-authored-by: core-ds-bot --- .changeset/bright-buckets-breathe.md | 6 ++++++ .../corp-tabs-tabs-desktop-view-0-size-0-4-snap.png | 4 ++-- .../corp-tabs-tabs-desktop-view-0-size-1-4-snap.png | 4 ++-- .../corp-tabs-tabs-desktop-view-0-size-2-4-snap.png | 4 ++-- .../corp-tabs-tabs-desktop-view-0-size-3-4-snap.png | 4 ++-- .../corp-tabs-tabs-desktop-view-0-size-4-4-snap.png | 4 ++-- .../corp-tabs-tabs-desktop-view-0-size-5-4-snap.png | 4 ++-- packages/themes/src/mixins/tabs/corp.css | 3 ++- 8 files changed, 20 insertions(+), 13 deletions(-) create mode 100644 .changeset/bright-buckets-breathe.md diff --git a/.changeset/bright-buckets-breathe.md b/.changeset/bright-buckets-breathe.md new file mode 100644 index 0000000000..171808a9b3 --- /dev/null +++ b/.changeset/bright-buckets-breathe.md @@ -0,0 +1,6 @@ +--- +'@alfalab/core-components-tabs': minor +'@alfalab/core-components-themes': minor +--- + +Обновили corp темизацию в компоненте Tabs diff --git a/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-0-4-snap.png b/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-0-4-snap.png index 51c09b6b95..7c6ffea4f1 100644 --- a/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-0-4-snap.png +++ b/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-0-4-snap.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c21cc8edfd2a0615ff19cd1084acdfcdd9493ae1c5d93dd9a0b5bd150ed2f110 -size 9346 +oid sha256:ef0bad3e3330a8ff4f80f91ede25a3176902108c4d1c46dbdc89aa36dd163e63 +size 9300 diff --git a/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-1-4-snap.png b/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-1-4-snap.png index 51c09b6b95..7c6ffea4f1 100644 --- a/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-1-4-snap.png +++ b/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-1-4-snap.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c21cc8edfd2a0615ff19cd1084acdfcdd9493ae1c5d93dd9a0b5bd150ed2f110 -size 9346 +oid sha256:ef0bad3e3330a8ff4f80f91ede25a3176902108c4d1c46dbdc89aa36dd163e63 +size 9300 diff --git a/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-2-4-snap.png b/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-2-4-snap.png index 51c09b6b95..7c6ffea4f1 100644 --- a/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-2-4-snap.png +++ b/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-2-4-snap.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c21cc8edfd2a0615ff19cd1084acdfcdd9493ae1c5d93dd9a0b5bd150ed2f110 -size 9346 +oid sha256:ef0bad3e3330a8ff4f80f91ede25a3176902108c4d1c46dbdc89aa36dd163e63 +size 9300 diff --git a/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-3-4-snap.png b/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-3-4-snap.png index 94dcc25b92..a519d0b4ae 100644 --- a/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-3-4-snap.png +++ b/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-3-4-snap.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a13d95cb786334188a1b05b9329feee97709272ce6fddf4cf03262a8f71463c1 -size 9346 +oid sha256:08624ebf90463fcaf7308e364e8956f4ea3bfbad90006011db70ec1cd5f61cfc +size 9658 diff --git a/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-4-4-snap.png b/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-4-4-snap.png index e6366299c1..4c150c5a62 100644 --- a/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-4-4-snap.png +++ b/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-4-4-snap.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:14fa65abfe35abefae2f817483e65527c7c108727b64b60a48ea688aaac221f6 -size 9346 +oid sha256:d71d27c5544faeacf31d59f1f73c710b3b2b22092ec8d4f5a8ef0215a3cb06a8 +size 9300 diff --git a/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-5-4-snap.png b/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-5-4-snap.png index e42f92f69f..5a0fe9b71c 100644 --- a/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-5-4-snap.png +++ b/packages/tabs/src/__image_snapshots__/corp-tabs-tabs-desktop-view-0-size-5-4-snap.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:822570ae4d950022e40533b94d215e3298fb2e0f1059d261b6aa843a32fa6cc4 -size 9346 +oid sha256:2d0e055b8674083d0e00972604957c34d7fb944160811408cc90aba081bc42fc +size 9300 diff --git a/packages/themes/src/mixins/tabs/corp.css b/packages/themes/src/mixins/tabs/corp.css index dce1c5d576..d9733564f6 100644 --- a/packages/themes/src/mixins/tabs/corp.css +++ b/packages/themes/src/mixins/tabs/corp.css @@ -1,4 +1,5 @@ @define-mixin tabs-corp { /* theme */ - --primary-tablist-bottom-border-color: var(--color-light-neutral-500); + --primary-tablist-bottom-border-color: var(--color-light-neutral-translucent-300); + --primary-tablist-m-font-weight: 500; }