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

#2328 Add TailwindStyles and TailwindStyleBuilder components #2329

Merged
merged 2 commits into from
Dec 6, 2024
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
1 change: 1 addition & 0 deletions src/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -407,3 +407,4 @@ FodyWeavers.xsd
FluentCMS/files
FluentCMS/LiteDb-log.db
FluentCMS/LiteDb.db
FluentCMS/wwwroot/tailwind
30 changes: 1 addition & 29 deletions src/FluentCMS/Templates/Blank/AdminLayout.head.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,4 @@
<link rel="mask-icon" href="/files/images/safari-pinned-tab.svg" color="#2d3250">

<script src="/files/js/app.head.js"></script>
<script src="/files/js/tailwind.cdn.js"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
50: '#f4f8fd',
100: '#e8f1fb',
200: '#c6ddf4',
300: '#a3c8ed',
400: '#5e9fe0',
500: '#1976d2',
600: '#176abd',
700: '#13599e',
800: '#0f477e',
900: '#0c3a67',
on: '#f4f8fd',
dark: {
DEFAULT: '#a3c8ed',
on: '#0f477e',
}
},
},
},
}
}
</script>
<TailwindStyles fluentcms />
30 changes: 1 addition & 29 deletions src/FluentCMS/Templates/Blank/AuthLayout.head.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,4 @@
<link rel="icon" type="image/png" sizes="192x192" href="/files/images/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="16x16" href="/files/images/favicon-16x16.png">
<link rel="mask-icon" href="/files/images/safari-pinned-tab.svg" color="#2d3250">
<script src="/files/js/tailwind.cdn.js"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
50: '#f4f8fd',
100: '#e8f1fb',
200: '#c6ddf4',
300: '#a3c8ed',
400: '#5e9fe0',
500: '#1976d2',
600: '#176abd',
700: '#13599e',
800: '#0f477e',
900: '#0c3a67',
on: '#f4f8fd',
dark: {
DEFAULT: '#a3c8ed',
on: '#0f477e',
}
},
},
},
}
}
</script>
<TailwindStyles fluentcms />
30 changes: 1 addition & 29 deletions src/FluentCMS/Templates/Blank/DefaultLayout.head.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,4 @@
<link rel="mask-icon" href="/files/images/safari-pinned-tab.svg" color="#2d3250">

<script src="/files/js/app.head.js"></script>
<script src="/files/js/tailwind.cdn.js"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
50: '#f4f8fd',
100: '#e8f1fb',
200: '#c6ddf4',
300: '#a3c8ed',
400: '#5e9fe0',
500: '#1976d2',
600: '#176abd',
700: '#13599e',
800: '#0f477e',
900: '#0c3a67',
on: '#f4f8fd',
dark: {
DEFAULT: '#a3c8ed',
on: '#0f477e',
}
},
},
},
}
}
</script>
<TailwindStyles fluentcms />
30 changes: 1 addition & 29 deletions src/FluentCMS/Templates/Blank/EditLayout.head.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,4 @@
<link rel="mask-icon" href="/files/images/safari-pinned-tab.svg" color="#2d3250">

<script src="/files/js/app.head.js"></script>
<script src="/files/js/tailwind.cdn.js"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
50: '#f4f8fd',
100: '#e8f1fb',
200: '#c6ddf4',
300: '#a3c8ed',
400: '#5e9fe0',
500: '#1976d2',
600: '#176abd',
700: '#13599e',
800: '#0f477e',
900: '#0c3a67',
on: '#f4f8fd',
dark: {
DEFAULT: '#a3c8ed',
on: '#0f477e',
}
},
},
},
}
}
</script>
<TailwindStyles fluentcms />
30 changes: 1 addition & 29 deletions src/FluentCMS/Templates/Blank/SingleLayout.head.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,4 @@
<link rel="mask-icon" href="/files/images/safari-pinned-tab.svg" color="#2d3250">

<script src="/files/js/app.head.js"></script>
<script src="/files/js/tailwind.cdn.js"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
50: '#f4f8fd',
100: '#e8f1fb',
200: '#c6ddf4',
300: '#a3c8ed',
400: '#5e9fe0',
500: '#1976d2',
600: '#176abd',
700: '#13599e',
800: '#0f477e',
900: '#0c3a67',
on: '#f4f8fd',
dark: {
DEFAULT: '#a3c8ed',
on: '#0f477e',
}
},
},
},
}
}
</script>
<TailwindStyles fluentcms />
30 changes: 1 addition & 29 deletions src/FluentCMS/Templates/Default/AdminLayout.head.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,4 @@
<link rel="mask-icon" href="/files/images/safari-pinned-tab.svg" color="#2d3250">

<script src="/files/js/app.head.js"></script>
<script src="/files/js/tailwind.cdn.js"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
50: '#f4f8fd',
100: '#e8f1fb',
200: '#c6ddf4',
300: '#a3c8ed',
400: '#5e9fe0',
500: '#1976d2',
600: '#176abd',
700: '#13599e',
800: '#0f477e',
900: '#0c3a67',
on: '#f4f8fd',
dark: {
DEFAULT: '#a3c8ed',
on: '#0f477e',
}
},
},
},
}
}
</script>
<TailwindStyles fluentcms />
30 changes: 1 addition & 29 deletions src/FluentCMS/Templates/Default/AuthLayout.head.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,4 @@
<link rel="icon" type="image/png" sizes="192x192" href="/files/images/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="16x16" href="/files/images/favicon-16x16.png">
<link rel="mask-icon" href="/files/images/safari-pinned-tab.svg" color="#2d3250">
<script src="/files/js/tailwind.cdn.js"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
50: '#f4f8fd',
100: '#e8f1fb',
200: '#c6ddf4',
300: '#a3c8ed',
400: '#5e9fe0',
500: '#1976d2',
600: '#176abd',
700: '#13599e',
800: '#0f477e',
900: '#0c3a67',
on: '#f4f8fd',
dark: {
DEFAULT: '#a3c8ed',
on: '#0f477e',
}
},
},
},
}
}
</script>
<TailwindStyles fluentcms />
30 changes: 1 addition & 29 deletions src/FluentCMS/Templates/Default/DefaultLayout.head.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,4 @@
<link rel="mask-icon" href="/files/images/safari-pinned-tab.svg" color="#2d3250">

<script src="/files/js/app.head.js"></script>
<script src="/files/js/tailwind.cdn.js"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
50: '#f4f8fd',
100: '#e8f1fb',
200: '#c6ddf4',
300: '#a3c8ed',
400: '#5e9fe0',
500: '#1976d2',
600: '#176abd',
700: '#13599e',
800: '#0f477e',
900: '#0c3a67',
on: '#f4f8fd',
dark: {
DEFAULT: '#a3c8ed',
on: '#0f477e',
}
},
},
},
}
}
</script>
<TailwindStyles fluentcms />
30 changes: 1 addition & 29 deletions src/FluentCMS/Templates/Default/EditLayout.head.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,4 @@
<link rel="mask-icon" href="/files/images/safari-pinned-tab.svg" color="#2d3250">

<script src="/files/js/app.head.js"></script>
<script src="/files/js/tailwind.cdn.js"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
50: '#f4f8fd',
100: '#e8f1fb',
200: '#c6ddf4',
300: '#a3c8ed',
400: '#5e9fe0',
500: '#1976d2',
600: '#176abd',
700: '#13599e',
800: '#0f477e',
900: '#0c3a67',
on: '#f4f8fd',
dark: {
DEFAULT: '#a3c8ed',
on: '#0f477e',
}
},
},
},
}
}
</script>
<TailwindStyles fluentcms />
61 changes: 0 additions & 61 deletions src/FluentCMS/Templates/Default/Files/js/tailwind.cdn.js

This file was deleted.

30 changes: 1 addition & 29 deletions src/FluentCMS/Templates/Default/SingleLayout.head.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,4 @@
<link rel="mask-icon" href="/files/images/safari-pinned-tab.svg" color="#2d3250">

<script src="/files/js/app.head.js"></script>
<script src="/files/js/tailwind.cdn.js"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
50: '#f4f8fd',
100: '#e8f1fb',
200: '#c6ddf4',
300: '#a3c8ed',
400: '#5e9fe0',
500: '#1976d2',
600: '#176abd',
700: '#13599e',
800: '#0f477e',
900: '#0c3a67',
on: '#f4f8fd',
dark: {
DEFAULT: '#a3c8ed',
on: '#0f477e',
}
},
},
},
}
}
</script>
<TailwindStyles fluentcms />
30 changes: 1 addition & 29 deletions src/FluentCMS/Templates/Portfolio/AdminLayout.head.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,4 @@
<link rel="mask-icon" href="/files/images/safari-pinned-tab.svg" color="#2d3250">

<script src="/files/js/app.head.js"></script>
<script src="/files/js/tailwind.cdn.js"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
50: '#f4f8fd',
100: '#e8f1fb',
200: '#c6ddf4',
300: '#a3c8ed',
400: '#5e9fe0',
500: '#1976d2',
600: '#176abd',
700: '#13599e',
800: '#0f477e',
900: '#0c3a67',
on: '#f4f8fd',
dark: {
DEFAULT: '#a3c8ed',
on: '#0f477e',
}
},
},
},
}
}
</script>
<TailwindStyles fluentcms />
Loading