-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2272 from SpareBank1/darkmode-header
flytter dm-variabler inn til theme, header
- Loading branch information
Showing
6 changed files
with
51 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
component-overview/webapp/styles/prefers-color-scheme-dark.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,44 @@ | ||
:root, | ||
:host { | ||
--ffe-v-background-color: @ffe-farge-hvit; | ||
--ffe-v-primary-color: @ffe-farge-fjell; | ||
--ffe-v-header-border-bottom-color: @ffe-farge-lysgraa; | ||
--ffe-v-link-color: @ffe-farge-svart; | ||
--ffe-v-link-hover-color: @ffe-farge-vann; | ||
--ffe-v-link-focus-box-shadow-color: @ffe-farge-vann; | ||
--ffe-v-link-disabled-color: @ffe-farge-moerkgraa; | ||
--ffe-v-notification-bubble-background-color: @ffe-farge-skog; | ||
--ffe-v-notification-bubble-text-color: @ffe-farge-hvit; | ||
--ffe-v-background-color: var(--ffe-farge-hvit); | ||
--ffe-v-primary-color: var(--ffe-farge-fjell); | ||
--ffe-v-header-border-bottom-color: var(--ffe-farge-lysgraa); | ||
--ffe-v-header-logo-color: var(--ffe-farge-fjell); | ||
--ffe-v-link-color: var(--ffe-farge-svart); | ||
--ffe-v-link-hover-color: var(--ffe-farge-vann); | ||
--ffe-v-link-focus-box-shadow-color: var(--ffe-farge-vann); | ||
--ffe-v-link-disabled-color: var(--ffe-farge-moerkgraa); | ||
--ffe-v-notification-bubble-background-color: var(--ffe-farge-skog); | ||
--ffe-v-notification-bubble-text-color: var(--ffe-farge-hvit); | ||
--ffe-v-font-strong: 'SpareBank1-medium', arial, sans-serif; | ||
|
||
/* User nav menu */ | ||
--ffe-v-usernav-link-hover-background-color: @ffe-farge-frost-30; | ||
--ffe-v-usernav-link-focus-background-color: @ffe-farge-frost-30; | ||
--ffe-v-usernav-list-border-color: @ffe-farge-vann; | ||
--ffe-v-logout-button-label-color-text: @ffe-farge-vann; | ||
--ffe-v-usernav-link-hover-background-color: var(--ffe-farge-frost-30); | ||
--ffe-v-usernav-link-focus-background-color: var(--ffe-farge-frost-30); | ||
--ffe-v-usernav-list-border-color: var(--ffe-farge-vann); | ||
--ffe-v-logout-button-label-color-text: var(--ffe-farge-vann); | ||
|
||
@media (prefers-color-scheme: dark) { | ||
.regard-color-scheme-preference { | ||
--ffe-v-background-color: @ffe-farge-svart; | ||
--ffe-v-primary-color: @ffe-farge-vann-70; | ||
--ffe-v-header-border-bottom-color: @ffe-farge-moerkgraa; | ||
--ffe-v-link-color: @ffe-farge-varmgraa; | ||
--ffe-v-link-hover-color: @ffe-farge-vann-70; | ||
--ffe-v-link-focus-box-shadow-color: @ffe-farge-hvit; | ||
--ffe-v-notification-bubble-background-color: @ffe-farge-skog-30; | ||
--ffe-v-notification-bubble-text-color: @ffe-farge-svart; | ||
--ffe-v-background-color: var(--ffe-farge-svart); | ||
--ffe-v-primary-color: var(--ffe-farge-vann-70); | ||
--ffe-v-header-border-bottom-color: var(--ffe-farge-moerkgraa); | ||
--ffe-v-header-logo-color: var(--ffe-farge-hvit); | ||
--ffe-v-link-color: var(--ffe-farge-varmgraa); | ||
--ffe-v-link-hover-color: var(--ffe-farge-hvit); | ||
--ffe-v-link-focus-box-shadow-color: var(--ffe-farge-hvit); | ||
--ffe-v-notification-bubble-background-color: var( | ||
--ffe-farge-skog-30 | ||
); | ||
--ffe-v-notification-bubble-text-color: var(--ffe-farge-svart); | ||
|
||
/* User nav menu */ | ||
--ffe-v-usernav-link-hover-background-color: @ffe-farge-vann-30; | ||
--ffe-v-usernav-list-border-color: @ffe-farge-vann-70; | ||
--ffe-v-usernav-header-link-hover-focus-color: @ffe-farge-svart; | ||
--ffe-v-logout-button-label-color-text: @ffe-farge-vann-30; | ||
--ffe-v-usernav-link-hover-background-color: var(--ffe-farge-fjell); | ||
--ffe-v-usernav-list-border-color: var(--ffe-farge-vann-70); | ||
--ffe-v-usernav-header-link-hover-focus-color: var( | ||
--ffe-farge-svart | ||
); | ||
--ffe-v-logout-button-label-color-text: var(--ffe-farge-vann-30); | ||
} | ||
} | ||
} |