Skip to content

Commit

Permalink
Change text-dark to text-body-emphasis for feature dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Oct 28, 2024
1 parent c032e5f commit a256ccd
Show file tree
Hide file tree
Showing 17 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion resources/views/auth/impersonation.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@section('title',__('Access Denied: Viewing as Another User'))

@section('content')
<h1 class="h4 text-black mb-4">{{__('Limited Access')}}</h1>
<h1 class="h4 text-body-emphasis mb-4">{{__('Limited Access')}}</h1>

<form role="form"
method="POST"
Expand Down
2 changes: 1 addition & 1 deletion resources/views/auth/login.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@section('title',__('Sign in to your account'))

@section('content')
<h1 class="h4 text-black mb-4">{{__('Sign in to your account')}}</h1>
<h1 class="h4 text-body-emphasis mb-4">{{__('Sign in to your account')}}</h1>

<form class="m-t-md"
role="form"
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/popover.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<sup class="text-black"
<sup class="text-body-emphasis"
role="button"
data-controller="popover"
data-bs-container="body"
Expand Down
2 changes: 1 addition & 1 deletion resources/views/dashboard.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class="breadcrumb-item"
<div class="order-last order-md-0 command-bar-wrapper">
<div class="@hasSection('navbar') @else d-none d-md-block @endif layout d-md-flex align-items-center">
<header class="d-none d-md-block col-xs-12 col-md p-0 me-3">
<h1 class="m-0 fw-light h3 text-black">@yield('title')</h1>
<h1 class="m-0 fw-light h3 text-body-emphasis">@yield('title')</h1>
<small class="text-muted" title="@yield('description')">@yield('description')</small>
</header>
<nav class="col-xs-12 col-md-auto ms-md-auto p-0">
Expand Down
4 changes: 2 additions & 2 deletions resources/views/fields/upload.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<div class="modal-dialog modal-fullscreen-md-down">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title text-black fw-light">
<h4 class="modal-title text-body-emphasis fw-light">
{{__('File Information')}}
<small class="text-muted d-block">{{__('Information to display')}}</small>
</h4>
Expand Down Expand Up @@ -124,7 +124,7 @@ class="btn btn-link">
<div class="modal-dialog modal-dialog-scrollable modal-fullscreen-md-down slide-up">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title text-black fw-light">
<h4 class="modal-title text-body-emphasis fw-light">
{{__('Media Library')}}
<small class="text-muted d-block">{{__('Previously uploaded files')}}</small>
</h4>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/fields/utm.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="modal-dialog modal-fullscreen-md-down modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title text-black fw-light"
<h4 class="modal-title text-body-emphasis fw-light"
id="exampleModalLabel">{{__('UTM Generator')}}</h4>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/layouts/block.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<fieldset class="row g-0 mb-3">
@if(!empty($title) || !empty($description))
<div class="col p-0 px-3">
<legend class="text-black px-2 mt-2">
<legend class="text-body-emphasis px-2 mt-2">
{{ __($title ?? '') }}

@if(!empty($description))
Expand Down
2 changes: 1 addition & 1 deletion resources/views/layouts/chart.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="bg-white rounded shadow-sm mb-3 pt-3">

<div class="d-flex px-3 align-items-center">
<legend class="text-black px-2 mt-2 mb-0">
<legend class="text-body-emphasis px-2 mt-2 mb-0">
<div class="d-flex align-items-center">
<small class="d-block">{{ __($title ?? '') }}</small>

Expand Down
4 changes: 2 additions & 2 deletions resources/views/layouts/legend.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@empty(!$title)
<div class="col p-0 px-3">
<legend class="text-black text-black mt-2 mx-2">
<legend class="text-body-emphasis mt-2 mx-2">
{{ $title }}
</legend>
</div>
Expand All @@ -14,7 +14,7 @@
<dt class="text-muted fw-normal me-3">
{!! $column->buildDt($repository) !!}
</dt>
<dd class="text-black">
<dd class="text-body-emphasis">
{!! $column->buildDd($repository) !!}
</dd>
</div>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/layouts/metric.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="mb-3">
@isset($title)
<legend class="text-black px-4 mb-0">
<legend class="text-body-emphasis px-4 mb-0">
{{ __($title) }}
</legend>
@endisset
Expand All @@ -9,7 +9,7 @@
<div class="col">
<div class="p-4 bg-white rounded shadow-sm h-100 d-flex flex-column">
<small class="text-muted d-block mb-1">{{ __($key) }}</small>
<p class="h3 text-black fw-light mt-auto">
<p class="h3 text-body-emphasis fw-light mt-auto">
{{ is_array($metric) ? $metric['value'] : $metric }}

@if(isset($metric['diff']) && (float)$metric['diff'] !== 0.0)
Expand Down
2 changes: 1 addition & 1 deletion resources/views/layouts/modal.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</p>
</div>
<div class="modal-header align-items-baseline gap-3">
<h4 class="modal-title text-black fw-light text-balance text-break" data-modal-target="title">{{$title}}</h4>
<h4 class="modal-title text-body-emphasis fw-light text-balance text-break" data-modal-target="title">{{$title}}</h4>
<button type="button" class="btn-close" title="Close" data-bs-dismiss="modal"
aria-label="Close">
</button>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/layouts/row.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@empty(!$title)
<div class="col p-0 px-3">
<legend class="text-black">
<legend class="text-body-emphasis">
{{ $title }}
</legend>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/layouts/sortable.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@empty(!$title)
<fieldset>
<div class="col p-0 px-3">
<legend class="text-black text-black mt-2 mx-2">
<legend class="text-body-emphasis mt-2 mx-2">
{{ $title }}
</legend>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/layouts/table.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@empty(!$title)
<fieldset>
<div class="col p-0 px-3">
<legend class="text-black text-black mt-2 mx-2">
<legend class="text-body-emphasis mt-2 mx-2">
{{ $title }}
</legend>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/partials/confirm.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="modal-dialog modal-fullscreen-md-down">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title text-black fw-light">
<h4 class="modal-title text-body-emphasis fw-light">
{{ __('Are you sure?') }}
</h4>
<button type="button" class="btn-close" title="Close" data-bs-dismiss="modal" aria-label="Close">
Expand Down
2 changes: 1 addition & 1 deletion resources/views/partials/update-assets.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@if(!\Orchid\Platform\Dashboard::assetsAreCurrent())
<div class="alert alert-warning rounded shadow-sm mb-3 p-4" data-turbo-temporary>
<div class="d-flex align-items-center mb-2 text-black">
<div class="d-flex align-items-center mb-2 text-body-emphasis">
<x-orchid-icon path="bs.exclamation-triangle" width="2em" height="2em" class="me-2"/>
<h4 class="mb-0 fw-light">{{ __("Complete the update.") }}</h4>
</div>
Expand Down
14 changes: 7 additions & 7 deletions resources/views/partials/welcome.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="row g-0">
<div class="col col-lg-7 mt-6 p-4">

<h2 class="text-dark fw-light lh-lg">
<h2 class="text-body-emphasis fw-light lh-lg">
Hello, It’s Great to See You!
</h2>

Expand All @@ -26,7 +26,7 @@
<h3 class="text-muted fw-light lh-lg d-flex align-items-center">
<x-orchid-icon path="bs.book"/>

<span class="ms-3 text-dark">Explore the Documentation</span>
<span class="ms-3 text-body-emphasis">Explore the Documentation</span>
</h3>
<p class="ms-md-5 ps-md-1">
Ready to unleash your coding potential? Our platform built on the Laravel framework is user-friendly and
Expand All @@ -39,7 +39,7 @@
<h3 class="text-muted fw-light lh-lg d-flex align-items-center">
<x-orchid-icon path="bs.rocket"/>

<span class="ms-3 text-dark">Quick Start Guide</span>
<span class="ms-3 text-body-emphasis">Quick Start Guide</span>
</h3>
<p class="ms-md-5 ps-md-1">
Are you entirely new to Laravel Orchid? Don't worry, we all were once. For a quick study of the main
Expand All @@ -51,7 +51,7 @@
<h3 class="text-muted fw-light lh-lg d-flex align-items-center">
<x-orchid-icon path="bs.collection"/>

<span class="ms-3 text-dark">The Screens</span>
<span class="ms-3 text-body-emphasis">The Screens</span>
</h3>
<p class="ms-md-5 ps-md-1">
Screen design is hierarchical and declarative, rather than physical and imperative. You specify what
Expand All @@ -64,7 +64,7 @@
<h3 class="text-muted fw-light lh-lg d-flex align-items-center">
<x-orchid-icon path="bs.window-sidebar"/>

<span class="ms-3 text-dark">Layouts</span>
<span class="ms-3 text-body-emphasis">Layouts</span>
</h3>
<p class="ms-md-5 ps-md-1">
It allows you to express many details so that the user interface can be interpreted and generated
Expand All @@ -77,7 +77,7 @@
<h3 class="text-muted fw-light lh-lg d-flex align-items-center">
<x-orchid-icon path="bs.star"/>

<span class="ms-3 text-dark">And one more thing</span>
<span class="ms-3 text-body-emphasis">And one more thing</span>
</h3>
<p class="ms-md-5 ps-md-1">
Laravel Orchid offers a wide range of features to enhance your user interface and improve data
Expand All @@ -91,7 +91,7 @@
<h3 class="text-muted fw-light lh-lg d-flex align-items-center">
<x-orchid-icon path="bs.life-preserver"/>

<span class="ms-3 text-dark">Connect with the Community</span>
<span class="ms-3 text-body-emphasis">Connect with the Community</span>
</h3>
<div class="ms-md-5 ps-md-1">
<p>
Expand Down

0 comments on commit a256ccd

Please sign in to comment.