Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable link labels #45

Open
github-actions bot opened this issue Aug 5, 2024 · 0 comments
Open

Configurable link labels #45

github-actions bot opened this issue Aug 5, 2024 · 0 comments
Assignees

Comments

@github-actions
Copy link

github-actions bot commented Aug 5, 2024

 * `text-color` (Optional) defaults to white
 * `border-color` (Optional) defaults to text-color, if present, or transparent
 */
// TODO make configurable
$groups: 'for-teachers/' 'Faculty',
  'for-students/' 'Students' white Constants.$navbarColor, 'for-staff/' 'Staff',
  'for-employees/' 'Faculty & Staff', 'for-department-heads/' 'Dept. Heads',
  'for-it/' 'IT' gold black;

@each $url, $label, $color, $text, $border in $groups {
  a[href$='#{$url}'] {
    .badge {
      background: $color or Constants.$navbarColor;
      border: solid 1px ($border or $text or transparent);

      .label::before {
@github-actions github-actions bot added the todo label Aug 5, 2024
@battis battis added the apps/ui label Aug 6, 2024
@battis battis changed the title make configurable Configurable link labels Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant