Skip to content

Commit

Permalink
Fix titlebar icon styling
Browse files Browse the repository at this point in the history
  • Loading branch information
elibroftw committed May 25, 2024
1 parent 89afdfe commit bb81009
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions SAMPLE_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ you would list some things related to understanding said cryptocurrency.
- [Tauri (Rust)](https://docs.rs/tauri/)
- [React Icons](https://react-icons.github.io/react-icons)
- [Mantine Docs](https://mantine.dev/pages/basics/)
- Styling (X.module.css`)
- `import classes from './TitleBar.module.css';`
- `className={classes.myClass}`
- Use `@mixin light` for normal classes and `@mixin light-root` on `:root` or `html`
- [Mantine Default Theme](https://github.com/mantinedev/mantine/blob/master/src/mantine-styles/src/theme/default-theme.ts)
- [react-18next Trans Component](https://react.i18next.com/latest/trans-component)

Expand Down
5 changes: 2 additions & 3 deletions src/tauri/TitleBar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@
margin: 0 5px 0 10px;
vertical-align: middle;

@mixin light {
/* @mixin light {
filter: grayscale(100%) contrast(0);
}

} */
}

.verticalAlign {
Expand Down

0 comments on commit bb81009

Please sign in to comment.