Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Added: Functionality to change the theme by modifying the colours, fonts and other CSS properties in one place #596

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

AishwaryShrivastav
Copy link
Contributor

@AishwaryShrivastav AishwaryShrivastav commented Mar 23, 2021

Related Issues

Closes #597

Short Description and Why It's Useful

Added theme.scss file which contains variables and CSS property for the elements, which can be modified here to see the change globally.
Included this file in the main.scss to override the SFUI and component's SCSS

Screenshots of Visual Changes before/after (If There Are Any)

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change

Contribution and Currently Important Rules Acceptance

…nts and other CSS properties in one place

Added theme.scss file which contains variables and CSS property for the elements, which can be modified here to see the change globally.
Included this file in the main.scss to override the SFUI and component's SCSS
@dt2patel
Copy link
Collaborator

I think we can also add a variable here to manage surface colors globally, this would make it easier to change the background color of the entire website quickly if someone doesn't want to use plain white. Thoughts?

@dt2patel
Copy link
Collaborator

Additional things that are managed globally and may vary from brand to brand:

  1. Global max width + padding
  2. Overlay styling

@dt2patel
Copy link
Collaborator

Also what about z-index groups? making it easy to manage z-index consistency for elements through out the app.

@AishwaryShrivastav
Copy link
Contributor Author

Yes, we can add variables and properties for :

  1. Global surface colors
  2. Global max width + padding
  3. Overlay styling
  4. Z-index

The current implementation can be consider as a phase 1 and after it get merge we can again work on giving the above functionalities.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Functionality o change the theming in capybara
2 participants