Skip to content

Commit

Permalink
Config theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Aquino committed Dec 19, 2024
1 parent 94121ed commit 4ebdcbd
Show file tree
Hide file tree
Showing 6 changed files with 94 additions and 5 deletions.
3 changes: 0 additions & 3 deletions frontend/packages/volto-lx-paipoeta/src/theme/_main.scss

This file was deleted.

Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
body {background:url(http://paipoeta.com.br/imagem-bg-paipoeta2.jpg) no-repeat center center fixed;background-size:cover}


This file was deleted.

90 changes: 90 additions & 0 deletions frontend/packages/volto-lx-paipoeta/src/theme/theme.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
/*******************************
Theme Selection
*******************************/

/* To override a theme for an individual element specify theme name below */

/* Global */
@site : 'pastanaga';
@reset : 'pastanaga';

/* Elements */
@button : 'pastanaga';
@container : 'pastanaga';
@divider : 'pastanaga';
@flag : 'pastanaga';
@header : 'pastanaga';
@icon : 'pastanaga';
@image : 'pastanaga';
@input : 'pastanaga';
@label : 'pastanaga';
@list : 'pastanaga';
@loader : 'pastanaga';
@placeholder : 'pastanaga';
@rail : 'pastanaga';
@reveal : 'pastanaga';
@segment : 'pastanaga';
@step : 'pastanaga';

/* Collections */
@breadcrumb : 'pastanaga';
@form : 'pastanaga';
@grid : 'pastanaga';
@menu : 'pastanaga';
@message : 'pastanaga';
@table : 'pastanaga';

/* Modules */
@accordion : 'pastanaga';
@checkbox : 'pastanaga';
@dimmer : 'pastanaga';
@dropdown : 'pastanaga';
@embed : 'pastanaga';
@modal : 'pastanaga';
@nag : 'pastanaga';
@popup : 'pastanaga';
@progress : 'pastanaga';
@rating : 'pastanaga';
@search : 'pastanaga';
@shape : 'pastanaga';
@sidebar : 'pastanaga';
@sticky : 'pastanaga';
@tab : 'pastanaga';
@transition : 'pastanaga';

/* Views */
@ad : 'pastanaga';
@card : 'pastanaga';
@comment : 'pastanaga';
@feed : 'pastanaga';
@item : 'pastanaga';
@statistic : 'pastanaga';

/* Extras */
@main : 'pastanaga';
@custom : 'pastanaga';

/*******************************
Folders
*******************************/

/* Path to theme packages */
@themesFolder : '~volto-themes';

/* Path to site override folder */
@siteFolder : "/home/lcaquino/projetos/paipoeta/pai-poeta/frontend/packages/volto-lx-paipoeta/src/theme";

/*******************************
Import Theme
*******************************/

@import (multiple) "~semantic-ui-less/theme.less";
@fontPath : "~volto-themes/@{theme}/assets/fonts";



.loadAddonOverrides() {
@import (optional) "@{siteFolder}/@{addon}/@{addontype}s/@{addonelement}.overrides";
}

/* End Config */
2 changes: 1 addition & 1 deletion frontend/volto.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const addons = ['volto-lx-paipoeta'];
const theme = '';
const theme = ['volto-lx-paipoeta'];

module.exports = {
addons,
Expand Down

0 comments on commit 4ebdcbd

Please sign in to comment.