Skip to content

Commit

Permalink
Merge pull request #2948 from nextcloud/enh/noid/use-primary-element
Browse files Browse the repository at this point in the history
  • Loading branch information
juliushaertl committed Jun 21, 2023
2 parents c974b1c + 66b7299 commit b24823f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions css/files.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
padding: 3px;
border-left: 3px solid transparent;
&.active {
border-left: 3px solid var(--color-primary);
border-left: 3px solid var(--color-primary-element);
}

.label {
Expand Down Expand Up @@ -115,7 +115,7 @@
}

#versionsTabView li.active {
border-left: 3px solid var(--color-primary, #000);
border-left: 3px solid var(--color-primary-element, #000);
padding-left: 12px;
}

Expand Down
5 changes: 2 additions & 3 deletions src/helpers/coolParameters.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,9 @@ const getCollaboraTheme = () => {
const generateCSSVarTokens = () => {
/* NC versus COOL */
const cssVarMap = {
'--color-primary-text': '--co-primary-text',
'--color-primary-element-text': '--co-primary-text',
'--color-primary-element': '--co-primary-element:--co-text-accent',
'--color-primary-light': '--co-primary-light',
'--color-primary-element-light': '--co-primary-element-light',
'--color-primary-element-light': '--co-primary-light:--co-primary-element-light',
'--color-error': '--co-color-error',
'--color-warning': '--co-color-warning',
'--color-success': '--co-color-success',
Expand Down

0 comments on commit b24823f

Please sign in to comment.