1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00
The browser extension vault (Chrome, Firefox, Opera, Edge, Safari, & more).
Go to file
Danny Murphy 0c02cfea2f
Dark Theme (#1017)
* Stylesheets

* Theme Configuration

* Options Area

* swal2 style

* Icon styling

* Fix theme not saving

* Update English

* Update messages.json

* dropdown and login logo

* btn-link and totp fix

* Organisation Styling

* Update webauthn-fallback.ts

* Fix contrast issues

* Add Paypal Container and Loading svg file

* Password Generator contrast fix

* Dark Mode Fix buttons and foreground

* Fix button hover

* Fix Styles after rebase

* Add hover on nav dropdown-item

* Disable Theme Preview

* Options Fix for Default Theme Changes

* Updated Colour Scheme

* Toast fix

* Button and Text Styling

* Options Update and Messages Fix

* Added Search Icon and Fixed Callout styling

* Add theme styling to Stripe

* Refactor logic for setting color

* Reorder logic to avoid race condition

* PayPal Loading and Misc Fix

* text-state bug fix

* Badge Colour Fix

* Remove PayPal Tagline

The colour cannot be styled so it's not visible on a dark theme

* Adding the Styling from #1131

* Update to New Design

* Form and Nav restyle

* Modal Opacity and Callout

* Nav Colours

* Missing Borders

* Light theme fix

* Improved border for listgroup

* Change Org Nav Colour

* Save theme to localStorage for persistence

* Undo change to Wired image

* !Important removal and tweaks

* Fix regression with navbar

* Light theme by default

* Refactor to use getEffectiveTheme

* Refactor theme constants to use enum

* Set theme in index.html before app loads

* Use scss selector to set logo image

* Export Sass to TS

* Update jslib

Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
2021-09-30 08:06:20 +10:00
.github Ran the new linter over the web project and found some errors (#1197) 2021-09-24 09:28:37 -07:00
bitwarden_license Dark Theme (#1017) 2021-09-30 08:06:20 +10:00
config Move WebConstants values to environment config files (#1184) 2021-09-09 14:18:46 -07:00
jslib@ce71c0c0bd Dark Theme (#1017) 2021-09-30 08:06:20 +10:00
src Dark Theme (#1017) 2021-09-30 08:06:20 +10:00
.dockerignore docker build updates 2018-07-18 15:21:51 -04:00
.editorconfig Add support for Emergency Access (#707) 2020-12-22 10:57:44 -05:00
.gitattributes Added .gitattributes file to files requiring LF endings are properly checked out on Windows. (#279) 2018-10-18 12:15:54 -04:00
.gitignore Set urls from config file (#1151) 2021-08-25 13:15:31 -05:00
.gitmodules use https for submodule 2018-07-09 16:52:46 -04:00
config.js Set urls from config file (#1151) 2021-08-25 13:15:31 -05:00
CONTRIBUTING.md Docs contrib (#696) 2020-11-10 10:52:09 -05:00
crowdin.yml Simplifying the crowdin sync workflow (#1155) 2021-08-27 10:08:26 -07:00
dev-server.shared.pem rename dev cert to shared 2018-06-05 11:14:53 -04:00
Dockerfile docker health check 2019-07-26 11:59:59 -04:00
entrypoint.sh Remove assetlinks (#1165) 2021-08-30 21:40:34 -04:00
LICENSE_BITWARDEN.txt add support for bitwarden license 2021-06-15 10:25:45 -04:00
LICENSE_GPL.txt add support for bitwarden license 2021-06-15 10:25:45 -04:00
LICENSE.txt add support for bitwarden license 2021-06-15 10:25:45 -04:00
package-lock.json Bump signalr to 5.0.10 (#1207) 2021-09-28 16:19:07 +02:00
package.json Use Webfonts from jslib instead of downloading them using gulp (#1205) 2021-09-24 12:24:58 -04:00
README.md Update build commands (#1180) 2021-09-14 13:26:26 +02:00
SECURITY.md upadte security md 2018-02-27 23:00:10 -05:00
tsconfig.json [Provider] Add support for managing providers (#1014) 2021-07-21 11:32:27 +02:00
tslint.json Fix glob processing in npm. Ban single param parens (#818) 2021-02-03 11:41:33 -06:00
webfonts.list gulp webfonts task as part of build 2018-07-18 10:54:22 -04:00
webpack.config.js Dark Theme (#1017) 2021-09-30 08:06:20 +10:00

The Bitwarden web project is an Angular application that powers the web vault (https://vault.bitwarden.com/).

Github Workflow build on master Crowdin DockerHub gitter chat

Build/Run

Requirements

Run the app

For local development, run the app with:

npm install
npm run build:oss:watch

You can now access the web vault in your browser at https://localhost:8080.

If you want to point the development web vault to the production APIs, you can run using:

npm install
ENV=production npm run build:oss:watch

You can also manually adjusting your API endpoint settings by adding config/local.json overriding any of the following values:

{
    "proxyApi": "http://your-api-url",
    "proxyIdentity": "http://your-identity-url",
    "proxyEvents": "http://your-events-url",
    "proxyNotifications": "http://your-notifications-url",
    "proxyPortal": "http://your-portal-url",
    "allowedHosts": ["hostnames-to-allow-in-webpack"],
    "urls": {
      
    }
}

Where the urls object is defined by the Urls type in jslib.

Contribute

Code contributions are welcome! Please commit any pull requests against the master branch. Learn more about how to contribute by reading the CONTRIBUTING.md file.

Security audits and feedback are welcome. Please open an issue or email us privately if the report is sensitive in nature. You can read our security policy in the SECURITY.md file.