azure-devops-ui
Version:
React components for building web UI in Azure DevOps
1 lines • 238 B
JavaScript
function expandThemeableProperties(e,r){if(!r)return e;var a,p=/var\(--([A-Z_-][A-Z0-9_-]*)\)/gim;let t=e;for(;a=p.exec(e);)a[1]&&(t=t.replace(a[0],r[a[1]]));return t===e?e:expandThemeableProperties(t,r)}export{expandThemeableProperties};