Skip to content

Commit

Permalink
Update variables.less
Browse files Browse the repository at this point in the history
  • Loading branch information
mb-wali authored Feb 10, 2024
2 parents 7ea5c0e + 899b2c9 commit 5737ce6
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 12 deletions.
27 changes: 21 additions & 6 deletions themes/KFU/variables.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (C) 2024 Shared RDM.
*
* invenio-override is free software; you can redistribute it and/or modify it
* under the terms of the MIT License; see LICENSE file for more details.
*/

// badge colors, accessibility
@accessRight : #e9711c;
Expand All @@ -7,9 +13,8 @@
@accessRightClosed : @accessRightEmbargoed;
@accessRightMetadata : #2185D0;

// primary colors
@overrideBlack: #231f20;
@overrideRed : #ffd500;
// primary colors
@overridePrimary : #ffd500;

// general
@primaryBackground: #fff;
Expand All @@ -21,7 +26,9 @@
@greyLight : #E0E1E2;
@labelKeywordBackground: #E8E8E8;


// ui message
@uiMsgBc: #FCFFF5;
@uiMsgGc: @overridePrimary;

// link and button colors
@primaryLinkInverted : @primaryText;
Expand Down Expand Up @@ -57,12 +64,20 @@
@notificationBorder: #e2d5c2;

.home-stroke {
stroke:@overrideRed;;stroke-linecap:square;stroke-width:4;fill:none
stroke:@overridePrimary;;stroke-linecap:square;stroke-width:4;fill:none
}

/**** hyperlink hover color ****/
a:focus,
a:hover {
color: @overrideRed;
color: @overridePrimary;
text-decoration: underline;
}

// Overrided
.ui.primary.label {
background-color: @overridePrimary;
border-color: @overridePrimary;
color: rgba(255, 255, 255, 0.9);
}

28 changes: 22 additions & 6 deletions themes/MUG/variables.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Copyright (C) 2024 Shared RDM.
*
* invenio-override is free software; you can redistribute it and/or modify it
* under the terms of the MIT License; see LICENSE file for more details.
*/


// badge colors, accessibility
@accessRight : #e9711c;
Expand All @@ -7,9 +14,8 @@
@accessRightClosed : @accessRightEmbargoed;
@accessRightMetadata : #2185D0;

// primary colors
@overrideBlack: #231f20;
@overrideRed : #007934;
// primary colors
@overridePrimary : #007934;

// general
@primaryBackground: #fff;
Expand All @@ -21,7 +27,9 @@
@greyLight : #E0E1E2;
@labelKeywordBackground: #E8E8E8;


// ui message
@uiMsgBc: #FCFFF5;
@uiMsgGc: @overridePrimary;

// link and button colors
@primaryLinkInverted : @primaryText;
Expand Down Expand Up @@ -57,12 +65,20 @@
@notificationBorder: #e2d5c2;

.home-stroke {
stroke:@overrideRed;;stroke-linecap:square;stroke-width:4;fill:none
stroke:@overridePrimary;;stroke-linecap:square;stroke-width:4;fill:none
}

/**** hyperlink hover color ****/
a:focus,
a:hover {
color: @overrideRed;
color: @overridePrimary;
text-decoration: underline;
}

// Overrided
.ui.primary.label {
background-color: @overridePrimary;
border-color: @overridePrimary;
color: rgba(255, 255, 255, 0.9);
}

0 comments on commit 5737ce6

Please sign in to comment.