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

New theme-colors variable + breadcrumb colors #774

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion assets/components/atoms/tag/tag.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ a.tag, button.tag, span.tag, div.tag, p.tag {
border-bottom: 1px solid $gray-300;
}

@else if $color == "tertiary" {
border-bottom: 1px solid $leman;
}

@else {
border-bottom: 1px solid $value;
}
Expand Down Expand Up @@ -112,7 +116,8 @@ button.tag {
}

&.tag-secondary,
&.tag-plain {
&.tag-plain,
&.tag-school {
&:focus,
&:focus-visible,
&.focus {
Expand Down
6 changes: 6 additions & 0 deletions assets/components/atoms/tag/tag.twig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<h5>Link</h5>
<a href="#" class="tag tag-primary">Primary</a>
<a href="#" class="tag tag-secondary">Secondary</a>
<a href="#" class="tag tag-tertiary">Tertiary</a>
<hr>
<h5>removable</h5>
<button class="btn tag tag-primary">
Expand All @@ -16,10 +17,15 @@
Secondary
<span class="btn btn-secondary remove" title="Remove">×</span>
</button>
<button class="btn tag tag-tertiary">
Tertiary
<span class="btn btn-tertiary remove" title="Remove">×</span>
</button>
<hr>
<h5>Small</h5>
<span class="tag tag-sm tag-plain">Plain</span>
<span class="tag tag-sm tag-primary">Primary</span>
<span class="tag tag-sm tag-secondary">Secondary</span>
<span class="tag tag-sm tag-tertiary">Tertiary</span>
<span class="tag tag-sm tag-light">Light</span>
<hr>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</a>
</li>
<li class="breadcrumb-item breadcrumb-tags-wrapper">
<a href="#" class="tag tag-primary">School</a>
<a href="#" class="tag tag-tertiary">School</a>
<a href="#" class="tag tag-primary">Innovation</a>
<a href="#" class="tag tag-primary">W3C</a>
</li>
Expand Down
1 change: 1 addition & 0 deletions assets/config/bootstrap-variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ $theme-colors: () !default;
$theme-colors: map-merge((
"primary": $primary,
"secondary": $secondary,
"tertiary": $canard,
"success": $success,
"info": $info,
"warning": $warning,
Expand Down
Loading