Git Product home page Git Product logo

clf's Introduction

UBC CLF 7.0.4 DRUPAL 8/9 THEME

CLF is a child theme for the Drupal 8 base theme, Galactus. This theme provides UBC-branded units with the basic structure of the UBC CLF (Common Look and Feel) and is intended to be modified and customized. For tips on how to modify the theme to suit your needs, see the official Drupal 8 Theme Guide.

Created by the UBC IT Web Services Department.

Composer Builds

As this theme is meant to be modified, it should not be installed via Composer. Doing so weould overwrite your customizations.

However, you can (and should) add the base theme, Galactus, by running composer require ubc-web-services/galactus.

Drupal 7 Support


If you're looking for the Drupal 7 version of this theme, it can be found in the drupal-7 branch.

SASS

Optionally, CSS changes can be made with SASS through sass.

Install the node packages with this command:

npm install

You can build your CSS changes with this command:

npm run build:css

OR

You can watch changes to your SASS files with this command:

npm run watch:css

clf's People

Contributors

dependabot[bot] avatar joelpittet avatar occupant avatar yehee avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

benrogerswpg

clf's Issues

Compatibility with Drupal 9

I installed Galacticus v1.0.3 on a Drupal 9.1.7 site, then tried to install CLF v1.0.3
CLF v1.0.3 shows as being incompatible with Drupal 9.

Added this line
'core_version_requirement: '^8 || ^9' to the 'themes/custom/clf-master/clf.info.yml' file.

Drupal does not seem to mind this, I can enable the CLF theme.

But, I cannot get the site to recognize the 'themes/custom/clf-master/css/unit.custom.css'.
It insists on using 'https://cdn.ubc.ca/clf/7.0.4-minimal/css/minimal-clf-full-7.0.4-bw.css'

So the question is, is the a Drupal 9 ready version of the CLF?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.