Skip to content

Commit

Permalink
Icons fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ianvexler committed Feb 12, 2024
1 parent 4fbbbe1 commit cb3f14c
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 70 deletions.
152 changes: 84 additions & 68 deletions example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"dependencies": {
"@the-curve-consulting/texmo-react-components": "file:..",
"bootstrap-icons": "^1.11.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.0"
Expand Down
1 change: 1 addition & 0 deletions example/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App.tsx'
import 'bootstrap-icons/font/bootstrap-icons.scss';

ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
Expand Down
4 changes: 2 additions & 2 deletions scss/texmo-react-components.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@import './App.scss';
@import '_variables.scss';
@import 'variables.scss';
@import 'fonts.scss';

// Import Bootstrap and its default variables
@import '../node_modules/bootstrap/scss/bootstrap.scss';
@import 'bootstrap-icons/font/bootstrap-icons.css';
@import '../node_modules/bootstrap-icons/font/bootstrap-icons.scss';

// Import custom component styles
@import '../src/components/button/Button.scss';
Expand Down

0 comments on commit cb3f14c

Please sign in to comment.