Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sugestion - Editing the README #8

Open
andreMariano90 opened this issue Jul 24, 2018 · 0 comments
Open

Sugestion - Editing the README #8

andreMariano90 opened this issue Jul 24, 2018 · 0 comments

Comments

@andreMariano90
Copy link

I recommend adding on the readme how to customize the component visual. For example:

export const StyleCustom = VueWindow.StyleFactory({
  window: {
    color: '#000',
    boxShadow: '0 2pt 4pt rgba(0, 0, 0, 0.5)',
    backgroundColor: 'rgba(239, 239, 239, 0.95)'
  },
  titlebar: {
    backgroundColor: '#ff0000',
    color: '#ffffff'
  },
  content: {
  },
  button: {
    color: '#ffffff'
  },
  buttonHover: {
    backgroundColor: 'rgba(0, 0, 0, 0.25)'
  },
  buttonActive: {
    color: '#fff',
    backgroundColor: 'rgba(0, 0, 0, 0.5)'
  }
})

Vue.component('hsc-window-style-custom', StyleCustom)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant