rsksmart / rns-manager-react

RNS Manager - ⌨️ buidling
https://manager.rns.rifos.org/
MIT License
6 stars 13 forks source link

Feat: partner branded page #514

Closed annipi closed 1 year ago

annipi commented 1 year ago

Changes page theme according to styles on theme.json:

example (if null leaves RIF theme colors).

{
  "logo": "",
  "font": {
    "family": "",
    "src": ""
  },
  "colors": {
    "primary": {
      "main": "#6200EE",
      "light": "#a186ff",
      "dark": "#2b08a7",
      "transparent": "rgba(98, 0, 238, .8)"
    },
    "secondary": {
      "main": "#03DAC6",
      "light": "#c0fffd",
      "dark": "#029994",
      "transparent": "rgba(145, 145, 145, .8)"
    }
  },
  "images": {
    "homeSpacer": ""
  },
"hideHomeContent": false,
}

Added hex-to-css-filter npm package to create filter to apply theme colors to .svg images.

github-advanced-security[bot] commented 1 year ago

You have successfully added a new SonarCloud configuration ``. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication