mirror of
https://github.com/kamranahmedse/driver.js.git
synced 2026-10-31 03:52:13 +08:00
Fixing color names in the doc (#448)
* ✏️ fix colors in styling-overlay examples * ✏️ fix colors in styling-overlay examples
This commit is contained in:
@@ -25,7 +25,7 @@ const driverObj = driver({
|
||||
driverObj.highlight({
|
||||
popover: {
|
||||
title: 'Pass any RGB Color',
|
||||
description: 'Here we have set the overlay color to be blue. You can pass any RGB color to overlayColor option.'
|
||||
description: 'Here we have set the overlay color to be red. You can pass any RGB color to overlayColor option.'
|
||||
}
|
||||
});
|
||||
```
|
||||
@@ -40,7 +40,7 @@ driverObj.highlight({
|
||||
highlight={{
|
||||
popover: {
|
||||
title: 'Pass any RGB Color',
|
||||
description: 'Here we have set the overlay color to be blue. You can pass any RGB color to overlayColor option.',
|
||||
description: 'Here we have set the overlay color to be red. You can pass any RGB color to overlayColor option.',
|
||||
}
|
||||
}}
|
||||
id={"left-start"}
|
||||
@@ -72,10 +72,10 @@ driverObj.highlight({
|
||||
highlight={{
|
||||
popover: {
|
||||
title: 'Pass any RGB Color',
|
||||
description: 'Here we have set the overlay color to be blue. You can pass any RGB color to overlayColor option.',
|
||||
description: 'Here we have set the overlay color to be yellow. You can pass any RGB color to overlayColor option.',
|
||||
}
|
||||
}}
|
||||
id={"left-start"}
|
||||
client:load
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user