From 449e1411b182b528ba6346cded5ad5fdc68b7483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20=C5=A0im=C3=A1nek?= <josef.simanek@gmail.com> Date: Sat, 11 Jan 2025 17:08:04 +0100 Subject: [PATCH] Rename adoption style to description heading. --- app/assets/stylesheets/modules/shared.css | 2 +- .../components/oidc/id_token/key_value_pairs_component.rb | 2 +- .../oidc/trusted_publisher/github_action/table_component.rb | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/modules/shared.css b/app/assets/stylesheets/modules/shared.css index b57a76fb3e0..b10e381dd98 100644 --- a/app/assets/stylesheets/modules/shared.css +++ b/app/assets/stylesheets/modules/shared.css @@ -222,7 +222,7 @@ span.github-btn { font-weight: 800; } -.adoption__heading { +.description__heading { color: #e9573f; } diff --git a/app/views/components/oidc/id_token/key_value_pairs_component.rb b/app/views/components/oidc/id_token/key_value_pairs_component.rb index 8052eb446ad..16e4c201c85 100644 --- a/app/views/components/oidc/id_token/key_value_pairs_component.rb +++ b/app/views/components/oidc/id_token/key_value_pairs_component.rb @@ -6,7 +6,7 @@ class OIDC::IdToken::KeyValuePairsComponent < ApplicationComponent def view_template dl(class: "t-body provider_attributes full-width overflow-wrap") do pairs.each do |key, val| - dt(class: "adoption__heading text-right") { code { key } } + dt(class: "description__heading text-right") { code { key } } dd { code { val } } end end diff --git a/app/views/components/oidc/trusted_publisher/github_action/table_component.rb b/app/views/components/oidc/trusted_publisher/github_action/table_component.rb index ecb8e83242b..0f23630da5d 100644 --- a/app/views/components/oidc/trusted_publisher/github_action/table_component.rb +++ b/app/views/components/oidc/trusted_publisher/github_action/table_component.rb @@ -3,14 +3,14 @@ class OIDC::TrustedPublisher::GitHubAction::TableComponent < ApplicationComponen def view_template dl(class: "tw-flex tw-flex-col sm:tw-grid sm:tw-grid-cols-2 tw-items-baseline tw-gap-4 full-width overflow-wrap") do - dt(class: "adoption__heading ") { "GitHub Repository" } + dt(class: "description__heading ") { "GitHub Repository" } dd { code { github_action.repository } } - dt(class: "adoption__heading ") { "Workflow Filename" } + dt(class: "description__heading ") { "Workflow Filename" } dd { code { github_action.workflow_filename } } if github_action.environment? - dt(class: "adoption__heading") { "Environment" } + dt(class: "description__heading") { "Environment" } dd { code { github_action.environment } } end end