Skip to content

Commit

Permalink
Use the color-primary-element* variables
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <[email protected]>
  • Loading branch information
szaimen authored and juliusknorr committed Jun 20, 2023
1 parent ec1f4d6 commit 66b7299
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 66b7299

Please sign in to comment.