Skip to content

Commit

Permalink
fix(tabs): fixed the typo in css variable (#3643)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixBlaisThon authored Mar 18, 2024
1 parent 9ddd101 commit 4fb106a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
background-color: var(--mantine-color-gray-1);
}
@mixin dark {
background-color: rgba(var(--mantine-color-primary-7), 0.2);
background-color: rgba(var(--mantine-primary-color-7), 0.2);
}
}

Expand All @@ -45,7 +45,7 @@
background-color: var(--mantine-color-gray-1);
}
@mixin dark {
background-color: rgba(var(--mantine-color-primary-7), 0.2);
background-color: rgba(var(--mantine-primary-color-7), 0.2);
}
}
&[data-multi-selection='true'] {
Expand Down Expand Up @@ -74,6 +74,6 @@
}
@mixin dark {
border-bottom: rem(1) solid var(--mantine-color-dark-4);
background-color: rgba(var(--mantine-color-primary-7), 0.2);
background-color: rgba(var(--mantine-primary-color-7), 0.2);
}
}
4 changes: 2 additions & 2 deletions packages/mantine/src/styles/Tabs.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
border-bottom: rem(1) solid transparent;
margin-bottom: rem(-1);
&[data-active] {
border-bottom: rem(1) solid var(--mantine-color-primary-6);
border-bottom: rem(1) solid var(--mantine-primary-color-6);
}
}
&[data-orientation='vertical'] {
border-right: rem(1) solid transparent;
margin-right: rem(-1);
&[data-active] {
border-bottom: rem(1) solid var(--mantine-color-primary-6);
border-bottom: rem(1) solid var(--mantine-primary-color-6);
}
}
& :hover {
Expand Down
5 changes: 2 additions & 3 deletions packages/website/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import {AppShell, Notifications, Plasmantine} from '@coveord/plasma-mantine';
import '@mantine/core/styles.css';
import '@mantine/dates/styles.css';
import '@mantine/notifications/styles.css';
import {AppShell, Notifications, Plasmantine} from '@coveord/plasma-mantine';
import {Provider} from 'react-redux';
import {Outlet} from 'react-router-dom';
import {resolver} from './CSSVariableResolver';
import {Navigation} from './Navigation';
import {Store} from './Store';
import TopBar from './TopBar';
Expand All @@ -23,7 +22,7 @@ import './styles/tile.css';
const App = () => (
<EngineProvider>
<Provider store={Store}>
<Plasmantine resolver={resolver}>
<Plasmantine>
<Notifications position="top-center" />
<AppShell navbar={{width: 245, breakpoint: undefined}} header={{height: 100}}>
<AppShell.Header>
Expand Down
18 changes: 0 additions & 18 deletions packages/website/src/CSSVariableResolver.ts

This file was deleted.

0 comments on commit 4fb106a

Please sign in to comment.