repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git]
/
packages
/
colors
/
get-variable-from-theme-color.ts
blob
cb05bb6aba6c44dd7308aeb982baf6555f63bad3
1
import type { ThemeColor } from './types';
2
3
const getVariableFromThemeColor = (name: ThemeColor) =>
4
name === 'norm' || name === 'weak' ? `--interaction-${name}` : `--signal-${name}`;
5
6
export default getVariableFromThemeColor;