Skip to content

Commit

Permalink
feat: use configuration colors from TailwindCSS
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Apr 23, 2021
1 parent d5d892b commit 557d69d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions nuxt.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import * as TAILWIND_CONFIG from './tailwind.config'

export default {
target: 'static',

Expand Down Expand Up @@ -51,9 +53,11 @@ export default {
},

loading: {
color: 'var(--color-gradient-two)',
// failedColor: '',
color: TAILWIND_CONFIG.theme.extend.colors.primary[400],
failedColor: TAILWIND_CONFIG.theme.extend.colors.red[400],

// height: '5px',

throttle: 200,
continuous: true,
},
Expand Down Expand Up @@ -153,8 +157,8 @@ export default {
short_name: 'Rule 34 App',
lang: 'en',
start_url: '/?utm_source=PWA',
theme_color: '#121212',
background_color: '#121212',
theme_color: TAILWIND_CONFIG.theme.extend.colors.darkGray[700],
background_color: TAILWIND_CONFIG.theme.extend.colors.darkGray[700],
shortcuts: [
{
name: 'Open Settings',
Expand Down

0 comments on commit 557d69d

Please sign in to comment.