diff --git a/src/index.styles.scss b/src/assets/styles/global.scss old mode 100755 new mode 100644 similarity index 57% rename from src/index.styles.scss rename to src/assets/styles/global.scss index e159826..ba7ec0b --- a/src/index.styles.scss +++ b/src/assets/styles/global.scss @@ -1,3 +1,4 @@ +@import "../../assets/styles/theme.scss"; @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'); input { @@ -25,4 +26,24 @@ code { a { text-decoration: none; +} + +.btn { + display: block; + width: fit-content; + padding: 16px 24px; + border-radius: 8px; + + font-size: 20px; + font-weight: 600; + line-height: 24px; + + color: $btn-primary-text; + background: $btn-primary-bg; + background-size: 200%; + transition: .5s; +} + +.btn:hover { + background-position: 100%; } \ No newline at end of file diff --git a/src/index.js b/src/index.js index 3718ce1..7f7ec8f 100755 --- a/src/index.js +++ b/src/index.js @@ -4,7 +4,7 @@ import { createHashRouter, RouterProvider } from 'react-router-dom'; import routes from './routes'; import reportWebVitals from './reportWebVitals'; -import './index.styles.scss'; +import './assets/styles/global.scss'; const router = createHashRouter(routes); diff --git a/src/pages/Root/Root.styles.scss b/src/pages/Root/Root.styles.scss index fd2e29b..d91778b 100755 --- a/src/pages/Root/Root.styles.scss +++ b/src/pages/Root/Root.styles.scss @@ -65,26 +65,6 @@ } } -.btn { - display: block; - width: fit-content; - padding: 16px 24px; - border-radius: 8px; - - font-size: 20px; - font-weight: 600; - line-height: 24px; - - color: $btn-primary-text; - background: $btn-primary-bg; - background-size: 200%; - transition: .5s; -} - -.btn:hover { - background-position: 100%; -} - .block .heading a, .navbar .nav-link { position: relative;