Skip to content

Commit

Permalink
fix(grid-guide): dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanSalt committed Apr 4, 2024
1 parent 5d315b8 commit 249e6d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/components/grid-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ import { RGridGuide } from 'roughness'

<template #default-value>

`rgb(255 255 255 / 10%)` in dark theme, `#f5f5f5` else
`rgb(255 255 255 / 4%)` in dark theme, `#f5f5f5` else

</template>

Expand Down
2 changes: 1 addition & 1 deletion src/grid-guide/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const {
height: 100%;
}
:root.dark & {
--r-grid-guide-color: rgb(255 255 255 / 10%);
--r-grid-guide-color: rgb(255 255 255 / 4%);
}
}
@layer base {
Expand Down

0 comments on commit 249e6d3

Please sign in to comment.