Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Replace website main color with CSS custom property #35

Closed
shahednasser opened this issue Sep 6, 2020 · 6 comments
Closed

Replace website main color with CSS custom property #35

shahednasser opened this issue Sep 6, 2020 · 6 comments
Assignees
Labels
enhancement New feature or request first-timers-only good first issue Good for newcomers help wanted Extra attention is needed up-for-grabs

Comments

@shahednasser
Copy link
Collaborator

Currently in assets/css/index.css we're using #3a91ff for the main color. We are using this color for a couple of attributes, and we probably will be using it more.

Create the file assets/css/variables.css and add in it custom property --main-color on :root with the value #3a91ff then import this file in the beginning of assets/css/index.css and replace #3a91ff throughout the file with var(--main-color)

@shahednasser shahednasser added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers first-timers-only up-for-grabs labels Sep 6, 2020
@isonnymichael
Copy link
Contributor

Can I try to work on this ?

@shahednasser
Copy link
Collaborator Author

Sorry, this one is for first-timers only! You can work on anything that doesn't have the first-timers-only label and that no one is assigned to.

@isonnymichael
Copy link
Contributor

@shahednasser oohh okay didn't see the label..

@NirajGohel
Copy link
Contributor

Hi
Can I try to work on this?

@shahednasser
Copy link
Collaborator Author

Hi @NirajGohel yes go ahead

@shahednasser
Copy link
Collaborator Author

Resolved by #41

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request first-timers-only good first issue Good for newcomers help wanted Extra attention is needed up-for-grabs
Projects
None yet
Development

No branches or pull requests

3 participants