Skip to content

Bug overriding default values in css  #639

Closed
@ksacks

Description

@ksacks

Bug report

Version

0.11.0

Steps to reproduce

1 - Override default theme css variable value (.vuepress/override.styl)

// showing default values
$accentColor = #ff0000
$textColor = #000000
$borderColor = #eaecef
$codeBgColor = #282c34

2 - Changes don't apply. Seems like in the latest version, whilst correcting the duplicate css override, the default values are set last and therefore not overriding the variable values before these values are used.

What is expected?

Default theme css values should be applied

What is actually happening?

Default theme css values are not applied

Other relevant information

  • Your OS: Kubuntu 18.04
  • Node.js version: 8.10.0
  • Browser version: Chromium 66.0.3359.181
  • Is this a global or local install? Global
  • Which package manager did you use for the install? Npm

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions