From 1d038fdc5645d3afad000b6f255dc0a644cbb838 Mon Sep 17 00:00:00 2001 From: Guilherme Gazzo Date: Mon, 23 Sep 2024 23:07:07 -0300 Subject: [PATCH] fix(fuselage): color sidebar highlighted (#1447) --- .changeset/tame-poems-drop.md | 5 +++++ .github/workflows/cd.yml | 1 - .github/workflows/ci-pr.yml | 1 - packages/fuselage/src/components/Sidebar/Sidebar.styles.scss | 2 +- packages/layout/.storybook/main.ts | 1 + 5 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 .changeset/tame-poems-drop.md diff --git a/.changeset/tame-poems-drop.md b/.changeset/tame-poems-drop.md new file mode 100644 index 0000000000..4a4595e981 --- /dev/null +++ b/.changeset/tame-poems-drop.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": patch +--- + +Fixed color sidebar highlighted diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index f7bf7255d0..c372e45e71 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -22,7 +22,6 @@ jobs: with: node-version: "22.2.0" cache: "yarn" - - uses: rharkor/caching-for-turbo@v1.5 - uses: actions/cache@v3 id: yarn-cache with: diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 5f295beb06..8ca41a60e1 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -31,7 +31,6 @@ jobs: **/node_modules .yarn/cache key: ${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }} - - uses: rharkor/caching-for-turbo@v1.5 - name: Turbo Cache id: turbo-cache uses: actions/cache@v3 diff --git a/packages/fuselage/src/components/Sidebar/Sidebar.styles.scss b/packages/fuselage/src/components/Sidebar/Sidebar.styles.scss index 38a8dcecf2..143832ae27 100644 --- a/packages/fuselage/src/components/Sidebar/Sidebar.styles.scss +++ b/packages/fuselage/src/components/Sidebar/Sidebar.styles.scss @@ -35,7 +35,7 @@ $sidebar-color-stroke-default: theme( $sidebar-item-color: theme('sidebar-item-color', colors.font(secondary-info)); $sidebar-item-color-highlighted: theme( 'sidebar-item-color-highlighted', - colors.font(pure-white) + colors.font(titles-labels) ); $sidebar-item-background-color-hover: theme( 'sidebar-item-background-color-hover', diff --git a/packages/layout/.storybook/main.ts b/packages/layout/.storybook/main.ts index 1c3211edb6..800330c41a 100644 --- a/packages/layout/.storybook/main.ts +++ b/packages/layout/.storybook/main.ts @@ -6,6 +6,7 @@ export default { 'storybook-dark-mode', '@storybook/addon-webpack5-compiler-swc', ], + logLevel: 'silent', stories: ['../src/**/*.stories.tsx', '../src/**/stories.tsx'],