Skip to content

Commit cb8ded8

Browse files
authored
feat: support .btn & Link / Button plugin (#79)
* feat: core-cms with new core-styles * build: feat/bootstrap-btn * fix: v4.35 instead of v4.36 * feat: core-cms v4.36.11 * feat: name button colors & cs3 tacc blue * fix: button color names
1 parent 2752499 commit cb8ded8

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build
22
on:
33
workflow_dispatch:
44
push:
5-
branches: [main, any/branch-you-want, feat/2025-ad-hoc-css]
5+
branches: [main, any/branch-you-want, feat/bootstrap-btn]
66

77
jobs:
88
build_commit:

cms/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM taccwma/core-cms:v4.36.10
1+
FROM taccwma/core-cms:v4.36.11
22

33
WORKDIR /code
44

cms/src/taccsite_cms/settings_custom.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,17 @@ def get_custom_grid_containers():
143143
from django.utils.functional import lazy
144144
DJANGOCMS_BOOTSTRAP4_GRID_CONTAINERS = lazy(get_custom_grid_containers, list)()
145145

146+
DJANGOCMS_BOOTSTRAP4_COLOR_STYLE_CHOICES = (
147+
('primary', _('Primary / Blue')),
148+
('secondary', _('Secondary / Gray')),
149+
('success', _('Success / White')),
150+
('danger', _('Danger / White')),
151+
('warning', _('Warning / White')),
152+
('info', _('Info / White')),
153+
('light', _('Light / Gray')),
154+
('dark', _('Dark / Blue')),
155+
)
156+
146157
########################
147158
# DJANGOCMS_ICON
148159
# https://github.com/django-cms/djangocms-icon

cms/src/taccsite_custom/texascale_cms/static/texascale_cms/css/2025/1_settings/colors.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import url("https://cdn.jsdelivr.net/gh/TACC/Core-Styles@v2/dist/settings/color--cms.auto.css");
2+
13
/* Texascale */
24
:root {
35
--texascale-gold: #D0B786;
@@ -18,4 +20,7 @@
1820
/* TACC/Core v2 (stable) */
1921
:root {
2022
--header-bkgd-color: var(--tacc-black);
23+
24+
/* TACC/Core-Styles (Auto-Assign) */
25+
--tc-color-1: #003049;
2126
}

0 commit comments

Comments
 (0)