Skip to content

Commit 0476fd8

Browse files
committed
docs: Clean-up
1 parent a7a6011 commit 0476fd8

2 files changed

Lines changed: 52 additions & 53 deletions

File tree

src/scss/config/_bootstrap-overrides.scss

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
// ==========================================================================
2-
// Bootstrap 5.3 Variable Overrides — Argon Light Theme
3-
// ==========================================================================
4-
// Only variables that DIFFER from Bootstrap 5.3 defaults.
5-
// Requires bootstrap/scss/functions to be loaded first.
6-
// Requires config/theme-variables to be loaded first.
7-
//
8-
// Organization follows Bootstrap's _variables.scss structure.
9-
// ==========================================================================
1+
/*! ********************************************
2+
Argon Light Theme
3+
Originally made by jchue
4+
Under the Internet Systems Consortium License
5+
https://github.com/jchue/argon-webtrees-theme
6+
7+
Forked and maintained by Evan Galli
8+
Under the same licence
9+
https://github.com/06Games/Webtrees-ArgonLight
10+
************************************************/
1011

1112
$prefix: "bs-";
1213

@@ -19,11 +20,11 @@ $primary: $blue;
1920
$secondary: $gray-200;
2021
$tertiary: $gray-300;
2122
$success: $green;
22-
$info: $teal; // Argon uses Teal for Info, not Cyan
23-
$warning: $yellow; // Argon uses Yellow for Warning, not Orange
23+
$info: $teal;
24+
$warning: $yellow;
2425
$danger: $red;
2526
$light: $gray-100;
26-
$dark: #172b4d; // Argon specific "Dark Blue" used for text/nav
27+
$dark: #172b4d;
2728

2829
// Theme Colors Map
2930
$theme-colors: (
@@ -52,7 +53,6 @@ $enable-shadows: true;
5253
// Spacing
5354
// ---------------------------------------------------------------------------
5455

55-
// Extended spacers (Bootstrap provides 0–5, Argon adds 6–12)
5656
$spacer: 1rem !default;
5757
$spacers: (
5858
0: 0,
@@ -103,12 +103,12 @@ $font-family-sans-serif: "Open Sans", sans-serif;
103103
$font-weight-bold: 600;
104104
$font-weight-bolder: 700;
105105

106-
$small-font-size: .8em; // BS default: .875em
107-
$h1-font-size: 3rem; // BS default: 2.5rem
108-
$h2-font-size: 2.25rem; // BS default: 2rem
109-
$h3-font-size: 1.875rem; // BS default: 1.75rem
106+
$small-font-size: .8em;
107+
$h1-font-size: 3rem;
108+
$h2-font-size: 2.25rem;
109+
$h3-font-size: 1.875rem;
110110

111-
$headings-font-weight: 400; // BS default: 500
111+
$headings-font-weight: 400;
112112
$headings-color: $h-color;
113113

114114

@@ -127,30 +127,30 @@ $table-border-color: $gray-200;
127127
// Buttons
128128
// ---------------------------------------------------------------------------
129129

130-
$btn-padding-y: .625rem; // BS default: .375rem
131-
$btn-padding-x: 1.25rem; // BS default: .75rem
132-
$btn-font-size: .875rem; // BS default: 1rem
133-
$btn-font-weight: 700; // BS default: 400
130+
$btn-padding-y: .625rem;
131+
$btn-padding-x: 1.25rem;
132+
$btn-font-size: .875rem;
133+
$btn-font-weight: 700;
134134

135135
$btn-padding-y-sm: .5rem;
136-
$btn-padding-x-sm: 2rem; // BS default: .5rem
136+
$btn-padding-x-sm: 2rem;
137137
$btn-font-size-sm: .75rem;
138138

139139
$btn-padding-y-lg: .875rem;
140-
$btn-padding-x-lg: 4rem; // BS default: 1rem
140+
$btn-padding-x-lg: 4rem;
141141
$btn-font-size-lg: .875rem;
142142

143143
$btn-box-shadow: 0 4px 6px rgba(50, 50, 93, .1), 0 1px 3px rgba(0, 0, 0, .08);
144144
$btn-focus-box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
145145
$btn-active-box-shadow: none;
146146

147-
$btn-border-radius: $border-radius-md; // .5rem (BS default: .375rem)
147+
$btn-border-radius: $border-radius-md;
148148
$btn-border-radius-sm: .25rem;
149149
$btn-border-radius-lg: .75rem;
150150

151151
$btn-transition: all .15s ease-in;
152152

153-
$btn-close-color: #fff; // BS default: #000
153+
$btn-close-color: #fff;
154154

155155

156156
// ---------------------------------------------------------------------------
@@ -163,10 +163,10 @@ $form-label-color: $dark;
163163

164164
$input-padding-y: .5rem;
165165
$input-padding-x: .75rem;
166-
$input-font-size: .875rem; // BS default: 1rem
166+
$input-font-size: .875rem;
167167
$input-line-height: 1.4rem;
168168

169-
$input-color: #495057; // $gray-700
169+
$input-color: $gray-700;
170170
$input-border-color: #d2d6da;
171171
$input-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
172172

@@ -175,10 +175,10 @@ $input-border-radius-sm: $border-radius-md;
175175
$input-border-radius-lg: $border-radius-md;
176176

177177
$input-focus-border-color: $primary;
178-
$input-focus-width: 2px; // BS default: .25rem
178+
$input-focus-width: 2px;
179179
$input-focus-box-shadow: 0 3px 9px rgba(50, 50, 9, 0), 3px 4px 8px rgba(94, 114, 228, .10);
180180

181-
$input-placeholder-color: #adb5bd; // $gray-500
181+
$input-placeholder-color: $gray-500;
182182

183183
$form-switch-color: rgba(0, 0, 0, 1);
184184
$form-switch-bg-image: none;
@@ -204,8 +204,8 @@ $nav-pills-border-radius: 0.75rem;
204204
$nav-pills-link-active-color: $white;
205205
$nav-pills-link-active-bg: $dark;
206206

207-
$navbar-dark-color: rgba(#fff, .85); // BS default: .55
208-
$navbar-dark-hover-color: rgba(#fff, .75); // BS default: .75
207+
$navbar-dark-color: rgba(#fff, .85);
208+
$navbar-dark-hover-color: rgba(#fff, .75);
209209

210210
$navbar-light-color: $white;
211211
$navbar-light-hover-color: rgba($white, .7);
@@ -218,7 +218,7 @@ $navbar-light-disabled-color: rgba($white, .3);
218218

219219
$tooltip-border-radius: $border-radius-md;
220220

221-
$popover-font-size: $font-size-xs; // .75rem (BS default: .875rem)
221+
$popover-font-size: $font-size-xs;
222222
$popover-border-width: 0;
223223
$popover-border-radius: .75rem;
224224

@@ -246,7 +246,7 @@ $alert-border-radius: $border-radius-md;
246246
// Progress
247247
// ---------------------------------------------------------------------------
248248

249-
$progress-height: 8px; // BS default: 1rem
249+
$progress-height: 8px;
250250
$progress-border-radius: $border-radius-md;
251251

252252

src/scss/config/_theme-variables.scss

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,32 @@
1-
// ==========================================================================
2-
// Theme-Specific Custom Variables — Argon Light
3-
// ==========================================================================
4-
// Variables that are NOT part of Bootstrap's API. These define the
5-
// Argon Light theme's own design tokens, used in theme.scss styles.
6-
// Imported BEFORE _bootstrap-overrides.scss so they can be referenced there.
7-
// ==========================================================================
1+
/*! ********************************************
2+
Argon Light Theme
3+
Originally made by jchue
4+
Under the Internet Systems Consortium License
5+
https://github.com/jchue/argon-webtrees-theme
6+
7+
Forked and maintained by Evan Galli
8+
Under the same licence
9+
https://github.com/06Games/Webtrees-ArgonLight
10+
************************************************/
811

912
@use "sass:color";
1013

1114
// ---------------------------------------------------------------------------
1215
// Custom Color Foundation
1316
// ---------------------------------------------------------------------------
14-
// Used as the basis for $body-color, $headings-color, dropdown link colors,
15-
// and other Bootstrap overrides.
1617

17-
$font-color: #67748e !default; // Muted body text
18-
$h-color: #344767 !default; // Heading text
18+
$font-color: #67748e !default;
19+
$h-color: #344767 !default;
1920

2021
$white: #fff;
2122
$gray-100: #f6f9fc;
2223
$gray-200: #e9ecef;
2324
$gray-300: #dee2e6;
2425
$gray-400: #ced4da;
2526
$gray-500: #adb5bd;
26-
$gray-600: #8898aa; // Line footer color
27-
$gray-700: #525f7f; // Line p color
28-
$gray-800: #32325d; // Line heading color
27+
$gray-600: #8898aa;
28+
$gray-700: #525f7f;
29+
$gray-800: #32325d;
2930
$gray-900: #212529;
3031
$black: #000;
3132

@@ -65,7 +66,6 @@ $header-breakpoint: xxl;
6566
// ---------------------------------------------------------------------------
6667
// Argon Gradient Colors
6768
// ---------------------------------------------------------------------------
68-
// Used for gradient backgrounds, text gradients, and form-check styling.
6969

7070
$primary-gradient: #5e72e4 !default;
7171
$primary-gradient-state: #825ee4 !default;
@@ -91,7 +91,6 @@ $dark-gradient-state: #212529 !default;
9191
$light-gradient: #CED4DA !default;
9292
$light-gradient-state: #EBEFF4 !default;
9393

94-
// Gradient map
9594
$theme-gradient-colors: (
9695
"primary": ($primary-gradient, $primary-gradient-state),
9796
"secondary": ($secondary-gradient, $secondary-gradient-state),
@@ -103,21 +102,21 @@ $theme-gradient-colors: (
103102
"dark": ($dark-gradient, $dark-gradient-state)) !default;
104103

105104
// ---------------------------------------------------------------------------
106-
// Extended Font Sizes (not in Bootstrap)
105+
// Extended Font Sizes
107106
// ---------------------------------------------------------------------------
108107

109108
$font-size-xxs: .65rem !default;
110109
$font-size-xs: .75rem !default;
111110

112111
// ---------------------------------------------------------------------------
113-
// Extended Box Shadows (not in Bootstrap)
112+
// Extended Box Shadows
114113
// ---------------------------------------------------------------------------
115114

116115
$box-shadow-xs: 0 1px 3px #32325d26,0 1px #00000005 !default;
117116
$box-shadow-xl: 0 23px 45px -11px rgba(20, 20, 20, .25) !default;
118117

119118
// ---------------------------------------------------------------------------
120-
// Extended Border Radii (not in Bootstrap)
119+
// Extended Border Radii
121120
// ---------------------------------------------------------------------------
122121

123122
$border-radius-xs: .125rem !default;

0 commit comments

Comments
 (0)