Skip to content

Commit

Permalink
feat: added sass globals and variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrinsieboy committed Dec 14, 2023
1 parent 6f9c0c9 commit a25df14
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/resources/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import './bootstrap';
import { createApp, h } from 'vue'
import { createPinia } from 'pinia'
import { createInertiaApp } from '@inertiajs/vue3'
import '../vue/scss/global.scss'
import '../vue/scss/variables.scss'

createInertiaApp({
resolve: name => {
Expand Down
11 changes: 11 additions & 0 deletions src/resources/vue/scss/global.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@import './variables.scss';

html, body {
font-family: $font-main;
background-color: $color-dark-blue-100;
color: $color-white;
}

h1, h2, h3, h4, h5, h6 {
font-weight: bold;
}
16 changes: 16 additions & 0 deletions src/resources/vue/scss/variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
$font-main: 'Outfit', sans-serif;

$color-white: #F7F4F3;
$color-black: #000;
$color-black-100: #343434;
$color-black-200: #424B54;

$color-dark-blue-100: #1D243A;
$color-dark-blue-200: #445E93;

$color-blue-100: #00BBF9;

$color-green-100: #45CB85;
$color-green-200: #A7C957;

$color-red-100: #FF8360;

0 comments on commit a25df14

Please sign in to comment.